bin/date/date.c
230
const char *dot, *t;
bin/date/date.c
235
t = strptime(p, fmt, lt);
bin/date/date.c
236
if (t == NULL) {
bin/date/date.c
240
} else if (*t != '\0')
bin/date/date.c
243
(long) strlen(t), t);
bin/date/date.c
245
for (t = p, dot = NULL; *t; ++t) {
bin/date/date.c
246
if (isdigit(*t))
bin/date/date.c
248
if (*t == '.' && dot == NULL) {
bin/date/date.c
249
dot = 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, long 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, long val, int istext, int mk)
bin/date/vary.c
159
if (val <= t->tm_mon)
bin/date/vary.c
160
val += 11 - t->tm_mon; /* early next year */
bin/date/vary.c
162
val -= t->tm_mon + 1; /* later this year */
bin/date/vary.c
165
if (!adjyear(t, '+', (t->tm_mon + val) / 12, 0))
bin/date/vary.c
168
t->tm_mon += val;
bin/date/vary.c
169
if (t->tm_mon > 11)
bin/date/vary.c
170
t->tm_mon -= 12;
bin/date/vary.c
176
if (val-1 > t->tm_mon)
bin/date/vary.c
177
val = 13 - val + t->tm_mon; /* later last year */
bin/date/vary.c
179
val = t->tm_mon - val + 1; /* early this year */
bin/date/vary.c
182
if (!adjyear(t, '-', val / 12, 0))
bin/date/vary.c
185
if (val > t->tm_mon) {
bin/date/vary.c
186
if (!adjyear(t, '-', 1, 0))
bin/date/vary.c
190
t->tm_mon -= val;
bin/date/vary.c
197
t->tm_mon = --val;
bin/date/vary.c
201
lmdays = daysinmonth(t);
bin/date/vary.c
202
if (t->tm_mday > lmdays)
bin/date/vary.c
203
t->tm_mday = lmdays;
bin/date/vary.c
205
return !mk || domktime(t, type) != -1;
bin/date/vary.c
209
adjday(struct tm *t, char type, long val, int mk)
bin/date/vary.c
216
daycount = daysinmonth(t);
bin/date/vary.c
217
if (val > daycount - t->tm_mday) {
bin/date/vary.c
218
val -= daycount - t->tm_mday + 1;
bin/date/vary.c
219
t->tm_mday = 1;
bin/date/vary.c
220
if (!adjmon(t, '+', 1, 0, 0))
bin/date/vary.c
223
t->tm_mday += val;
bin/date/vary.c
230
if (val >= t->tm_mday) {
bin/date/vary.c
231
val -= t->tm_mday;
bin/date/vary.c
232
t->tm_mday = 1;
bin/date/vary.c
233
if (!adjmon(t, '-', 1, 0, 0))
bin/date/vary.c
235
t->tm_mday = daysinmonth(t);
bin/date/vary.c
237
t->tm_mday -= val;
bin/date/vary.c
242
if (val > 0 && val <= daysinmonth(t))
bin/date/vary.c
243
t->tm_mday = val;
bin/date/vary.c
249
return !mk || domktime(t, type) != -1;
bin/date/vary.c
253
adjwday(struct tm *t, char type, long val, int istext, int mk)
bin/date/vary.c
261
if (val < t->tm_wday)
bin/date/vary.c
262
val = 7 - t->tm_wday + val; /* early next week */
bin/date/vary.c
264
val -= t->tm_wday; /* later this week */
bin/date/vary.c
267
return !val || adjday(t, '+', val, mk);
bin/date/vary.c
270
if (val > t->tm_wday)
bin/date/vary.c
271
val = 7 - val + t->tm_wday; /* later last week */
bin/date/vary.c
273
val = t->tm_wday - val; /* early this week */
bin/date/vary.c
276
return !val || adjday(t, '-', val, mk);
bin/date/vary.c
278
if (val < t->tm_wday)
bin/date/vary.c
279
return adjday(t, '-', t->tm_wday - val, mk);
bin/date/vary.c
282
else if (val > t->tm_wday)
bin/date/vary.c
283
return adjday(t, '+', val - t->tm_wday, mk);
bin/date/vary.c
289
adjhour(struct tm *t, char type, long val, int mk)
bin/date/vary.c
299
days = (t->tm_hour + val) / 24;
bin/date/vary.c
301
t->tm_hour += val;
bin/date/vary.c
302
t->tm_hour %= 24;
bin/date/vary.c
303
if (!adjday(t, '+', days, 0))
bin/date/vary.c
314
if (val > t->tm_hour) {
bin/date/vary.c
318
t->tm_hour -= val;
bin/date/vary.c
319
if (!adjday(t, '-', days, 0))
bin/date/vary.c
327
t->tm_hour = val;
bin/date/vary.c
330
return !mk || domktime(t, type) != -1;
bin/date/vary.c
334
adjmin(struct tm *t, char type, long val, int mk)
bin/date/vary.c
342
if (!adjhour(t, '+', (t->tm_min + val) / 60, 0))
bin/date/vary.c
345
t->tm_min += val;
bin/date/vary.c
346
if (t->tm_min > 59)
bin/date/vary.c
347
t->tm_min -= 60;
bin/date/vary.c
353
if (!adjhour(t, '-', val / 60, 0))
bin/date/vary.c
356
if (val > t->tm_min) {
bin/date/vary.c
357
if (!adjhour(t, '-', 1, 0))
bin/date/vary.c
361
t->tm_min -= val;
bin/date/vary.c
368
t->tm_min = val;
bin/date/vary.c
371
return !mk || domktime(t, type) != -1;
bin/date/vary.c
375
adjsec(struct tm *t, char type, long val, int mk)
bin/date/vary.c
383
if (!adjmin(t, '+', (t->tm_sec + val) / 60, 0))
bin/date/vary.c
386
t->tm_sec += val;
bin/date/vary.c
387
if (t->tm_sec > 59)
bin/date/vary.c
388
t->tm_sec -= 60;
bin/date/vary.c
394
if (!adjmin(t, '-', val / 60, 0))
bin/date/vary.c
397
if (val > t->tm_sec) {
bin/date/vary.c
398
if (!adjmin(t, '-', 1, 0))
bin/date/vary.c
402
t->tm_sec -= val;
bin/date/vary.c
409
t->tm_sec = val;
bin/date/vary.c
412
return !mk || domktime(t, type) != -1;
bin/date/vary.c
425
vary_apply(const struct vary *vb, time_t tval, struct tm *t)
bin/date/vary.c
434
*t = *localtime(&tval);
bin/date/vary.c
453
*t = *gmtime(&tt);
bin/date/vary.c
486
t->tm_isdst = -1;
bin/date/vary.c
494
if (!adjsec(t, type, val, 1))
bin/date/vary.c
497
if (!adjmin(t, type, val, 1))
bin/date/vary.c
500
if (!adjhour(t, type, val, 1))
bin/date/vary.c
503
t->tm_isdst = -1;
bin/date/vary.c
504
if (!adjday(t, type, val, 1))
bin/date/vary.c
507
t->tm_isdst = -1;
bin/date/vary.c
508
if (!adjwday(t, type, val, 0, 1))
bin/date/vary.c
511
t->tm_isdst = -1;
bin/date/vary.c
512
if (!adjmon(t, type, val, 0, 1))
bin/date/vary.c
515
t->tm_isdst = -1;
bin/date/vary.c
516
if (!adjyear(t, type, val, 1))
bin/date/vary.c
536
if (!adjwday(t, type, val, 1, 1))
bin/date/vary.c
548
if (!adjmon(t, type, val, 1, 1))
bin/date/vary.c
558
t->tm_isdst = -1;
bin/date/vary.c
559
if (!adjday(t, 0, val, 1))
bin/date/vary.c
575
if (!adjyear(t, type, val, 1))
bin/date/vary.c
59
domktime(struct tm *t, char type)
bin/date/vary.c
593
if (!adjhour(t, type, hr, 1))
bin/date/vary.c
597
if (!adjmin(t, type, mi, 1))
bin/date/vary.c
601
if (!adjsec(t, type, se, 1))
bin/date/vary.c
618
if (!adjyear(t, type, val, 1))
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
36
extern const struct vary *vary_apply(const struct vary *v, time_t tval, struct tm *t);
bin/dd/conv.c
101
const u_char *t;
bin/dd/conv.c
133
if ((t = ctab) != NULL) {
bin/dd/conv.c
136
*outp++ = t[ch];
bin/dd/conv.c
216
const u_char *t;
bin/dd/conv.c
220
if ((t = ctab) != NULL)
bin/dd/conv.c
222
*inp = t[*inp];
bin/dd/conv.c
229
for (t = inp + cbsz - 1; t >= inp && *t == ' '; --t)
bin/dd/conv.c
231
if (t >= inp) {
bin/dd/conv.c
232
cnt = t - inp + 1;
bin/dd/conv.c
249
u_char *t;
bin/dd/conv.c
254
for (t = in.db + in.dbcnt - 1; t >= in.db && *t == ' '; --t)
bin/dd/conv.c
256
if (t >= in.db) {
bin/dd/conv.c
257
cnt = t - in.db + 1;
bin/dd/conv.c
57
const u_char *t;
bin/dd/conv.c
60
if ((t = ctab) != NULL)
bin/dd/conv.c
62
*inp = t[*inp];
bin/dd/dd.c
322
unsigned char t;
bin/dd/dd.c
325
t = p[0];
bin/dd/dd.c
327
p[1] = t;
bin/ed/ed.h
81
line_t *t; /* tail of list */
bin/ed/io.c
224
char *t = ibufp;
bin/ed/io.c
226
while (*t++ != '\n')
bin/ed/io.c
228
if ((l = t - ibufp) < 2 || !has_trailing_escape(ibufp, ibufp + l - 1)) {
bin/ed/io.c
89
up->t = lp;
bin/ed/main.c
1049
up->t = get_addressed_line_node(current_addr);
bin/ed/main.c
1167
up->t = lp;
bin/ed/main.c
1294
has_trailing_escape(char *s, char *t)
bin/ed/main.c
1296
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
666
u_long t = len_octal(cur->fts_name, cur->fts_namelen);
bin/ls/ls.c
668
if (t > maxlen)
bin/ls/ls.c
669
maxlen = t;
bin/ls/ls.c
67
#define STRBUF_SIZEOF(t) (1 + CHAR_BIT * sizeof(t) / 3 + 1)
bin/pax/options.c
1426
off_t num, t;
bin/pax/options.c
1434
t = num;
bin/pax/options.c
1436
if (t > num)
bin/pax/options.c
1441
t = num;
bin/pax/options.c
1443
if (t > num)
bin/pax/options.c
1448
t = num;
bin/pax/options.c
1450
if (t > num)
bin/pax/options.c
1455
t = num;
bin/pax/options.c
1457
if (t > num)
bin/pax/options.c
1468
t = num;
bin/pax/options.c
1470
if (t > num)
bin/rm/rm.c
629
char *p, **save, **t;
bin/rm/rm.c
633
for (t = argv; *t;) {
bin/rm/rm.c
634
if ((p = strrchr(*t, '/')) != NULL)
bin/rm/rm.c
637
p = *t;
bin/rm/rm.c
642
for (save = t; (t[0] = t[1]) != NULL; ++t)
bin/rm/rm.c
644
t = save;
bin/rm/rm.c
646
++t;
bin/sh/parser.c
141
struct parser_temp *t;
bin/sh/parser.c
144
t = ckmalloc(sizeof(*t));
bin/sh/parser.c
145
t->data = NULL;
bin/sh/parser.c
146
t->next = parser_temp;
bin/sh/parser.c
147
parser_temp = t;
bin/sh/parser.c
148
t->data = ckmalloc(len);
bin/sh/parser.c
150
return t->data;
bin/sh/parser.c
157
struct parser_temp *t;
bin/sh/parser.c
160
t = parser_temp;
bin/sh/parser.c
161
if (ptr != t->data)
bin/sh/parser.c
163
t->data = ckrealloc(t->data, len);
bin/sh/parser.c
165
return t->data;
bin/sh/parser.c
172
struct parser_temp *t;
bin/sh/parser.c
177
t = parser_temp;
bin/sh/parser.c
178
parser_temp = t->next;
bin/sh/parser.c
179
done = t->data == ptr;
bin/sh/parser.c
180
ckfree(t->data);
bin/sh/parser.c
181
ckfree(t);
bin/sh/parser.c
192
struct parser_temp *t;
bin/sh/parser.c
196
t = parser_temp;
bin/sh/parser.c
197
parser_temp = t->next;
bin/sh/parser.c
198
ckfree(t->data);
bin/sh/parser.c
199
ckfree(t);
bin/sh/parser.c
213
int t;
bin/sh/parser.c
229
t = readtoken();
bin/sh/parser.c
230
if (t == TEOF)
bin/sh/parser.c
232
if (t == TNL)
bin/sh/parser.c
247
int t;
bin/sh/parser.c
261
while ((t = readtoken()) != TEOF) {
bin/sh/parser.c
262
if (t != TWORD)
bin/sh/parser.c
350
int t;
bin/sh/parser.c
354
if ((t = readtoken()) == TAND) {
bin/sh/parser.c
355
t = NAND;
bin/sh/parser.c
356
} else if (t == TOR) {
bin/sh/parser.c
357
t = NOR;
bin/sh/parser.c
362
n = makebinary(t, n, pipeline());
bin/sh/parser.c
373
int negate, t;
bin/sh/parser.c
393
t = readtoken();
bin/sh/parser.c
395
if (t == TNOT)
bin/sh/parser.c
423
int t;
bin/sh/parser.c
469
t = lasttoken;
bin/sh/parser.c
473
n1 = makebinary((t == TWHILE)? NWHILE : NUNTIL, n1, list(0));
bin/sh/parser.c
514
if ((t = readtoken()) == TDO)
bin/sh/parser.c
515
t = TDONE;
bin/sh/parser.c
516
else if (t == TBEGIN)
bin/sh/parser.c
517
t = TEND;
bin/sh/parser.c
521
consumetoken(t);
bin/sh/parser.c
554
if ((t = readtoken()) != TESAC) {
bin/sh/parser.c
555
if (t == TENDCASE)
bin/sh/parser.c
557
else if (t == TFALLTHRU)
bin/sh/parser.c
816
int t;
bin/sh/parser.c
818
t = readtoken();
bin/sh/parser.c
820
return (t);
bin/sh/parser.c
826
int t;
bin/sh/parser.c
833
t = xxreadtoken();
bin/sh/parser.c
839
while (t == TNL) {
bin/sh/parser.c
841
t = xxreadtoken();
bin/sh/parser.c
848
if (t == TWORD && !quoteflag)
bin/sh/parser.c
856
lasttoken = t = pp - parsekwd + KWDOFFSET;
bin/sh/parser.c
857
TRACE(("keyword %s recognized\n", tokname[t]));
bin/sh/parser.c
868
if (t != TNOT)
bin/sh/parser.c
873
TRACE(("token %s %s\n", tokname[t], t == TWORD ? wordtext : ""));
bin/sh/parser.c
875
TRACE(("reread token %s %s\n", tokname[t], t == TWORD ? wordtext : ""));
bin/sh/parser.c
877
return (t);
bin/sh/trap.c
264
char *t;
bin/sh/trap.c
266
if ((t = trap[signo]) == NULL)
bin/sh/trap.c
268
else if (*t != '\0')
bin/sh/trap.c
302
t = &sigmode[signo];
bin/sh/trap.c
303
if (*t == 0) {
bin/sh/trap.c
318
*t = S_IGN; /* don't hard ignore these */
bin/sh/trap.c
320
*t = S_HARD_IGN;
bin/sh/trap.c
322
*t = S_RESET; /* force to be set */
bin/sh/trap.c
325
if (*t == S_HARD_IGN || *t == action)
bin/sh/trap.c
332
*t = action;
bin/stty/cchar.c
117
ip->t.c_cc[cp->sub] = _POSIX_VDISABLE;
bin/stty/cchar.c
129
ip->t.c_cc[cp->sub] = val;
bin/stty/cchar.c
131
ip->t.c_cc[cp->sub] = (arg[1] == '?') ? 0177 :
bin/stty/cchar.c
134
ip->t.c_cc[cp->sub] = arg[0];
bin/stty/key.c
133
print(&ip->t, &ip->win, ip->ldisc, BSD);
bin/stty/key.c
143
ip->t.c_iflag |= BRKINT|IXON|IMAXBEL;
bin/stty/key.c
144
ip->t.c_oflag |= OPOST;
bin/stty/key.c
145
ip->t.c_lflag |= ISIG|IEXTEN;
bin/stty/key.c
146
ip->t.c_lflag &= ~ICANON;
bin/stty/key.c
163
ip->t.c_cc[VERASE] = (u_char)0177;
bin/stty/key.c
164
ip->t.c_cc[VKILL] = CTRL('u');
bin/stty/key.c
165
ip->t.c_cc[VINTR] = CTRL('c');
bin/stty/key.c
166
ip->t.c_lflag &= ~ECHOPRT;
bin/stty/key.c
167
ip->t.c_lflag |= ECHOE|ECHOKE|ECHOCTL;
bin/stty/key.c
168
ip->t.c_iflag &= ~IXANY;
bin/stty/key.c
176
ip->t.c_cc[VERASE] = CERASE;
bin/stty/key.c
177
ip->t.c_cc[VKILL] = CKILL;
bin/stty/key.c
185
print(&ip->t, &ip->win, ip->ldisc, BSD);
bin/stty/key.c
205
cfsetispeed(&ip->t, (speed_t)atoi(ip->arg));
bin/stty/key.c
214
ip->t.c_iflag |= ICRNL;
bin/stty/key.c
215
ip->t.c_oflag |= ONLCR;
bin/stty/key.c
217
ip->t.c_iflag &= ~ICRNL;
bin/stty/key.c
218
ip->t.c_oflag &= ~ONLCR;
bin/stty/key.c
227
cfsetospeed(&ip->t, (speed_t)atoi(ip->arg));
bin/stty/key.c
238
cfmakeraw(&ip->t);
bin/stty/key.c
239
ip->t.c_cflag &= ~(CSIZE|PARENB);
bin/stty/key.c
240
ip->t.c_cflag |= CS8;
bin/stty/key.c
257
ip->t.c_cflag = TTYDEF_CFLAG | (ip->t.c_cflag & CLOCAL);
bin/stty/key.c
258
ip->t.c_iflag = TTYDEF_IFLAG;
bin/stty/key.c
259
ip->t.c_iflag |= ICRNL;
bin/stty/key.c
262
ip->t.c_lflag = TTYDEF_LFLAG | (ip->t.c_lflag & LKEEP);
bin/stty/key.c
263
ip->t.c_oflag = TTYDEF_OFLAG;
bin/stty/key.c
278
printf("%lu\n", (u_long)cfgetospeed(&ip->t));
bin/stty/modes.c
214
ip->t.c_cflag &= ~mp->unset;
bin/stty/modes.c
215
ip->t.c_cflag |= mp->set;
bin/stty/modes.c
221
ip->t.c_iflag &= ~mp->unset;
bin/stty/modes.c
222
ip->t.c_iflag |= mp->set;
bin/stty/modes.c
228
ip->t.c_lflag &= ~mp->unset;
bin/stty/modes.c
229
ip->t.c_lflag |= mp->set;
bin/stty/modes.c
235
ip->t.c_oflag &= ~mp->unset;
bin/stty/modes.c
236
ip->t.c_oflag |= mp->set;
bin/stty/stty.c
100
print(&i.t, &i.win, i.ldisc, fmt);
bin/stty/stty.c
103
gprint(&i.t, &i.win, i.ldisc);
bin/stty/stty.c
121
cfsetospeed(&i.t, speed);
bin/stty/stty.c
122
cfsetispeed(&i.t, speed);
bin/stty/stty.c
128
gread(&i.t, *argv + sizeof("gfmt1") - 1);
bin/stty/stty.c
137
if (i.set && tcsetattr(i.fd, 0, &i.t) < 0)
bin/stty/stty.c
84
if (tcgetattr(i.fd, &i.t) < 0)
bin/stty/stty.h
44
struct termios t; /* terminal info */
bin/test/test.c
484
char *t;
bin/test/test.c
492
t = *(t_wp + 2);
bin/test/test.c
495
(parenlevel == 0 || t[0] != ')' || t[1] != '\0');
crypto/libressl/apps/nc/netcat.c
1644
} *t, toskeywords[] = {
crypto/libressl/apps/nc/netcat.c
1675
for (t = toskeywords; t->keyword != NULL; t++) {
crypto/libressl/apps/nc/netcat.c
1676
if (strcmp(s, t->keyword) == 0) {
crypto/libressl/apps/nc/netcat.c
1677
*val = t->val;
crypto/libressl/apps/nc/netcat.c
1695
} *t, tlskeywords[] = {
crypto/libressl/apps/nc/netcat.c
1711
for (t = tlskeywords; t->keyword != NULL; t++) {
crypto/libressl/apps/nc/netcat.c
1712
if (strlen(t->keyword) == len &&
crypto/libressl/apps/nc/netcat.c
1713
strncmp(s, t->keyword, len) == 0) {
crypto/libressl/apps/nc/netcat.c
1714
if (t->value != NULL) {
crypto/libressl/apps/nc/netcat.c
1717
*t->value = v;
crypto/libressl/apps/nc/netcat.c
1719
*flags |= t->flag;
crypto/libressl/apps/nc/netcat.c
1744
time_t t;
crypto/libressl/apps/nc/netcat.c
1757
if ((t = tls_peer_cert_notbefore(tls_ctx)) != -1)
crypto/libressl/apps/nc/netcat.c
1758
fprintf(stderr, "Valid From: %s", ctime(&t));
crypto/libressl/apps/nc/netcat.c
1759
if ((t = tls_peer_cert_notafter(tls_ctx)) != -1)
crypto/libressl/apps/nc/netcat.c
1760
fprintf(stderr, "Valid Until: %s", ctime(&t));
crypto/libressl/apps/nc/netcat.c
1777
t = tls_peer_ocsp_this_update(tls_ctx);
crypto/libressl/apps/nc/netcat.c
1779
t != -1 ? ctime(&t) : "\n");
crypto/libressl/apps/nc/netcat.c
1780
t = tls_peer_ocsp_next_update(tls_ctx);
crypto/libressl/apps/nc/netcat.c
1782
t != -1 ? ctime(&t) : "\n");
crypto/libressl/apps/nc/netcat.c
1783
t = tls_peer_ocsp_revocation_time(tls_ctx);
crypto/libressl/apps/nc/netcat.c
1785
t != -1 ? ctime(&t) : "\n");
crypto/libressl/apps/openssl/apps.c
1134
const char *t = X509_get_default_cert_area();
crypto/libressl/apps/openssl/apps.c
1137
if (asprintf(&p, "%s/openssl.cnf", t) == -1)
crypto/libressl/crypto/aes/aes_wrap.c
103
unsigned int i, j, t;
crypto/libressl/crypto/aes/aes_wrap.c
109
t = 6 * (inlen >> 3);
crypto/libressl/crypto/aes/aes_wrap.c
114
for (i = 0; i < inlen; i += 8, t--, R -= 8) {
crypto/libressl/crypto/aes/aes_wrap.c
115
A[7] ^= (unsigned char)(t & 0xff);
crypto/libressl/crypto/aes/aes_wrap.c
116
if (t > 0xff) {
crypto/libressl/crypto/aes/aes_wrap.c
117
A[6] ^= (unsigned char)((t >> 8) & 0xff);
crypto/libressl/crypto/aes/aes_wrap.c
118
A[5] ^= (unsigned char)((t >> 16) & 0xff);
crypto/libressl/crypto/aes/aes_wrap.c
119
A[4] ^= (unsigned char)((t >> 24) & 0xff);
crypto/libressl/crypto/aes/aes_wrap.c
68
unsigned int i, j, t;
crypto/libressl/crypto/aes/aes_wrap.c
73
t = 1;
crypto/libressl/crypto/aes/aes_wrap.c
82
for (i = 0; i < inlen; i += 8, t++, R += 8) {
crypto/libressl/crypto/aes/aes_wrap.c
85
A[7] ^= (unsigned char)(t & 0xff);
crypto/libressl/crypto/aes/aes_wrap.c
86
if (t > 0xff) {
crypto/libressl/crypto/aes/aes_wrap.c
87
A[6] ^= (unsigned char)((t >> 8) & 0xff);
crypto/libressl/crypto/aes/aes_wrap.c
88
A[5] ^= (unsigned char)((t >> 16) & 0xff);
crypto/libressl/crypto/aes/aes_wrap.c
89
A[4] ^= (unsigned char)((t >> 24) & 0xff);
crypto/libressl/crypto/asn1/a_strex.c
297
ASN1_TYPE t;
crypto/libressl/crypto/asn1/a_strex.c
310
t.type = str->type;
crypto/libressl/crypto/asn1/a_strex.c
311
t.value.ptr = (char *)str;
crypto/libressl/crypto/asn1/a_strex.c
312
der_len = i2d_ASN1_TYPE(&t, NULL);
crypto/libressl/crypto/asn1/a_strex.c
317
i2d_ASN1_TYPE(&t, &p);
crypto/libressl/crypto/asn1/a_time_tm.c
377
ASN1_TIME_adj_internal(ASN1_TIME *s, time_t t, int offset_day, long offset_sec,
crypto/libressl/crypto/asn1/a_time_tm.c
382
if (gmtime_r(&t, &tm) == NULL)
crypto/libressl/crypto/asn1/a_time_tm.c
403
ASN1_TIME_set(ASN1_TIME *s, time_t t)
crypto/libressl/crypto/asn1/a_time_tm.c
405
return (ASN1_TIME_adj(s, t, 0, 0));
crypto/libressl/crypto/asn1/a_time_tm.c
411
time_t t;
crypto/libressl/crypto/asn1/a_time_tm.c
413
if ((t = timegm(tm)) == -1)
crypto/libressl/crypto/asn1/a_time_tm.c
415
return (ASN1_TIME_adj(s, t, 0, 0));
crypto/libressl/crypto/asn1/a_time_tm.c
419
ASN1_TIME_adj(ASN1_TIME *s, time_t t, int offset_day, long offset_sec)
crypto/libressl/crypto/asn1/a_time_tm.c
421
return (ASN1_TIME_adj_internal(s, t, offset_day, offset_sec, RFC5280));
crypto/libressl/crypto/asn1/a_time_tm.c
425
ASN1_TIME_check(const ASN1_TIME *t)
crypto/libressl/crypto/asn1/a_time_tm.c
427
if (t->type != V_ASN1_GENERALIZEDTIME && t->type != V_ASN1_UTCTIME)
crypto/libressl/crypto/asn1/a_time_tm.c
429
return (t->type == ASN1_time_parse(t->data, t->length, NULL, t->type));
crypto/libressl/crypto/asn1/a_time_tm.c
433
ASN1_TIME_to_generalizedtime(const ASN1_TIME *t, ASN1_GENERALIZEDTIME **out)
crypto/libressl/crypto/asn1/a_time_tm.c
438
if (t->type != V_ASN1_GENERALIZEDTIME && t->type != V_ASN1_UTCTIME)
crypto/libressl/crypto/asn1/a_time_tm.c
441
if (t->type != ASN1_time_parse(t->data, t->length, &tm, t->type))
crypto/libressl/crypto/asn1/a_time_tm.c
505
ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t)
crypto/libressl/crypto/asn1/a_time_tm.c
508
return ASN1_TIME_cmp_time_t_internal(s, t, V_ASN1_UTCTIME);
crypto/libressl/crypto/asn1/a_time_tm.c
510
return ASN1_TIME_cmp_time_t_internal(s, t,
crypto/libressl/crypto/asn1/a_time_tm.c
536
ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t)
crypto/libressl/crypto/asn1/a_time_tm.c
538
return (ASN1_UTCTIME_adj(s, t, 0, 0));
crypto/libressl/crypto/asn1/a_time_tm.c
542
ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t, int offset_day, long offset_sec)
crypto/libressl/crypto/asn1/a_time_tm.c
544
return (ASN1_TIME_adj_internal(s, t, offset_day, offset_sec,
crypto/libressl/crypto/asn1/a_time_tm.c
549
ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t)
crypto/libressl/crypto/asn1/a_time_tm.c
552
return ASN1_TIME_cmp_time_t_internal(s, t, V_ASN1_UTCTIME);
crypto/libressl/crypto/asn1/a_time_tm.c
577
ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s, time_t t)
crypto/libressl/crypto/asn1/a_time_tm.c
579
return (ASN1_GENERALIZEDTIME_adj(s, t, 0, 0));
crypto/libressl/crypto/asn1/a_time_tm.c
583
ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s, time_t t, int offset_day,
crypto/libressl/crypto/asn1/a_time_tm.c
586
return (ASN1_TIME_adj_internal(s, t, offset_day, offset_sec,
crypto/libressl/crypto/asn1/a_time_tm.c
591
ASN1_TIME_normalize(ASN1_TIME *t)
crypto/libressl/crypto/asn1/a_time_tm.c
595
if (!ASN1_TIME_to_tm(t, &tm))
crypto/libressl/crypto/asn1/a_time_tm.c
597
return tm_to_rfc5280_time(&tm, t) != NULL;
crypto/libressl/crypto/asn1/a_type.c
301
ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t)
crypto/libressl/crypto/asn1/a_type.c
309
if (t != NULL && *t != NULL) {
crypto/libressl/crypto/asn1/a_type.c
310
rt = *t;
crypto/libressl/crypto/asn1/a_type.c
316
if (t != NULL)
crypto/libressl/crypto/asn1/a_type.c
317
*t = rt;
crypto/libressl/crypto/asn1/a_type.c
324
ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t)
crypto/libressl/crypto/asn1/a_type.c
326
if (t == NULL || t->type != V_ASN1_SEQUENCE || t->value.sequence == NULL)
crypto/libressl/crypto/asn1/a_type.c
328
return ASN1_item_unpack(t->value.sequence, it);
crypto/libressl/crypto/asn1/ameth_lib.c
174
const EVP_PKEY_ASN1_METHOD *t = &tmp, **ret;
crypto/libressl/crypto/asn1/ameth_lib.c
182
ret = OBJ_bsearch_ameth(&t, standard_methods,
crypto/libressl/crypto/asn1/ameth_lib.c
198
const EVP_PKEY_ASN1_METHOD *t;
crypto/libressl/crypto/asn1/ameth_lib.c
201
t = pkey_asn1_find(type);
crypto/libressl/crypto/asn1/ameth_lib.c
202
if (!t || !(t->pkey_flags & ASN1_PKEY_ALIAS))
crypto/libressl/crypto/asn1/ameth_lib.c
204
type = t->pkey_base_id;
crypto/libressl/crypto/asn1/ameth_lib.c
218
return t;
crypto/libressl/crypto/asn1/asn1_locl.h
65
ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t);
crypto/libressl/crypto/asn1/asn1_locl.h
66
void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t);
crypto/libressl/crypto/bf/bf_cfb64.c
107
t=ti[0]; l2n(t,iv);
crypto/libressl/crypto/bf/bf_cfb64.c
108
t=ti[1]; l2n(t,iv);
crypto/libressl/crypto/bf/bf_cfb64.c
118
v0=v1=ti[0]=ti[1]=t=c=cc=0;
crypto/libressl/crypto/bf/bf_cfb64.c
70
BF_LONG v0,v1,t;
crypto/libressl/crypto/bf/bf_cfb64.c
87
t=ti[0]; l2n(t,iv);
crypto/libressl/crypto/bf/bf_cfb64.c
88
t=ti[1]; l2n(t,iv);
crypto/libressl/crypto/bf/bf_enc.c
111
BF_LONG l,r,t,*k;
crypto/libressl/crypto/bf/bf_enc.c
188
BF_LONG l,r,t,*k;
crypto/libressl/crypto/bf/bf_locl.h
166
t= KEY[BF_ROUNDS+2 + 0 + ((R>>24)&0xFF)], \
crypto/libressl/crypto/bf/bf_locl.h
167
t+= KEY[BF_ROUNDS+2 + 256 + ((R>>16)&0xFF)], \
crypto/libressl/crypto/bf/bf_locl.h
168
t^= KEY[BF_ROUNDS+2 + 512 + ((R>>8 )&0xFF)], \
crypto/libressl/crypto/bf/bf_locl.h
169
t+= KEY[BF_ROUNDS+2 + 768 + ((R )&0xFF)], \
crypto/libressl/crypto/bf/bf_locl.h
170
LL^=t \
crypto/libressl/crypto/bf/bf_ofb64.c
107
t=v0=v1=ti[0]=ti[1]=0;
crypto/libressl/crypto/bf/bf_ofb64.c
69
BF_LONG v0,v1,t;
crypto/libressl/crypto/bf/bf_ofb64.c
92
t=ti[0]; l2n(t,dp);
crypto/libressl/crypto/bf/bf_ofb64.c
93
t=ti[1]; l2n(t,dp);
crypto/libressl/crypto/bn/bn_asm.c
1014
BN_ULONG t[8];
crypto/libressl/crypto/bn/bn_asm.c
1015
bn_sqr_normal(r, a, 4, t);
crypto/libressl/crypto/bn/bn_asm.c
1022
BN_ULONG t[16];
crypto/libressl/crypto/bn/bn_asm.c
1023
bn_sqr_normal(r, a, 8, t);
crypto/libressl/crypto/bn/bn_asm.c
269
BN_ULONG dh, dl, q,ret = 0, th, tl, t;
crypto/libressl/crypto/bn/bn_asm.c
298
t = h - th;
crypto/libressl/crypto/bn/bn_asm.c
299
if ((t & BN_MASK2h) ||
crypto/libressl/crypto/bn/bn_asm.c
301
(t << BN_BITS4) |
crypto/libressl/crypto/bn/bn_asm.c
308
t = (tl >> BN_BITS4);
crypto/libressl/crypto/bn/bn_asm.c
310
th += t;
crypto/libressl/crypto/bn/bn_asm.c
378
BN_ULONG c, l, t;
crypto/libressl/crypto/bn/bn_asm.c
387
t = a[0];
crypto/libressl/crypto/bn/bn_asm.c
388
t = (t + c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
389
c = (t < c);
crypto/libressl/crypto/bn/bn_asm.c
390
l = (t + b[0]) & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
391
c += (l < t);
crypto/libressl/crypto/bn/bn_asm.c
393
t = a[1];
crypto/libressl/crypto/bn/bn_asm.c
394
t = (t + c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
395
c = (t < c);
crypto/libressl/crypto/bn/bn_asm.c
396
l = (t + b[1]) & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
397
c += (l < t);
crypto/libressl/crypto/bn/bn_asm.c
399
t = a[2];
crypto/libressl/crypto/bn/bn_asm.c
400
t = (t + c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
401
c = (t < c);
crypto/libressl/crypto/bn/bn_asm.c
402
l = (t + b[2]) & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
403
c += (l < t);
crypto/libressl/crypto/bn/bn_asm.c
405
t = a[3];
crypto/libressl/crypto/bn/bn_asm.c
406
t = (t + c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
407
c = (t < c);
crypto/libressl/crypto/bn/bn_asm.c
408
l = (t + b[3]) & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
409
c += (l < t);
crypto/libressl/crypto/bn/bn_asm.c
418
t = a[0];
crypto/libressl/crypto/bn/bn_asm.c
419
t = (t + c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
420
c = (t < c);
crypto/libressl/crypto/bn/bn_asm.c
421
l = (t + b[0]) & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
422
c += (l < t);
crypto/libressl/crypto/bn/bn_asm.c
504
BN_ULLONG t = (BN_ULLONG)(a)*(b); \
crypto/libressl/crypto/bn/bn_asm.c
505
t += c0; /* no carry */ \
crypto/libressl/crypto/bn/bn_asm.c
506
c0 = (BN_ULONG)Lw(t); \
crypto/libressl/crypto/bn/bn_asm.c
507
hi = (BN_ULONG)Hw(t); \
crypto/libressl/crypto/bn/bn_asm.c
513
BN_ULLONG t = (BN_ULLONG)(a)*(b); \
crypto/libressl/crypto/bn/bn_asm.c
514
BN_ULLONG tt = t+c0; /* no carry */ \
crypto/libressl/crypto/bn/bn_asm.c
518
t += c0; /* no carry */ \
crypto/libressl/crypto/bn/bn_asm.c
519
c0 = (BN_ULONG)Lw(t); \
crypto/libressl/crypto/bn/bn_asm.c
520
hi = (BN_ULONG)Hw(t); \
crypto/libressl/crypto/bn/bn_asm.c
526
BN_ULLONG t = (BN_ULLONG)a[i]*a[i]; \
crypto/libressl/crypto/bn/bn_asm.c
527
t += c0; /* no carry */ \
crypto/libressl/crypto/bn/bn_asm.c
528
c0 = (BN_ULONG)Lw(t); \
crypto/libressl/crypto/bn/bn_asm.c
529
hi = (BN_ULONG)Hw(t); \
crypto/libressl/crypto/bn/bn_exp.c
916
BIGNUM *d, *r, *t;
crypto/libressl/crypto/bn/bn_exp.c
922
(BN_mod_ct(t, r, m, ctx) && (swap_tmp = r, r = t, t = swap_tmp, 1))))
crypto/libressl/crypto/bn/bn_exp.c
971
if ((t = BN_CTX_get(ctx)) == NULL)
crypto/libressl/crypto/bn/bn_gcd.c
123
BIGNUM *a, *b, *t;
crypto/libressl/crypto/bn/bn_gcd.c
143
t = a;
crypto/libressl/crypto/bn/bn_gcd.c
145
b = t;
crypto/libressl/crypto/bn/bn_gcd.c
147
t = euclid(a, b);
crypto/libressl/crypto/bn/bn_gcd.c
148
if (t == NULL)
crypto/libressl/crypto/bn/bn_gcd.c
151
if (BN_copy(r, t) == NULL)
crypto/libressl/crypto/bn/bn_gcd.c
179
BIGNUM *t;
crypto/libressl/crypto/bn/bn_gcd.c
196
t = a;
crypto/libressl/crypto/bn/bn_gcd.c
198
b = t;
crypto/libressl/crypto/bn/bn_gcd.c
206
t = a;
crypto/libressl/crypto/bn/bn_gcd.c
208
b = t;
crypto/libressl/crypto/bn/bn_gcd.c
218
t = a;
crypto/libressl/crypto/bn/bn_gcd.c
220
b = t;
crypto/libressl/crypto/bn/bn_lcl.h
327
#define Lw(t) (((BN_ULONG)(t))&BN_MASK2)
crypto/libressl/crypto/bn/bn_lcl.h
328
#define Hw(t) (((BN_ULONG)((t)>>BN_BITS2))&BN_MASK2)
crypto/libressl/crypto/bn/bn_lcl.h
344
BN_ULLONG t; \
crypto/libressl/crypto/bn/bn_lcl.h
345
t=(BN_ULLONG)w * (a) + (r) + (c); \
crypto/libressl/crypto/bn/bn_lcl.h
346
(r)= Lw(t); \
crypto/libressl/crypto/bn/bn_lcl.h
347
(c)= Hw(t); \
crypto/libressl/crypto/bn/bn_lcl.h
351
BN_ULLONG t; \
crypto/libressl/crypto/bn/bn_lcl.h
352
t=(BN_ULLONG)w * (a) + (c); \
crypto/libressl/crypto/bn/bn_lcl.h
353
(r)= Lw(t); \
crypto/libressl/crypto/bn/bn_lcl.h
354
(c)= Hw(t); \
crypto/libressl/crypto/bn/bn_lcl.h
358
BN_ULLONG t; \
crypto/libressl/crypto/bn/bn_lcl.h
359
t=(BN_ULLONG)(a)*(a); \
crypto/libressl/crypto/bn/bn_lcl.h
360
(r0)=Lw(t); \
crypto/libressl/crypto/bn/bn_lcl.h
361
(r1)=Hw(t); \
crypto/libressl/crypto/bn/bn_lcl.h
509
int dna, int dnb, BN_ULONG *t);
crypto/libressl/crypto/bn/bn_lcl.h
511
int n, int tna, int tnb, BN_ULONG *t);
crypto/libressl/crypto/bn/bn_lcl.h
512
void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t);
crypto/libressl/crypto/bn/bn_lcl.h
515
BN_ULONG *t);
crypto/libressl/crypto/bn/bn_lcl.h
517
BN_ULONG *t);
crypto/libressl/crypto/bn/bn_lib.c
1021
BN_ULONG t;
crypto/libressl/crypto/bn/bn_lib.c
1040
t = (a->top ^ b->top) & condition;
crypto/libressl/crypto/bn/bn_lib.c
1041
a->top ^= t;
crypto/libressl/crypto/bn/bn_lib.c
1042
b->top ^= t;
crypto/libressl/crypto/bn/bn_lib.c
1045
t = (a->neg ^ b->neg) & condition;
crypto/libressl/crypto/bn/bn_lib.c
1046
a->neg ^= t;
crypto/libressl/crypto/bn/bn_lib.c
1047
b->neg ^= t;
crypto/libressl/crypto/bn/bn_lib.c
1050
t = ((a->flags ^ b->flags) & BN_FLG_CONSTTIME) & condition;
crypto/libressl/crypto/bn/bn_lib.c
1051
a->flags ^= t;
crypto/libressl/crypto/bn/bn_lib.c
1052
b->flags ^= t;
crypto/libressl/crypto/bn/bn_lib.c
1056
t = (a->d[i] ^ b->d[i]) & condition;
crypto/libressl/crypto/bn/bn_lib.c
1057
a->d[i] ^= t;
crypto/libressl/crypto/bn/bn_lib.c
1058
b->d[i] ^= t;
crypto/libressl/crypto/bn/bn_lib.c
432
BIGNUM *t;
crypto/libressl/crypto/bn/bn_lib.c
438
t = BN_new();
crypto/libressl/crypto/bn/bn_lib.c
439
if (t == NULL)
crypto/libressl/crypto/bn/bn_lib.c
441
if (!BN_copy(t, a)) {
crypto/libressl/crypto/bn/bn_lib.c
442
BN_free(t);
crypto/libressl/crypto/bn/bn_lib.c
445
bn_check_top(t);
crypto/libressl/crypto/bn/bn_lib.c
446
return t;
crypto/libressl/crypto/bn/bn_lib.c
969
BN_ULONG t;
crypto/libressl/crypto/bn/bn_lib.c
981
t = (a->top^b->top) & condition;
crypto/libressl/crypto/bn/bn_lib.c
982
a->top ^= t;
crypto/libressl/crypto/bn/bn_lib.c
983
b->top ^= t;
crypto/libressl/crypto/bn/bn_lib.c
987
t = (a->d[ind] ^ b->d[ind]) & condition; \
crypto/libressl/crypto/bn/bn_lib.c
988
a->d[ind] ^= t; \
crypto/libressl/crypto/bn/bn_lib.c
989
b->d[ind] ^= t; \
crypto/libressl/crypto/bn/bn_mod.c
182
BIGNUM *t;
crypto/libressl/crypto/bn/bn_mod.c
190
if ((t = BN_CTX_get(ctx)) == NULL)
crypto/libressl/crypto/bn/bn_mod.c
193
if (!BN_sqr(t, a, ctx))
crypto/libressl/crypto/bn/bn_mod.c
196
if (!BN_mul(t, a,b, ctx))
crypto/libressl/crypto/bn/bn_mod.c
199
if (!BN_nnmod(r, t,m, ctx))
crypto/libressl/crypto/bn/bn_mont.c
286
BIGNUM *t;
crypto/libressl/crypto/bn/bn_mont.c
289
if ((t = BN_CTX_get(ctx)) && BN_copy(t, a))
crypto/libressl/crypto/bn/bn_mont.c
290
retn = BN_from_montgomery_word(ret, t, mont);
crypto/libressl/crypto/bn/bn_mul.c
1015
if ((t = BN_CTX_get(ctx)) == NULL)
crypto/libressl/crypto/bn/bn_mul.c
1018
if (bn_wexpand(t, k * 4) == NULL)
crypto/libressl/crypto/bn/bn_mul.c
1023
j, al - j, bl - j, t->d);
crypto/libressl/crypto/bn/bn_mul.c
1027
if (bn_wexpand(t, k * 2) == NULL)
crypto/libressl/crypto/bn/bn_mul.c
1032
j, al - j, bl - j, t->d);
crypto/libressl/crypto/bn/bn_mul.c
1059
if ((t = BN_CTX_get(ctx)) == NULL)
crypto/libressl/crypto/bn/bn_mul.c
106
t = b[0];
crypto/libressl/crypto/bn/bn_mul.c
1063
if (bn_wexpand(t, k * 2) == NULL)
crypto/libressl/crypto/bn/bn_mul.c
1067
bn_mul_recursive(rr->d, a->d, b->d, al, t->d);
crypto/libressl/crypto/bn/bn_mul.c
1069
if (bn_wexpand(t, k * 4) == NULL)
crypto/libressl/crypto/bn/bn_mul.c
107
r[0] = (0 - t - c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mul.c
1074
al - j, j, t->d);
crypto/libressl/crypto/bn/bn_mul.c
108
if (t != 0)
crypto/libressl/crypto/bn/bn_mul.c
113
t = b[1];
crypto/libressl/crypto/bn/bn_mul.c
114
r[1] = (0 - t - c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mul.c
115
if (t != 0)
crypto/libressl/crypto/bn/bn_mul.c
120
t = b[2];
crypto/libressl/crypto/bn/bn_mul.c
121
r[2] = (0 - t - c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mul.c
122
if (t != 0)
crypto/libressl/crypto/bn/bn_mul.c
127
t = b[3];
crypto/libressl/crypto/bn/bn_mul.c
128
r[3] = (0 - t - c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mul.c
129
if (t != 0)
crypto/libressl/crypto/bn/bn_mul.c
145
t = a[0];
crypto/libressl/crypto/bn/bn_mul.c
146
r[0] = (t - c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mul.c
147
if (t != 0)
crypto/libressl/crypto/bn/bn_mul.c
152
t = a[1];
crypto/libressl/crypto/bn/bn_mul.c
153
r[1] = (t - c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mul.c
154
if (t != 0)
crypto/libressl/crypto/bn/bn_mul.c
159
t = a[2];
crypto/libressl/crypto/bn/bn_mul.c
160
r[2] = (t - c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mul.c
161
if (t != 0)
crypto/libressl/crypto/bn/bn_mul.c
166
t = a[3];
crypto/libressl/crypto/bn/bn_mul.c
167
r[3] = (t - c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mul.c
168
if (t != 0)
crypto/libressl/crypto/bn/bn_mul.c
235
BN_ULONG c, l, t;
crypto/libressl/crypto/bn/bn_mul.c
339
t = (a[0] + c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mul.c
340
c = (t < c);
crypto/libressl/crypto/bn/bn_mul.c
341
r[0] = t;
crypto/libressl/crypto/bn/bn_mul.c
345
t = (a[1] + c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mul.c
346
c = (t < c);
crypto/libressl/crypto/bn/bn_mul.c
347
r[1] = t;
crypto/libressl/crypto/bn/bn_mul.c
351
t = (a[2] + c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mul.c
352
c = (t < c);
crypto/libressl/crypto/bn/bn_mul.c
353
r[2] = t;
crypto/libressl/crypto/bn/bn_mul.c
357
t = (a[3] + c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mul.c
358
c = (t < c);
crypto/libressl/crypto/bn/bn_mul.c
359
r[3] = t;
crypto/libressl/crypto/bn/bn_mul.c
436
int dnb, BN_ULONG *t)
crypto/libressl/crypto/bn/bn_mul.c
475
bn_sub_part_words(t, &(a[n]), a, tna, tna - n); /* - */
crypto/libressl/crypto/bn/bn_mul.c
476
bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */
crypto/libressl/crypto/bn/bn_mul.c
482
bn_sub_part_words(t, &(a[n]), a, tna, tna - n); /* - */
crypto/libressl/crypto/bn/bn_mul.c
483
bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n); /* + */
crypto/libressl/crypto/bn/bn_mul.c
492
bn_sub_part_words(t, a, &(a[n]), tna, n - tna); /* + */
crypto/libressl/crypto/bn/bn_mul.c
493
bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */
crypto/libressl/crypto/bn/bn_mul.c
500
bn_sub_part_words(t, a, &(a[n]), tna, n - tna);
crypto/libressl/crypto/bn/bn_mul.c
501
bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n);
crypto/libressl/crypto/bn/bn_mul.c
510
bn_mul_comba4(&(t[n2]), t, &(t[n]));
crypto/libressl/crypto/bn/bn_mul.c
512
memset(&(t[n2]), 0, 8 * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_mul.c
521
bn_mul_comba8(&(t[n2]), t, &(t[n]));
crypto/libressl/crypto/bn/bn_mul.c
523
memset(&(t[n2]), 0, 16 * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_mul.c
530
p = &(t[n2 * 2]);
crypto/libressl/crypto/bn/bn_mul.c
532
bn_mul_recursive(&(t[n2]), t, &(t[n]), n, 0, 0, p);
crypto/libressl/crypto/bn/bn_mul.c
534
memset(&(t[n2]), 0, n2 * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_mul.c
544
c1 = (int)(bn_add_words(t, r, &(r[n2]), n2));
crypto/libressl/crypto/bn/bn_mul.c
548
c1 -= (int)(bn_sub_words(&(t[n2]), t, &(t[n2]), n2));
crypto/libressl/crypto/bn/bn_mul.c
551
c1 += (int)(bn_add_words(&(t[n2]), &(t[n2]), t, n2));
crypto/libressl/crypto/bn/bn_mul.c
559
c1 += (int)(bn_add_words(&(r[n]), &(r[n]), &(t[n2]), n2));
crypto/libressl/crypto/bn/bn_mul.c
584
int tnb, BN_ULONG *t)
crypto/libressl/crypto/bn/bn_mul.c
605
bn_sub_part_words(t, &(a[n]), a, tna, tna - n); /* - */
crypto/libressl/crypto/bn/bn_mul.c
606
bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */
crypto/libressl/crypto/bn/bn_mul.c
611
bn_sub_part_words(t, &(a[n]), a, tna, tna - n); /* - */
crypto/libressl/crypto/bn/bn_mul.c
612
bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n); /* + */
crypto/libressl/crypto/bn/bn_mul.c
620
bn_sub_part_words(t, a, &(a[n]), tna, n - tna); /* + */
crypto/libressl/crypto/bn/bn_mul.c
621
bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */
crypto/libressl/crypto/bn/bn_mul.c
627
bn_sub_part_words(t, a, &(a[n]), tna, n - tna);
crypto/libressl/crypto/bn/bn_mul.c
628
bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n);
crypto/libressl/crypto/bn/bn_mul.c
635
bn_mul_comba4(&(t[n2]), t, &(t[n]));
crypto/libressl/crypto/bn/bn_mul.c
642
bn_mul_comba8(&(t[n2]), t, &(t[n]));
crypto/libressl/crypto/bn/bn_mul.c
648
p = &(t[n2*2]);
crypto/libressl/crypto/bn/bn_mul.c
649
bn_mul_recursive(&(t[n2]), t, &(t[n]), n, 0, 0, p);
crypto/libressl/crypto/bn/bn_mul.c
705
c1 = (int)(bn_add_words(t, r,&(r[n2]), n2));
crypto/libressl/crypto/bn/bn_mul.c
709
c1 -= (int)(bn_sub_words(&(t[n2]), t,&(t[n2]), n2));
crypto/libressl/crypto/bn/bn_mul.c
712
c1 += (int)(bn_add_words(&(t[n2]), &(t[n2]), t, n2));
crypto/libressl/crypto/bn/bn_mul.c
720
c1 += (int)(bn_add_words(&(r[n]), &(r[n]), &(t[n2]), n2));
crypto/libressl/crypto/bn/bn_mul.c
744
bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, BN_ULONG *t)
crypto/libressl/crypto/bn/bn_mul.c
752
bn_mul_recursive(r, a, b, n, 0, 0, &(t[0]));
crypto/libressl/crypto/bn/bn_mul.c
754
bn_mul_low_recursive(&(t[0]), &(a[0]), &(b[n]), n, &(t[n2]));
crypto/libressl/crypto/bn/bn_mul.c
755
bn_add_words(&(r[n]), &(r[n]), &(t[0]), n);
crypto/libressl/crypto/bn/bn_mul.c
756
bn_mul_low_recursive(&(t[0]), &(a[n]), &(b[0]), n, &(t[n2]));
crypto/libressl/crypto/bn/bn_mul.c
757
bn_add_words(&(r[n]), &(r[n]), &(t[0]), n);
crypto/libressl/crypto/bn/bn_mul.c
759
bn_mul_low_normal(&(t[0]), &(a[0]), &(b[n]), n);
crypto/libressl/crypto/bn/bn_mul.c
760
bn_mul_low_normal(&(t[n]), &(a[n]), &(b[0]), n);
crypto/libressl/crypto/bn/bn_mul.c
761
bn_add_words(&(r[n]), &(r[n]), &(t[0]), n);
crypto/libressl/crypto/bn/bn_mul.c
762
bn_add_words(&(r[n]), &(r[n]), &(t[n]), n);
crypto/libressl/crypto/bn/bn_mul.c
773
BN_ULONG *t)
crypto/libressl/crypto/bn/bn_mul.c
826
bn_mul_comba8(&(t[0]), &(r[0]), &(r[n]));
crypto/libressl/crypto/bn/bn_mul.c
831
bn_mul_recursive(&(t[0]), &(r[0]), &(r[n]), n, 0, 0, &(t[n2]));
crypto/libressl/crypto/bn/bn_mul.c
832
bn_mul_recursive(r, &(a[n]), &(b[n]), n, 0, 0, &(t[n2]));
crypto/libressl/crypto/bn/bn_mul.c
842
lp = &(t[n2 + n]);
crypto/libressl/crypto/bn/bn_mul.c
850
neg = (int)(bn_sub_words(&(t[n2]), lp, &(t[0]), n));
crypto/libressl/crypto/bn/bn_mul.c
852
bn_add_words(&(t[n2]), lp, &(t[0]), n);
crypto/libressl/crypto/bn/bn_mul.c
857
bn_sub_words(&(t[n2 + n]), &(l[n]), &(t[n2]), n);
crypto/libressl/crypto/bn/bn_mul.c
859
lp = &(t[n2 + n]);
crypto/libressl/crypto/bn/bn_mul.c
860
mp = &(t[n2]);
crypto/libressl/crypto/bn/bn_mul.c
87
BN_ULONG c, t;
crypto/libressl/crypto/bn/bn_mul.c
879
lp = &(t[n2]);
crypto/libressl/crypto/bn/bn_mul.c
880
c1 = (int)(bn_add_words(lp, &(t[n2 + n]), &(l[0]), n));
crypto/libressl/crypto/bn/bn_mul.c
882
lp = &(t[n2 + n]);
crypto/libressl/crypto/bn/bn_mul.c
885
c1 += (int)(bn_add_words(&(t[n2]), lp, &(r[0]), n));
crypto/libressl/crypto/bn/bn_mul.c
887
c1 -= (int)(bn_sub_words(&(t[n2]), &(t[n2]), &(t[0]), n));
crypto/libressl/crypto/bn/bn_mul.c
889
c1 += (int)(bn_add_words(&(t[n2]), &(t[n2]), &(t[0]), n));
crypto/libressl/crypto/bn/bn_mul.c
891
c2 = (int)(bn_add_words(&(r[0]), &(r[0]), &(t[n2 + n]), n));
crypto/libressl/crypto/bn/bn_mul.c
894
c2 -= (int)(bn_sub_words(&(r[0]), &(r[0]), &(t[n]), n));
crypto/libressl/crypto/bn/bn_mul.c
896
c2 += (int)(bn_add_words(&(r[0]), &(r[0]), &(t[n]), n));
crypto/libressl/crypto/bn/bn_mul.c
949
BIGNUM *t = NULL;
crypto/libressl/crypto/bn/bn_nist.c
1212
BN_ULONG *ap, t, c;
crypto/libressl/crypto/bn/bn_nist.c
1216
t= *ap;
crypto/libressl/crypto/bn/bn_nist.c
1217
*(ap++) = ((t << 1)|c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_nist.c
1218
c = (t & BN_TBIT) ? 1 : 0;
crypto/libressl/crypto/bn/bn_nist.c
955
BN_ULONG *ap, t, c;
crypto/libressl/crypto/bn/bn_nist.c
959
t = *ap;
crypto/libressl/crypto/bn/bn_nist.c
960
*(ap++) = ((t << 1) | c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_nist.c
961
c = (t & BN_TBIT) ? 1 : 0;
crypto/libressl/crypto/bn/bn_prime.c
167
BIGNUM *t;
crypto/libressl/crypto/bn/bn_prime.c
186
if ((t = BN_CTX_get(ctx)) == NULL)
crypto/libressl/crypto/bn/bn_prime.c
223
if (!BN_rshift1(t, ret))
crypto/libressl/crypto/bn/bn_prime.c
233
j = BN_is_prime_fasttest_ex(t, 1, ctx, 0, cb);
crypto/libressl/crypto/bn/bn_prime.c
313
BIGNUM *t;
crypto/libressl/crypto/bn/bn_prime.c
314
if ((t = BN_CTX_get(ctx)) == NULL)
crypto/libressl/crypto/bn/bn_prime.c
316
BN_copy(t, a);
crypto/libressl/crypto/bn/bn_prime.c
317
t->neg = 0;
crypto/libressl/crypto/bn/bn_prime.c
318
A = t;
crypto/libressl/crypto/bn/bn_print.c
115
BIGNUM *t = NULL;
crypto/libressl/crypto/bn/bn_print.c
146
if ((t = BN_dup(a)) == NULL)
crypto/libressl/crypto/bn/bn_print.c
152
if (BN_is_negative(t))
crypto/libressl/crypto/bn/bn_print.c
155
while (!BN_is_zero(t)) {
crypto/libressl/crypto/bn/bn_print.c
158
*lp = BN_div_word(t, BN_DEC_CONV);
crypto/libressl/crypto/bn/bn_print.c
180
BN_free(t);
crypto/libressl/crypto/bn/bn_recp.c
245
BIGNUM *t;
crypto/libressl/crypto/bn/bn_recp.c
248
if ((t = BN_CTX_get(ctx)) == NULL)
crypto/libressl/crypto/bn/bn_recp.c
251
if (!BN_set_bit(t, len))
crypto/libressl/crypto/bn/bn_recp.c
254
if (!BN_div_ct(r, NULL, t,m, ctx))
crypto/libressl/crypto/bn/bn_shift.c
103
BN_ULONG *ap, *rp, t, c;
crypto/libressl/crypto/bn/bn_shift.c
122
t = ap[--i];
crypto/libressl/crypto/bn/bn_shift.c
123
c = (t & 1) ? BN_TBIT : 0;
crypto/libressl/crypto/bn/bn_shift.c
124
if (t >>= 1)
crypto/libressl/crypto/bn/bn_shift.c
125
rp[i] = t;
crypto/libressl/crypto/bn/bn_shift.c
127
t = ap[--i];
crypto/libressl/crypto/bn/bn_shift.c
128
rp[i] = ((t >> 1) & BN_MASK2) | c;
crypto/libressl/crypto/bn/bn_shift.c
129
c = (t & 1) ? BN_TBIT : 0;
crypto/libressl/crypto/bn/bn_shift.c
140
BN_ULONG *t, *f;
crypto/libressl/crypto/bn/bn_shift.c
158
t = r->d;
crypto/libressl/crypto/bn/bn_shift.c
159
t[a->top + nw] = 0;
crypto/libressl/crypto/bn/bn_shift.c
162
t[nw + i] = f[i];
crypto/libressl/crypto/bn/bn_shift.c
166
t[nw + i + 1] |= (l >> rb) & BN_MASK2;
crypto/libressl/crypto/bn/bn_shift.c
167
t[nw + i] = (l << lb) & BN_MASK2;
crypto/libressl/crypto/bn/bn_shift.c
169
memset(t, 0, nw * sizeof(t[0]));
crypto/libressl/crypto/bn/bn_shift.c
182
BN_ULONG *t, *f;
crypto/libressl/crypto/bn/bn_shift.c
211
t = r->d;
crypto/libressl/crypto/bn/bn_shift.c
217
*(t++) = *(f++);
crypto/libressl/crypto/bn/bn_shift.c
223
*(t++) = (tmp|(l << lb)) & BN_MASK2;
crypto/libressl/crypto/bn/bn_shift.c
226
*(t) = l;
crypto/libressl/crypto/bn/bn_shift.c
69
BN_ULONG *ap, *rp, t, c;
crypto/libressl/crypto/bn/bn_shift.c
88
t= *(ap++);
crypto/libressl/crypto/bn/bn_shift.c
89
*(rp++) = ((t << 1) | c) & BN_MASK2;
crypto/libressl/crypto/bn/bn_shift.c
90
c = (t & BN_TBIT) ? 1 : 0;
crypto/libressl/crypto/bn/bn_sqr.c
104
BN_ULONG t[16];
crypto/libressl/crypto/bn/bn_sqr.c
105
bn_sqr_normal(rr->d, a->d, 8, t);
crypto/libressl/crypto/bn/bn_sqr.c
112
BN_ULONG t[BN_SQR_RECURSIVE_SIZE_NORMAL*2];
crypto/libressl/crypto/bn/bn_sqr.c
113
bn_sqr_normal(rr->d, a->d, al, t);
crypto/libressl/crypto/bn/bn_sqr.c
204
bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t)
crypto/libressl/crypto/bn/bn_sqr.c
215
bn_sqr_normal(r, a, 4, t);
crypto/libressl/crypto/bn/bn_sqr.c
222
bn_sqr_normal(r, a, 8, t);
crypto/libressl/crypto/bn/bn_sqr.c
229
bn_sqr_normal(r, a, n2, t);
crypto/libressl/crypto/bn/bn_sqr.c
236
bn_sub_words(t, a, &(a[n]), n);
crypto/libressl/crypto/bn/bn_sqr.c
238
bn_sub_words(t, &(a[n]), a, n);
crypto/libressl/crypto/bn/bn_sqr.c
243
p = &(t[n2*2]);
crypto/libressl/crypto/bn/bn_sqr.c
246
bn_sqr_recursive(&(t[n2]), t, n, p);
crypto/libressl/crypto/bn/bn_sqr.c
248
memset(&(t[n2]), 0, n2 * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_sqr.c
257
c1 = (int)(bn_add_words(t, r, &(r[n2]), n2));
crypto/libressl/crypto/bn/bn_sqr.c
260
c1 -= (int)(bn_sub_words(&(t[n2]), t, &(t[n2]), n2));
crypto/libressl/crypto/bn/bn_sqr.c
267
c1 += (int)(bn_add_words(&(r[n]), &(r[n]), &(t[n2]), n2));
crypto/libressl/crypto/bn/bn_sqr.c
97
BN_ULONG t[8];
crypto/libressl/crypto/bn/bn_sqr.c
98
bn_sqr_normal(rr->d, a->d, 4, t);
crypto/libressl/crypto/bn/bn_sqrt.c
117
if ((t = BN_CTX_get(ctx)) == NULL)
crypto/libressl/crypto/bn/bn_sqrt.c
186
if (!BN_mod_lshift1_quick(t, A, p))
crypto/libressl/crypto/bn/bn_sqrt.c
193
if (!BN_mod_exp_ct(b, t, q, p, ctx))
crypto/libressl/crypto/bn/bn_sqrt.c
201
if (!BN_mod_mul(t, t, y, p, ctx))
crypto/libressl/crypto/bn/bn_sqrt.c
203
if (!BN_sub_word(t, 1))
crypto/libressl/crypto/bn/bn_sqrt.c
209
if (!BN_mod_mul(x, x, t, p, ctx))
crypto/libressl/crypto/bn/bn_sqrt.c
301
if (!BN_rshift1(t, q))
crypto/libressl/crypto/bn/bn_sqrt.c
305
if (BN_is_zero(t)) { /* special case: p = 2^e + 1 */
crypto/libressl/crypto/bn/bn_sqrt.c
306
if (!BN_nnmod(t, A, p, ctx))
crypto/libressl/crypto/bn/bn_sqrt.c
308
if (BN_is_zero(t)) {
crypto/libressl/crypto/bn/bn_sqrt.c
316
if (!BN_mod_exp_ct(x, A, t, p, ctx))
crypto/libressl/crypto/bn/bn_sqrt.c
356
if (!BN_mod_sqr(t, b, p, ctx))
crypto/libressl/crypto/bn/bn_sqrt.c
359
if (!BN_mod_sqr(t, t, p, ctx))
crypto/libressl/crypto/bn/bn_sqrt.c
362
if (BN_is_one(t))
crypto/libressl/crypto/bn/bn_sqrt.c
371
if (!BN_copy(t, y))
crypto/libressl/crypto/bn/bn_sqrt.c
374
if (!BN_mod_sqr(t, t, p, ctx))
crypto/libressl/crypto/bn/bn_sqrt.c
377
if (!BN_mod_mul(y, t, t, p, ctx))
crypto/libressl/crypto/bn/bn_sqrt.c
379
if (!BN_mod_mul(x, x, t, p, ctx))
crypto/libressl/crypto/bn/bn_sqrt.c
74
BIGNUM *A, *b, *q, *t, *x, *y;
crypto/libressl/crypto/cast/c_cfb64.c
108
t=ti[0]; l2n(t,iv);
crypto/libressl/crypto/cast/c_cfb64.c
109
t=ti[1]; l2n(t,iv);
crypto/libressl/crypto/cast/c_cfb64.c
119
v0=v1=ti[0]=ti[1]=t=c=cc=0;
crypto/libressl/crypto/cast/c_cfb64.c
71
CAST_LONG v0,v1,t;
crypto/libressl/crypto/cast/c_cfb64.c
88
t=ti[0]; l2n(t,iv);
crypto/libressl/crypto/cast/c_cfb64.c
89
t=ti[1]; l2n(t,iv);
crypto/libressl/crypto/cast/c_enc.c
65
CAST_LONG l,r,t;
crypto/libressl/crypto/cast/c_enc.c
98
CAST_LONG l,r,t;
crypto/libressl/crypto/cast/c_ofb64.c
108
t=v0=v1=ti[0]=ti[1]=0;
crypto/libressl/crypto/cast/c_ofb64.c
70
CAST_LONG v0,v1,t;
crypto/libressl/crypto/cast/c_ofb64.c
93
t=ti[0]; l2n(t,dp);
crypto/libressl/crypto/cast/c_ofb64.c
94
t=ti[1]; l2n(t,dp);
crypto/libressl/crypto/cast/cast_lcl.h
161
t=(key[n*2] OP1 R)&0xffffffffL; \
crypto/libressl/crypto/cast/cast_lcl.h
163
t=ROTL(t,i); \
crypto/libressl/crypto/cast/cast_lcl.h
165
CAST_S_table0+((t>>C_2)&C_M)) OP2 \
crypto/libressl/crypto/cast/cast_lcl.h
167
CAST_S_table1+((t<<C_3)&C_M)))&0xffffffffL) OP3 \
crypto/libressl/crypto/cast/cast_lcl.h
169
CAST_S_table2+((t>>C_0)&C_M)))&0xffffffffL) OP1 \
crypto/libressl/crypto/cast/cast_lcl.h
171
CAST_S_table3+((t>>C_1)&C_M)))&0xffffffffL; \
crypto/libressl/crypto/cast/cast_lcl.h
185
t= *(CAST_LONG *)((unsigned char *)CAST_S_table0+u); \
crypto/libressl/crypto/cast/cast_lcl.h
187
t=(t OP2 *(CAST_LONG *)((unsigned char *)CAST_S_table1+v))&0xffffffffL;\
crypto/libressl/crypto/cast/cast_lcl.h
191
t=(t OP3 *(CAST_LONG *)((unsigned char *)CAST_S_table2+u)&0xffffffffL);\
crypto/libressl/crypto/cast/cast_lcl.h
192
t=(t OP1 *(CAST_LONG *)((unsigned char *)CAST_S_table3+v)&0xffffffffL);\
crypto/libressl/crypto/cast/cast_lcl.h
193
L^=(t&0xffffffff); \
crypto/libressl/crypto/cast/cast_lcl.h
199
t=(key[n*2] OP1 R)&0xffffffff; \
crypto/libressl/crypto/cast/cast_lcl.h
200
t=ROTL(t,(key[n*2+1])); \
crypto/libressl/crypto/cast/cast_lcl.h
201
a=CAST_S_table0[(t>> 8)&0xff]; \
crypto/libressl/crypto/cast/cast_lcl.h
202
b=CAST_S_table1[(t )&0xff]; \
crypto/libressl/crypto/cast/cast_lcl.h
203
c=CAST_S_table2[(t>>24)&0xff]; \
crypto/libressl/crypto/cast/cast_lcl.h
204
d=CAST_S_table3[(t>>16)&0xff]; \
crypto/libressl/crypto/cms/cms_sd.c
429
cms_add1_signingTime(CMS_SignerInfo *si, ASN1_TIME *t)
crypto/libressl/crypto/cms/cms_sd.c
434
if (t)
crypto/libressl/crypto/cms/cms_sd.c
435
tt = t;
crypto/libressl/crypto/cms/cms_sd.c
449
if (!t)
crypto/libressl/crypto/curve25519/curve25519.c
1106
ge_p3 t;
crypto/libressl/crypto/curve25519/curve25519.c
1107
x25519_ge_p1p1_to_p3(&t, p);
crypto/libressl/crypto/curve25519/curve25519.c
1108
x25519_ge_p3_to_cached(r, &t);
crypto/libressl/crypto/curve25519/curve25519.c
1211
static void cmov(ge_precomp *t, const ge_precomp *u, uint8_t b) {
crypto/libressl/crypto/curve25519/curve25519.c
1212
fe_cmov(t->yplusx, u->yplusx, b);
crypto/libressl/crypto/curve25519/curve25519.c
1213
fe_cmov(t->yminusx, u->yminusx, b);
crypto/libressl/crypto/curve25519/curve25519.c
1214
fe_cmov(t->xy2d, u->xy2d, b);
crypto/libressl/crypto/curve25519/curve25519.c
3490
static void table_select(ge_precomp *t, int pos, signed char b) {
crypto/libressl/crypto/curve25519/curve25519.c
3495
ge_precomp_0(t);
crypto/libressl/crypto/curve25519/curve25519.c
3496
cmov(t, &k25519Precomp[pos][0], equal(babs, 1));
crypto/libressl/crypto/curve25519/curve25519.c
3497
cmov(t, &k25519Precomp[pos][1], equal(babs, 2));
crypto/libressl/crypto/curve25519/curve25519.c
3498
cmov(t, &k25519Precomp[pos][2], equal(babs, 3));
crypto/libressl/crypto/curve25519/curve25519.c
3499
cmov(t, &k25519Precomp[pos][3], equal(babs, 4));
crypto/libressl/crypto/curve25519/curve25519.c
3500
cmov(t, &k25519Precomp[pos][4], equal(babs, 5));
crypto/libressl/crypto/curve25519/curve25519.c
3501
cmov(t, &k25519Precomp[pos][5], equal(babs, 6));
crypto/libressl/crypto/curve25519/curve25519.c
3502
cmov(t, &k25519Precomp[pos][6], equal(babs, 7));
crypto/libressl/crypto/curve25519/curve25519.c
3503
cmov(t, &k25519Precomp[pos][7], equal(babs, 8));
crypto/libressl/crypto/curve25519/curve25519.c
3504
fe_copy(minust.yplusx, t->yminusx);
crypto/libressl/crypto/curve25519/curve25519.c
3505
fe_copy(minust.yminusx, t->yplusx);
crypto/libressl/crypto/curve25519/curve25519.c
3506
fe_neg(minust.xy2d, t->xy2d);
crypto/libressl/crypto/curve25519/curve25519.c
3507
cmov(t, &minust, bnegative);
crypto/libressl/crypto/curve25519/curve25519.c
3521
ge_precomp t;
crypto/libressl/crypto/curve25519/curve25519.c
3543
table_select(&t, i / 2, e[i]);
crypto/libressl/crypto/curve25519/curve25519.c
3544
ge_madd(&r, h, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3558
table_select(&t, i / 2, e[i]);
crypto/libressl/crypto/curve25519/curve25519.c
3559
ge_madd(&r, h, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3566
static void cmov_cached(ge_cached *t, ge_cached *u, uint8_t b) {
crypto/libressl/crypto/curve25519/curve25519.c
3567
fe_cmov(t->YplusX, u->YplusX, b);
crypto/libressl/crypto/curve25519/curve25519.c
3568
fe_cmov(t->YminusX, u->YminusX, b);
crypto/libressl/crypto/curve25519/curve25519.c
3569
fe_cmov(t->Z, u->Z, b);
crypto/libressl/crypto/curve25519/curve25519.c
3570
fe_cmov(t->T2d, u->T2d, b);
crypto/libressl/crypto/curve25519/curve25519.c
3578
ge_p1p1 t;
crypto/libressl/crypto/curve25519/curve25519.c
3586
ge_p2_dbl(&t, &Ai_p2[i / 2]);
crypto/libressl/crypto/curve25519/curve25519.c
3587
ge_p1p1_to_cached(&Ai[i], &t);
crypto/libressl/crypto/curve25519/curve25519.c
3589
x25519_ge_p1p1_to_p2(&Ai_p2[i], &t);
crypto/libressl/crypto/curve25519/curve25519.c
3591
x25519_ge_add(&t, A, &Ai[i]);
crypto/libressl/crypto/curve25519/curve25519.c
3592
ge_p1p1_to_cached(&Ai[i + 1], &t);
crypto/libressl/crypto/curve25519/curve25519.c
3594
x25519_ge_p1p1_to_p2(&Ai_p2[i + 1], &t);
crypto/libressl/crypto/curve25519/curve25519.c
3602
ge_p2_dbl(&t, r);
crypto/libressl/crypto/curve25519/curve25519.c
3603
x25519_ge_p1p1_to_p2(r, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3604
ge_p2_dbl(&t, r);
crypto/libressl/crypto/curve25519/curve25519.c
3605
x25519_ge_p1p1_to_p2(r, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3606
ge_p2_dbl(&t, r);
crypto/libressl/crypto/curve25519/curve25519.c
3607
x25519_ge_p1p1_to_p2(r, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3608
ge_p2_dbl(&t, r);
crypto/libressl/crypto/curve25519/curve25519.c
3609
x25519_ge_p1p1_to_p3(&u, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3622
x25519_ge_add(&t, &u, &selected);
crypto/libressl/crypto/curve25519/curve25519.c
3623
x25519_ge_p1p1_to_p2(r, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3739
ge_p1p1 t;
crypto/libressl/crypto/curve25519/curve25519.c
3748
ge_p3_dbl(&t, A);
crypto/libressl/crypto/curve25519/curve25519.c
3749
x25519_ge_p1p1_to_p3(&A2, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3750
x25519_ge_add(&t, &A2, &Ai[0]);
crypto/libressl/crypto/curve25519/curve25519.c
3751
x25519_ge_p1p1_to_p3(&u, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3753
x25519_ge_add(&t, &A2, &Ai[1]);
crypto/libressl/crypto/curve25519/curve25519.c
3754
x25519_ge_p1p1_to_p3(&u, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3756
x25519_ge_add(&t, &A2, &Ai[2]);
crypto/libressl/crypto/curve25519/curve25519.c
3757
x25519_ge_p1p1_to_p3(&u, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3759
x25519_ge_add(&t, &A2, &Ai[3]);
crypto/libressl/crypto/curve25519/curve25519.c
3760
x25519_ge_p1p1_to_p3(&u, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3762
x25519_ge_add(&t, &A2, &Ai[4]);
crypto/libressl/crypto/curve25519/curve25519.c
3763
x25519_ge_p1p1_to_p3(&u, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3765
x25519_ge_add(&t, &A2, &Ai[5]);
crypto/libressl/crypto/curve25519/curve25519.c
3766
x25519_ge_p1p1_to_p3(&u, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3768
x25519_ge_add(&t, &A2, &Ai[6]);
crypto/libressl/crypto/curve25519/curve25519.c
3769
x25519_ge_p1p1_to_p3(&u, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3781
ge_p2_dbl(&t, r);
crypto/libressl/crypto/curve25519/curve25519.c
3784
x25519_ge_p1p1_to_p3(&u, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3785
x25519_ge_add(&t, &u, &Ai[aslide[i] / 2]);
crypto/libressl/crypto/curve25519/curve25519.c
3787
x25519_ge_p1p1_to_p3(&u, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3788
x25519_ge_sub(&t, &u, &Ai[(-aslide[i]) / 2]);
crypto/libressl/crypto/curve25519/curve25519.c
3792
x25519_ge_p1p1_to_p3(&u, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3793
ge_madd(&t, &u, &Bi[bslide[i] / 2]);
crypto/libressl/crypto/curve25519/curve25519.c
3795
x25519_ge_p1p1_to_p3(&u, &t);
crypto/libressl/crypto/curve25519/curve25519.c
3796
ge_msub(&t, &u, &Bi[(-bslide[i]) / 2]);
crypto/libressl/crypto/curve25519/curve25519.c
3799
x25519_ge_p1p1_to_p2(r, &t);
crypto/libressl/crypto/cversion.c
65
SSLeay_version(int t)
crypto/libressl/crypto/cversion.c
67
switch (t) {
crypto/libressl/crypto/cversion.c
89
OpenSSL_version(int t)
crypto/libressl/crypto/cversion.c
91
switch (t) {
crypto/libressl/crypto/des/des_enc.c
155
l=r=t=u=0;
crypto/libressl/crypto/des/des_enc.c
160
DES_LONG l,r,t,u;
crypto/libressl/crypto/des/des_enc.c
242
l=r=t=u=0;
crypto/libressl/crypto/des/des_enc.c
66
DES_LONG l,r,t,u;
crypto/libressl/crypto/des/des_locl.h
147
#define LOAD_DATA_tmp(R,S,u,t,E0,E1) \
crypto/libressl/crypto/des/des_locl.h
148
{ DES_LONG tmp; LOAD_DATA(R,S,u,t,E0,E1,tmp); }
crypto/libressl/crypto/des/des_locl.h
150
#define LOAD_DATA(R,S,u,t,E0,E1,tmp) \
crypto/libressl/crypto/des/des_locl.h
151
t=R^(R>>16L); \
crypto/libressl/crypto/des/des_locl.h
152
u=t&E0; t&=E1; \
crypto/libressl/crypto/des/des_locl.h
154
tmp=(t<<16); t^=R^s[S+1]; t^=tmp
crypto/libressl/crypto/des/des_locl.h
157
#define LOAD_DATA(R,S,u,t,E0,E1,tmp) \
crypto/libressl/crypto/des/des_locl.h
159
t=R^s[S+1]
crypto/libressl/crypto/des/des_locl.h
178
LOAD_DATA(R,S,u,t,E0,E1,u1); \
crypto/libressl/crypto/des/des_locl.h
182
t=ROTATE(t,4); \
crypto/libressl/crypto/des/des_locl.h
191
u2=(int)t>>8L; \
crypto/libressl/crypto/des/des_locl.h
192
u1=(int)t&0xfc; \
crypto/libressl/crypto/des/des_locl.h
194
t>>=16L; \
crypto/libressl/crypto/des/des_locl.h
197
u3=(int)t>>8L; \
crypto/libressl/crypto/des/des_locl.h
198
u1=(int)t&0xfc; \
crypto/libressl/crypto/des/des_locl.h
206
LOAD_DATA(R,S,u,t,E0,E1,u1); \
crypto/libressl/crypto/des/des_locl.h
210
t=ROTATE(t,4); \
crypto/libressl/crypto/des/des_locl.h
219
u2=(int)t>>8L; \
crypto/libressl/crypto/des/des_locl.h
220
u1=(int)t&0xfc; \
crypto/libressl/crypto/des/des_locl.h
224
s1=(int)(t>>16L); \
crypto/libressl/crypto/des/des_locl.h
225
s2=(int)(t>>24L); \
crypto/libressl/crypto/des/des_locl.h
233
LOAD_DATA_tmp(R,S,u,t,E0,E1); \
crypto/libressl/crypto/des/des_locl.h
234
t=ROTATE(t,4); \
crypto/libressl/crypto/des/des_locl.h
240
*(const DES_LONG *)(des_SP+0x100+((t )&0xfc))^ \
crypto/libressl/crypto/des/des_locl.h
241
*(const DES_LONG *)(des_SP+0x300+((t>> 8L)&0xfc))^ \
crypto/libressl/crypto/des/des_locl.h
242
*(const DES_LONG *)(des_SP+0x500+((t>>16L)&0xfc))^ \
crypto/libressl/crypto/des/des_locl.h
243
*(const DES_LONG *)(des_SP+0x700+((t>>24L)&0xfc)); }
crypto/libressl/crypto/des/des_locl.h
252
LOAD_DATA(R,S,u,t,E0,E1,u1); \
crypto/libressl/crypto/des/des_locl.h
254
t=ROTATE(t,6); \
crypto/libressl/crypto/des/des_locl.h
266
u2=(int)t>>8L; \
crypto/libressl/crypto/des/des_locl.h
267
u1=(int)t&0x3f; \
crypto/libressl/crypto/des/des_locl.h
269
t>>=16L; \
crypto/libressl/crypto/des/des_locl.h
272
u3=(int)t>>8L; \
crypto/libressl/crypto/des/des_locl.h
273
u1=(int)t&0x3f; \
crypto/libressl/crypto/des/des_locl.h
281
LOAD_DATA(R,S,u,t,E0,E1,u1); \
crypto/libressl/crypto/des/des_locl.h
283
t=ROTATE(t,6); \
crypto/libressl/crypto/des/des_locl.h
295
u2=(int)t>>8L; \
crypto/libressl/crypto/des/des_locl.h
296
u1=(int)t&0x3f; \
crypto/libressl/crypto/des/des_locl.h
300
s1=(int)t>>16; \
crypto/libressl/crypto/des/des_locl.h
301
s2=(int)t>>24L; \
crypto/libressl/crypto/des/des_locl.h
311
LOAD_DATA_tmp(R,S,u,t,E0,E1); \
crypto/libressl/crypto/des/des_locl.h
312
t=ROTATE(t,4); \
crypto/libressl/crypto/des/des_locl.h
318
DES_SPtrans[1][(t>> 2L)&0x3f]^ \
crypto/libressl/crypto/des/des_locl.h
319
DES_SPtrans[3][(t>>10L)&0x3f]^ \
crypto/libressl/crypto/des/des_locl.h
320
DES_SPtrans[5][(t>>18L)&0x3f]^ \
crypto/libressl/crypto/des/des_locl.h
321
DES_SPtrans[7][(t>>26L)&0x3f]; }
crypto/libressl/crypto/des/des_locl.h
362
#define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\
crypto/libressl/crypto/des/des_locl.h
363
(b)^=(t),\
crypto/libressl/crypto/des/des_locl.h
364
(a)^=((t)<<(n)))
crypto/libressl/crypto/des/fcrypt_b.c
129
t=l;
crypto/libressl/crypto/des/fcrypt_b.c
131
r=t;
crypto/libressl/crypto/des/fcrypt_b.c
136
PERM_OP(l,r,t, 1,0x55555555L);
crypto/libressl/crypto/des/fcrypt_b.c
137
PERM_OP(r,l,t, 8,0x00ff00ffL);
crypto/libressl/crypto/des/fcrypt_b.c
138
PERM_OP(l,r,t, 2,0x33333333L);
crypto/libressl/crypto/des/fcrypt_b.c
139
PERM_OP(r,l,t,16,0x0000ffffL);
crypto/libressl/crypto/des/fcrypt_b.c
140
PERM_OP(l,r,t, 4,0x0f0f0f0fL);
crypto/libressl/crypto/des/fcrypt_b.c
74
#define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\
crypto/libressl/crypto/des/fcrypt_b.c
75
(b)^=(t),\
crypto/libressl/crypto/des/fcrypt_b.c
76
(a)^=((t)<<(n)))
crypto/libressl/crypto/des/fcrypt_b.c
79
#define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)),\
crypto/libressl/crypto/des/fcrypt_b.c
80
(a)=(a)^(t)^(t>>(16-(n))))\
crypto/libressl/crypto/des/fcrypt_b.c
85
DES_LONG l,r,t,u;
crypto/libressl/crypto/des/ofb64enc.c
107
t=v0=v1=ti[0]=ti[1]=0;
crypto/libressl/crypto/des/ofb64enc.c
69
DES_LONG v0,v1,t;
crypto/libressl/crypto/des/ofb64enc.c
92
t=ti[0]; l2c(t,dp);
crypto/libressl/crypto/des/ofb64enc.c
93
t=ti[1]; l2c(t,dp);
crypto/libressl/crypto/des/set_key.c
157
#define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)),\
crypto/libressl/crypto/des/set_key.c
158
(a)=(a)^(t)^(t>>(16-(n))))
crypto/libressl/crypto/des/set_key.c
337
DES_LONG c,d,t,s,t2;
crypto/libressl/crypto/des/set_key.c
351
PERM_OP (d,c,t,4,0x0f0f0f0fL);
crypto/libressl/crypto/des/set_key.c
352
HPERM_OP(c,t,-2,0xcccc0000L);
crypto/libressl/crypto/des/set_key.c
353
HPERM_OP(d,t,-2,0xcccc0000L);
crypto/libressl/crypto/des/set_key.c
354
PERM_OP (d,c,t,1,0x55555555L);
crypto/libressl/crypto/des/set_key.c
355
PERM_OP (c,d,t,8,0x00ff00ffL);
crypto/libressl/crypto/des/set_key.c
356
PERM_OP (d,c,t,1,0x55555555L);
crypto/libressl/crypto/des/set_key.c
376
t= des_skb[4][ (d )&0x3f ]|
crypto/libressl/crypto/des/set_key.c
382
t2=((t<<16L)|(s&0x0000ffffL))&0xffffffffL;
crypto/libressl/crypto/des/set_key.c
385
t2=((s>>16L)|(t&0xffff0000L));
crypto/libressl/crypto/ec/ec2_smpl.c
445
BIGNUM *x0, *y0, *x1, *y1, *x2, *y2, *s, *t;
crypto/libressl/crypto/ec/ec2_smpl.c
478
if ((t = BN_CTX_get(ctx)) == NULL)
crypto/libressl/crypto/ec/ec2_smpl.c
502
if (!BN_GF2m_add(t, x0, x1))
crypto/libressl/crypto/ec/ec2_smpl.c
506
if (!group->meth->field_div(group, s, s, t, ctx))
crypto/libressl/crypto/ec/ec2_smpl.c
514
if (!BN_GF2m_add(x2, x2, t))
crypto/libressl/crypto/ec/ec_key.c
182
void *t = d->dup_func(d->data);
crypto/libressl/crypto/ec/ec_key.c
184
if (t == NULL)
crypto/libressl/crypto/ec/ec_key.c
186
if (!EC_EX_DATA_set_data(&dest->method_data, t, d->dup_func,
crypto/libressl/crypto/ec/ec_lib.c
179
void *t = d->dup_func(d->data);
crypto/libressl/crypto/ec/ec_lib.c
181
if (t == NULL)
crypto/libressl/crypto/ec/ec_lib.c
183
if (!EC_EX_DATA_set_data(&dest->extra_data, t, d->dup_func,
crypto/libressl/crypto/ec/ec_lib.c
232
EC_GROUP *t = NULL;
crypto/libressl/crypto/ec/ec_lib.c
234
if ((a != NULL) && ((t = EC_GROUP_new(a->meth)) != NULL) &&
crypto/libressl/crypto/ec/ec_lib.c
235
(!EC_GROUP_copy(t, a))) {
crypto/libressl/crypto/ec/ec_lib.c
236
EC_GROUP_free(t);
crypto/libressl/crypto/ec/ec_lib.c
237
t = NULL;
crypto/libressl/crypto/ec/ec_lib.c
239
return t;
crypto/libressl/crypto/ec/ec_lib.c
901
EC_POINT *t;
crypto/libressl/crypto/ec/ec_lib.c
907
t = EC_POINT_new(group);
crypto/libressl/crypto/ec/ec_lib.c
908
if (t == NULL)
crypto/libressl/crypto/ec/ec_lib.c
910
r = EC_POINT_copy(t, a);
crypto/libressl/crypto/ec/ec_lib.c
912
EC_POINT_free(t);
crypto/libressl/crypto/ec/ec_lib.c
915
return t;
crypto/libressl/crypto/ec/ecp_smpl.c
1481
#define EC_POINT_CSWAP(c, a, b, w, t) do { \
crypto/libressl/crypto/ec/ecp_smpl.c
1486
t = ((a)->Z_is_one ^ (b)->Z_is_one) & (c); \
crypto/libressl/crypto/ec/ecp_smpl.c
1487
(a)->Z_is_one ^= (t); \
crypto/libressl/crypto/ec/ecp_smpl.c
1488
(b)->Z_is_one ^= (t); \
crypto/libressl/crypto/engine/eng_int.h
125
#define engine_table_select(t,n) engine_table_select_tmp(t,n,__FILE__,__LINE__)
crypto/libressl/crypto/engine/eng_table.c
118
int_table_check(ENGINE_TABLE **t, int create)
crypto/libressl/crypto/engine/eng_table.c
122
if (*t)
crypto/libressl/crypto/engine/eng_table.c
128
*t = (ENGINE_TABLE *)lh;
crypto/libressl/crypto/evp/encode.c
211
EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int dlen)
crypto/libressl/crypto/evp/encode.c
220
*(t++) = conv_bin2ascii(l >> 18L);
crypto/libressl/crypto/evp/encode.c
221
*(t++) = conv_bin2ascii(l >> 12L);
crypto/libressl/crypto/evp/encode.c
222
*(t++) = conv_bin2ascii(l >> 6L);
crypto/libressl/crypto/evp/encode.c
223
*(t++) = conv_bin2ascii(l );
crypto/libressl/crypto/evp/encode.c
229
*(t++) = conv_bin2ascii(l >> 18L);
crypto/libressl/crypto/evp/encode.c
230
*(t++) = conv_bin2ascii(l >> 12L);
crypto/libressl/crypto/evp/encode.c
231
*(t++) = (i == 1) ? '=' : conv_bin2ascii(l >> 6L);
crypto/libressl/crypto/evp/encode.c
232
*(t++) = '=';
crypto/libressl/crypto/evp/encode.c
238
*t = '\0';
crypto/libressl/crypto/evp/encode.c
360
EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n)
crypto/libressl/crypto/evp/encode.c
391
*(t++) = (unsigned char)(l >> 16L) & 0xff;
crypto/libressl/crypto/evp/encode.c
392
*(t++) = (unsigned char)(l >> 8L) & 0xff;
crypto/libressl/crypto/evp/encode.c
393
*(t++) = (unsigned char)(l) & 0xff;
crypto/libressl/crypto/evp/pmeth_lib.c
144
const EVP_PKEY_METHOD *t = &tmp, **ret;
crypto/libressl/crypto/evp/pmeth_lib.c
153
ret = OBJ_bsearch_pmeth(&t, standard_methods,
crypto/libressl/crypto/gost/gost2814789.c
283
size_t t = *(size_t*)(in + n);
crypto/libressl/crypto/gost/gost2814789.c
285
*(size_t*)(ivec + n) ^ t;
crypto/libressl/crypto/gost/gost2814789.c
286
*(size_t*)(ivec + n) = t;
crypto/libressl/crypto/gost/gost89_params.c
187
unsigned int t;
crypto/libressl/crypto/gost/gost89_params.c
202
t = (unsigned int)(b->k8[i >> 4] <<4 | b->k7 [i & 15]) << 24;
crypto/libressl/crypto/gost/gost89_params.c
203
key->k87[i] = (t << 11) | (t >> 21);
crypto/libressl/crypto/gost/gost89_params.c
204
t = (unsigned int)(b->k6[i >> 4] <<4 | b->k5 [i & 15]) << 16;
crypto/libressl/crypto/gost/gost89_params.c
205
key->k65[i] = (t << 11) | (t >> 21);
crypto/libressl/crypto/gost/gost89_params.c
206
t = (unsigned int)(b->k4[i >> 4] <<4 | b->k3 [i & 15]) << 8;
crypto/libressl/crypto/gost/gost89_params.c
207
key->k43[i] = (t << 11) | (t >> 21);
crypto/libressl/crypto/gost/gost89_params.c
208
t = (unsigned int)(b->k2[i >> 4] <<4 | b->k1 [i & 15]) << 0;
crypto/libressl/crypto/gost/gost89_params.c
209
key->k21[i] = (t << 11) | (t >> 21);
crypto/libressl/crypto/gost/streebog.c
1172
STREEBOG_LONG64 t = 0;
crypto/libressl/crypto/gost/streebog.c
1174
t ^= A_PI_table[0][(in[0] >> (i * 8)) & 0xff];
crypto/libressl/crypto/gost/streebog.c
1175
t ^= A_PI_table[1][(in[1] >> (i * 8)) & 0xff];
crypto/libressl/crypto/gost/streebog.c
1176
t ^= A_PI_table[2][(in[2] >> (i * 8)) & 0xff];
crypto/libressl/crypto/gost/streebog.c
1177
t ^= A_PI_table[3][(in[3] >> (i * 8)) & 0xff];
crypto/libressl/crypto/gost/streebog.c
1178
t ^= A_PI_table[4][(in[4] >> (i * 8)) & 0xff];
crypto/libressl/crypto/gost/streebog.c
1179
t ^= A_PI_table[5][(in[5] >> (i * 8)) & 0xff];
crypto/libressl/crypto/gost/streebog.c
1180
t ^= A_PI_table[6][(in[6] >> (i * 8)) & 0xff];
crypto/libressl/crypto/gost/streebog.c
1181
t ^= A_PI_table[7][(in[7] >> (i * 8)) & 0xff];
crypto/libressl/crypto/gost/streebog.c
1183
return t;
crypto/libressl/crypto/gost/streebog.c
1313
STREEBOG_LONG64 t = c->h[4+n];
crypto/libressl/crypto/gost/streebog.c
1316
*(md++) = (unsigned char)(t);
crypto/libressl/crypto/gost/streebog.c
1317
*(md++) = (unsigned char)(t >> 8);
crypto/libressl/crypto/gost/streebog.c
1318
*(md++) = (unsigned char)(t >> 16);
crypto/libressl/crypto/gost/streebog.c
1319
*(md++) = (unsigned char)(t >> 24);
crypto/libressl/crypto/gost/streebog.c
1320
*(md++) = (unsigned char)(t >> 32);
crypto/libressl/crypto/gost/streebog.c
1321
*(md++) = (unsigned char)(t >> 40);
crypto/libressl/crypto/gost/streebog.c
1322
*(md++) = (unsigned char)(t >> 48);
crypto/libressl/crypto/gost/streebog.c
1323
*(md++) = (unsigned char)(t >> 56);
crypto/libressl/crypto/gost/streebog.c
1325
*(md++) = (unsigned char)(t >> 56);
crypto/libressl/crypto/gost/streebog.c
1326
*(md++) = (unsigned char)(t >> 48);
crypto/libressl/crypto/gost/streebog.c
1327
*(md++) = (unsigned char)(t >> 40);
crypto/libressl/crypto/gost/streebog.c
1328
*(md++) = (unsigned char)(t >> 32);
crypto/libressl/crypto/gost/streebog.c
1329
*(md++) = (unsigned char)(t >> 24);
crypto/libressl/crypto/gost/streebog.c
1330
*(md++) = (unsigned char)(t >> 16);
crypto/libressl/crypto/gost/streebog.c
1331
*(md++) = (unsigned char)(t >> 8);
crypto/libressl/crypto/gost/streebog.c
1332
*(md++) = (unsigned char)(t);
crypto/libressl/crypto/gost/streebog.c
1338
STREEBOG_LONG64 t = c->h[n];
crypto/libressl/crypto/gost/streebog.c
1341
*(md++) = (unsigned char)(t);
crypto/libressl/crypto/gost/streebog.c
1342
*(md++) = (unsigned char)(t >> 8);
crypto/libressl/crypto/gost/streebog.c
1343
*(md++) = (unsigned char)(t >> 16);
crypto/libressl/crypto/gost/streebog.c
1344
*(md++) = (unsigned char)(t >> 24);
crypto/libressl/crypto/gost/streebog.c
1345
*(md++) = (unsigned char)(t >> 32);
crypto/libressl/crypto/gost/streebog.c
1346
*(md++) = (unsigned char)(t >> 40);
crypto/libressl/crypto/gost/streebog.c
1347
*(md++) = (unsigned char)(t >> 48);
crypto/libressl/crypto/gost/streebog.c
1348
*(md++) = (unsigned char)(t >> 56);
crypto/libressl/crypto/gost/streebog.c
1350
*(md++) = (unsigned char)(t >> 56);
crypto/libressl/crypto/gost/streebog.c
1351
*(md++) = (unsigned char)(t >> 48);
crypto/libressl/crypto/gost/streebog.c
1352
*(md++) = (unsigned char)(t >> 40);
crypto/libressl/crypto/gost/streebog.c
1353
*(md++) = (unsigned char)(t >> 32);
crypto/libressl/crypto/gost/streebog.c
1354
*(md++) = (unsigned char)(t >> 24);
crypto/libressl/crypto/gost/streebog.c
1355
*(md++) = (unsigned char)(t >> 16);
crypto/libressl/crypto/gost/streebog.c
1356
*(md++) = (unsigned char)(t >> 8);
crypto/libressl/crypto/gost/streebog.c
1357
*(md++) = (unsigned char)(t);
crypto/libressl/crypto/idea/i_cfb64.c
108
t=ti[0]; l2n(t,iv);
crypto/libressl/crypto/idea/i_cfb64.c
109
t=ti[1]; l2n(t,iv);
crypto/libressl/crypto/idea/i_cfb64.c
119
v0=v1=ti[0]=ti[1]=t=c=cc=0;
crypto/libressl/crypto/idea/i_cfb64.c
71
unsigned long v0,v1,t;
crypto/libressl/crypto/idea/i_cfb64.c
88
t=ti[0]; l2n(t,iv);
crypto/libressl/crypto/idea/i_cfb64.c
89
t=ti[1]; l2n(t,iv);
crypto/libressl/crypto/idea/i_ofb64.c
108
t=v0=v1=ti[0]=ti[1]=0;
crypto/libressl/crypto/idea/i_ofb64.c
70
unsigned long v0,v1,t;
crypto/libressl/crypto/idea/i_ofb64.c
93
t=ti[0]; l2n(t,dp);
crypto/libressl/crypto/idea/i_ofb64.c
94
t=ti[1]; l2n(t,dp);
crypto/libressl/crypto/idea/i_skey.c
101
IDEA_INT *fp,*tp,t;
crypto/libressl/crypto/idea/i_skey.c
118
t=tp[1];
crypto/libressl/crypto/idea/i_skey.c
120
tp[2]=t;
crypto/libressl/crypto/idea/i_skey.c
122
t=tp[49];
crypto/libressl/crypto/idea/i_skey.c
124
tp[50]=t;
crypto/libressl/crypto/idea/i_skey.c
130
long n1,n2,q,r,b1,b2,t;
crypto/libressl/crypto/idea/i_skey.c
150
t=b2;
crypto/libressl/crypto/idea/i_skey.c
152
b1=t;
crypto/libressl/crypto/md4/md4_locl.h
102
#define R0(a,b,c,d,k,s,t) { \
crypto/libressl/crypto/md4/md4_locl.h
103
a+=((k)+(t)+F((b),(c),(d))); \
crypto/libressl/crypto/md4/md4_locl.h
106
#define R1(a,b,c,d,k,s,t) { \
crypto/libressl/crypto/md4/md4_locl.h
107
a+=((k)+(t)+G((b),(c),(d))); \
crypto/libressl/crypto/md4/md4_locl.h
110
#define R2(a,b,c,d,k,s,t) { \
crypto/libressl/crypto/md4/md4_locl.h
111
a+=((k)+(t)+H((b),(c),(d))); \
crypto/libressl/crypto/md5/md5_locl.h
114
#define R0(a,b,c,d,k,s,t) { \
crypto/libressl/crypto/md5/md5_locl.h
115
a+=((k)+(t)+F((b),(c),(d))); \
crypto/libressl/crypto/md5/md5_locl.h
119
#define R1(a,b,c,d,k,s,t) { \
crypto/libressl/crypto/md5/md5_locl.h
120
a+=((k)+(t)+G((b),(c),(d))); \
crypto/libressl/crypto/md5/md5_locl.h
124
#define R2(a,b,c,d,k,s,t) { \
crypto/libressl/crypto/md5/md5_locl.h
125
a+=((k)+(t)+H((b),(c),(d))); \
crypto/libressl/crypto/md5/md5_locl.h
129
#define R3(a,b,c,d,k,s,t) { \
crypto/libressl/crypto/md5/md5_locl.h
130
a+=((k)+(t)+I((b),(c),(d))); \
crypto/libressl/crypto/modes/cbc128.c
121
union { size_t t[16/sizeof(size_t)]; unsigned char c[16]; } tmp;
crypto/libressl/crypto/modes/cbc128.c
175
out_t[n] = tmp.t[n] ^ ivec_t[n];
crypto/libressl/crypto/modes/cfb128.c
136
size_t t = *(size_t*)(in+n);
crypto/libressl/crypto/modes/cfb128.c
137
*(size_t*)(out+n) = *(size_t*)(ivec+n) ^ t;
crypto/libressl/crypto/modes/cfb128.c
138
*(size_t*)(ivec+n) = t;
crypto/libressl/crypto/modes/gcm128.c
1015
ctx->Xi.t[i] ^=
crypto/libressl/crypto/modes/gcm128.c
1016
out_t[i] = in_t[i]^ctx->EKi.t[i];
crypto/libressl/crypto/modes/gcm128.c
1149
out_t[i] = in_t[i]^ctx->EKi.t[i];
crypto/libressl/crypto/modes/gcm128.c
1174
out_t[i] = in_t[i]^ctx->EKi.t[i];
crypto/libressl/crypto/modes/gcm128.c
1198
out[i] = c^ctx->EKi.t[i];
crypto/libressl/crypto/modes/gcm128.c
1199
ctx->Xi.t[i] ^= c;
crypto/libressl/crypto/modes/gcm128.c
964
out_t[i] = in_t[i] ^ ctx->EKi.t[i];
crypto/libressl/crypto/modes/gcm128.c
991
out_t[i] = in_t[i] ^ ctx->EKi.t[i];
crypto/libressl/crypto/modes/modes_lcl.h
85
union { u64 u[2]; u32 d[4]; u8 c[16]; size_t t[16/sizeof(size_t)]; }
crypto/libressl/crypto/objects/obj_xref.c
159
const nid_triple *t = &tmp;
crypto/libressl/crypto/objects/obj_xref.c
168
t = sk_nid_triple_value(sigx_app, idx);
crypto/libressl/crypto/objects/obj_xref.c
169
rv = &t;
crypto/libressl/crypto/objects/obj_xref.c
175
rv = OBJ_bsearch_sigx(&t, sigoid_srt_xref,
crypto/libressl/crypto/ocsp/ocsp_prn.c
89
long t;
crypto/libressl/crypto/ocsp/ocsp_prn.c
99
if (p->t == s)
crypto/libressl/crypto/pkcs7/pk7_attr.c
146
PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t)
crypto/libressl/crypto/pkcs7/pk7_attr.c
148
if (!t && !(t = X509_gmtime_adj(NULL, 0))) {
crypto/libressl/crypto/pkcs7/pk7_attr.c
153
V_ASN1_UTCTIME, t);
crypto/libressl/crypto/rc2/rc2_cbc.c
140
RC2_INT x0,x1,x2,x3,t;
crypto/libressl/crypto/rc2/rc2_cbc.c
156
t=(x0+(x1& ~x3)+(x2&x3)+ *(p0++))&0xffff;
crypto/libressl/crypto/rc2/rc2_cbc.c
157
x0=(t<<1)|(t>>15);
crypto/libressl/crypto/rc2/rc2_cbc.c
158
t=(x1+(x2& ~x0)+(x3&x0)+ *(p0++))&0xffff;
crypto/libressl/crypto/rc2/rc2_cbc.c
159
x1=(t<<2)|(t>>14);
crypto/libressl/crypto/rc2/rc2_cbc.c
160
t=(x2+(x3& ~x1)+(x0&x1)+ *(p0++))&0xffff;
crypto/libressl/crypto/rc2/rc2_cbc.c
161
x2=(t<<3)|(t>>13);
crypto/libressl/crypto/rc2/rc2_cbc.c
162
t=(x3+(x0& ~x2)+(x1&x2)+ *(p0++))&0xffff;
crypto/libressl/crypto/rc2/rc2_cbc.c
163
x3=(t<<5)|(t>>11);
crypto/libressl/crypto/rc2/rc2_cbc.c
185
RC2_INT x0,x1,x2,x3,t;
crypto/libressl/crypto/rc2/rc2_cbc.c
202
t=((x3<<11)|(x3>>5))&0xffff;
crypto/libressl/crypto/rc2/rc2_cbc.c
203
x3=(t-(x0& ~x2)-(x1&x2)- *(p0--))&0xffff;
crypto/libressl/crypto/rc2/rc2_cbc.c
204
t=((x2<<13)|(x2>>3))&0xffff;
crypto/libressl/crypto/rc2/rc2_cbc.c
205
x2=(t-(x3& ~x1)-(x0&x1)- *(p0--))&0xffff;
crypto/libressl/crypto/rc2/rc2_cbc.c
206
t=((x1<<14)|(x1>>2))&0xffff;
crypto/libressl/crypto/rc2/rc2_cbc.c
207
x1=(t-(x2& ~x0)-(x3&x0)- *(p0--))&0xffff;
crypto/libressl/crypto/rc2/rc2_cbc.c
208
t=((x0<<15)|(x0>>1))&0xffff;
crypto/libressl/crypto/rc2/rc2_cbc.c
209
x0=(t-(x1& ~x3)-(x2&x3)- *(p0--))&0xffff;
crypto/libressl/crypto/rc2/rc2_locl.h
148
t=(x0+(x1& ~x3)+(x2&x3)+ *(p0++))&0xffff; \
crypto/libressl/crypto/rc2/rc2_locl.h
149
x0=(t<<1)|(t>>15); \
crypto/libressl/crypto/rc2/rc2_locl.h
150
t=(x1+(x2& ~x0)+(x3&x0)+ *(p0++))&0xffff; \
crypto/libressl/crypto/rc2/rc2_locl.h
151
x1=(t<<2)|(t>>14); \
crypto/libressl/crypto/rc2/rc2_locl.h
152
t=(x2+(x3& ~x1)+(x0&x1)+ *(p0++))&0xffff; \
crypto/libressl/crypto/rc2/rc2_locl.h
153
x2=(t<<3)|(t>>13); \
crypto/libressl/crypto/rc2/rc2_locl.h
154
t=(x3+(x0& ~x2)+(x1&x2)+ *(p0++))&0xffff; \
crypto/libressl/crypto/rc2/rc2_locl.h
155
x3=(t<<5)|(t>>11);
crypto/libressl/crypto/rc2/rc2cfb64.c
108
t=ti[0]; l2c(t,iv);
crypto/libressl/crypto/rc2/rc2cfb64.c
109
t=ti[1]; l2c(t,iv);
crypto/libressl/crypto/rc2/rc2cfb64.c
119
v0=v1=ti[0]=ti[1]=t=c=cc=0;
crypto/libressl/crypto/rc2/rc2cfb64.c
71
unsigned long v0,v1,t;
crypto/libressl/crypto/rc2/rc2cfb64.c
88
t=ti[0]; l2c(t,iv);
crypto/libressl/crypto/rc2/rc2cfb64.c
89
t=ti[1]; l2c(t,iv);
crypto/libressl/crypto/rc2/rc2ofb64.c
108
t=v0=v1=ti[0]=ti[1]=0;
crypto/libressl/crypto/rc2/rc2ofb64.c
70
unsigned long v0,v1,t;
crypto/libressl/crypto/rc2/rc2ofb64.c
93
t=ti[0]; l2c(t,dp);
crypto/libressl/crypto/rc2/rc2ofb64.c
94
t=ti[1]; l2c(t,dp);
crypto/libressl/crypto/sha/sha512.c
140
SHA_LONG64 t = c->h[n];
crypto/libressl/crypto/sha/sha512.c
142
*(md++) = (unsigned char)(t>>56);
crypto/libressl/crypto/sha/sha512.c
143
*(md++) = (unsigned char)(t>>48);
crypto/libressl/crypto/sha/sha512.c
144
*(md++) = (unsigned char)(t>>40);
crypto/libressl/crypto/sha/sha512.c
145
*(md++) = (unsigned char)(t>>32);
crypto/libressl/crypto/sha/sha512.c
146
*(md++) = (unsigned char)(t>>24);
crypto/libressl/crypto/sha/sha512.c
147
*(md++) = (unsigned char)(t>>16);
crypto/libressl/crypto/sha/sha512.c
148
*(md++) = (unsigned char)(t>>8);
crypto/libressl/crypto/sha/sha512.c
149
*(md++) = (unsigned char)(t);
crypto/libressl/crypto/sha/sha512.c
155
SHA_LONG64 t = c->h[n];
crypto/libressl/crypto/sha/sha512.c
157
*(md++) = (unsigned char)(t>>56);
crypto/libressl/crypto/sha/sha512.c
158
*(md++) = (unsigned char)(t>>48);
crypto/libressl/crypto/sha/sha512.c
159
*(md++) = (unsigned char)(t>>40);
crypto/libressl/crypto/sha/sha512.c
160
*(md++) = (unsigned char)(t>>32);
crypto/libressl/crypto/sha/sha512.c
161
*(md++) = (unsigned char)(t>>24);
crypto/libressl/crypto/sha/sha512.c
162
*(md++) = (unsigned char)(t>>16);
crypto/libressl/crypto/sha/sha512.c
163
*(md++) = (unsigned char)(t>>8);
crypto/libressl/crypto/sha/sha512.c
164
*(md++) = (unsigned char)(t);
crypto/libressl/crypto/sm4/sm4.c
128
uint32_t t = 0;
crypto/libressl/crypto/sm4/sm4.c
130
t |= ((uint32_t)SM4_S[(uint8_t)(X >> 24)]) << 24;
crypto/libressl/crypto/sm4/sm4.c
131
t |= ((uint32_t)SM4_S[(uint8_t)(X >> 16)]) << 16;
crypto/libressl/crypto/sm4/sm4.c
132
t |= ((uint32_t)SM4_S[(uint8_t)(X >> 8)]) << 8;
crypto/libressl/crypto/sm4/sm4.c
133
t |= SM4_S[(uint8_t)X];
crypto/libressl/crypto/sm4/sm4.c
138
return t ^ rotl(t, 2) ^ rotl(t, 10) ^ rotl(t, 18) ^ rotl(t, 24);
crypto/libressl/crypto/sm4/sm4.c
186
uint32_t t = 0;
crypto/libressl/crypto/sm4/sm4.c
190
t |= ((uint32_t)SM4_S[(uint8_t)(X >> 24)]) << 24;
crypto/libressl/crypto/sm4/sm4.c
191
t |= ((uint32_t)SM4_S[(uint8_t)(X >> 16)]) << 16;
crypto/libressl/crypto/sm4/sm4.c
192
t |= ((uint32_t)SM4_S[(uint8_t)(X >> 8)]) << 8;
crypto/libressl/crypto/sm4/sm4.c
193
t |= SM4_S[(uint8_t)X];
crypto/libressl/crypto/sm4/sm4.c
195
t = t ^ rotl(t, 13) ^ rotl(t, 23);
crypto/libressl/crypto/sm4/sm4.c
196
K[i % 4] ^= t;
crypto/libressl/crypto/x509/x509_addr.c
1480
char *s = NULL, *t;
crypto/libressl/crypto/x509/x509_addr.c
1532
parsed_safi = strtoul(val->value, &t, 0);
crypto/libressl/crypto/x509/x509_addr.c
1536
(*t != '\t' && *t != ' ' && *t != ':')) {
crypto/libressl/crypto/x509/x509_addr.c
1553
t += strspn(t, " \t");
crypto/libressl/crypto/x509/x509_addr.c
1554
if (*t != ':') {
crypto/libressl/crypto/x509/x509_addr.c
1561
t++;
crypto/libressl/crypto/x509/x509_addr.c
1564
t += strspn(t, " \t");
crypto/libressl/crypto/x509/x509_addr.c
1566
s = strdup(t);
crypto/libressl/crypto/x509/x509_lib.c
119
const X509V3_EXT_METHOD *t = &tmp, * const *ret;
crypto/libressl/crypto/x509/x509_lib.c
125
ret = OBJ_bsearch_ext(&t, standard_exts, STANDARD_EXTENSION_COUNT);
crypto/libressl/crypto/x509/x509_trs.c
180
X509_TRUST_set(int *t, int trust)
crypto/libressl/crypto/x509/x509_trs.c
186
*t = trust;
crypto/libressl/crypto/x509/x509_vfy.c
2078
time_t t;
crypto/libressl/crypto/x509/x509_vfy.c
2080
t = time(NULL);
crypto/libressl/crypto/x509/x509_vfy.c
2082
t = *in_time;
crypto/libressl/crypto/x509/x509_vfy.c
2084
return ASN1_TIME_adj(s, t, offset_day, offset_sec);
crypto/libressl/crypto/x509/x509_vfy.c
2518
X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, unsigned long flags, time_t t)
crypto/libressl/crypto/x509/x509_vfy.c
2520
X509_VERIFY_PARAM_set_time(ctx->param, t);
crypto/libressl/crypto/x509/x509_vpm.c
469
X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t)
crypto/libressl/crypto/x509/x509_vpm.c
471
param->check_time = t;
crypto/libressl/include/openssl/asn1.h
609
ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t);
crypto/libressl/include/openssl/asn1.h
610
ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t,
crypto/libressl/include/openssl/asn1.h
615
int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t);
crypto/libressl/include/openssl/asn1.h
620
time_t t);
crypto/libressl/include/openssl/asn1.h
622
time_t t, int offset_day, long offset_sec);
crypto/libressl/include/openssl/asn1.h
717
int ASN1_TIME_normalize(ASN1_TIME *t);
crypto/libressl/include/openssl/asn1.h
724
ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
crypto/libressl/include/openssl/asn1.h
726
ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, int offset_day,
crypto/libressl/include/openssl/asn1.h
728
int ASN1_TIME_check(const ASN1_TIME *t);
crypto/libressl/include/openssl/asn1.h
729
ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t,
crypto/libressl/include/openssl/asn1t.h
470
#define ASN1_TEMPLATE_item(t) (t->item_ptr)
crypto/libressl/include/openssl/asn1t.h
471
#define ASN1_TEMPLATE_adb(t) (t->item_ptr)
crypto/libressl/include/openssl/evp.h
541
int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n);
crypto/libressl/include/openssl/evp.h
547
int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n);
crypto/libressl/include/openssl/pkcs7.h
410
int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t);
crypto/libressl/include/openssl/ssl.h
1128
long SSL_CTX_set_timeout(SSL_CTX *ctx, long t);
crypto/libressl/include/openssl/ssl.h
1211
long SSL_SESSION_set_time(SSL_SESSION *s, long t);
crypto/libressl/include/openssl/ssl.h
1213
long SSL_SESSION_set_timeout(SSL_SESSION *s, long t);
crypto/libressl/include/openssl/ssl.h
1454
#define SSL_CTX_sess_set_cache_size(ctx,t) \
crypto/libressl/include/openssl/ssl.h
1455
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_SIZE,t,NULL)
crypto/libressl/include/openssl/x509.h
567
int X509_cmp_time(const ASN1_TIME *s, time_t *t);
crypto/libressl/include/openssl/x509.h
569
ASN1_TIME * X509_time_adj(ASN1_TIME *s, long adj, time_t *t);
crypto/libressl/include/openssl/x509.h
571
int offset_day, long offset_sec, time_t *t);
crypto/libressl/include/openssl/x509.h
714
int X509_TRUST_set(int *t, int trust);
crypto/libressl/include/openssl/x509_vfy.h
394
time_t t);
crypto/libressl/include/openssl/x509_vfy.h
436
void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t);
crypto/libressl/ssl/bio_ssl.c
563
BIO_ssl_copy_session_id(BIO *t, BIO *f)
crypto/libressl/ssl/bio_ssl.c
565
t = BIO_find_type(t, BIO_TYPE_SSL);
crypto/libressl/ssl/bio_ssl.c
567
if ((t == NULL) || (f == NULL))
crypto/libressl/ssl/bio_ssl.c
569
if ((((BIO_SSL *)t->ptr)->ssl == NULL) ||
crypto/libressl/ssl/bio_ssl.c
572
if (!SSL_copy_session_id(((BIO_SSL *)t->ptr)->ssl,
crypto/libressl/ssl/ssl_lib.c
908
SSL_copy_session_id(SSL *t, const SSL *f)
crypto/libressl/ssl/ssl_lib.c
913
if (!SSL_set_session(t, SSL_get_session(f)))
crypto/libressl/ssl/ssl_lib.c
917
if (t->method != f->method) {
crypto/libressl/ssl/ssl_lib.c
918
t->method->ssl_free(t);
crypto/libressl/ssl/ssl_lib.c
919
t->method = f->method;
crypto/libressl/ssl/ssl_lib.c
920
if (!t->method->ssl_new(t))
crypto/libressl/ssl/ssl_lib.c
924
tmp = t->cert;
crypto/libressl/ssl/ssl_lib.c
927
t->cert = f->cert;
crypto/libressl/ssl/ssl_lib.c
929
t->cert = NULL;
crypto/libressl/ssl/ssl_lib.c
932
if (!SSL_set_session_id_context(t, f->sid_ctx, f->sid_ctx_length))
crypto/libressl/ssl/ssl_sess.c
1023
SSL_CTX_flush_sessions(SSL_CTX *s, long t)
crypto/libressl/ssl/ssl_sess.c
1032
tp.time = t;
crypto/libressl/ssl/ssl_sess.c
831
SSL_SESSION_set_timeout(SSL_SESSION *s, long t)
crypto/libressl/ssl/ssl_sess.c
835
s->timeout = t;
crypto/libressl/ssl/ssl_sess.c
858
SSL_SESSION_set_time(SSL_SESSION *s, long t)
crypto/libressl/ssl/ssl_sess.c
862
s->time = t;
crypto/libressl/ssl/ssl_sess.c
863
return (t);
crypto/libressl/ssl/ssl_sess.c
918
SSL_CTX_set_timeout(SSL_CTX *s, long t)
crypto/libressl/ssl/ssl_sess.c
925
s->session_timeout = t;
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
178
t = kbdintctxt->devices;
crypto/openssh/auth2-chall.c
179
kbdintctxt->devices = t[len] ? xstrdup(t+len+1) : NULL;
crypto/openssh/auth2-chall.c
180
free(t);
crypto/openssh/ed25519.c
163
crypto_uint32 t;
crypto/openssh/ed25519.c
1661
fe25519_mul(&r->x, &p->x, &p->t);
crypto/openssh/ed25519.c
1663
fe25519_mul(&r->z, &p->z, &p->t);
crypto/openssh/ed25519.c
1669
fe25519_mul(&r->t, &p->x, &p->y);
crypto/openssh/ed25519.c
168
t = r->v[31] >> 7;
crypto/openssh/ed25519.c
1684
fe25519_mul(&c, &r->t, &qt); /* C = T1*k*T2 */
crypto/openssh/ed25519.c
1692
fe25519_mul(&r->t, &e, &h);
crypto/openssh/ed25519.c
1697
fe25519 a, b, c, d, t;
crypto/openssh/ed25519.c
170
t = times19(t);
crypto/openssh/ed25519.c
1700
fe25519_sub(&t, &q->y, &q->x);
crypto/openssh/ed25519.c
1701
fe25519_mul(&a, &a, &t);
crypto/openssh/ed25519.c
1703
fe25519_add(&t, &q->x, &q->y);
crypto/openssh/ed25519.c
1704
fe25519_mul(&b, &b, &t);
crypto/openssh/ed25519.c
1705
fe25519_mul(&c, &p->t, &q->t); /* C = T1*k*T2 */
crypto/openssh/ed25519.c
171
r->v[0] += t;
crypto/openssh/ed25519.c
1710
fe25519_sub(&r->t, &d, &c); /* F = D-C */
crypto/openssh/ed25519.c
1730
fe25519_sub(&r->t, &r->z, &c);
crypto/openssh/ed25519.c
174
t = r->v[i] >> 8;
crypto/openssh/ed25519.c
175
r->v[i+1] += t;
crypto/openssh/ed25519.c
1759
static void choose_t(ge25519_aff *t, unsigned long long pos, signed char b)
crypto/openssh/ed25519.c
1763
*t = ge25519_base_multiples_affine[5*pos+0];
crypto/openssh/ed25519.c
1764
cmov_aff(t, &ge25519_base_multiples_affine[5*pos+1],equal(b,1) | equal(b,-1));
crypto/openssh/ed25519.c
1765
cmov_aff(t, &ge25519_base_multiples_affine[5*pos+2],equal(b,2) | equal(b,-2));
crypto/openssh/ed25519.c
1766
cmov_aff(t, &ge25519_base_multiples_affine[5*pos+3],equal(b,3) | equal(b,-3));
crypto/openssh/ed25519.c
1767
cmov_aff(t, &ge25519_base_multiples_affine[5*pos+4],equal(b,-4));
crypto/openssh/ed25519.c
1768
fe25519_neg(&v, &t->x);
crypto/openssh/ed25519.c
1769
fe25519_cmov(&t->x, &v, negative(b));
crypto/openssh/ed25519.c
1777
fe25519_setzero(&r->t);
crypto/openssh/ed25519.c
1788
fe25519 t, chk, num, den, den2, den4, den6;
crypto/openssh/ed25519.c
1802
fe25519_mul(&t, &den6, &num);
crypto/openssh/ed25519.c
1803
fe25519_mul(&t, &t, &den);
crypto/openssh/ed25519.c
1805
fe25519_pow2523(&t, &t);
crypto/openssh/ed25519.c
1807
fe25519_mul(&t, &t, &num);
crypto/openssh/ed25519.c
1808
fe25519_mul(&t, &t, &den);
crypto/openssh/ed25519.c
1809
fe25519_mul(&t, &t, &den);
crypto/openssh/ed25519.c
1810
fe25519_mul(&r->x, &t, &den);
crypto/openssh/ed25519.c
1828
fe25519_mul(&r->t, &r->x, &r->y);
crypto/openssh/ed25519.c
183
crypto_uint32 t;
crypto/openssh/ed25519.c
188
t = r->v[31] >> 7;
crypto/openssh/ed25519.c
1899
ge25519_aff t;
crypto/openssh/ed25519.c
190
t = times19(t);
crypto/openssh/ed25519.c
1904
fe25519_mul(&r->t, &r->x, &r->y);
crypto/openssh/ed25519.c
1907
choose_t(&t, (unsigned long long) i, b[i]);
crypto/openssh/ed25519.c
1908
ge25519_mixadd2(r, &t);
crypto/openssh/ed25519.c
191
r->v[0] += t;
crypto/openssh/ed25519.c
194
t = r->v[i] >> 8;
crypto/openssh/ed25519.c
195
r->v[i+1] += t;
crypto/openssh/ed25519.c
239
fe25519 t = *x;
crypto/openssh/ed25519.c
240
fe25519_freeze(&t);
crypto/openssh/ed25519.c
241
r = fe25519_equal(t.v[0],0);
crypto/openssh/ed25519.c
243
r &= fe25519_equal(t.v[i],0);
crypto/openssh/ed25519.c
269
fe25519 t = *x;
crypto/openssh/ed25519.c
270
fe25519_freeze(&t);
crypto/openssh/ed25519.c
271
return t.v[0] & 1;
crypto/openssh/ed25519.c
289
fe25519 t;
crypto/openssh/ed25519.c
291
for(i=0;i<32;i++) t.v[i]=x->v[i];
crypto/openssh/ed25519.c
293
fe25519_sub(r, r, &t);
crypto/openssh/ed25519.c
306
crypto_uint32 t[32];
crypto/openssh/ed25519.c
307
t[0] = x->v[0] + 0x1da;
crypto/openssh/ed25519.c
308
t[31] = x->v[31] + 0xfe;
crypto/openssh/ed25519.c
309
for(i=1;i<31;i++) t[i] = x->v[i] + 0x1fe;
crypto/openssh/ed25519.c
310
for(i=0;i<32;i++) r->v[i] = t[i] - y->v[i];
crypto/openssh/ed25519.c
317
crypto_uint32 t[63];
crypto/openssh/ed25519.c
318
for(i=0;i<63;i++)t[i] = 0;
crypto/openssh/ed25519.c
322
t[i+j] += x->v[i] * y->v[j];
crypto/openssh/ed25519.c
325
r->v[i-32] = t[i-32] + times38(t[i]);
crypto/openssh/ed25519.c
326
r->v[31] = t[31]; /* result now in r[0]...r[31] */
crypto/openssh/ed25519.c
413
fe25519 t;
crypto/openssh/ed25519.c
417
/* 4 */ fe25519_square(&t,&z2);
crypto/openssh/ed25519.c
418
/* 8 */ fe25519_square(&t,&t);
crypto/openssh/ed25519.c
419
/* 9 */ fe25519_mul(&z9,&t,x);
crypto/openssh/ed25519.c
421
/* 22 */ fe25519_square(&t,&z11);
crypto/openssh/ed25519.c
422
/* 2^5 - 2^0 = 31 */ fe25519_mul(&z2_5_0,&t,&z9);
crypto/openssh/ed25519.c
424
/* 2^6 - 2^1 */ fe25519_square(&t,&z2_5_0);
crypto/openssh/ed25519.c
425
/* 2^10 - 2^5 */ for (i = 1;i < 5;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
426
/* 2^10 - 2^0 */ fe25519_mul(&z2_10_0,&t,&z2_5_0);
crypto/openssh/ed25519.c
428
/* 2^11 - 2^1 */ fe25519_square(&t,&z2_10_0);
crypto/openssh/ed25519.c
429
/* 2^20 - 2^10 */ for (i = 1;i < 10;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
430
/* 2^20 - 2^0 */ fe25519_mul(&z2_20_0,&t,&z2_10_0);
crypto/openssh/ed25519.c
432
/* 2^21 - 2^1 */ fe25519_square(&t,&z2_20_0);
crypto/openssh/ed25519.c
433
/* 2^40 - 2^20 */ for (i = 1;i < 20;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
434
/* 2^40 - 2^0 */ fe25519_mul(&t,&t,&z2_20_0);
crypto/openssh/ed25519.c
436
/* 2^41 - 2^1 */ fe25519_square(&t,&t);
crypto/openssh/ed25519.c
437
/* 2^50 - 2^10 */ for (i = 1;i < 10;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
438
/* 2^50 - 2^0 */ fe25519_mul(&z2_50_0,&t,&z2_10_0);
crypto/openssh/ed25519.c
440
/* 2^51 - 2^1 */ fe25519_square(&t,&z2_50_0);
crypto/openssh/ed25519.c
441
/* 2^100 - 2^50 */ for (i = 1;i < 50;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
442
/* 2^100 - 2^0 */ fe25519_mul(&z2_100_0,&t,&z2_50_0);
crypto/openssh/ed25519.c
444
/* 2^101 - 2^1 */ fe25519_square(&t,&z2_100_0);
crypto/openssh/ed25519.c
445
/* 2^200 - 2^100 */ for (i = 1;i < 100;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
446
/* 2^200 - 2^0 */ fe25519_mul(&t,&t,&z2_100_0);
crypto/openssh/ed25519.c
448
/* 2^201 - 2^1 */ fe25519_square(&t,&t);
crypto/openssh/ed25519.c
449
/* 2^250 - 2^50 */ for (i = 1;i < 50;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
450
/* 2^250 - 2^0 */ fe25519_mul(&t,&t,&z2_50_0);
crypto/openssh/ed25519.c
452
/* 2^251 - 2^1 */ fe25519_square(&t,&t);
crypto/openssh/ed25519.c
453
/* 2^252 - 2^2 */ fe25519_square(&t,&t);
crypto/openssh/ed25519.c
454
/* 2^252 - 3 */ fe25519_mul(r,&t,x);
crypto/openssh/ed25519.c
537
unsigned char t[32];
crypto/openssh/ed25519.c
543
t[i] = r->v[i]-pb+(b<<8);
crypto/openssh/ed25519.c
548
r->v[i] ^= mask & (r->v[i] ^ t[i]);
crypto/openssh/ed25519.c
606
crypto_uint32 t[64];
crypto/openssh/ed25519.c
607
for(i=0;i<32;i++) t[i] = x[i];
crypto/openssh/ed25519.c
608
for(i=32;i<64;++i) t[i] = 0;
crypto/openssh/ed25519.c
609
barrett_reduce(r, t);
crypto/openssh/ed25519.c
616
crypto_uint32 t[64];
crypto/openssh/ed25519.c
617
for(i=0;i<64;i++) t[i] = x[i];
crypto/openssh/ed25519.c
618
barrett_reduce(r, t);
crypto/openssh/ed25519.c
648
crypto_uint32 t[64];
crypto/openssh/ed25519.c
649
for(i=0;i<64;i++)t[i] = 0;
crypto/openssh/ed25519.c
653
t[i+j] += x->v[i] * y->v[j];
crypto/openssh/ed25519.c
658
carry = t[i] >> 8;
crypto/openssh/ed25519.c
659
t[i+1] += carry;
crypto/openssh/ed25519.c
660
t[i] &= 0xff;
crypto/openssh/ed25519.c
663
barrett_reduce(r, t);
crypto/openssh/ed25519.c
737
fe25519 t;
crypto/openssh/ed25519.c
778
fe25519 t;
crypto/openssh/krl.c
812
time_t t;
crypto/openssh/krl.c
815
t = timestamp;
crypto/openssh/krl.c
816
tm = localtime(&t);
crypto/openssh/loginrec.c
1671
time_t t;
crypto/openssh/loginrec.c
1697
time(&t);
crypto/openssh/loginrec.c
1698
ut.ut_time = t; /* ut_time is not always a time_t */
crypto/openssh/misc.c
2511
format_absolute_time(uint64_t t, char *buf, size_t len)
crypto/openssh/misc.c
2513
time_t tt = t > SSH_TIME_T_MAX ? SSH_TIME_T_MAX : t;
crypto/openssh/misc.c
2982
struct timespec now, t;
crypto/openssh/misc.c
2991
timespecsub(when, &now, &t);
crypto/openssh/misc.c
2992
ptimeout_deadline_tsp(pt, &t);
crypto/openssh/misc.c
3000
struct timespec t;
crypto/openssh/misc.c
3002
t.tv_sec = when;
crypto/openssh/misc.c
3003
t.tv_nsec = 0;
crypto/openssh/misc.c
3004
ptimeout_deadline_monotime_tsp(pt, &t);
crypto/openssh/misc.c
667
fmt_timeframe(time_t t)
crypto/openssh/misc.c
679
week = t;
crypto/openssh/misc.c
84
char *t = s;
crypto/openssh/misc.c
85
while (*t) {
crypto/openssh/misc.c
86
if (*t == '\n' || *t == '\r') {
crypto/openssh/misc.c
87
*t = '\0';
crypto/openssh/misc.c
90
t++;
crypto/openssh/misc.h
82
const char *fmt_timeframe(time_t t);
crypto/openssh/moduli.c
248
u_int32_t j, r, s, t;
crypto/openssh/moduli.c
357
t = 2 * i + 3;
crypto/openssh/moduli.c
360
for (j = i + t; j < tinybits; j += t)
crypto/openssh/moduli.c
363
sieve_large(t);
crypto/openssh/moduli.c
378
t = 2 * i + 3;
crypto/openssh/moduli.c
379
r = smallbase % t;
crypto/openssh/moduli.c
385
s = t - r;
crypto/openssh/moduli.c
394
s += t; /* Make smallbase+s odd, and s even */
crypto/openssh/moduli.c
397
for (s /= 2; s < smallbits; s += t)
crypto/openssh/poly1305.c
100
t[4] += b; h4 = (uint32_t)t[4] & 0x3ffffff; b = (uint32_t)(t[4] >> 26);
crypto/openssh/poly1305.c
40
uint64_t t[5];
crypto/openssh/poly1305.c
90
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
91
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
92
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
93
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
94
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
96
h0 = (uint32_t)t[0] & 0x3ffffff; c = (t[0] >> 26);
crypto/openssh/poly1305.c
97
t[1] += c; h1 = (uint32_t)t[1] & 0x3ffffff; b = (uint32_t)(t[1] >> 26);
crypto/openssh/poly1305.c
98
t[2] += b; h2 = (uint32_t)t[2] & 0x3ffffff; b = (uint32_t)(t[2] >> 26);
crypto/openssh/poly1305.c
99
t[3] += b; h3 = (uint32_t)t[3] & 0x3ffffff; b = (uint32_t)(t[3] >> 26);
crypto/openssh/sftp-client.c
2042
Attrib a, t, c;
crypto/openssh/sftp-client.c
2223
attrib_clear(&t);
crypto/openssh/sftp-client.c
2224
t.flags = SSH2_FILEXFER_ATTR_SIZE;
crypto/openssh/sftp-client.c
2225
t.size = highwater;
crypto/openssh/sftp-client.c
2226
sftp_fsetstat(conn, handle, handle_len, &t);
crypto/openssh/sftp-server.c
1013
time_t t = a.mtime;
crypto/openssh/sftp-server.c
1016
localtime(&t));
crypto/openssh/sftp-server.c
1070
time_t t = a.mtime;
crypto/openssh/sftp-server.c
1073
localtime(&t));
crypto/openssh/sftp-server.c
1493
time_t t = a.mtime;
crypto/openssh/sftp-server.c
1496
localtime(&t));
crypto/openssh/sftp.c
170
const int t; /* Completion type for the first argument */
crypto/openssh/sftp.c
1989
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
531
int sign,swap,t;
crypto/openssh/sntrup761.c
553
t = swap&(f[i]^g[i]); f[i] ^= t; g[i] ^= t;
crypto/openssh/sntrup761.c
554
t = swap&(v[i]^r[i]); v[i] ^= t; r[i] ^= t;
crypto/openssh/sntrup761.c
616
int swap,t;
crypto/openssh/sntrup761.c
639
t = swap&(f[i]^g[i]); f[i] ^= t; g[i] ^= t;
crypto/openssh/sntrup761.c
640
t = swap&(v[i]^r[i]); v[i] ^= t; r[i] ^= t;
crypto/openssh/srclimit.c
215
expire_penalties_from_tree(time_t 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
353
const char *reason = NULL, *t;
crypto/openssh/srclimit.c
407
t = addr->af == AF_INET ? "ipv4" : "ipv6";
crypto/openssh/srclimit.c
410
verbose_f("%s penalty table full, cannot penalise %s for %s", t,
crypto/openssh/srclimit.c
425
fatal_f("internal error: %s penalty tables corrupt", t);
crypto/openssh/srclimit.c
426
verbose_f("%s: new %s %s penalty of %d seconds for %s", t,
crypto/openssh/srclimit.c
434
existing->active ? "active" : "inactive", t,
crypto/openssh/srclimit.c
438
fatal_f("internal error: %s penalty table corrupt (remove)", t);
crypto/openssh/srclimit.c
446
addrnetmask, t, (long long)(existing->expiry - now),
crypto/openssh/srclimit.c
455
fatal_f("internal error: %s penalty table corrupt (insert)", t);
crypto/openssh/srclimit.c
459
srclimit_penalty_info_for_tree(const char *t,
crypto/openssh/srclimit.c
468
logit("%zu active %s penalties", npenalties, t);
crypto/openssh/ssh-agent.c
694
u_char t, sig_follows;
crypto/openssh/ssh-agent.c
713
if ((r = sshbuf_get_u8(b, &t)) != 0 || /* SSH2_MSG_USERAUTH_REQUEST */
crypto/openssh/ssh-agent.c
721
if (t != SSH2_MSG_USERAUTH_REQUEST ||
crypto/openssh/umac.c
254
} t;
crypto/openssh/umac.c
258
*(UINT32 *)t.tmp_nonce_lo = ((const UINT32 *)nonce)[1];
crypto/openssh/umac.c
259
t.tmp_nonce_lo[3] &= ~LOW_BIT_MASK; /* zero last bit */
crypto/openssh/umac.c
261
if ( (((UINT32 *)t.tmp_nonce_lo)[0] != ((UINT32 *)pc->nonce)[1]) ||
crypto/openssh/umac.c
265
((UINT32 *)pc->nonce)[1] = ((UINT32 *)t.tmp_nonce_lo)[0];
crypto/openssh/umac.c
567
UINT32 t;
crypto/openssh/umac.c
569
t = LOAD_UINT32_REVERSED(p+1);
crypto/openssh/umac.c
571
p[0] = t;
crypto/openssh/umac.c
861
static UINT64 ip_aux(UINT64 t, UINT64 *ipkp, UINT64 data)
crypto/openssh/umac.c
863
t = t + ipkp[0] * (UINT64)(UINT16)(data >> 48);
crypto/openssh/umac.c
864
t = t + ipkp[1] * (UINT64)(UINT16)(data >> 32);
crypto/openssh/umac.c
865
t = t + ipkp[2] * (UINT64)(UINT16)(data >> 16);
crypto/openssh/umac.c
866
t = t + ipkp[3] * (UINT64)(UINT16)(data);
crypto/openssh/umac.c
868
return t;
crypto/openssh/umac.c
871
static UINT32 ip_reduce_p36(UINT64 t)
crypto/openssh/umac.c
876
ret = (t & m36) + 5 * (t >> 36);
crypto/openssh/umac.c
891
UINT64 t;
crypto/openssh/umac.c
894
t = ip_aux(0,ahc->ip_keys, nhp[0]);
crypto/openssh/umac.c
895
STORE_UINT32_BIG((UINT32 *)res+0, ip_reduce_p36(t) ^ ahc->ip_trans[0]);
crypto/openssh/umac.c
897
t = ip_aux(0,ahc->ip_keys+4, nhp[1]);
crypto/openssh/umac.c
898
STORE_UINT32_BIG((UINT32 *)res+1, ip_reduce_p36(t) ^ ahc->ip_trans[1]);
crypto/openssh/umac.c
901
t = ip_aux(0,ahc->ip_keys+8, nhp[2]);
crypto/openssh/umac.c
902
STORE_UINT32_BIG((UINT32 *)res+2, ip_reduce_p36(t) ^ ahc->ip_trans[2]);
crypto/openssh/umac.c
905
t = ip_aux(0,ahc->ip_keys+12, nhp[3]);
crypto/openssh/umac.c
906
STORE_UINT32_BIG((UINT32 *)res+3, ip_reduce_p36(t) ^ ahc->ip_trans[3]);
crypto/openssh/umac.c
917
UINT64 t;
crypto/openssh/umac.c
923
t = ip_aux(0,ahc->ip_keys+(i*4), ahc->poly_accum[i]);
crypto/openssh/umac.c
925
ip_reduce_p36(t) ^ ahc->ip_trans[i]);
games/adventure/io.c
351
struct travlist *t = NULL;
games/adventure/io.c
358
if ((locc = rnum()) != oldloc && oldloc >= 0 && t) {
games/adventure/io.c
359
t->next = 0; /* terminate the old entry */
games/adventure/io.c
366
t = travel[locc] = calloc(1, sizeof(*t));
games/adventure/io.c
367
if (t == NULL)
games/adventure/io.c
388
if (t == NULL)
games/adventure/io.c
391
t->next = calloc(1, sizeof(*t));
games/adventure/io.c
392
if (t->next == NULL)
games/adventure/io.c
394
t = t->next;
games/adventure/io.c
396
t->tverb = rnum(); /* get verb from the file */
games/adventure/io.c
397
t->tloc = n; /* table entry mod 1000 */
games/adventure/io.c
398
t->conditions = m; /* table entry / 1000 */
games/adventure/io.c
409
struct travlist *t;
games/adventure/io.c
413
for (t = travel[loq]; t != 0; t = t->next) {
games/adventure/io.c
414
printf("verb %d takes you to ", t->tverb);
games/adventure/io.c
415
if (t->tloc <= 300)
games/adventure/io.c
416
speak(<ext[t->tloc]);
games/adventure/io.c
418
if (t->tloc <= 500)
games/adventure/io.c
419
printf("special code %d\n", t->tloc - 300);
games/adventure/io.c
421
rspeak(t->tloc - 500);
games/adventure/io.c
422
printf("under conditions %d\n", t->conditions);
games/adventure/vocab.c
128
char *t;
games/adventure/vocab.c
149
for (s = word, t = h->atab; *s;)
games/adventure/vocab.c
150
*t++ = *s++ ^ '=';
games/adventure/vocab.c
151
*t = 0 ^ '=';
games/adventure/vocab.c
159
for (s = word, t = h->atab; *t ^ '=';)
games/adventure/vocab.c
160
if ((*s++ ^ '=') != *t++)
games/adventure/vocab.c
162
if ((*s ^ '=') != *t && s - word < 5)
games/adventure/vocab.c
169
for (s = word, t = h->atab; *t ^ '=';)
games/adventure/vocab.c
170
if ((*s++ ^ '=') != *t++)
games/adventure/wizard.c
50
datime(int *d, int *t)
games/adventure/wizard.c
64
*t = tptr->tm_hour * 60 + tptr->tm_min;
games/adventure/wizard.c
80
int d, t, delay;
games/adventure/wizard.c
82
datime(&d, &t);
games/adventure/wizard.c
83
delay = (d - saveday) * 1440 + (t - savet); /* good for about a
games/atc/log.c
77
#define DAY(t) ((t) / SECADAY)
games/atc/log.c
78
#define HOUR(t) (((t) % SECADAY) / SECAHOUR)
games/atc/log.c
79
#define MIN(t) (((t) % SECAHOUR) / SECAMIN)
games/atc/log.c
80
#define SEC(t) ((t) % SECAMIN)
games/atc/log.c
83
timestr(int t)
games/atc/log.c
87
if (DAY(t) > 0)
games/atc/log.c
88
sprintf(s, "%dd+%02dhrs", DAY(t), HOUR(t));
games/atc/log.c
89
else if (HOUR(t) > 0)
games/atc/log.c
90
sprintf(s, "%d:%02d:%02d", HOUR(t), MIN(t), SEC(t));
games/atc/log.c
91
else if (MIN(t) > 0)
games/atc/log.c
92
sprintf(s, "%d:%02d", MIN(t), SEC(t));
games/atc/log.c
93
else if (SEC(t) > 0)
games/atc/log.c
94
sprintf(s, ":%02d", SEC(t));
games/backgammon/backgammon/main.c
104
t = time(NULL);
games/backgammon/backgammon/main.c
105
srandom(t); /* 'random' seed */
games/backgammon/backgammon/main.c
82
time_t t; /* time for random num generator */
games/backgammon/backgammon/text.c
102
wrtext(const char *const *t)
games/backgammon/backgammon/text.c
108
while (*t != 0) {
games/backgammon/backgammon/text.c
109
s = a = *t;
games/backgammon/backgammon/text.c
122
t++;
games/backgammon/common_source/subs.c
153
int i, j, t;
games/backgammon/common_source/subs.c
156
t = 1;
games/backgammon/common_source/subs.c
158
t *= 10;
games/backgammon/common_source/subs.c
159
if (n > t - 1)
games/backgammon/common_source/subs.c
160
writec((n / t) % 10 + '0');
games/backgammon/common_source/subs.c
405
fixtty(struct termios *t)
games/backgammon/common_source/subs.c
410
if (tcsetattr(0, TCSADRAIN, t) < 0)
games/boggle/boggle/bog.c
251
time_t t;
games/boggle/boggle/bog.c
279
time(&t);
games/boggle/boggle/bog.c
280
if (t - start_t >= tlimit) {
games/boggle/boggle/bog.c
287
remaining = tlimit - (int) (t - start_t);
games/boggle/boggle/mach.c
310
time_t t;
games/boggle/boggle/mach.c
312
time(&t);
games/boggle/boggle/mach.c
313
gone = (int) (t - start_t);
games/boggle/boggle/mach.c
322
time_t t;
games/boggle/boggle/mach.c
324
time(&t);
games/boggle/boggle/mach.c
325
start_t = t - (long) gone;
games/boggle/boggle/timer.c
55
time_t prevt, t;
games/boggle/boggle/timer.c
63
time(&t);
games/boggle/boggle/timer.c
64
if (t == prevt)
games/boggle/boggle/timer.c
66
prevt = t;
games/boggle/boggle/timer.c
67
remaining = tlimit - (int) (t - start_t);
games/cgram/cgram.c
262
int t = key[i - 1];
games/cgram/cgram.c
264
key[c] = t;
games/cribbage/support.c
303
anysumto(CARD hand[], int n, int s, int t)
games/cribbage/support.c
308
if (s + VAL(hand[i].rank) == t)
games/grdc/grdc.c
271
long a, t;
games/grdc/grdc.c
275
for (j = 0, t = 1 << 26; t; t >>= 1, j++) {
games/grdc/grdc.c
276
if (a & t) {
games/grdc/grdc.c
277
if (!(a & (t << 1))) {
games/grdc/grdc.c
290
set(int t, int n)
games/grdc/grdc.c
300
next[i] |= ((disp[t] >> (4 - i) * 3) & 07) << n;
games/hack/hack.engrave.c
102
char *t;
games/hack/hack.engrave.c
106
t = ep->engr_txt;
games/hack/hack.engrave.c
111
while (*t) {
games/hack/hack.engrave.c
112
if (!strncmp(s, t, n))
games/hack/hack.engrave.c
114
t++;
games/monop/execute.c
239
time_t t;
games/monop/execute.c
265
time(&t); /* get current time */
games/monop/execute.c
269
fprintf(outf, "time %s", ctime(&t)); /* ctime includes a \n */
games/monop/execute.c
316
strcpy(buf, ctime(&t));
games/quiz/quiz.c
209
char *answer, *s, *t, question[LINE_SZ];
games/quiz/quiz.c
238
t = rxp_expand();
games/quiz/quiz.c
239
if (!t || *t == '\0') {
games/quiz/quiz.c
243
strcpy(question, t);
games/quiz/quiz.c
249
t = rxp_expand();
games/quiz/quiz.c
250
if (!t || *t == '\0') {
games/quiz/quiz.c
270
printf("%s\n", t);
games/rogue/init.c
309
const char *t;
games/rogue/init.c
311
t = e;
games/rogue/init.c
326
strncpy(*s, t, i);
games/rogue/inventory.c
410
char *t[MAX_ID_TITLE_LEN];
games/rogue/inventory.c
415
memcpy(t, id_potions[j].title, MAX_ID_TITLE_LEN);
games/rogue/inventory.c
417
memcpy(id_potions[k].title, t, MAX_ID_TITLE_LEN);
games/rogue/level.c
424
short i, middle, t;
games/rogue/level.c
50
#define SWAP(x,y) {t = (x); (x) = (y); (y) = t;}
games/rogue/level.c
532
short srow, scol, t;
games/rogue/level.c
539
t = offsets[srow];
games/rogue/level.c
541
offsets[scol] = t;
games/rogue/level.c
641
short i, t;
games/rogue/level.c
705
short i, j, t;
games/rogue/level.c
887
short i, t;
games/rogue/machdep.c
299
struct tm *t;
games/rogue/machdep.c
303
t = localtime(&seconds);
games/rogue/machdep.c
305
rt_buf->year = t->tm_year;
games/rogue/machdep.c
306
rt_buf->month = t->tm_mon + 1;
games/rogue/machdep.c
307
rt_buf->day = t->tm_mday;
games/rogue/machdep.c
308
rt_buf->hour = t->tm_hour;
games/rogue/machdep.c
309
rt_buf->minute = t->tm_min;
games/rogue/machdep.c
310
rt_buf->second = t->tm_sec;
games/rogue/machdep.c
334
struct tm *t;
games/rogue/machdep.c
338
t = localtime(&seconds);
games/rogue/machdep.c
340
rt_buf->year = t->tm_year;
games/rogue/machdep.c
341
rt_buf->month = t->tm_mon + 1;
games/rogue/machdep.c
342
rt_buf->day = t->tm_mday;
games/rogue/machdep.c
343
rt_buf->hour = t->tm_hour;
games/rogue/machdep.c
344
rt_buf->minute = t->tm_min;
games/rogue/machdep.c
345
rt_buf->second = t->tm_sec;
games/rogue/machdep.c
444
char *t;
games/rogue/machdep.c
446
t = malloc(n);
games/rogue/machdep.c
447
return(t);
games/rogue/random.c
53
int r, t;
games/rogue/random.c
57
t = y;
games/rogue/random.c
59
x = t;
games/rogue/save.c
260
object t;
games/rogue/save.c
265
t.ichar = t.what_is = 0;
games/rogue/save.c
266
r_write(fp, (const char *) &t, sizeof(object));
games/rogue/spec_hit.c
171
short i, n, t = 0;
games/rogue/spec_hit.c
208
t = obj->quantity;
games/rogue/spec_hit.c
214
obj->quantity = ((obj->what_is != WEAPON) ? t : 1);
games/rogue/throw.c
122
short t;
games/rogue/throw.c
138
t = weapon->quantity;
games/rogue/throw.c
141
weapon->quantity = t;
games/rogue/throw.c
243
short t;
games/rogue/throw.c
245
t = weapon->quantity;
games/rogue/throw.c
249
weapon->quantity = t;
games/rogue/throw.c
262
short x, y, o, t;
games/rogue/throw.c
272
t = pos[x];
games/rogue/throw.c
274
pos[y] = t;
games/rogue/trap.c
101
message(trap_strings[(t*2)+1], 1);
games/rogue/trap.c
109
message(trap_strings[(t*2)+1], 1);
games/rogue/trap.c
124
message(trap_strings[(t*2)+1], 1);
games/rogue/trap.c
128
message(trap_strings[(t*2)+1], 1);
games/rogue/trap.c
182
short dir, row, col, d, t;
games/rogue/trap.c
200
t = trap_at(row, col);
games/rogue/trap.c
201
message(trap_strings[t*2], 0);
games/rogue/trap.c
224
short s, i, j, row, col, t;
games/rogue/trap.c
259
t = trap_at(row, col);
games/rogue/trap.c
260
message(trap_strings[t*2], 1);
games/rogue/trap.c
85
short t;
games/rogue/trap.c
87
if ((t = trap_at(row, col)) == NO_TRAP) {
games/rogue/trap.c
95
switch(t) {
games/rogue/trap.c
98
new_level_message = trap_strings[(t*2)+1];
games/sail/dr_2.c
249
try(struct ship *f, struct ship *t,
games/sail/dr_2.c
256
#define rakeyou (gunsbear(f, t) && !gunsbear(t, f))
games/sail/dr_2.c
262
new = score(f, t, temp, tempmax, rakeme);
games/sail/dr_2.c
267
try(f, t, command, commandmax, temp, tempmax,
games/sail/dr_2.c
275
new = score(f, t, temp, tempmax, rakeme);
games/sail/dr_2.c
277
(gunsbear(f, t) && !gunsbear(t, f)))) {
games/sail/dr_2.c
281
try(f, t, command, commandmax, temp, tempmax,
games/sail/dr_2.c
290
new = score(f, t, temp, tempmax, rakeme);
games/sail/dr_2.c
292
(gunsbear(f, t) && !gunsbear(t, f)))) {
games/sail/dr_2.c
296
try(f, t, command, commandmax, temp, tempmax,
games/sail/dr_2.c
48
#define couldwin(f,t) (f->specs->crew2 > t->specs->crew2 * 1.5)
games/sail/dr_2.c
54
static void try(struct ship *f, struct ship *t,
games/sail/pl_3.c
183
const struct Tables *t;
games/sail/pl_3.c
186
t = &(shootat == RIGGING ? RigTable : HullTable)
games/sail/pl_3.c
188
chits = t->C;
games/sail/pl_3.c
189
rhits = t->R;
games/sail/pl_3.c
190
hhits = t->H;
games/sail/pl_3.c
191
ghits = t->G;
games/sail/sync.c
225
time_t t;
games/sail/sync.c
228
time(&t);
games/sail/sync.c
234
if (s.st_mtime < t - 60*60*2) { /* 2 hours */
games/snake/snake/snake.c
88
#define delay(t) usleep(t * 50000);
games/snake/snake/snake.c
943
time_t t;
games/snake/snake/snake.c
946
time(&t);
games/snake/snake/snake.c
948
getlogin(), cashvalue, lcnt, ccnt, msg, ctime(&t));
games/tetris/screen.c
387
int tr, tc, t;
games/tetris/screen.c
407
t = c + r * B_COLS;
games/tetris/screen.c
408
t += nextshape->off[i];
games/tetris/screen.c
410
tr = t / B_COLS;
games/tetris/screen.c
411
tc = t % B_COLS;
games/trek/compkl.c
101
t = Etc.klingon[i];
games/trek/compkl.c
103
Etc.klingon[i+1] = t;
games/trek/compkl.c
92
struct kling t;
games/trek/getpar.c
184
getstrpar(const char *s, char *r, int l, const char *t)
games/trek/getpar.c
190
if (t == 0)
games/trek/getpar.c
191
t = " \t\n;";
games/trek/getpar.c
192
(void)snprintf(format, sizeof(format), "%%%d[^%s]", l, t);
games/trek/rest.c
55
double t;
games/trek/rest.c
59
t = getfltpar("How long");
games/trek/rest.c
60
if (t <= 0.0)
games/trek/rest.c
62
percent = 100 * t / Now.time + 0.5;
games/trek/rest.c
69
Move.time = t;
games/trek/rest.c
72
t = Now.eventptr[E_LRTB]->date - Now.date;
games/trek/rest.c
73
if (Ship.cond != DOCKED && Move.time > t)
games/trek/rest.c
74
Move.time = t + 0.0001;
games/trek/score.c
100
s += (t = -100 * (u = Game.helps));
games/trek/score.c
101
scoreitem(t, "%d calls for help", u);
games/trek/score.c
103
s += (t = -5 * (u = Game.kills));
games/trek/score.c
104
scoreitem(t, "%d stars destroyed", u);
games/trek/score.c
106
s += (t = -150 * (u = Game.killinhab));
games/trek/score.c
107
scoreitem(t, "%d inhabited starsystems destroyed", u);
games/trek/score.c
114
s += (t = 3 * (u = Game.captives));
games/trek/score.c
115
scoreitem(t, "%d Klingons captured", u);
games/trek/score.c
117
s += (t = -(u = Game.deaths));
games/trek/score.c
118
scoreitem(t, "%d casualties", u);
games/trek/score.c
65
int t;
games/trek/score.c
71
s = t = Param.klingpwr / 4 * (u = Game.killk);
games/trek/score.c
72
scoreitem(t, "%d Klingons killed", u);
games/trek/score.c
78
s += (t = 400 * r);
games/trek/score.c
79
scoreitem(t, "Kill rate %.2f Klingons/stardate", r);
games/trek/score.c
83
s += (t = -400 * r);
games/trek/score.c
84
scoreitem(t, "Penalty for %d klingons remaining", Now.klings);
games/trek/score.c
87
s += (t = 100 * (u = Game.skill));
games/trek/score.c
88
scoreitem(t, "Bonus for winning a %s%s game",
games/trek/score.c
97
s += (t = -100 * (u = Game.killb));
games/trek/score.c
98
scoreitem(t, "%d starbases killed", u);
include/arpa/nameser.h
303
#define ns_t_qt_p(t) (ns_t_xfr_p(t) || (t) == ns_t_any || \
include/arpa/nameser.h
304
(t) == ns_t_mailb || (t) == ns_t_maila)
include/arpa/nameser.h
306
#define ns_t_mrr_p(t) ((t) == ns_t_tsig || (t) == ns_t_opt)
include/arpa/nameser.h
308
#define ns_t_rr_p(t) (!ns_t_qt_p(t) && !ns_t_mrr_p(t))
include/arpa/nameser.h
309
#define ns_t_udp_p(t) ((t) != ns_t_axfr && (t) != ns_t_zxfr)
include/arpa/nameser.h
310
#define ns_t_xfr_p(t) ((t) == ns_t_axfr || (t) == ns_t_ixfr || \
include/arpa/nameser.h
311
(t) == ns_t_zxfr)
include/rpc/xdr.h
267
#define IXDR_GET_ENUM(buf, t) ((t)IXDR_GET_LONG(buf))
lib/i18n_module/JOHAB/citrus_johab.c
122
ishangul(int l, int t)
lib/i18n_module/JOHAB/citrus_johab.c
126
((t >= 0x41 && t <= 0x7E) || (t >= 0x81 && t <= 0xFE)));
lib/i18n_module/JOHAB/citrus_johab.c
130
isuda(int l, int t)
lib/i18n_module/JOHAB/citrus_johab.c
134
((t >= 0x31 && t <= 0x7E) || (t >= 0x91 && t <= 0xFE)));
lib/i18n_module/JOHAB/citrus_johab.c
138
ishanja(int l, int t)
lib/i18n_module/JOHAB/citrus_johab.c
142
((t >= 0x31 && t <= 0x7E) || (t >= 0x91 && t <= 0xFE)));
lib/i18n_module/JOHAB/citrus_johab.c
152
int l, t;
lib/i18n_module/JOHAB/citrus_johab.c
187
t = *s0++ & 0xFF;
lib/i18n_module/JOHAB/citrus_johab.c
188
if (!ishangul(l, t) && !isuda(l, t) && !ishanja(l, t)) {
lib/i18n_module/JOHAB/citrus_johab.c
193
*pwc = (wchar_t)(l << 8 | t);
lib/i18n_module/JOHAB/citrus_johab.c
207
int l, t;
lib/i18n_module/JOHAB/citrus_johab.c
225
t = wc & 0xFF;
lib/i18n_module/JOHAB/citrus_johab.c
226
if (!ishangul(l, t) && !isuda(l, t) && !ishanja(l, t))
lib/i18n_module/JOHAB/citrus_johab.c
229
*s = t;
lib/i18n_module/JOHAB/citrus_johab.c
245
int m, l, linear, t;
lib/i18n_module/JOHAB/citrus_johab.c
253
t = wc & 0xFF;
lib/i18n_module/JOHAB/citrus_johab.c
254
if (ishangul(l, t) || isuda(l, t)) {
lib/i18n_module/JOHAB/citrus_johab.c
267
if (t >= 0x31 && t <= 0x7E)
lib/i18n_module/JOHAB/citrus_johab.c
268
linear += t - 0x31;
lib/i18n_module/JOHAB/citrus_johab.c
269
else if (t >= 0x91 && t <= 0xFE)
lib/i18n_module/JOHAB/citrus_johab.c
270
linear += t - 0x43;
lib/i18n_module/JOHAB/citrus_johab.c
274
t = (linear % 94) + 0x21;
lib/i18n_module/JOHAB/citrus_johab.c
275
*idx = (_index_t)((l << 8) | t);
lib/i18n_module/JOHAB/citrus_johab.c
288
int m, n, l, linear, t;
lib/i18n_module/JOHAB/citrus_johab.c
305
t = (idx & 0xFF) - 0x21;
lib/i18n_module/JOHAB/citrus_johab.c
306
linear = (l * 94) + t;
lib/i18n_module/JOHAB/citrus_johab.c
308
t = linear % 188;
lib/i18n_module/JOHAB/citrus_johab.c
309
t += (t <= 0x4D) ? 0x31 : 0x43;
lib/libc/citrus/citrus_prop.c
247
char *s, *t;
lib/libc/citrus/citrus_prop.c
276
t = realloc(s, n + m);
lib/libc/citrus/citrus_prop.c
277
if (t == NULL) {
lib/libc/citrus/citrus_prop.c
281
s = t;
lib/libc/db/btree/bt_close.c
100
free(t);
lib/libc/db/btree/bt_close.c
117
BTREE *t;
lib/libc/db/btree/bt_close.c
120
t = dbp->internal;
lib/libc/db/btree/bt_close.c
123
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_close.c
124
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_close.c
125
t->bt_pinned = NULL;
lib/libc/db/btree/bt_close.c
134
if (F_ISSET(t, B_INMEM | B_RDONLY) || !F_ISSET(t, B_MODIFIED))
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
63
BTREE *t;
lib/libc/db/btree/bt_close.c
66
t = dbp->internal;
lib/libc/db/btree/bt_close.c
69
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_close.c
70
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_close.c
71
t->bt_pinned = NULL;
lib/libc/db/btree/bt_close.c
79
if (mpool_close(t->bt_mp) == RET_ERROR)
lib/libc/db/btree/bt_close.c
83
if (t->bt_cursor.key.data != NULL) {
lib/libc/db/btree/bt_close.c
84
free(t->bt_cursor.key.data);
lib/libc/db/btree/bt_close.c
85
t->bt_cursor.key.size = 0;
lib/libc/db/btree/bt_close.c
86
t->bt_cursor.key.data = NULL;
lib/libc/db/btree/bt_close.c
88
if (t->bt_rkey.data) {
lib/libc/db/btree/bt_close.c
89
free(t->bt_rkey.data);
lib/libc/db/btree/bt_close.c
90
t->bt_rkey.size = 0;
lib/libc/db/btree/bt_close.c
91
t->bt_rkey.data = NULL;
lib/libc/db/btree/bt_close.c
93
if (t->bt_rdata.data) {
lib/libc/db/btree/bt_close.c
94
free(t->bt_rdata.data);
lib/libc/db/btree/bt_close.c
95
t->bt_rdata.size = 0;
lib/libc/db/btree/bt_close.c
96
t->bt_rdata.data = NULL;
lib/libc/db/btree/bt_close.c
99
fd = t->bt_fd;
lib/libc/db/btree/bt_conv.c
121
__bt_pgout(void *t, pgno_t pg, void *pp)
lib/libc/db/btree/bt_conv.c
128
if (!F_ISSET(((BTREE *)t), B_NEEDSWAP))
lib/libc/db/btree/bt_conv.c
56
__bt_pgin(void *t, pgno_t pg, void *pp)
lib/libc/db/btree/bt_conv.c
63
if (!F_ISSET(((BTREE *)t), B_NEEDSWAP))
lib/libc/db/btree/bt_debug.c
130
BTREE *t;
lib/libc/db/btree/bt_debug.c
133
t = dbp->internal;
lib/libc/db/btree/bt_debug.c
134
if ((h = mpool_get(t->bt_mp, pgno, MPOOL_IGNOREPIN)) != NULL)
lib/libc/db/btree/bt_debug.c
246
BTREE *t;
lib/libc/db/btree/bt_debug.c
252
t = dbp->internal;
lib/libc/db/btree/bt_debug.c
256
(h = mpool_get(t->bt_mp, i, MPOOL_IGNOREPIN)) != NULL; ++i)
lib/libc/db/btree/bt_debug.c
276
h = mpool_get(t->bt_mp, i, MPOOL_IGNOREPIN);
lib/libc/db/btree/bt_debug.c
282
i = F_ISSET(t, R_RECNO) ?
lib/libc/db/btree/bt_debug.c
289
if (F_ISSET(t, R_RECNO))
lib/libc/db/btree/bt_debug.c
290
fprintf(stderr, " (%u header count)", t->bt_nrecs);
lib/libc/db/btree/bt_debug.c
298
pleaf *= t->bt_psize - BTDATAOFF;
lib/libc/db/btree/bt_debug.c
304
pinternal *= t->bt_psize - BTDATAOFF;
lib/libc/db/btree/bt_debug.c
55
BTREE *t;
lib/libc/db/btree/bt_debug.c
60
t = dbp->internal;
lib/libc/db/btree/bt_debug.c
62
F_ISSET(t, B_INMEM) ? "memory" : "disk", t->bt_psize);
lib/libc/db/btree/bt_debug.c
63
if (F_ISSET(t, R_RECNO))
lib/libc/db/btree/bt_debug.c
64
fprintf(stderr, " keys %u", t->bt_nrecs);
lib/libc/db/btree/bt_debug.c
67
if (F_ISSET(t, flag)) { \
lib/libc/db/btree/bt_debug.c
71
if (t->flags != 0) {
lib/libc/db/btree/bt_debug.c
84
(h = mpool_get(t->bt_mp, i, MPOOL_IGNOREPIN)) != NULL; ++i)
lib/libc/db/btree/bt_delete.c
100
if (__bt_stkacq(t, &h, &t->bt_cursor))
lib/libc/db/btree/bt_delete.c
103
status = __bt_dleaf(t, NULL, h, c->pg.index);
lib/libc/db/btree/bt_delete.c
106
if (__bt_pdelete(t, h))
lib/libc/db/btree/bt_delete.c
109
mpool_put(t->bt_mp,
lib/libc/db/btree/bt_delete.c
119
F_SET(t, B_MODIFIED);
lib/libc/db/btree/bt_delete.c
136
__bt_stkacq(BTREE *t, PAGE **hp, CURSOR *c)
lib/libc/db/btree/bt_delete.c
152
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
153
if ((e = __bt_search(t, &c->key, &exact)) == NULL)
lib/libc/db/btree/bt_delete.c
170
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
173
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) {
lib/libc/db/btree/bt_delete.c
175
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
181
BT_PUSH(t, h->pgno, idx);
lib/libc/db/btree/bt_delete.c
184
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
192
BT_PUSH(t, pgno, 0);
lib/libc/db/btree/bt_delete.c
195
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
198
if ((h = mpool_get(t->bt_mp, pgno, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
202
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
203
if ((h = mpool_get(t->bt_mp, nextpg, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
211
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
212
if ((e = __bt_search(t, &c->key, &exact)) == NULL)
lib/libc/db/btree/bt_delete.c
225
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
228
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) {
lib/libc/db/btree/bt_delete.c
230
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
236
BT_PUSH(t, h->pgno, idx);
lib/libc/db/btree/bt_delete.c
239
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
249
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
252
if ((h = mpool_get(t->bt_mp, pgno, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
256
BT_PUSH(t, pgno, idx);
lib/libc/db/btree/bt_delete.c
258
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
259
if ((h = mpool_get(t->bt_mp, prevpg, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
264
ret: mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
265
return ((*hp = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL);
lib/libc/db/btree/bt_delete.c
280
__bt_bdelete(BTREE *t, const DBT *key)
lib/libc/db/btree/bt_delete.c
289
loop: if ((e = __bt_search(t, key, &exact)) == NULL)
lib/libc/db/btree/bt_delete.c
292
mpool_put(t->bt_mp, e->page, 0);
lib/libc/db/btree/bt_delete.c
304
if (__bt_dleaf(t, key, h, e->index)) {
lib/libc/db/btree/bt_delete.c
305
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
308
if (F_ISSET(t, B_NODUPS)) {
lib/libc/db/btree/bt_delete.c
310
if (__bt_pdelete(t, h))
lib/libc/db/btree/bt_delete.c
313
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_delete.c
317
} while (e->index < NEXTINDEX(h) && __bt_cmp(t, key, e) == 0);
lib/libc/db/btree/bt_delete.c
325
if (__bt_cmp(t, key, e) != 0)
lib/libc/db/btree/bt_delete.c
327
if (__bt_dleaf(t, key, h, e->index) == RET_ERROR) {
lib/libc/db/btree/bt_delete.c
328
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
337
if (__bt_pdelete(t, h))
lib/libc/db/btree/bt_delete.c
343
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_delete.c
365
__bt_pdelete(BTREE *t, PAGE *h)
lib/libc/db/btree/bt_delete.c
386
while ((parent = BT_POP(t)) != NULL) {
lib/libc/db/btree/bt_delete.c
388
if ((pg = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
396
__ovfl_delete(t, bi->bytes) == RET_ERROR) {
lib/libc/db/btree/bt_delete.c
397
mpool_put(t->bt_mp, pg, 0);
lib/libc/db/btree/bt_delete.c
409
pg->upper = t->bt_psize;
lib/libc/db/btree/bt_delete.c
412
if (__bt_relink(t, pg) || __bt_free(t, pg))
lib/libc/db/btree/bt_delete.c
433
mpool_put(t->bt_mp, pg, MPOOL_DIRTY);
lib/libc/db/btree/bt_delete.c
439
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_delete.c
442
return (__bt_relink(t, h) || __bt_free(t, h));
lib/libc/db/btree/bt_delete.c
459
__bt_dleaf(BTREE *t, const DBT *key, PAGE *h, unsigned int idx)
lib/libc/db/btree/bt_delete.c
468
if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
lib/libc/db/btree/bt_delete.c
469
!F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
lib/libc/db/btree/bt_delete.c
470
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index == idx &&
lib/libc/db/btree/bt_delete.c
471
__bt_curdel(t, key, h, idx))
lib/libc/db/btree/bt_delete.c
476
if (bl->flags & P_BIGKEY && __ovfl_delete(t, bl->bytes) == RET_ERROR)
lib/libc/db/btree/bt_delete.c
479
__ovfl_delete(t, bl->bytes + bl->ksize) == RET_ERROR)
lib/libc/db/btree/bt_delete.c
498
if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
lib/libc/db/btree/bt_delete.c
499
!F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
lib/libc/db/btree/bt_delete.c
500
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index > idx)
lib/libc/db/btree/bt_delete.c
501
--t->bt_cursor.pg.index;
lib/libc/db/btree/bt_delete.c
520
__bt_curdel(BTREE *t, const DBT *key, PAGE *h, unsigned int idx)
lib/libc/db/btree/bt_delete.c
531
c = &t->bt_cursor;
lib/libc/db/btree/bt_delete.c
535
if (!F_ISSET(t, B_NODUPS)) {
lib/libc/db/btree/bt_delete.c
544
if ((status = __bt_ret(t, &e,
lib/libc/db/btree/bt_delete.c
554
if (__bt_cmp(t, key, &e) == 0) {
lib/libc/db/btree/bt_delete.c
563
if (__bt_cmp(t, key, &e) == 0) {
lib/libc/db/btree/bt_delete.c
570
if ((pg = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
574
if (__bt_cmp(t, key, &e) == 0) {
lib/libc/db/btree/bt_delete.c
578
mpool_put(t->bt_mp, pg, 0);
lib/libc/db/btree/bt_delete.c
582
if ((pg = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
586
if (__bt_cmp(t, key, &e) == 0) {
lib/libc/db/btree/bt_delete.c
588
dup1: mpool_put(t->bt_mp, pg, 0);
lib/libc/db/btree/bt_delete.c
593
mpool_put(t->bt_mp, pg, 0);
lib/libc/db/btree/bt_delete.c
599
__bt_ret(t, &e, &c->key, &c->key, NULL, NULL, 1)) == RET_SUCCESS) {
lib/libc/db/btree/bt_delete.c
60
BTREE *t;
lib/libc/db/btree/bt_delete.c
615
__bt_relink(BTREE *t, PAGE *h)
lib/libc/db/btree/bt_delete.c
620
if ((pg = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
623
mpool_put(t->bt_mp, pg, MPOOL_DIRTY);
lib/libc/db/btree/bt_delete.c
626
if ((pg = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
629
mpool_put(t->bt_mp, pg, MPOOL_DIRTY);
lib/libc/db/btree/bt_delete.c
65
t = dbp->internal;
lib/libc/db/btree/bt_delete.c
68
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_delete.c
69
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_delete.c
70
t->bt_pinned = NULL;
lib/libc/db/btree/bt_delete.c
74
if (F_ISSET(t, B_RDONLY)) {
lib/libc/db/btree/bt_delete.c
81
status = __bt_bdelete(t, key);
lib/libc/db/btree/bt_delete.c
88
c = &t->bt_cursor;
lib/libc/db/btree/bt_delete.c
92
if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
lib/libc/db/btree/bt_get.c
60
BTREE *t;
lib/libc/db/btree/bt_get.c
64
t = dbp->internal;
lib/libc/db/btree/bt_get.c
67
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_get.c
68
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_get.c
69
t->bt_pinned = NULL;
lib/libc/db/btree/bt_get.c
78
if ((e = __bt_search(t, key, &exact)) == NULL)
lib/libc/db/btree/bt_get.c
81
mpool_put(t->bt_mp, e->page, 0);
lib/libc/db/btree/bt_get.c
85
status = __bt_ret(t, e, NULL, NULL, data, &t->bt_rdata, 0);
lib/libc/db/btree/bt_get.c
91
if (F_ISSET(t, B_DB_LOCK))
lib/libc/db/btree/bt_get.c
92
mpool_put(t->bt_mp, e->page, 0);
lib/libc/db/btree/bt_get.c
94
t->bt_pinned = e->page;
lib/libc/db/btree/bt_open.c
100
t = NULL;
lib/libc/db/btree/bt_open.c
158
if ((t = (BTREE *)calloc(1, sizeof(BTREE))) == NULL)
lib/libc/db/btree/bt_open.c
160
t->bt_fd = -1; /* Don't close unopened fd on error. */
lib/libc/db/btree/bt_open.c
161
t->bt_lorder = b.lorder;
lib/libc/db/btree/bt_open.c
162
t->bt_order = NOT;
lib/libc/db/btree/bt_open.c
163
t->bt_cmp = b.compare;
lib/libc/db/btree/bt_open.c
164
t->bt_pfx = b.prefix;
lib/libc/db/btree/bt_open.c
165
t->bt_rfd = -1;
lib/libc/db/btree/bt_open.c
167
if ((t->bt_dbp = dbp = (DB *)calloc(1, sizeof(DB))) == NULL)
lib/libc/db/btree/bt_open.c
169
if (t->bt_lorder != machine_lorder)
lib/libc/db/btree/bt_open.c
170
F_SET(t, B_NEEDSWAP);
lib/libc/db/btree/bt_open.c
173
dbp->internal = t;
lib/libc/db/btree/bt_open.c
189
F_SET(t, B_RDONLY);
lib/libc/db/btree/bt_open.c
198
if ((t->bt_fd = _open(fname, flags | O_CLOEXEC, mode)) < 0)
lib/libc/db/btree/bt_open.c
204
if ((t->bt_fd = tmp()) == -1)
lib/libc/db/btree/bt_open.c
206
F_SET(t, B_INMEM);
lib/libc/db/btree/bt_open.c
209
if (_fcntl(t->bt_fd, F_SETFD, 1) == -1)
lib/libc/db/btree/bt_open.c
212
if (_fstat(t->bt_fd, &sb))
lib/libc/db/btree/bt_open.c
215
if ((nr = _read(t->bt_fd, &m, sizeof(BTMETA))) < 0)
lib/libc/db/btree/bt_open.c
229
F_CLR(t, B_NEEDSWAP);
lib/libc/db/btree/bt_open.c
231
F_SET(t, B_NEEDSWAP);
lib/libc/db/btree/bt_open.c
247
F_SET(t, m.flags);
lib/libc/db/btree/bt_open.c
248
t->bt_free = m.free;
lib/libc/db/btree/bt_open.c
249
t->bt_nrecs = m.nrecs;
lib/libc/db/btree/bt_open.c
269
F_SET(t, B_NODUPS);
lib/libc/db/btree/bt_open.c
271
t->bt_free = P_INVALID;
lib/libc/db/btree/bt_open.c
272
t->bt_nrecs = 0;
lib/libc/db/btree/bt_open.c
273
F_SET(t, B_METADIRTY);
lib/libc/db/btree/bt_open.c
276
t->bt_psize = b.psize;
lib/libc/db/btree/bt_open.c
285
ncache = (b.cachesize + t->bt_psize - 1) / t->bt_psize;
lib/libc/db/btree/bt_open.c
298
t->bt_ovflsize = (t->bt_psize - BTDATAOFF) / b.minkeypage -
lib/libc/db/btree/bt_open.c
300
if (t->bt_ovflsize < NBLEAFDBT(NOVFLSIZE, NOVFLSIZE) + sizeof(indx_t))
lib/libc/db/btree/bt_open.c
301
t->bt_ovflsize =
lib/libc/db/btree/bt_open.c
305
if ((t->bt_mp =
lib/libc/db/btree/bt_open.c
306
mpool_open(NULL, t->bt_fd, t->bt_psize, ncache)) == NULL)
lib/libc/db/btree/bt_open.c
308
if (!F_ISSET(t, B_INMEM))
lib/libc/db/btree/bt_open.c
309
mpool_filter(t->bt_mp, __bt_pgin, __bt_pgout, t);
lib/libc/db/btree/bt_open.c
312
if (nroot(t) == RET_ERROR)
lib/libc/db/btree/bt_open.c
317
F_SET(t, B_DB_LOCK);
lib/libc/db/btree/bt_open.c
319
F_SET(t, B_DB_SHMEM);
lib/libc/db/btree/bt_open.c
321
F_SET(t, B_DB_TXN);
lib/libc/db/btree/bt_open.c
332
if (t) {
lib/libc/db/btree/bt_open.c
333
if (t->bt_dbp)
lib/libc/db/btree/bt_open.c
334
free(t->bt_dbp);
lib/libc/db/btree/bt_open.c
335
if (t->bt_fd != -1)
lib/libc/db/btree/bt_open.c
336
_close(t->bt_fd);
lib/libc/db/btree/bt_open.c
337
free(t);
lib/libc/db/btree/bt_open.c
353
nroot(BTREE *t)
lib/libc/db/btree/bt_open.c
358
if ((root = mpool_get(t->bt_mp, 1, 0)) != NULL) {
lib/libc/db/btree/bt_open.c
362
mpool_delete(t->bt_mp, root);
lib/libc/db/btree/bt_open.c
365
mpool_put(t->bt_mp, root, 0);
lib/libc/db/btree/bt_open.c
373
if ((meta = mpool_new(t->bt_mp, &npg, MPOOL_PAGE_NEXT)) == NULL)
lib/libc/db/btree/bt_open.c
376
if ((root = mpool_new(t->bt_mp, &npg, MPOOL_PAGE_NEXT)) == NULL)
lib/libc/db/btree/bt_open.c
384
root->upper = t->bt_psize;
lib/libc/db/btree/bt_open.c
386
memset(meta, 0, t->bt_psize);
lib/libc/db/btree/bt_open.c
387
mpool_put(t->bt_mp, meta, MPOOL_DIRTY);
lib/libc/db/btree/bt_open.c
388
mpool_put(t->bt_mp, root, MPOOL_DIRTY);
lib/libc/db/btree/bt_open.c
438
BTREE *t;
lib/libc/db/btree/bt_open.c
440
t = dbp->internal;
lib/libc/db/btree/bt_open.c
443
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_open.c
444
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_open.c
445
t->bt_pinned = NULL;
lib/libc/db/btree/bt_open.c
449
if (F_ISSET(t, B_INMEM)) {
lib/libc/db/btree/bt_open.c
453
return (t->bt_fd);
lib/libc/db/btree/bt_open.c
93
BTREE *t;
lib/libc/db/btree/bt_overflow.c
102
plen = t->bt_psize - BTDATAOFF;
lib/libc/db/btree/bt_overflow.c
104
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_overflow.c
109
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_overflow.c
129
__ovfl_put(BTREE *t, const DBT *dbt, pgno_t *pg)
lib/libc/db/btree/bt_overflow.c
141
plen = t->bt_psize - BTDATAOFF;
lib/libc/db/btree/bt_overflow.c
144
if ((h = __bt_new(t, &npg)) == NULL)
lib/libc/db/btree/bt_overflow.c
157
mpool_put(t->bt_mp, last, MPOOL_DIRTY);
lib/libc/db/btree/bt_overflow.c
162
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_overflow.c
180
__ovfl_delete(BTREE *t, void *p)
lib/libc/db/btree/bt_overflow.c
194
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_overflow.c
199
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_overflow.c
204
for (plen = t->bt_psize - BTDATAOFF;; sz -= plen) {
lib/libc/db/btree/bt_overflow.c
206
__bt_free(t, h);
lib/libc/db/btree/bt_overflow.c
209
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_overflow.c
75
__ovfl_get(BTREE *t, void *p, size_t *ssz, void **buf, size_t *bufsz)
lib/libc/db/btree/bt_page.c
55
__bt_free(BTREE *t, PAGE *h)
lib/libc/db/btree/bt_page.c
59
h->nextpg = t->bt_free;
lib/libc/db/btree/bt_page.c
60
t->bt_free = h->pgno;
lib/libc/db/btree/bt_page.c
61
F_SET(t, B_METADIRTY);
lib/libc/db/btree/bt_page.c
64
return (mpool_put(t->bt_mp, h, MPOOL_DIRTY));
lib/libc/db/btree/bt_page.c
79
__bt_new(BTREE *t, pgno_t *npg)
lib/libc/db/btree/bt_page.c
83
if (t->bt_free != P_INVALID &&
lib/libc/db/btree/bt_page.c
84
(h = mpool_get(t->bt_mp, t->bt_free, 0)) != NULL) {
lib/libc/db/btree/bt_page.c
85
*npg = t->bt_free;
lib/libc/db/btree/bt_page.c
86
t->bt_free = h->nextpg;
lib/libc/db/btree/bt_page.c
87
F_SET(t, B_METADIRTY);
lib/libc/db/btree/bt_page.c
90
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
64
BTREE *t;
lib/libc/db/btree/bt_put.c
74
t = dbp->internal;
lib/libc/db/btree/bt_put.c
77
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_put.c
78
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_put.c
79
t->bt_pinned = NULL;
lib/libc/db/btree/bt_put.c
83
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
102
__bt_sprev(t, h, key, exactp))
lib/libc/db/btree/bt_search.c
103
return (&t->bt_cur);
lib/libc/db/btree/bt_search.c
106
__bt_snext(t, h, key, exactp))
lib/libc/db/btree/bt_search.c
107
return (&t->bt_cur);
lib/libc/db/btree/bt_search.c
110
t->bt_cur.index = base;
lib/libc/db/btree/bt_search.c
111
return (&t->bt_cur);
lib/libc/db/btree/bt_search.c
123
next: BT_PUSH(t, h->pgno, idx);
lib/libc/db/btree/bt_search.c
125
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_search.c
143
__bt_snext(BTREE *t, PAGE *h, const DBT *key, int *exactp)
lib/libc/db/btree/bt_search.c
151
if ((e.page = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL)
lib/libc/db/btree/bt_search.c
154
if (__bt_cmp(t, key, &e) == 0) {
lib/libc/db/btree/bt_search.c
155
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_search.c
156
t->bt_cur = e;
lib/libc/db/btree/bt_search.c
160
mpool_put(t->bt_mp, e.page, 0);
lib/libc/db/btree/bt_search.c
178
__bt_sprev(BTREE *t, PAGE *h, const DBT *key, int *exactp)
lib/libc/db/btree/bt_search.c
186
if ((e.page = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL)
lib/libc/db/btree/bt_search.c
189
if (__bt_cmp(t, key, &e) == 0) {
lib/libc/db/btree/bt_search.c
190
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_search.c
191
t->bt_cur = e;
lib/libc/db/btree/bt_search.c
195
mpool_put(t->bt_mp, e.page, 0);
lib/libc/db/btree/bt_search.c
61
__bt_search(BTREE *t, const DBT *key, int *exactp)
lib/libc/db/btree/bt_search.c
68
BT_CLR(t);
lib/libc/db/btree/bt_search.c
70
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_search.c
74
t->bt_cur.page = h;
lib/libc/db/btree/bt_search.c
76
t->bt_cur.index = idx = base + (lim >> 1);
lib/libc/db/btree/bt_search.c
77
if ((cmp = __bt_cmp(t, key, &t->bt_cur)) == 0) {
lib/libc/db/btree/bt_search.c
80
return (&t->bt_cur);
lib/libc/db/btree/bt_search.c
99
if (!F_ISSET(t, B_NODUPS)) {
lib/libc/db/btree/bt_seq.c
102
status = __bt_seqset(t, &e, key, flags);
lib/libc/db/btree/bt_seq.c
110
__bt_setcur(t, e.page->pgno, e.index);
lib/libc/db/btree/bt_seq.c
113
__bt_ret(t, &e, key, &t->bt_rkey, data, &t->bt_rdata, 0);
lib/libc/db/btree/bt_seq.c
119
if (F_ISSET(t, B_DB_LOCK))
lib/libc/db/btree/bt_seq.c
120
mpool_put(t->bt_mp, e.page, 0);
lib/libc/db/btree/bt_seq.c
122
t->bt_pinned = e.page;
lib/libc/db/btree/bt_seq.c
144
__bt_seqset(BTREE *t, EPG *ep, DBT *key, int flags)
lib/libc/db/btree/bt_seq.c
165
return (__bt_first(t, key, ep, &exact));
lib/libc/db/btree/bt_seq.c
170
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
175
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
182
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
191
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
196
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
203
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
228
__bt_seqadv(BTREE *t, EPG *ep, int flags)
lib/libc/db/btree/bt_seq.c
240
c = &t->bt_cursor;
lib/libc/db/btree/bt_seq.c
251
return (__bt_first(t, &c->key, ep, &exact));
lib/libc/db/btree/bt_seq.c
254
if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
273
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
276
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
296
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
299
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
327
__bt_first(BTREE *t, const DBT *key, EPG *erval, int *exactp)
lib/libc/db/btree/bt_seq.c
341
if ((ep = __bt_search(t, key, exactp)) == NULL)
lib/libc/db/btree/bt_seq.c
344
if (F_ISSET(t, B_NODUPS)) {
lib/libc/db/btree/bt_seq.c
358
mpool_put(t->bt_mp, save.page, 0);
lib/libc/db/btree/bt_seq.c
372
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
373
if ((h = mpool_get(t->bt_mp,
lib/libc/db/btree/bt_seq.c
376
mpool_put(t->bt_mp,
lib/libc/db/btree/bt_seq.c
384
} while (__bt_cmp(t, key, ep) == 0);
lib/libc/db/btree/bt_seq.c
392
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
402
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
405
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
424
__bt_setcur(BTREE *t, pgno_t pgno, unsigned int idx)
lib/libc/db/btree/bt_seq.c
427
if (t->bt_cursor.key.data != NULL) {
lib/libc/db/btree/bt_seq.c
428
free(t->bt_cursor.key.data);
lib/libc/db/btree/bt_seq.c
429
t->bt_cursor.key.size = 0;
lib/libc/db/btree/bt_seq.c
430
t->bt_cursor.key.data = NULL;
lib/libc/db/btree/bt_seq.c
432
F_CLR(&t->bt_cursor, CURS_ACQUIRE | CURS_AFTER | CURS_BEFORE);
lib/libc/db/btree/bt_seq.c
435
t->bt_cursor.pg.pgno = pgno;
lib/libc/db/btree/bt_seq.c
436
t->bt_cursor.pg.index = idx;
lib/libc/db/btree/bt_seq.c
437
F_SET(&t->bt_cursor, CURS_INIT);
lib/libc/db/btree/bt_seq.c
74
BTREE *t;
lib/libc/db/btree/bt_seq.c
78
t = dbp->internal;
lib/libc/db/btree/bt_seq.c
81
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_seq.c
82
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_seq.c
83
t->bt_pinned = NULL;
lib/libc/db/btree/bt_seq.c
94
if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
lib/libc/db/btree/bt_seq.c
95
status = __bt_seqadv(t, &e, flags);
lib/libc/db/btree/bt_split.c
108
if (F_ISSET(t, R_RECNO))
lib/libc/db/btree/bt_split.c
115
(F_ISSET(t, R_RECNO) ?
lib/libc/db/btree/bt_split.c
116
bt_rroot(t, sp, l, r) : bt_broot(t, sp, l, r)) == RET_ERROR)
lib/libc/db/btree/bt_split.c
142
while ((parent = BT_POP(t)) != NULL) {
lib/libc/db/btree/bt_split.c
147
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
lib/libc/db/btree/bt_split.c
178
if (t->bt_pfx && !(bl->flags & P_BIGKEY) &&
lib/libc/db/btree/bt_split.c
185
nksize = t->bt_pfx(&a, &b);
lib/libc/db/btree/bt_split.c
209
bt_root(t, h, &l, &r, &skip, nbytes) :
lib/libc/db/btree/bt_split.c
210
bt_page(t, h, &l, &r, &skip, nbytes);
lib/libc/db/btree/bt_split.c
237
bt_preserve(t, *(pgno_t *)bl->bytes) == RET_ERROR)
lib/libc/db/btree/bt_split.c
282
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
288
(F_ISSET(t, R_RECNO) ?
lib/libc/db/btree/bt_split.c
289
bt_rroot(t, sp, l, r) : bt_broot(t, sp, l, r)) == RET_ERROR)
lib/libc/db/btree/bt_split.c
292
mpool_put(t->bt_mp, lchild, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
293
mpool_put(t->bt_mp, rchild, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
297
mpool_put(t->bt_mp, l, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
298
mpool_put(t->bt_mp, r, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
308
err1: mpool_put(t->bt_mp, lchild, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
309
mpool_put(t->bt_mp, rchild, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
311
err2: mpool_put(t->bt_mp, l, 0);
lib/libc/db/btree/bt_split.c
312
mpool_put(t->bt_mp, r, 0);
lib/libc/db/btree/bt_split.c
313
__dbpanic(t->bt_dbp);
lib/libc/db/btree/bt_split.c
332
bt_page(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen)
lib/libc/db/btree/bt_split.c
341
if ((r = __bt_new(t, &npg)) == NULL)
lib/libc/db/btree/bt_split.c
345
r->upper = t->bt_psize;
lib/libc/db/btree/bt_split.c
373
if ((l = (PAGE *)calloc(1, t->bt_psize)) == NULL) {
lib/libc/db/btree/bt_split.c
374
mpool_put(t->bt_mp, r, 0);
lib/libc/db/btree/bt_split.c
381
l->upper = t->bt_psize;
lib/libc/db/btree/bt_split.c
386
if ((tp = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) {
lib/libc/db/btree/bt_split.c
392
mpool_put(t->bt_mp, tp, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
402
tp = bt_psplit(t, h, l, r, skip, ilen);
lib/libc/db/btree/bt_split.c
405
memmove(h, l, t->bt_psize);
lib/libc/db/btree/bt_split.c
430
bt_root(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen)
lib/libc/db/btree/bt_split.c
440
if ((l = __bt_new(t, &lnpg)) == NULL ||
lib/libc/db/btree/bt_split.c
441
(r = __bt_new(t, &rnpg)) == NULL)
lib/libc/db/btree/bt_split.c
449
l->upper = r->upper = t->bt_psize;
lib/libc/db/btree/bt_split.c
453
tp = bt_psplit(t, h, l, r, skip, ilen);
lib/libc/db/btree/bt_split.c
473
bt_rroot(BTREE *t, PAGE *h, PAGE *l, PAGE *r)
lib/libc/db/btree/bt_split.c
478
h->linp[0] = h->upper = t->bt_psize - NRINTERNAL;
lib/libc/db/btree/bt_split.c
493
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
511
bt_broot(BTREE *t, PAGE *h, PAGE *l, PAGE *r)
lib/libc/db/btree/bt_split.c
527
h->linp[0] = h->upper = t->bt_psize - nbytes;
lib/libc/db/btree/bt_split.c
545
bt_preserve(t, *(pgno_t *)bl->bytes) == RET_ERROR)
lib/libc/db/btree/bt_split.c
566
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
586
bt_psplit(BTREE *t, PAGE *h, PAGE *l, PAGE *r, indx_t *pskip, size_t ilen)
lib/libc/db/btree/bt_split.c
606
full = t->bt_psize - BTDATAOFF;
lib/libc/db/btree/bt_split.c
681
c = &t->bt_cursor;
lib/libc/db/btree/bt_split.c
75
__bt_split(BTREE *t, PAGE *sp, const DBT *key, const DBT *data, int flags,
lib/libc/db/btree/bt_split.c
760
bt_preserve(BTREE *t, pgno_t pg)
lib/libc/db/btree/bt_split.c
764
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_split.c
767
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
97
bt_root(t, sp, &l, &r, &skip, ilen) :
lib/libc/db/btree/bt_split.c
98
bt_page(t, sp, &l, &r, &skip, ilen);
lib/libc/db/btree/bt_utils.c
103
if (__ovfl_get(t, bl->bytes + bl->ksize,
lib/libc/db/btree/bt_utils.c
107
} else if (copy || F_ISSET(t, B_DB_LOCK)) {
lib/libc/db/btree/bt_utils.c
141
__bt_cmp(BTREE *t, const DBT *k1, EPG *e)
lib/libc/db/btree/bt_utils.c
180
if (__ovfl_get(t, bigkey,
lib/libc/db/btree/bt_utils.c
181
&k2.size, &t->bt_rdata.data, &t->bt_rdata.size))
lib/libc/db/btree/bt_utils.c
183
k2.data = t->bt_rdata.data;
lib/libc/db/btree/bt_utils.c
185
return ((*t->bt_cmp)(k1, &k2));
lib/libc/db/btree/bt_utils.c
62
__bt_ret(BTREE *t, EPG *e, DBT *key, DBT *rkey, DBT *data, DBT *rdata, int copy)
lib/libc/db/btree/bt_utils.c
78
if (__ovfl_get(t, bl->bytes,
lib/libc/db/btree/bt_utils.c
82
} else if (copy || F_ISSET(t, B_DB_LOCK)) {
lib/libc/db/btree/btree.h
313
#define BT_PUSH(t, p, i) { \
lib/libc/db/btree/btree.h
314
t->bt_sp->pgno = p; \
lib/libc/db/btree/btree.h
315
t->bt_sp->index = i; \
lib/libc/db/btree/btree.h
316
++t->bt_sp; \
lib/libc/db/btree/btree.h
318
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp)
lib/libc/db/btree/btree.h
319
#define BT_CLR(t) (t->bt_sp = t->bt_stack)
lib/libc/db/recno/rec_close.c
107
BTREE *t;
lib/libc/db/recno/rec_close.c
113
t = dbp->internal;
lib/libc/db/recno/rec_close.c
116
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_close.c
117
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_close.c
118
t->bt_pinned = NULL;
lib/libc/db/recno/rec_close.c
124
if (F_ISSET(t, R_RDONLY | R_INMEM) || !F_ISSET(t, R_MODIFIED))
lib/libc/db/recno/rec_close.c
128
if (!F_ISSET(t, R_EOF) && t->bt_irec(t, MAX_REC_NUMBER) == RET_ERROR)
lib/libc/db/recno/rec_close.c
132
if (lseek(t->bt_rfd, (off_t)0, SEEK_SET) != 0)
lib/libc/db/recno/rec_close.c
136
scursor = t->bt_cursor.rcursor;
lib/libc/db/recno/rec_close.c
141
if (F_ISSET(t, R_FIXLEN)) {
lib/libc/db/recno/rec_close.c
149
if (_write(t->bt_rfd, data.data, data.size) !=
lib/libc/db/recno/rec_close.c
155
iov[1].iov_base = &t->bt_bval;
lib/libc/db/recno/rec_close.c
162
if (_writev(t->bt_rfd, iov, 2) != (ssize_t)(data.size + 1))
lib/libc/db/recno/rec_close.c
169
t->bt_cursor.rcursor = scursor;
lib/libc/db/recno/rec_close.c
173
if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1)
lib/libc/db/recno/rec_close.c
175
if (ftruncate(t->bt_rfd, off))
lib/libc/db/recno/rec_close.c
177
F_CLR(t, R_MODIFIED);
lib/libc/db/recno/rec_close.c
59
BTREE *t;
lib/libc/db/recno/rec_close.c
62
t = dbp->internal;
lib/libc/db/recno/rec_close.c
65
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_close.c
66
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_close.c
67
t->bt_pinned = NULL;
lib/libc/db/recno/rec_close.c
75
if (F_ISSET(t, R_MEMMAPPED) && munmap(t->bt_smap, t->bt_msize))
lib/libc/db/recno/rec_close.c
78
if (!F_ISSET(t, R_INMEM)) {
lib/libc/db/recno/rec_close.c
79
if (F_ISSET(t, R_CLOSEFP)) {
lib/libc/db/recno/rec_close.c
80
if (fclose(t->bt_rfp))
lib/libc/db/recno/rec_close.c
83
if (_close(t->bt_rfd))
lib/libc/db/recno/rec_delete.c
112
rec_rdelete(BTREE *t, recno_t nrec)
lib/libc/db/recno/rec_delete.c
119
if ((e = __rec_search(t, nrec, SDELETE)) == NULL)
lib/libc/db/recno/rec_delete.c
124
status = __rec_dleaf(t, h, e->index);
lib/libc/db/recno/rec_delete.c
126
mpool_put(t->bt_mp, h, 0);
lib/libc/db/recno/rec_delete.c
129
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/recno/rec_delete.c
144
__rec_dleaf(BTREE *t, PAGE *h, uint32_t idx)
lib/libc/db/recno/rec_delete.c
163
if (rl->flags & P_BIGDATA && __ovfl_delete(t, rl->bytes) == RET_ERROR)
lib/libc/db/recno/rec_delete.c
182
--t->bt_nrecs;
lib/libc/db/recno/rec_delete.c
61
BTREE *t;
lib/libc/db/recno/rec_delete.c
65
t = dbp->internal;
lib/libc/db/recno/rec_delete.c
68
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_delete.c
69
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_delete.c
70
t->bt_pinned = NULL;
lib/libc/db/recno/rec_delete.c
77
if (nrec > t->bt_nrecs)
lib/libc/db/recno/rec_delete.c
80
status = rec_rdelete(t, nrec);
lib/libc/db/recno/rec_delete.c
83
if (!F_ISSET(&t->bt_cursor, CURS_INIT))
lib/libc/db/recno/rec_delete.c
85
if (t->bt_nrecs == 0)
lib/libc/db/recno/rec_delete.c
87
status = rec_rdelete(t, t->bt_cursor.rcursor - 1);
lib/libc/db/recno/rec_delete.c
89
--t->bt_cursor.rcursor;
lib/libc/db/recno/rec_delete.c
97
F_SET(t, B_MODIFIED | R_MODIFIED);
lib/libc/db/recno/rec_get.c
113
__rec_fpipe(BTREE *t, recno_t top)
lib/libc/db/recno/rec_get.c
121
if (t->bt_rdata.size < t->bt_reclen) {
lib/libc/db/recno/rec_get.c
122
t->bt_rdata.data = reallocf(t->bt_rdata.data, t->bt_reclen);
lib/libc/db/recno/rec_get.c
123
if (t->bt_rdata.data == NULL)
lib/libc/db/recno/rec_get.c
125
t->bt_rdata.size = t->bt_reclen;
lib/libc/db/recno/rec_get.c
127
data.data = t->bt_rdata.data;
lib/libc/db/recno/rec_get.c
128
data.size = t->bt_reclen;
lib/libc/db/recno/rec_get.c
130
for (nrec = t->bt_nrecs; nrec < top;) {
lib/libc/db/recno/rec_get.c
131
len = t->bt_reclen;
lib/libc/db/recno/rec_get.c
132
for (p = t->bt_rdata.data;; *p++ = ch)
lib/libc/db/recno/rec_get.c
133
if ((ch = getc(t->bt_rfp)) == EOF || !--len) {
lib/libc/db/recno/rec_get.c
137
memset(p, t->bt_bval, len);
lib/libc/db/recno/rec_get.c
138
if (__rec_iput(t,
lib/libc/db/recno/rec_get.c
148
F_SET(t, R_EOF);
lib/libc/db/recno/rec_get.c
165
__rec_vpipe(BTREE *t, recno_t top)
lib/libc/db/recno/rec_get.c
174
bval = t->bt_bval;
lib/libc/db/recno/rec_get.c
175
for (nrec = t->bt_nrecs; nrec < top; ++nrec) {
lib/libc/db/recno/rec_get.c
176
for (p = t->bt_rdata.data,
lib/libc/db/recno/rec_get.c
177
sz = t->bt_rdata.size;; *p++ = ch, --sz) {
lib/libc/db/recno/rec_get.c
178
if ((ch = getc(t->bt_rfp)) == EOF || ch == bval) {
lib/libc/db/recno/rec_get.c
179
data.data = t->bt_rdata.data;
lib/libc/db/recno/rec_get.c
181
(unsigned char *)t->bt_rdata.data;
lib/libc/db/recno/rec_get.c
184
if (__rec_iput(t, nrec, &data, 0)
lib/libc/db/recno/rec_get.c
190
len = p - (unsigned char *)t->bt_rdata.data;
lib/libc/db/recno/rec_get.c
191
t->bt_rdata.size += (sz = 256);
lib/libc/db/recno/rec_get.c
192
t->bt_rdata.data = reallocf(t->bt_rdata.data,
lib/libc/db/recno/rec_get.c
193
t->bt_rdata.size);
lib/libc/db/recno/rec_get.c
194
if (t->bt_rdata.data == NULL)
lib/libc/db/recno/rec_get.c
196
p = (unsigned char *)t->bt_rdata.data + len;
lib/libc/db/recno/rec_get.c
203
F_SET(t, R_EOF);
lib/libc/db/recno/rec_get.c
220
__rec_fmap(BTREE *t, recno_t top)
lib/libc/db/recno/rec_get.c
227
if (t->bt_rdata.size < t->bt_reclen) {
lib/libc/db/recno/rec_get.c
228
t->bt_rdata.data = reallocf(t->bt_rdata.data, t->bt_reclen);
lib/libc/db/recno/rec_get.c
229
if (t->bt_rdata.data == NULL)
lib/libc/db/recno/rec_get.c
231
t->bt_rdata.size = t->bt_reclen;
lib/libc/db/recno/rec_get.c
233
data.data = t->bt_rdata.data;
lib/libc/db/recno/rec_get.c
234
data.size = t->bt_reclen;
lib/libc/db/recno/rec_get.c
236
sp = (unsigned char *)t->bt_cmap;
lib/libc/db/recno/rec_get.c
237
ep = (unsigned char *)t->bt_emap;
lib/libc/db/recno/rec_get.c
238
for (nrec = t->bt_nrecs; nrec < top; ++nrec) {
lib/libc/db/recno/rec_get.c
240
F_SET(t, R_EOF);
lib/libc/db/recno/rec_get.c
243
len = t->bt_reclen;
lib/libc/db/recno/rec_get.c
244
for (p = t->bt_rdata.data;
lib/libc/db/recno/rec_get.c
247
memset(p, t->bt_bval, len);
lib/libc/db/recno/rec_get.c
248
if (__rec_iput(t, nrec, &data, 0) != RET_SUCCESS)
lib/libc/db/recno/rec_get.c
251
t->bt_cmap = (caddr_t)sp;
lib/libc/db/recno/rec_get.c
266
__rec_vmap(BTREE *t, recno_t top)
lib/libc/db/recno/rec_get.c
273
sp = (unsigned char *)t->bt_cmap;
lib/libc/db/recno/rec_get.c
274
ep = (unsigned char *)t->bt_emap;
lib/libc/db/recno/rec_get.c
275
bval = t->bt_bval;
lib/libc/db/recno/rec_get.c
277
for (nrec = t->bt_nrecs; nrec < top; ++nrec) {
lib/libc/db/recno/rec_get.c
279
F_SET(t, R_EOF);
lib/libc/db/recno/rec_get.c
284
if (__rec_iput(t, nrec, &data, 0) != RET_SUCCESS)
lib/libc/db/recno/rec_get.c
288
t->bt_cmap = (caddr_t)sp;
lib/libc/db/recno/rec_get.c
60
BTREE *t;
lib/libc/db/recno/rec_get.c
65
t = dbp->internal;
lib/libc/db/recno/rec_get.c
68
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_get.c
69
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_get.c
70
t->bt_pinned = NULL;
lib/libc/db/recno/rec_get.c
83
if (nrec > t->bt_nrecs) {
lib/libc/db/recno/rec_get.c
84
if (F_ISSET(t, R_EOF | R_INMEM))
lib/libc/db/recno/rec_get.c
86
if ((status = t->bt_irec(t, nrec)) != RET_SUCCESS)
lib/libc/db/recno/rec_get.c
91
if ((e = __rec_search(t, nrec, SEARCH)) == NULL)
lib/libc/db/recno/rec_get.c
94
status = __rec_ret(t, e, 0, NULL, data);
lib/libc/db/recno/rec_get.c
95
if (F_ISSET(t, B_DB_LOCK))
lib/libc/db/recno/rec_get.c
96
mpool_put(t->bt_mp, e->page, 0);
lib/libc/db/recno/rec_get.c
98
t->bt_pinned = e->page;
lib/libc/db/recno/rec_open.c
101
t->bt_bval = openinfo->bval;
lib/libc/db/recno/rec_open.c
103
t->bt_bval = '\n';
lib/libc/db/recno/rec_open.c
105
F_SET(t, R_RECNO);
lib/libc/db/recno/rec_open.c
107
F_SET(t, R_EOF | R_INMEM);
lib/libc/db/recno/rec_open.c
109
t->bt_rfd = rfd;
lib/libc/db/recno/rec_open.c
121
F_SET(t, R_RDONLY);
lib/libc/db/recno/rec_open.c
126
slow: if ((t->bt_rfp = fdopen(rfd, "r")) == NULL)
lib/libc/db/recno/rec_open.c
128
F_SET(t, R_CLOSEFP);
lib/libc/db/recno/rec_open.c
129
t->bt_irec =
lib/libc/db/recno/rec_open.c
130
F_ISSET(t, R_FIXLEN) ? __rec_fpipe : __rec_vpipe;
lib/libc/db/recno/rec_open.c
134
F_SET(t, R_RDONLY);
lib/libc/db/recno/rec_open.c
154
F_SET(t, R_EOF);
lib/libc/db/recno/rec_open.c
164
t->bt_msize = sb.st_size;
lib/libc/db/recno/rec_open.c
165
if ((t->bt_smap = mmap(NULL, t->bt_msize,
lib/libc/db/recno/rec_open.c
169
t->bt_cmap = t->bt_smap;
lib/libc/db/recno/rec_open.c
170
t->bt_emap = t->bt_smap + sb.st_size;
lib/libc/db/recno/rec_open.c
171
t->bt_irec = F_ISSET(t, R_FIXLEN) ?
lib/libc/db/recno/rec_open.c
173
F_SET(t, R_MEMMAPPED);
lib/libc/db/recno/rec_open.c
191
if ((h = mpool_get(t->bt_mp, P_ROOT, 0)) == NULL)
lib/libc/db/recno/rec_open.c
196
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/recno/rec_open.c
198
mpool_put(t->bt_mp, h, 0);
lib/libc/db/recno/rec_open.c
201
!F_ISSET(t, R_EOF | R_INMEM) &&
lib/libc/db/recno/rec_open.c
202
t->bt_irec(t, MAX_REC_NUMBER) == RET_ERROR)
lib/libc/db/recno/rec_open.c
219
BTREE *t;
lib/libc/db/recno/rec_open.c
221
t = dbp->internal;
lib/libc/db/recno/rec_open.c
224
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_open.c
225
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_open.c
226
t->bt_pinned = NULL;
lib/libc/db/recno/rec_open.c
230
if (F_ISSET(t, R_INMEM)) {
lib/libc/db/recno/rec_open.c
234
return (t->bt_rfd);
lib/libc/db/recno/rec_open.c
56
BTREE *t;
lib/libc/db/recno/rec_open.c
93
t = dbp->internal;
lib/libc/db/recno/rec_open.c
96
F_SET(t, R_FIXLEN);
lib/libc/db/recno/rec_open.c
97
t->bt_reclen = openinfo->reclen;
lib/libc/db/recno/rec_open.c
98
if (t->bt_reclen == 0)
lib/libc/db/recno/rec_put.c
100
if (!F_ISSET(&t->bt_cursor, CURS_INIT))
lib/libc/db/recno/rec_put.c
102
nrec = t->bt_cursor.rcursor;
lib/libc/db/recno/rec_put.c
122
if (nrec <= t->bt_nrecs)
lib/libc/db/recno/rec_put.c
134
if (nrec > t->bt_nrecs) {
lib/libc/db/recno/rec_put.c
135
if (!F_ISSET(t, R_EOF | R_INMEM) &&
lib/libc/db/recno/rec_put.c
136
t->bt_irec(t, nrec) == RET_ERROR)
lib/libc/db/recno/rec_put.c
138
if (nrec > t->bt_nrecs + 1) {
lib/libc/db/recno/rec_put.c
139
if (F_ISSET(t, R_FIXLEN)) {
lib/libc/db/recno/rec_put.c
141
(void *)malloc(t->bt_reclen)) == NULL)
lib/libc/db/recno/rec_put.c
143
tdata.size = t->bt_reclen;
lib/libc/db/recno/rec_put.c
144
memset(tdata.data, t->bt_bval, tdata.size);
lib/libc/db/recno/rec_put.c
149
while (nrec > t->bt_nrecs + 1)
lib/libc/db/recno/rec_put.c
150
if (__rec_iput(t,
lib/libc/db/recno/rec_put.c
151
t->bt_nrecs, &tdata, 0) != RET_SUCCESS)
lib/libc/db/recno/rec_put.c
153
if (F_ISSET(t, R_FIXLEN))
lib/libc/db/recno/rec_put.c
158
if ((status = __rec_iput(t, nrec - 1, &fdata, flags)) != RET_SUCCESS)
lib/libc/db/recno/rec_put.c
166
t->bt_cursor.rcursor = nrec;
lib/libc/db/recno/rec_put.c
170
F_SET(t, R_MODIFIED);
lib/libc/db/recno/rec_put.c
171
return (__rec_ret(t, NULL, nrec, key, NULL));
lib/libc/db/recno/rec_put.c
186
__rec_iput(BTREE *t, recno_t nrec, const DBT *data, unsigned int flags)
lib/libc/db/recno/rec_put.c
203
if (data->size > t->bt_ovflsize) {
lib/libc/db/recno/rec_put.c
204
if (__ovfl_put(t, data, &pg) == RET_ERROR)
lib/libc/db/recno/rec_put.c
216
if ((e = __rec_search(t, nrec,
lib/libc/db/recno/rec_put.c
217
nrec > t->bt_nrecs || flags == R_IAFTER || flags == R_IBEFORE ?
lib/libc/db/recno/rec_put.c
237
if (nrec < t->bt_nrecs &&
lib/libc/db/recno/rec_put.c
238
__rec_dleaf(t, h, idx) == RET_ERROR) {
lib/libc/db/recno/rec_put.c
239
mpool_put(t->bt_mp, h, 0);
lib/libc/db/recno/rec_put.c
252
status = __bt_split(t, h, NULL, data, dflags, nbytes, idx);
lib/libc/db/recno/rec_put.c
254
++t->bt_nrecs;
lib/libc/db/recno/rec_put.c
267
++t->bt_nrecs;
lib/libc/db/recno/rec_put.c
268
F_SET(t, B_MODIFIED);
lib/libc/db/recno/rec_put.c
269
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/recno/rec_put.c
59
BTREE *t;
lib/libc/db/recno/rec_put.c
64
t = dbp->internal;
lib/libc/db/recno/rec_put.c
67
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_put.c
68
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_put.c
69
t->bt_pinned = NULL;
lib/libc/db/recno/rec_put.c
77
if (F_ISSET(t, R_FIXLEN) && data->size != t->bt_reclen) {
lib/libc/db/recno/rec_put.c
78
if (data->size > t->bt_reclen)
lib/libc/db/recno/rec_put.c
81
if (t->bt_rdata.size < t->bt_reclen) {
lib/libc/db/recno/rec_put.c
82
t->bt_rdata.data =
lib/libc/db/recno/rec_put.c
83
reallocf(t->bt_rdata.data, t->bt_reclen);
lib/libc/db/recno/rec_put.c
84
if (t->bt_rdata.data == NULL)
lib/libc/db/recno/rec_put.c
86
t->bt_rdata.size = t->bt_reclen;
lib/libc/db/recno/rec_put.c
88
memmove(t->bt_rdata.data, data->data, data->size);
lib/libc/db/recno/rec_put.c
89
memset((char *)t->bt_rdata.data + data->size,
lib/libc/db/recno/rec_put.c
90
t->bt_bval, t->bt_reclen - data->size);
lib/libc/db/recno/rec_put.c
91
fdata.data = t->bt_rdata.data;
lib/libc/db/recno/rec_put.c
92
fdata.size = t->bt_reclen;
lib/libc/db/recno/rec_search.c
107
while ((parent = BT_POP(t)) != NULL) {
lib/libc/db/recno/rec_search.c
108
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
lib/libc/db/recno/rec_search.c
114
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/recno/rec_search.c
59
__rec_search(BTREE *t, recno_t recno, enum SRCHOP op)
lib/libc/db/recno/rec_search.c
70
BT_CLR(t);
lib/libc/db/recno/rec_search.c
72
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/recno/rec_search.c
75
t->bt_cur.page = h;
lib/libc/db/recno/rec_search.c
76
t->bt_cur.index = recno - total;
lib/libc/db/recno/rec_search.c
77
return (&t->bt_cur);
lib/libc/db/recno/rec_search.c
86
BT_PUSH(t, pg, idx - 1);
lib/libc/db/recno/rec_search.c
92
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/recno/rec_search.c
96
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/recno/rec_search.c
99
mpool_put(t->bt_mp, h, 0);
lib/libc/db/recno/rec_seq.c
103
if (t->bt_nrecs == 0 || nrec > t->bt_nrecs) {
lib/libc/db/recno/rec_seq.c
104
if (!F_ISSET(t, R_EOF | R_INMEM) &&
lib/libc/db/recno/rec_seq.c
105
(status = t->bt_irec(t, nrec)) != RET_SUCCESS)
lib/libc/db/recno/rec_seq.c
107
if (t->bt_nrecs == 0 || nrec > t->bt_nrecs)
lib/libc/db/recno/rec_seq.c
111
if ((e = __rec_search(t, nrec - 1, SEARCH)) == NULL)
lib/libc/db/recno/rec_seq.c
114
F_SET(&t->bt_cursor, CURS_INIT);
lib/libc/db/recno/rec_seq.c
115
t->bt_cursor.rcursor = nrec;
lib/libc/db/recno/rec_seq.c
117
status = __rec_ret(t, e, nrec, key, data);
lib/libc/db/recno/rec_seq.c
118
if (F_ISSET(t, B_DB_LOCK))
lib/libc/db/recno/rec_seq.c
119
mpool_put(t->bt_mp, e->page, 0);
lib/libc/db/recno/rec_seq.c
121
t->bt_pinned = e->page;
lib/libc/db/recno/rec_seq.c
58
BTREE *t;
lib/libc/db/recno/rec_seq.c
63
t = dbp->internal;
lib/libc/db/recno/rec_seq.c
66
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_seq.c
67
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_seq.c
68
t->bt_pinned = NULL;
lib/libc/db/recno/rec_seq.c
77
if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
lib/libc/db/recno/rec_seq.c
78
nrec = t->bt_cursor.rcursor + 1;
lib/libc/db/recno/rec_seq.c
86
if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
lib/libc/db/recno/rec_seq.c
87
if ((nrec = t->bt_cursor.rcursor - 1) == 0)
lib/libc/db/recno/rec_seq.c
93
if (!F_ISSET(t, R_EOF | R_INMEM) &&
lib/libc/db/recno/rec_seq.c
94
t->bt_irec(t, MAX_REC_NUMBER) == RET_ERROR)
lib/libc/db/recno/rec_seq.c
96
nrec = t->bt_nrecs;
lib/libc/db/recno/rec_utils.c
101
memmove(t->bt_rdata.data, rl->bytes, rl->dsize);
lib/libc/db/recno/rec_utils.c
103
data->data = t->bt_rdata.data;
lib/libc/db/recno/rec_utils.c
57
__rec_ret(BTREE *t, EPG *e, recno_t nrec, DBT *key, DBT *data)
lib/libc/db/recno/rec_utils.c
66
if (sizeof(recno_t) > t->bt_rkey.size) {
lib/libc/db/recno/rec_utils.c
67
p = realloc(t->bt_rkey.data, sizeof(recno_t));
lib/libc/db/recno/rec_utils.c
70
t->bt_rkey.data = p;
lib/libc/db/recno/rec_utils.c
71
t->bt_rkey.size = sizeof(recno_t);
lib/libc/db/recno/rec_utils.c
73
memmove(t->bt_rkey.data, &nrec, sizeof(recno_t));
lib/libc/db/recno/rec_utils.c
75
key->data = t->bt_rkey.data;
lib/libc/db/recno/rec_utils.c
88
if (__ovfl_get(t, rl->bytes,
lib/libc/db/recno/rec_utils.c
89
&data->size, &t->bt_rdata.data, &t->bt_rdata.size))
lib/libc/db/recno/rec_utils.c
91
data->data = t->bt_rdata.data;
lib/libc/db/recno/rec_utils.c
92
} else if (F_ISSET(t, B_DB_LOCK)) {
lib/libc/db/recno/rec_utils.c
94
if (rl->dsize + 1 > t->bt_rdata.size) {
lib/libc/db/recno/rec_utils.c
95
p = realloc(t->bt_rdata.data, rl->dsize + 1);
lib/libc/db/recno/rec_utils.c
98
t->bt_rdata.data = p;
lib/libc/db/recno/rec_utils.c
99
t->bt_rdata.size = rl->dsize + 1;
lib/libc/db/test/btree.tests/main.c
573
char *p, *t;
lib/libc/db/test/btree.tests/main.c
597
for (p = lp + len - 1, t = buf; p >= lp; *t++ = *p--);
lib/libc/db/test/btree.tests/main.c
598
*t = '\0';
lib/libc/db/test/btree.tests/main.c
668
BTREE *t;
lib/libc/db/test/btree.tests/main.c
673
t = db->internal;
lib/libc/db/test/btree.tests/main.c
674
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) {
lib/libc/db/test/btree.tests/main.c
682
mpool_put(t->bt_mp, h, 0);
lib/libc/db/test/dbtest.c
159
if (ofd == STDOUT_FILENO && (t = strchr(p, '\n')) != NULL)
lib/libc/db/test/dbtest.c
160
*t = '\0';
lib/libc/db/test/dbtest.c
85
char *fname, *infoarg, *p, *t, buf[8 * 1024];
lib/libc/db/test/hash.tests/thash4.c
58
time_t t;
lib/libc/gen/disklabel.c
145
gettype(const char *t, const char **names)
lib/libc/gen/disklabel.c
150
if (strcasecmp(t, *nm) == 0)
lib/libc/gen/disklabel.c
152
if (isdigit((unsigned char)*t))
lib/libc/gen/disklabel.c
153
return (atoi(t));
lib/libc/gen/disktab.c
191
gettype(const char *t, const char **names)
lib/libc/gen/disktab.c
196
if (strcasecmp(t, *nm) == 0)
lib/libc/gen/disktab.c
198
if (isdigit((unsigned char)*t))
lib/libc/gen/disktab.c
199
return (atoi(t));
lib/libc/gen/fts.c
295
char *t;
lib/libc/gen/fts.c
426
name: t = sp->fts_path + NAPPEND(p->fts_parent);
lib/libc/gen/fts.c
427
*t++ = '/';
lib/libc/gen/fts.c
428
memmove(t, p->fts_name, p->fts_namelen + 1);
lib/libc/gen/fts.c
855
FTSENT *t;
lib/libc/gen/fts.c
917
for (t = p->fts_parent;
lib/libc/gen/fts.c
918
t->fts_level >= FTS_ROOTLEVEL; t = t->fts_parent)
lib/libc/gen/fts.c
919
if (ino == t->fts_ino && dev == t->fts_dev) {
lib/libc/gen/fts.c
920
p->fts_cycle = t;
lib/libc/gen/getttyent.c
185
char *t;
lib/libc/gen/getttyent.c
188
for (q = 0, t = p; (c = *p) != '\0'; p++) {
lib/libc/gen/getttyent.c
195
*t++ = *p;
lib/libc/gen/getttyent.c
211
*--t = '\0';
lib/libc/gen/getttyent.c
280
struct ttyent *t;
lib/libc/gen/getttyent.c
282
return ((t = getttynam(tty)) == NULL) ? 0 : !!(t->ty_status & flag);
lib/libc/gen/getttyent.c
58
struct ttyent *t;
lib/libc/gen/getttyent.c
63
while ( (t = getttyent()) )
lib/libc/gen/getttyent.c
64
if (!strcmp(tty, t->ty_name))
lib/libc/gen/getttyent.c
67
return (t);
lib/libc/gen/isatty.c
42
struct termios t;
lib/libc/gen/isatty.c
44
retval = (tcgetattr(fd, &t) != -1);
lib/libc/gen/termios.c
125
cfgetospeed(const struct termios *t)
lib/libc/gen/termios.c
128
return (t->c_ospeed);
lib/libc/gen/termios.c
132
cfgetispeed(const struct termios *t)
lib/libc/gen/termios.c
135
return (t->c_ispeed);
lib/libc/gen/termios.c
139
cfsetospeed(struct termios *t, speed_t speed)
lib/libc/gen/termios.c
142
t->c_ospeed = speed;
lib/libc/gen/termios.c
147
cfsetispeed(struct termios *t, speed_t speed)
lib/libc/gen/termios.c
150
t->c_ispeed = speed;
lib/libc/gen/termios.c
155
cfsetspeed(struct termios *t, speed_t speed)
lib/libc/gen/termios.c
158
t->c_ispeed = t->c_ospeed = speed;
lib/libc/gen/termios.c
167
cfmakeraw(struct termios *t)
lib/libc/gen/termios.c
170
t->c_iflag &= ~(IMAXBEL|IXOFF|INPCK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON|IGNPAR);
lib/libc/gen/termios.c
171
t->c_iflag |= IGNBRK;
lib/libc/gen/termios.c
172
t->c_oflag &= ~OPOST;
lib/libc/gen/termios.c
173
t->c_lflag &= ~(ECHO|ECHOE|ECHOK|ECHONL|ICANON|ISIG|IEXTEN|NOFLSH|TOSTOP|PENDIN);
lib/libc/gen/termios.c
174
t->c_cflag &= ~(CSIZE|PARENB);
lib/libc/gen/termios.c
175
t->c_cflag |= CS8|CREAD;
lib/libc/gen/termios.c
176
t->c_cc[VMIN] = 1;
lib/libc/gen/termios.c
177
t->c_cc[VTIME] = 0;
lib/libc/gen/termios.c
185
cfmakesane(struct termios *t)
lib/libc/gen/termios.c
187
t->c_cflag = TTYDEF_CFLAG;
lib/libc/gen/termios.c
188
t->c_iflag = TTYDEF_IFLAG;
lib/libc/gen/termios.c
189
t->c_lflag = TTYDEF_LFLAG;
lib/libc/gen/termios.c
190
t->c_oflag = TTYDEF_OFLAG;
lib/libc/gen/termios.c
191
t->c_ispeed = TTYDEF_SPEED;
lib/libc/gen/termios.c
192
t->c_ospeed = TTYDEF_SPEED;
lib/libc/gen/termios.c
193
memcpy(&t->c_cc, ttydefchars, sizeof ttydefchars);
lib/libc/gen/termios.c
52
tcgetattr(int fd, struct termios *t)
lib/libc/gen/termios.c
55
return (_ioctl(fd, TIOCGETA, t));
lib/libc/gen/termios.c
59
tcsetattr(int fd, int opt, const struct termios *t)
lib/libc/gen/termios.c
64
localterm = *t;
lib/libc/gen/termios.c
66
t = &localterm;
lib/libc/gen/termios.c
70
return (_ioctl(fd, TIOCSETA, t));
lib/libc/gen/termios.c
72
return (_ioctl(fd, TIOCSETAW, t));
lib/libc/gen/termios.c
74
return (_ioctl(fd, TIOCSETAF, t));
lib/libc/gen/time.c
38
time(time_t *t)
lib/libc/gen/time.c
47
if (t != NULL)
lib/libc/gen/time.c
48
*t = retval;
lib/libc/gen/times.c
49
struct timespec t;
lib/libc/gen/times.c
60
if (clock_gettime(CLOCK_MONOTONIC, &t))
lib/libc/gen/times.c
62
c = t.tv_sec * CLK_TCK + t.tv_nsec / (1000000000 / CLK_TCK);
lib/libc/gen/unvis.c
500
char t = '\0', *start = dst;
lib/libc/gen/unvis.c
515
switch (unvis(&t, c, &state, flag)) {
lib/libc/gen/unvis.c
518
*dst++ = t;
lib/libc/gen/unvis.c
522
*dst++ = t;
lib/libc/gen/unvis.c
536
if (unvis(&t, c, &state, UNVIS_END) == UNVIS_VALID) {
lib/libc/gen/unvis.c
538
*dst++ = t;
lib/libc/inet/inet_cidr_ntop.c
70
char *t;
lib/libc/inet/inet_cidr_ntop.c
76
t = dst;
lib/libc/inet/inet_cidr_ntop.c
82
size -= (size_t)(dst - t);
lib/libc/inet/inet_net_ntop.c
101
t = dst;
lib/libc/inet/inet_net_ntop.c
107
size -= (size_t)(dst - t);
lib/libc/inet/inet_net_ntop.c
115
t = dst;
lib/libc/inet/inet_net_ntop.c
120
size -= (size_t)(dst - t);
lib/libc/inet/inet_net_ntop.c
80
char *t;
lib/libc/isc/ev_timers.c
413
evTimer *t = id.opaque;
lib/libc/isc/ev_timers.c
414
idle_timer *tt = t->uap;
lib/libc/isc/ev_timers.c
458
evTimer *t = what;
lib/libc/isc/ev_timers.c
462
FREE(t);
lib/libc/locale/collate.c
283
_collate_lookup(struct xlocale_collate *table, const wchar_t *t, int *len,
lib/libc/locale/collate.c
296
*pri = *t;
lib/libc/locale/collate.c
324
if (((p2 = chainsearch(table, t, &l)) != NULL) &&
lib/libc/locale/collate.c
330
} else if (*t <= UCHAR_MAX) {
lib/libc/locale/collate.c
336
*pri = table->char_pri_table[*t].pri[which];
lib/libc/locale/collate.c
339
((match = largesearch(table, *t)) != NULL)) {
lib/libc/locale/collate.c
352
*pri = (*t & COLLATE_MAX_PRIORITY);
lib/libc/locale/collate.c
391
const wchar_t *t;
lib/libc/locale/collate.c
422
t = src;
lib/libc/locale/collate.c
428
if ((tr = wcsdup(t)) == NULL) {
lib/libc/locale/collate.c
439
t = (const wchar_t *)tr;
lib/libc/locale/collate.c
443
while (*t || state) {
lib/libc/locale/collate.c
444
_collate_lookup(table, t, &len, &pri, pass, &state);
lib/libc/locale/collate.c
445
t += len;
lib/libc/locale/collate.c
462
while (*t || state) {
lib/libc/locale/collate.c
463
_collate_lookup(table, t, &len, &pri, pass, &state);
lib/libc/locale/collate.c
464
t += len;
lib/libc/locale/collate.c
537
const wchar_t *t;
lib/libc/locale/collate.c
570
t = src;
lib/libc/locale/collate.c
576
if ((tr = wcsdup(t)) == NULL) {
lib/libc/locale/collate.c
587
t = (const wchar_t *)tr;
lib/libc/locale/collate.c
591
while (*t || state) {
lib/libc/locale/collate.c
593
_collate_lookup(table, t, &len, &pri, pass, &state);
lib/libc/locale/collate.c
594
t += len;
lib/libc/locale/collate.c
618
while (*t || state) {
lib/libc/locale/collate.c
619
_collate_lookup(table, t, &len, &pri, pass, &state);
lib/libc/locale/collate.c
620
t += len;
lib/libc/locale/collate.c
69
destruct_collate(void *t)
lib/libc/locale/collate.c
71
struct xlocale_collate *table = t;
lib/libc/locale/collate.c
75
free(t);
lib/libc/nameser/ns_print.c
192
u_long t;
lib/libc/nameser/ns_print.c
207
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
209
len = SPRINTF((tmp, "%lu", t));
lib/libc/nameser/ns_print.c
216
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
218
T(len = ns_format_ttl(t, buf, buflen));
lib/libc/nameser/ns_print.c
225
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
227
T(len = ns_format_ttl(t, buf, buflen));
lib/libc/nameser/ns_print.c
234
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
236
T(len = ns_format_ttl(t, buf, buflen));
lib/libc/nameser/ns_print.c
243
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
245
T(len = ns_format_ttl(t, buf, buflen));
lib/libc/nameser/ns_print.c
257
u_int t;
lib/libc/nameser/ns_print.c
263
t = ns_get16(rdata);
lib/libc/nameser/ns_print.c
265
len = SPRINTF((tmp, "%u ", t));
lib/libc/nameser/ns_print.c
275
u_int t;
lib/libc/nameser/ns_print.c
281
t = ns_get16(rdata);
lib/libc/nameser/ns_print.c
283
len = SPRINTF((tmp, "%u ", t));
lib/libc/nameser/ns_print.c
315
char t[2+255*3];
lib/libc/nameser/ns_print.c
317
(void) inet_nsap_ntoa(rdlen, rdata, t);
lib/libc/nameser/ns_print.c
318
T(addstr(t, strlen(t), &buf, &buflen));
lib/libc/nameser/ns_print.c
330
char t[255];
lib/libc/nameser/ns_print.c
333
(void) loc_ntoa(rdata, t);
lib/libc/nameser/ns_print.c
334
T(addstr(t, strlen(t), &buf, &buflen));
lib/libc/nameser/ns_print.c
340
char t[50];
lib/libc/nameser/ns_print.c
348
len = SPRINTF((t, "%u %u ", order, preference));
lib/libc/nameser/ns_print.c
349
T(addstr(t, len, &buf, &buflen));
lib/libc/nameser/ns_print.c
381
char t[50];
lib/libc/nameser/ns_print.c
390
len = SPRINTF((t, "%u %u %u ", priority, weight, port));
lib/libc/nameser/ns_print.c
391
T(addstr(t, len, &buf, &buflen));
lib/libc/nameser/ns_print.c
500
u_long t;
lib/libc/nameser/ns_print.c
510
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
512
p_type(type), algorithm, labels, t));
lib/libc/nameser/ns_print.c
518
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
519
len = SPRINTF((tmp, "%s ", p_secstodate(t)));
lib/libc/nameser/ns_print.c
523
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
524
len = SPRINTF((tmp, "%s ", p_secstodate(t)));
lib/libc/nameser/ns_print.c
617
u_long t;
lib/libc/nameser/ns_print.c
625
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
626
len = SPRINTF((tmp, "%s ", p_secstodate(t)));
lib/libc/nameser/ns_print.c
630
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
631
len = SPRINTF((tmp, "%s ", p_secstodate(t)));
lib/libc/nameser/ns_print.c
887
int t;
lib/libc/nameser/ns_print.c
893
for (t = (target - len - 1) / 8; t >= 0; 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
2364
struct res_target *t;
lib/libc/net/getaddrinfo.c
2377
for (t = target; t; t = t->next) {
lib/libc/net/getaddrinfo.c
2382
hp = (HEADER *)(void *)t->answer;
lib/libc/net/getaddrinfo.c
2385
class = t->qclass;
lib/libc/net/getaddrinfo.c
2386
type = t->qtype;
lib/libc/net/getaddrinfo.c
2387
answer = t->answer;
lib/libc/net/getaddrinfo.c
2388
anslen = t->anslen;
lib/libc/net/getaddrinfo.c
2450
t->n = n;
lib/libc/net/name6.c
586
char t;
lib/libc/net/name6.c
621
t = order[i];
lib/libc/net/name6.c
623
order[j] = t;
lib/libc/resolv/herror.c
101
DE_CONST(s, t);
lib/libc/resolv/herror.c
102
v->iov_base = t;
lib/libc/resolv/herror.c
103
v->iov_len = strlen(t);
lib/libc/resolv/herror.c
105
DE_CONST(": ", t);
lib/libc/resolv/herror.c
106
v->iov_base = t;
lib/libc/resolv/herror.c
110
DE_CONST(hstrerror(*__h_errno()), t);
lib/libc/resolv/herror.c
111
v->iov_base = t;
lib/libc/resolv/herror.c
114
DE_CONST("\n", t);
lib/libc/resolv/herror.c
115
v->iov_base = t;
lib/libc/resolv/herror.c
98
char *t;
lib/libc/resolv/res_findzonecut.c
320
const char *t;
lib/libc/resolv/res_findzonecut.c
335
t = ns_rr_name(rr);
lib/libc/resolv/res_findzonecut.c
338
if (ns_samedomain(dname, t) == 0) {
lib/libc/resolv/res_findzonecut.c
341
dname, t)
lib/libc/resolv/res_findzonecut.c
348
if (ns_samename(dname, t) == 1 ||
lib/libc/resolv/res_findzonecut.c
349
ns_samedomain(dname, t) == 0) {
lib/libc/resolv/res_findzonecut.c
352
dname, t)
lib/libc/resolv/res_findzonecut.c
361
if (strlen(t) + 1 > zsize) {
lib/libc/resolv/res_findzonecut.c
364
(unsigned long)strlen(t) + 1));
lib/libc/resolv/res_findzonecut.c
368
strcpy(zname, t);
lib/libc/rpc/clnt_bcast.c
242
struct timeval t;
lib/libc/rpc/clnt_bcast.c
367
gettimeofday(&t, NULL);
lib/libc/rpc/clnt_bcast.c
368
msg.rm_xid = __RPC_GETXID(&t);
lib/libc/rpc/clnt_dg.c
761
time_not_ok(struct timeval *t)
lib/libc/rpc/clnt_dg.c
763
return (t->tv_sec < -1 || t->tv_sec > 100000000 ||
lib/libc/rpc/clnt_dg.c
764
t->tv_usec < -1 || t->tv_usec > 1000000);
lib/libc/rpc/clnt_vc.c
749
time_not_ok(struct timeval *t)
lib/libc/rpc/clnt_vc.c
751
return (t->tv_sec <= -1 || t->tv_sec > 100000000 ||
lib/libc/rpc/clnt_vc.c
752
t->tv_usec <= -1 || t->tv_usec > 1000000);
lib/libc/rpc/rpc_generic.c
185
char *t = p;
lib/libc/rpc/rpc_generic.c
190
return (t);
lib/libc/stdio/fflush.c
103
int n, t;
lib/libc/stdio/fflush.c
105
t = fp->pub._flags;
lib/libc/stdio/fflush.c
106
if ((t & __SWR) == 0)
lib/libc/stdio/fflush.c
119
fp->pub._w = t & (__SLBF|__SNBF) ? 0 : fp->_bf._size;
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
53
unsigned char *p, *t;
lib/libc/stdio/fgets.c
87
t = memchr((void *)p, '\n', len);
lib/libc/stdio/fgets.c
88
if (t != NULL) {
lib/libc/stdio/fgets.c
89
len = ++t - p;
lib/libc/stdio/fgets.c
91
fp->pub._p = t;
lib/libc/stdio/printfcommon.h
270
CHAR *p, *t;
lib/libc/stdio/printfcommon.h
281
t = expbuf + MAXEXPDIG;
lib/libc/stdio/printfcommon.h
284
*--t = to_char(exp % 10);
lib/libc/stdio/printfcommon.h
286
*--t = to_char(exp);
lib/libc/stdio/printfcommon.h
287
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
56
const char *str, *p, *t, *o;
lib/libc/stdio/xprintf_quote.c
73
for (t = p = str; *p; p++) {
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_quote.c
96
t = p + 1;
lib/libc/stdio/xprintf_quote.c
98
if (p != t)
lib/libc/stdio/xprintf_quote.c
99
ret += __printf_out(io, pi, t, p - t);
lib/libc/stdio/xprintf_time.c
100
t %= HOUR;
lib/libc/stdio/xprintf_time.c
102
if (t >= MINUTE && t != 0) {
lib/libc/stdio/xprintf_time.c
103
p += sprintf(p, "%jdm", t / MINUTE);
lib/libc/stdio/xprintf_time.c
104
t %= MINUTE;
lib/libc/stdio/xprintf_time.c
106
if (t != 0 || tx == 0)
lib/libc/stdio/xprintf_time.c
107
p += sprintf(p, "%jds", t);
lib/libc/stdio/xprintf_time.c
109
p += sprintf(p, "%jd", (intmax_t)t);
lib/libc/stdio/xprintf_time.c
68
intmax_t t, tx;
lib/libc/stdio/xprintf_time.c
74
t = tv->tv_sec;
lib/libc/stdio/xprintf_time.c
79
t = ts->tv_sec;
lib/libc/stdio/xprintf_time.c
84
t = *tp;
lib/libc/stdio/xprintf_time.c
89
tx = t;
lib/libc/stdio/xprintf_time.c
90
if (t >= YEAR) {
lib/libc/stdio/xprintf_time.c
91
p += sprintf(p, "%jdy", t / YEAR);
lib/libc/stdio/xprintf_time.c
92
t %= YEAR;
lib/libc/stdio/xprintf_time.c
94
if (t >= DAY && t != 0) {
lib/libc/stdio/xprintf_time.c
95
p += sprintf(p, "%jdd", t / DAY);
lib/libc/stdio/xprintf_time.c
96
t %= DAY;
lib/libc/stdio/xprintf_time.c
98
if (t >= HOUR && t != 0) {
lib/libc/stdio/xprintf_time.c
99
p += sprintf(p, "%jdh", t / HOUR);
lib/libc/stdlib/heapsort.c
142
char *base, *k, *p, *t;
lib/libc/stdlib/heapsort.c
162
CREATE(l, nmemb, i, j, t, p, size, cnt, tmp);
lib/libc/stdlib/heapsort.c
173
SELECT(i, j, nmemb, t, p, size, k, cnt, tmp1, tmp2);
lib/libc/stdlib/merge.c
101
u_char *f1, *f2, *t, *b, *tp2, *q, *l1, *l2;
lib/libc/stdlib/merge.c
140
b = f1, t = l1;
lib/libc/stdlib/merge.c
144
b = f2, t = l2;
lib/libc/stdlib/merge.c
148
while ((b += size) < t && cmp(q, b) >sense)
lib/libc/stdlib/merge.c
155
if ((p = (b + i)) >= t) {
lib/libc/stdlib/merge.c
156
if ((p = t - size) > b &&
lib/libc/stdlib/merge.c
158
t = p;
lib/libc/stdlib/merge.c
163
t = p;
lib/libc/stdlib/merge.c
169
while (t > b+size) {
lib/libc/stdlib/merge.c
170
i = (((t - b) / size) >> 1) * size;
lib/libc/stdlib/merge.c
172
t = p;
lib/libc/stdlib/merge.c
180
t = p;
lib/libc/stdlib/merge.c
183
COPY: b = t;
lib/libc/stdlib/merge.c
331
u_char *ai, *s, *t, *u, tmp;
lib/libc/stdlib/merge.c
335
for (t = ai; t > a; t -= size) {
lib/libc/stdlib/merge.c
336
u = t - size;
lib/libc/stdlib/merge.c
337
if (cmp(u, t) <= 0)
lib/libc/stdlib/merge.c
339
swap(u, t);
lib/libc/stdlib/qsort.c
54
TYPE t = *pi; \
lib/libc/stdlib/qsort.c
56
*pj++ = t; \
lib/libc/stdlib/qsort.c
74
long t = *(long *)(a); \
lib/libc/stdlib/qsort.c
76
*(long *)(b) = t; \
lib/libc/stdlib/qsort.c
83
#define CMP(t, x, y) (cmp((t), (x), (y)))
lib/libc/stdlib/qsort.c
85
#define CMP(t, x, y) (cmp((x), (y)))
lib/libc/stdlib/radixsort.c
121
#define swap(a, b, t) t = a, a = b, b = t
lib/libc/stdlib/radixsort.c
132
const u_char **an, *t, **aj, **top[256];
lib/libc/stdlib/radixsort.c
217
swap(*ak, r, t);
lib/libc/stdlib/radixsort.c
296
const u_char **ak, **ai, *s, *t;
lib/libc/stdlib/radixsort.c
300
for (s = ai[0] + b, t = ai[-1] + b;
lib/libc/stdlib/radixsort.c
301
(ch = tr[*s]) != endch; s++, t++)
lib/libc/stdlib/radixsort.c
302
if (ch != tr[*t])
lib/libc/stdlib/radixsort.c
304
if (ch >= tr[*t])
lib/libc/stdlib/strsuftoll.c
111
long long num, t;
lib/libc/stdlib/strsuftoll.c
136
t = num;
lib/libc/stdlib/strsuftoll.c
138
if (t > num)
lib/libc/stdlib/strsuftoll.c
143
t = num;
lib/libc/stdlib/strsuftoll.c
145
if (t > num)
lib/libc/stdlib/strsuftoll.c
150
t = num;
lib/libc/stdlib/strsuftoll.c
152
if (t > num)
lib/libc/stdlib/strsuftoll.c
157
t = num;
lib/libc/stdlib/strsuftoll.c
159
if (t > num)
lib/libc/stdlib/strsuftoll.c
164
t = num;
lib/libc/stdlib/strsuftoll.c
166
if (t > num)
lib/libc/stdlib/strsuftoll.c
171
t = num;
lib/libc/stdlib/strsuftoll.c
173
if (t > num)
lib/libc/stdlib/strsuftoll.c
184
t = num;
lib/libc/stdlib/strsuftoll.c
189
if (t > num) {
lib/libc/stdtime/localtime.c
1285
const time_t t = *timep;
lib/libc/stdtime/localtime.c
1289
if ((sp->goback && t < sp->ats[0]) ||
lib/libc/stdtime/localtime.c
1290
(sp->goahead && t > sp->ats[sp->timecnt - 1])) {
lib/libc/stdtime/localtime.c
1291
time_t newt = t;
lib/libc/stdtime/localtime.c
1295
if (t < sp->ats[0])
lib/libc/stdtime/localtime.c
1296
seconds = sp->ats[0] - t;
lib/libc/stdtime/localtime.c
1297
else seconds = t - sp->ats[sp->timecnt - 1];
lib/libc/stdtime/localtime.c
1301
if (t < sp->ats[0])
lib/libc/stdtime/localtime.c
1312
if (t < sp->ats[0])
lib/libc/stdtime/localtime.c
1321
if (sp->timecnt == 0 || t < sp->ats[0]) {
lib/libc/stdtime/localtime.c
1330
if (t < sp->ats[mid])
lib/libc/stdtime/localtime.c
1343
result = timesub(&t, ttisp->tt_gmtoff, sp, tmp);
lib/libc/stdtime/localtime.c
168
static int increment_overflow_time(time_t *t, int_fast32_t delta);
lib/libc/stdtime/localtime.c
1761
time_t t;
lib/libc/stdtime/localtime.c
1837
t = lo / 2 + hi / 2;
lib/libc/stdtime/localtime.c
1838
if (t < lo)
lib/libc/stdtime/localtime.c
1839
t = lo;
lib/libc/stdtime/localtime.c
1840
else if (t > hi)
lib/libc/stdtime/localtime.c
1841
t = hi;
lib/libc/stdtime/localtime.c
1842
if ((*funcp)(&t, offset, &mytm) == NULL) {
lib/libc/stdtime/localtime.c
1848
dir = (t > 0) ? 1 : -1;
lib/libc/stdtime/localtime.c
1851
if (t == lo) {
lib/libc/stdtime/localtime.c
1852
if (t == time_t_max)
lib/libc/stdtime/localtime.c
1854
++t;
lib/libc/stdtime/localtime.c
1856
} else if (t == hi) {
lib/libc/stdtime/localtime.c
1857
if (t == time_t_min)
lib/libc/stdtime/localtime.c
1859
--t;
lib/libc/stdtime/localtime.c
1865
hi = t;
lib/libc/stdtime/localtime.c
1866
else lo = t;
lib/libc/stdtime/localtime.c
1886
newt = t + sp->ttis[j].tt_gmtoff -
lib/libc/stdtime/localtime.c
1897
t = newt;
lib/libc/stdtime/localtime.c
1904
newt = t + saved_seconds;
lib/libc/stdtime/localtime.c
1905
if ((newt < t) != (saved_seconds < 0))
lib/libc/stdtime/localtime.c
1907
t = newt;
lib/libc/stdtime/localtime.c
1908
if ((*funcp)(&t, offset, tmp))
lib/libc/stdtime/localtime.c
1910
return t;
lib/libc/stdtime/localtime.c
1918
time_t t;
lib/libc/stdtime/localtime.c
1925
t = time2sub(tmp, funcp, offset, okayp, FALSE);
lib/libc/stdtime/localtime.c
1926
return *okayp ? t : time2sub(tmp, funcp, offset, okayp, TRUE);
lib/libc/stdtime/localtime.c
1934
time_t t;
lib/libc/stdtime/localtime.c
1950
t = time2(tmp, funcp, offset, &okay);
lib/libc/stdtime/localtime.c
1956
return t;
lib/libc/stdtime/localtime.c
1987
t = time2(tmp, funcp, offset, &okay);
lib/libc/stdtime/localtime.c
1989
return t;
lib/libc/stdtime/localtime.c
2063
time2posix(time_t t)
lib/libc/stdtime/localtime.c
2066
return t - leapcorr(&t);
lib/libc/stdtime/localtime.c
2070
posix2time(time_t t)
lib/libc/stdtime/localtime.c
2082
x = t + leapcorr(&t);
lib/libc/stdtime/localtime.c
2084
if (y < t) {
lib/libc/stdtime/localtime.c
2088
} while (y < t);
lib/libc/stdtime/localtime.c
2089
if (t != y)
lib/libc/stdtime/localtime.c
2091
} else if (y > t) {
lib/libc/stdtime/localtime.c
2095
} while (y > t);
lib/libc/stdtime/localtime.c
2096
if (t != y)
lib/libc/stdtime/strftime.c
112
const struct tm * __restrict t)
lib/libc/stdtime/strftime.c
114
return strftime_l(s, maxsize, format, t, __get_locale());
lib/libc/stdtime/strftime.c
118
_fmt(const char *format, const struct tm * const t, char *pt,
lib/libc/stdtime/strftime.c
135
pt = _add((t->tm_wday < 0 ||
lib/libc/stdtime/strftime.c
136
t->tm_wday >= DAYSPERWEEK) ?
lib/libc/stdtime/strftime.c
137
"?" : tptr->weekday[t->tm_wday],
lib/libc/stdtime/strftime.c
141
pt = _add((t->tm_wday < 0 ||
lib/libc/stdtime/strftime.c
142
t->tm_wday >= DAYSPERWEEK) ?
lib/libc/stdtime/strftime.c
143
"?" : tptr->wday[t->tm_wday],
lib/libc/stdtime/strftime.c
147
pt = _add((t->tm_mon < 0 ||
lib/libc/stdtime/strftime.c
148
t->tm_mon >= MONSPERYEAR) ?
lib/libc/stdtime/strftime.c
150
tptr->month)[t->tm_mon],
lib/libc/stdtime/strftime.c
155
pt = _add((t->tm_mon < 0 ||
lib/libc/stdtime/strftime.c
156
t->tm_mon >= MONSPERYEAR) ?
lib/libc/stdtime/strftime.c
157
"?" : tptr->mon[t->tm_mon],
lib/libc/stdtime/strftime.c
168
pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 0,
lib/libc/stdtime/strftime.c
175
pt = _fmt(tptr->c_fmt, t, pt, ptlim, &warn2, loc);
lib/libc/stdtime/strftime.c
183
pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp, loc);
lib/libc/stdtime/strftime.c
186
pt = _conv(t->tm_mday, fmt_padding[PAD_FMT_DAYOFMONTH][PadIndex],
lib/libc/stdtime/strftime.c
212
pt = _conv(t->tm_mday,
lib/libc/stdtime/strftime.c
216
pt = _fmt("%Y-%m-%d", t, pt, ptlim, warnp, loc);
lib/libc/stdtime/strftime.c
219
pt = _conv(t->tm_hour, fmt_padding[PAD_FMT_HMS][PadIndex],
lib/libc/stdtime/strftime.c
223
pt = _conv((t->tm_hour % 12) ?
lib/libc/stdtime/strftime.c
224
(t->tm_hour % 12) : 12,
lib/libc/stdtime/strftime.c
228
pt = _conv(t->tm_yday + 1,
lib/libc/stdtime/strftime.c
242
pt = _conv(t->tm_hour, fmt_padding[PAD_FMT_SHMS][PadIndex],
lib/libc/stdtime/strftime.c
263
pt = _conv((t->tm_hour % 12) ?
lib/libc/stdtime/strftime.c
264
(t->tm_hour % 12) : 12,
lib/libc/stdtime/strftime.c
268
pt = _conv(t->tm_min, fmt_padding[PAD_FMT_HMS][PadIndex],
lib/libc/stdtime/strftime.c
272
pt = _conv(t->tm_mon + 1,
lib/libc/stdtime/strftime.c
279
pt = _add((t->tm_hour >= (HOURSPERDAY / 2)) ?
lib/libc/stdtime/strftime.c
285
pt = _fmt("%H:%M", t, pt, ptlim, warnp, loc);
lib/libc/stdtime/strftime.c
288
pt = _fmt(tptr->ampm_fmt, t, pt, ptlim,
lib/libc/stdtime/strftime.c
292
pt = _conv(t->tm_sec, fmt_padding[PAD_FMT_HMS][PadIndex],
lib/libc/stdtime/strftime.c
302
tm = *t;
lib/libc/stdtime/strftime.c
315
pt = _fmt("%H:%M:%S", t, pt, ptlim, warnp, loc);
lib/libc/stdtime/strftime.c
321
pt = _conv((t->tm_yday + DAYSPERWEEK -
lib/libc/stdtime/strftime.c
322
t->tm_wday) / DAYSPERWEEK,
lib/libc/stdtime/strftime.c
332
pt = _conv((t->tm_wday == 0) ?
lib/libc/stdtime/strftime.c
333
DAYSPERWEEK : t->tm_wday,
lib/libc/stdtime/strftime.c
364
year = t->tm_year;
lib/libc/stdtime/strftime.c
366
yday = t->tm_yday;
lib/libc/stdtime/strftime.c
367
wday = t->tm_wday;
lib/libc/stdtime/strftime.c
408
t->tm_mon == TM_JANUARY) ||
lib/libc/stdtime/strftime.c
410
t->tm_mon == TM_DECEMBER))
lib/libc/stdtime/strftime.c
430
pt = _fmt("%e-%b-%Y", t, pt, ptlim, warnp, loc);
lib/libc/stdtime/strftime.c
433
pt = _conv((t->tm_yday + DAYSPERWEEK -
lib/libc/stdtime/strftime.c
434
(t->tm_wday ?
lib/libc/stdtime/strftime.c
435
(t->tm_wday - 1) :
lib/libc/stdtime/strftime.c
440
pt = _conv(t->tm_wday, "%d", pt, ptlim);
lib/libc/stdtime/strftime.c
443
pt = _fmt(tptr->X_fmt, t, pt, ptlim, warnp, loc);
lib/libc/stdtime/strftime.c
449
pt = _fmt(tptr->x_fmt, t, pt, ptlim, &warn2, loc);
lib/libc/stdtime/strftime.c
458
pt = _yconv(t->tm_year, TM_YEAR_BASE, 0, 1,
lib/libc/stdtime/strftime.c
462
pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 1,
lib/libc/stdtime/strftime.c
466
if (t->TM_ZONE != NULL)
lib/libc/stdtime/strftime.c
467
pt = _add(t->TM_ZONE, pt, ptlim);
lib/libc/stdtime/strftime.c
469
if (t->tm_isdst >= 0)
lib/libc/stdtime/strftime.c
470
pt = _add(tzname[t->tm_isdst != 0],
lib/libc/stdtime/strftime.c
483
if (t->tm_isdst < 0)
lib/libc/stdtime/strftime.c
485
diff = t->TM_GMTOFF;
lib/libc/stdtime/strftime.c
500
pt = _fmt(tptr->date_fmt, t, pt, ptlim,
lib/libc/stdtime/strftime.c
79
const struct tm * __restrict t, locale_t loc)
lib/libc/stdtime/strftime.c
87
p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn, loc);
lib/libc/stdtime/strptime.c
485
time_t t;
lib/libc/stdtime/strptime.c
490
if (errno == ERANGE || (long)(t = n) != n) {
lib/libc/stdtime/strptime.c
496
if (gmtime_r(&t, tm) == NULL)
lib/libc/stdtime/strptime.c
688
time_t t = timegm(tm);
lib/libc/stdtime/strptime.c
690
localtime_r(&t, tm);
lib/libc/stdtime/time32.c
35
_time_to_time32(time_t t)
lib/libc/stdtime/time32.c
37
return((__int32_t)t);
lib/libc/stdtime/time32.c
56
_time_to_time64(time_t t)
lib/libc/stdtime/time32.c
58
return((__int64_t)t);
lib/libc/stdtime/time32.c
66
_time_to_long(time_t t)
lib/libc/stdtime/time32.c
69
return(_time_to_time64(t));
lib/libc/stdtime/time32.c
70
return((long)t);
lib/libc/stdtime/time32.c
86
_time_to_int(time_t t)
lib/libc/stdtime/time32.c
89
return(_time_to_time64(t));
lib/libc/stdtime/time32.c
90
return((int)t);
lib/libc/string/bcopy.c
102
t = length / wsize;
lib/libc/string/bcopy.c
104
t = length & wmask;
lib/libc/string/bcopy.c
114
t = (uintptr_t)src;
lib/libc/string/bcopy.c
115
if ((t | (uintptr_t)dst) & wmask) {
lib/libc/string/bcopy.c
116
if ((t ^ (uintptr_t)dst) & wmask || length <= wsize)
lib/libc/string/bcopy.c
117
t = length;
lib/libc/string/bcopy.c
119
t &= wmask;
lib/libc/string/bcopy.c
120
length -= t;
lib/libc/string/bcopy.c
123
t = length / wsize;
lib/libc/string/bcopy.c
125
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
36
memccpy(void *t, const void *f, int c, size_t n)
lib/libc/string/memccpy.c
40
unsigned char *tp = t;
lib/libc/string/memset.c
103
if ((t = (long)dst & wmask) != 0) {
lib/libc/string/memset.c
104
t = wsize - t;
lib/libc/string/memset.c
105
length -= t;
lib/libc/string/memset.c
108
} while (--t != 0);
lib/libc/string/memset.c
112
t = length / wsize;
lib/libc/string/memset.c
116
} while (--t != 0);
lib/libc/string/memset.c
119
t = length & wmask;
lib/libc/string/memset.c
120
if (t != 0)
lib/libc/string/memset.c
123
} while (--t != 0);
lib/libc/string/memset.c
63
size_t t;
lib/libc/string/strerror.c
63
char *t;
lib/libc/string/strerror.c
67
t = tmp + sizeof(tmp);
lib/libc/string/strerror.c
68
*--t = '\0';
lib/libc/string/strerror.c
71
*--t = "0123456789"[uerr % 10];
lib/libc/string/strerror.c
74
*--t = '-';
lib/libc/string/strerror.c
75
*--t = ' ';
lib/libc/string/strerror.c
76
*--t = ':';
lib/libc/string/strerror.c
78
strlcat(buf, t, len);
lib/libc/string/strsignal.c
125
t = tmp;
lib/libc/string/strsignal.c
127
*t++ = "0123456789"[signum % 10];
lib/libc/string/strsignal.c
130
*t++ = '-';
lib/libc/string/strsignal.c
137
*p++ = *--t;
lib/libc/string/strsignal.c
138
if (t <= tmp)
lib/libc/string/strsignal.c
94
char *t, *p;
lib/libc/upmap/ukp_setproctitle.c
63
size_t t;
lib/libc/upmap/ukp_setproctitle.c
72
t = UKPLEN_DECODE(UPTYPE_PROC_TITLE);
lib/libc/upmap/ukp_setproctitle.c
77
n = snprintf(sptbuf, t, "%s: ", _getprogname());
lib/libc/upmap/ukp_setproctitle.c
79
vsnprintf(sptbuf + n, t - n, fmt, ap);
lib/libc/yp/yplib.c
148
time_t t;
lib/libc/yp/yplib.c
150
time(&t);
lib/libc/yp/yplib.c
153
if (t >= c->ypc_expire_t) {
lib/libcompat/4.1/ftime.c
42
struct timeval t;
lib/libcompat/4.1/ftime.c
44
if (gettimeofday(&t, &tz) < 0)
lib/libcompat/4.1/ftime.c
46
tbp->millitm = t.tv_usec / 1000;
lib/libcompat/4.1/ftime.c
47
tbp->time = t.tv_sec;
lib/libcompat/4.3/rexec.c
101
struct toktab *t;
lib/libcompat/4.3/rexec.c
129
for (t = toktab; t->tokstr; t++)
lib/libcompat/4.3/rexec.c
130
if (!strcmp(t->tokstr, tokval))
lib/libcompat/4.3/rexec.c
131
return (t->tval);
lib/libcompat/4.3/rexec.c
140
int t, i, c, usedefault = 0;
lib/libcompat/4.3/rexec.c
160
while ((t = token())) switch(t) {
lib/libcompat/4.3/rexec.c
185
while ((t = token()) && t != MACH && t != DEFAULT) switch(t) {
lib/libcrypt/crypt-sha256.c
104
for (unsigned int t = 0; t < 16; ++t)
lib/libcrypt/crypt-sha256.c
106
W[t] = SWAP (*words);
lib/libcrypt/crypt-sha256.c
109
for (unsigned int t = 16; t < 64; ++t)
lib/libcrypt/crypt-sha256.c
110
W[t] = R1 (W[t - 2]) + W[t - 7] + R0 (W[t - 15]) + W[t - 16];
lib/libcrypt/crypt-sha256.c
113
for (unsigned int t = 0; t < 64; ++t)
lib/libcrypt/crypt-sha256.c
115
uint32_t T1 = h + S1 (e) + Ch (e, f, g) + K[t] + W[t];
lib/libcrypt/crypt-sha512.c
135
for (unsigned int t = 0; t < 16; ++t)
lib/libcrypt/crypt-sha512.c
137
W[t] = SWAP (*words);
lib/libcrypt/crypt-sha512.c
140
for (unsigned int t = 16; t < 80; ++t)
lib/libcrypt/crypt-sha512.c
141
W[t] = R1 (W[t - 2]) + W[t - 7] + R0 (W[t - 15]) + W[t - 16];
lib/libcrypt/crypt-sha512.c
144
for (unsigned int t = 0; t < 80; ++t)
lib/libcrypt/crypt-sha512.c
146
uint64_t T1 = h + S1 (e) + Ch (e, f, g) + K[t] + W[t];
lib/libexecinfo/private_libelf.h
1008
_libelf_fsize(Elf_Type t, int ec, unsigned int v, size_t c)
lib/libexecinfo/private_libelf.h
1015
else if ((int) t < ELF_T_FIRST || t > ELF_T_LAST)
lib/libexecinfo/private_libelf.h
1018
sz = ec == ELFCLASS64 ? tfsize[t].fsz64 : /* tfsize[t].fsz32 */ 0;
lib/libexecinfo/private_libelf.h
1028
elf64_fsize(Elf_Type t, size_t c, unsigned int v)
lib/libexecinfo/private_libelf.h
1030
return (_libelf_fsize(t, ELFCLASS64, v, c));
lib/libexecinfo/private_libelf.h
1384
Elf64_Addr t, *d = (Elf64_Addr *) (uintptr_t) dst;
lib/libexecinfo/private_libelf.h
1396
READ_ADDR64(src,t);
lib/libexecinfo/private_libelf.h
1397
SWAP_ADDR64(t);
lib/libexecinfo/private_libelf.h
1398
*d++ = t;
lib/libexecinfo/private_libelf.h
1408
Elf64_Cap t, *d;
lib/libexecinfo/private_libelf.h
1422
READ_XWORD(s,t.c_tag);
lib/libexecinfo/private_libelf.h
1423
READ_XWORD(s,t.c_un.c_val);
lib/libexecinfo/private_libelf.h
1427
SWAP_XWORD(t.c_tag);
lib/libexecinfo/private_libelf.h
1428
SWAP_XWORD(t.c_un.c_val);
lib/libexecinfo/private_libelf.h
1431
*d-- = t; s0 -= fsz;
lib/libexecinfo/private_libelf.h
1441
Elf64_Dyn t, *d;
lib/libexecinfo/private_libelf.h
1455
READ_SXWORD(s,t.d_tag);
lib/libexecinfo/private_libelf.h
1456
READ_XWORD(s,t.d_un.d_ptr);
lib/libexecinfo/private_libelf.h
1460
SWAP_SXWORD(t.d_tag);
lib/libexecinfo/private_libelf.h
1461
SWAP_XWORD(t.d_un.d_ptr);
lib/libexecinfo/private_libelf.h
1464
*d-- = t; s0 -= fsz;
lib/libexecinfo/private_libelf.h
1474
Elf64_Ehdr t, *d;
lib/libexecinfo/private_libelf.h
1488
READ_IDENT(s,t.e_ident);
lib/libexecinfo/private_libelf.h
1489
READ_HALF(s,t.e_type);
lib/libexecinfo/private_libelf.h
1490
READ_HALF(s,t.e_machine);
lib/libexecinfo/private_libelf.h
1491
READ_WORD(s,t.e_version);
lib/libexecinfo/private_libelf.h
1492
READ_ADDR64(s,t.e_entry);
lib/libexecinfo/private_libelf.h
1493
READ_OFF64(s,t.e_phoff);
lib/libexecinfo/private_libelf.h
1494
READ_OFF64(s,t.e_shoff);
lib/libexecinfo/private_libelf.h
1495
READ_WORD(s,t.e_flags);
lib/libexecinfo/private_libelf.h
1496
READ_HALF(s,t.e_ehsize);
lib/libexecinfo/private_libelf.h
1497
READ_HALF(s,t.e_phentsize);
lib/libexecinfo/private_libelf.h
1498
READ_HALF(s,t.e_phnum);
lib/libexecinfo/private_libelf.h
1499
READ_HALF(s,t.e_shentsize);
lib/libexecinfo/private_libelf.h
1500
READ_HALF(s,t.e_shnum);
lib/libexecinfo/private_libelf.h
1501
READ_HALF(s,t.e_shstrndx);
lib/libexecinfo/private_libelf.h
1505
SWAP_IDENT(t.e_ident);
lib/libexecinfo/private_libelf.h
1506
SWAP_HALF(t.e_type);
lib/libexecinfo/private_libelf.h
1507
SWAP_HALF(t.e_machine);
lib/libexecinfo/private_libelf.h
1508
SWAP_WORD(t.e_version);
lib/libexecinfo/private_libelf.h
1509
SWAP_ADDR64(t.e_entry);
lib/libexecinfo/private_libelf.h
1510
SWAP_OFF64(t.e_phoff);
lib/libexecinfo/private_libelf.h
1511
SWAP_OFF64(t.e_shoff);
lib/libexecinfo/private_libelf.h
1512
SWAP_WORD(t.e_flags);
lib/libexecinfo/private_libelf.h
1513
SWAP_HALF(t.e_ehsize);
lib/libexecinfo/private_libelf.h
1514
SWAP_HALF(t.e_phentsize);
lib/libexecinfo/private_libelf.h
1515
SWAP_HALF(t.e_phnum);
lib/libexecinfo/private_libelf.h
1516
SWAP_HALF(t.e_shentsize);
lib/libexecinfo/private_libelf.h
1517
SWAP_HALF(t.e_shnum);
lib/libexecinfo/private_libelf.h
1518
SWAP_HALF(t.e_shstrndx);
lib/libexecinfo/private_libelf.h
1521
*d-- = t; s0 -= fsz;
lib/libexecinfo/private_libelf.h
1531
Elf64_Half t, *d = (Elf64_Half *) (uintptr_t) dst;
lib/libexecinfo/private_libelf.h
1543
READ_HALF(src,t);
lib/libexecinfo/private_libelf.h
1544
SWAP_HALF(t);
lib/libexecinfo/private_libelf.h
1545
*d++ = t;
lib/libexecinfo/private_libelf.h
1555
Elf64_Lword t, *d = (Elf64_Lword *) (uintptr_t) dst;
lib/libexecinfo/private_libelf.h
1567
READ_LWORD(src,t);
lib/libexecinfo/private_libelf.h
1568
SWAP_LWORD(t);
lib/libexecinfo/private_libelf.h
1569
*d++ = t;
lib/libexecinfo/private_libelf.h
1579
Elf64_Move t, *d;
lib/libexecinfo/private_libelf.h
1593
READ_LWORD(s,t.m_value);
lib/libexecinfo/private_libelf.h
1594
READ_XWORD(s,t.m_info);
lib/libexecinfo/private_libelf.h
1595
READ_XWORD(s,t.m_poffset);
lib/libexecinfo/private_libelf.h
1596
READ_HALF(s,t.m_repeat);
lib/libexecinfo/private_libelf.h
1597
READ_HALF(s,t.m_stride);
lib/libexecinfo/private_libelf.h
1601
SWAP_LWORD(t.m_value);
lib/libexecinfo/private_libelf.h
1602
SWAP_XWORD(t.m_info);
lib/libexecinfo/private_libelf.h
1603
SWAP_XWORD(t.m_poffset);
lib/libexecinfo/private_libelf.h
1604
SWAP_HALF(t.m_repeat);
lib/libexecinfo/private_libelf.h
1605
SWAP_HALF(t.m_stride);
lib/libexecinfo/private_libelf.h
1608
*d-- = t; s0 -= fsz;
lib/libexecinfo/private_libelf.h
1618
Elf64_Off t, *d = (Elf64_Off *) (uintptr_t) dst;
lib/libexecinfo/private_libelf.h
1630
READ_OFF64(src,t);
lib/libexecinfo/private_libelf.h
1631
SWAP_OFF64(t);
lib/libexecinfo/private_libelf.h
1632
*d++ = t;
lib/libexecinfo/private_libelf.h
1642
Elf64_Phdr t, *d;
lib/libexecinfo/private_libelf.h
1656
READ_WORD(s,t.p_type);
lib/libexecinfo/private_libelf.h
1657
READ_WORD(s,t.p_flags);
lib/libexecinfo/private_libelf.h
1658
READ_OFF64(s,t.p_offset);
lib/libexecinfo/private_libelf.h
1659
READ_ADDR64(s,t.p_vaddr);
lib/libexecinfo/private_libelf.h
1660
READ_ADDR64(s,t.p_paddr);
lib/libexecinfo/private_libelf.h
1661
READ_XWORD(s,t.p_filesz);
lib/libexecinfo/private_libelf.h
1662
READ_XWORD(s,t.p_memsz);
lib/libexecinfo/private_libelf.h
1663
READ_XWORD(s,t.p_align);
lib/libexecinfo/private_libelf.h
1667
SWAP_WORD(t.p_type);
lib/libexecinfo/private_libelf.h
1668
SWAP_WORD(t.p_flags);
lib/libexecinfo/private_libelf.h
1669
SWAP_OFF64(t.p_offset);
lib/libexecinfo/private_libelf.h
1670
SWAP_ADDR64(t.p_vaddr);
lib/libexecinfo/private_libelf.h
1671
SWAP_ADDR64(t.p_paddr);
lib/libexecinfo/private_libelf.h
1672
SWAP_XWORD(t.p_filesz);
lib/libexecinfo/private_libelf.h
1673
SWAP_XWORD(t.p_memsz);
lib/libexecinfo/private_libelf.h
1674
SWAP_XWORD(t.p_align);
lib/libexecinfo/private_libelf.h
1677
*d-- = t; s0 -= fsz;
lib/libexecinfo/private_libelf.h
1687
Elf64_Rel t, *d;
lib/libexecinfo/private_libelf.h
1701
READ_ADDR64(s,t.r_offset);
lib/libexecinfo/private_libelf.h
1702
READ_XWORD(s,t.r_info);
lib/libexecinfo/private_libelf.h
1706
SWAP_ADDR64(t.r_offset);
lib/libexecinfo/private_libelf.h
1707
SWAP_XWORD(t.r_info);
lib/libexecinfo/private_libelf.h
1710
*d-- = t; s0 -= fsz;
lib/libexecinfo/private_libelf.h
1720
Elf64_Rela t, *d;
lib/libexecinfo/private_libelf.h
1734
READ_ADDR64(s,t.r_offset);
lib/libexecinfo/private_libelf.h
1735
READ_XWORD(s,t.r_info);
lib/libexecinfo/private_libelf.h
1736
READ_SXWORD(s,t.r_addend);
lib/libexecinfo/private_libelf.h
1740
SWAP_ADDR64(t.r_offset);
lib/libexecinfo/private_libelf.h
1741
SWAP_XWORD(t.r_info);
lib/libexecinfo/private_libelf.h
1742
SWAP_SXWORD(t.r_addend);
lib/libexecinfo/private_libelf.h
1745
*d-- = t; s0 -= fsz;
lib/libexecinfo/private_libelf.h
1755
Elf64_Shdr t, *d;
lib/libexecinfo/private_libelf.h
1769
READ_WORD(s,t.sh_name);
lib/libexecinfo/private_libelf.h
1770
READ_WORD(s,t.sh_type);
lib/libexecinfo/private_libelf.h
1771
READ_XWORD(s,t.sh_flags);
lib/libexecinfo/private_libelf.h
1772
READ_ADDR64(s,t.sh_addr);
lib/libexecinfo/private_libelf.h
1773
READ_OFF64(s,t.sh_offset);
lib/libexecinfo/private_libelf.h
1774
READ_XWORD(s,t.sh_size);
lib/libexecinfo/private_libelf.h
1775
READ_WORD(s,t.sh_link);
lib/libexecinfo/private_libelf.h
1776
READ_WORD(s,t.sh_info);
lib/libexecinfo/private_libelf.h
1777
READ_XWORD(s,t.sh_addralign);
lib/libexecinfo/private_libelf.h
1778
READ_XWORD(s,t.sh_entsize);
lib/libexecinfo/private_libelf.h
1782
SWAP_WORD(t.sh_name);
lib/libexecinfo/private_libelf.h
1783
SWAP_WORD(t.sh_type);
lib/libexecinfo/private_libelf.h
1784
SWAP_XWORD(t.sh_flags);
lib/libexecinfo/private_libelf.h
1785
SWAP_ADDR64(t.sh_addr);
lib/libexecinfo/private_libelf.h
1786
SWAP_OFF64(t.sh_offset);
lib/libexecinfo/private_libelf.h
1787
SWAP_XWORD(t.sh_size);
lib/libexecinfo/private_libelf.h
1788
SWAP_WORD(t.sh_link);
lib/libexecinfo/private_libelf.h
1789
SWAP_WORD(t.sh_info);
lib/libexecinfo/private_libelf.h
1790
SWAP_XWORD(t.sh_addralign);
lib/libexecinfo/private_libelf.h
1791
SWAP_XWORD(t.sh_entsize);
lib/libexecinfo/private_libelf.h
1794
*d-- = t; s0 -= fsz;
lib/libexecinfo/private_libelf.h
1804
Elf64_Sword t, *d = (Elf64_Sword *) (uintptr_t) dst;
lib/libexecinfo/private_libelf.h
1816
READ_SWORD(src,t);
lib/libexecinfo/private_libelf.h
1817
SWAP_SWORD(t);
lib/libexecinfo/private_libelf.h
1818
*d++ = t;
lib/libexecinfo/private_libelf.h
1828
Elf64_Sxword t, *d = (Elf64_Sxword *) (uintptr_t) dst;
lib/libexecinfo/private_libelf.h
1840
READ_SXWORD(src,t);
lib/libexecinfo/private_libelf.h
1841
SWAP_SXWORD(t);
lib/libexecinfo/private_libelf.h
1842
*d++ = t;
lib/libexecinfo/private_libelf.h
1852
Elf64_Syminfo t, *d;
lib/libexecinfo/private_libelf.h
1866
READ_HALF(s,t.si_boundto);
lib/libexecinfo/private_libelf.h
1867
READ_HALF(s,t.si_flags);
lib/libexecinfo/private_libelf.h
1871
SWAP_HALF(t.si_boundto);
lib/libexecinfo/private_libelf.h
1872
SWAP_HALF(t.si_flags);
lib/libexecinfo/private_libelf.h
1875
*d-- = t; s0 -= fsz;
lib/libexecinfo/private_libelf.h
1885
Elf64_Sym t, *d;
lib/libexecinfo/private_libelf.h
1899
READ_WORD(s,t.st_name);
lib/libexecinfo/private_libelf.h
1900
READ_BYTE(s,t.st_info);
lib/libexecinfo/private_libelf.h
1901
READ_BYTE(s,t.st_other);
lib/libexecinfo/private_libelf.h
1902
READ_HALF(s,t.st_shndx);
lib/libexecinfo/private_libelf.h
1903
READ_ADDR64(s,t.st_value);
lib/libexecinfo/private_libelf.h
1904
READ_XWORD(s,t.st_size);
lib/libexecinfo/private_libelf.h
1908
SWAP_WORD(t.st_name);
lib/libexecinfo/private_libelf.h
1909
SWAP_BYTE(t.st_info);
lib/libexecinfo/private_libelf.h
1910
SWAP_BYTE(t.st_other);
lib/libexecinfo/private_libelf.h
1911
SWAP_HALF(t.st_shndx);
lib/libexecinfo/private_libelf.h
1912
SWAP_ADDR64(t.st_value);
lib/libexecinfo/private_libelf.h
1913
SWAP_XWORD(t.st_size);
lib/libexecinfo/private_libelf.h
1916
*d-- = t; s0 -= fsz;
lib/libexecinfo/private_libelf.h
1926
Elf64_Word t, *d = (Elf64_Word *) (uintptr_t) dst;
lib/libexecinfo/private_libelf.h
1938
READ_WORD(src,t);
lib/libexecinfo/private_libelf.h
1939
SWAP_WORD(t);
lib/libexecinfo/private_libelf.h
1940
*d++ = t;
lib/libexecinfo/private_libelf.h
1950
Elf64_Xword t, *d = (Elf64_Xword *) (uintptr_t) dst;
lib/libexecinfo/private_libelf.h
1962
READ_XWORD(src,t);
lib/libexecinfo/private_libelf.h
1963
SWAP_XWORD(t);
lib/libexecinfo/private_libelf.h
1964
*d++ = t;
lib/libexecinfo/private_libelf.h
1974
Elf64_Verdef t, *dp;
lib/libexecinfo/private_libelf.h
1992
READ_HALF(s,t.vd_version);
lib/libexecinfo/private_libelf.h
1993
READ_HALF(s,t.vd_flags);
lib/libexecinfo/private_libelf.h
1994
READ_HALF(s,t.vd_ndx);
lib/libexecinfo/private_libelf.h
1995
READ_HALF(s,t.vd_cnt);
lib/libexecinfo/private_libelf.h
1996
READ_WORD(s,t.vd_hash);
lib/libexecinfo/private_libelf.h
1997
READ_WORD(s,t.vd_aux);
lib/libexecinfo/private_libelf.h
1998
READ_WORD(s,t.vd_next);
lib/libexecinfo/private_libelf.h
2002
SWAP_HALF(t.vd_version);
lib/libexecinfo/private_libelf.h
2003
SWAP_HALF(t.vd_flags);
lib/libexecinfo/private_libelf.h
2004
SWAP_HALF(t.vd_ndx);
lib/libexecinfo/private_libelf.h
2005
SWAP_HALF(t.vd_cnt);
lib/libexecinfo/private_libelf.h
2006
SWAP_WORD(t.vd_hash);
lib/libexecinfo/private_libelf.h
2007
SWAP_WORD(t.vd_aux);
lib/libexecinfo/private_libelf.h
2008
SWAP_WORD(t.vd_next);
lib/libexecinfo/private_libelf.h
2013
*dp = t;
lib/libexecinfo/private_libelf.h
2015
aux = t.vd_aux;
lib/libexecinfo/private_libelf.h
2016
cnt = t.vd_cnt;
lib/libexecinfo/private_libelf.h
2017
vnext = t.vd_next;
lib/libexecinfo/private_libelf.h
2061
Elf64_Verneed t, *dp;
lib/libexecinfo/private_libelf.h
2079
READ_HALF(s,t.vn_version);
lib/libexecinfo/private_libelf.h
2080
READ_HALF(s,t.vn_cnt);
lib/libexecinfo/private_libelf.h
2081
READ_WORD(s,t.vn_file);
lib/libexecinfo/private_libelf.h
2082
READ_WORD(s,t.vn_aux);
lib/libexecinfo/private_libelf.h
2083
READ_WORD(s,t.vn_next);
lib/libexecinfo/private_libelf.h
2087
SWAP_HALF(t.vn_version);
lib/libexecinfo/private_libelf.h
2088
SWAP_HALF(t.vn_cnt);
lib/libexecinfo/private_libelf.h
2089
SWAP_WORD(t.vn_file);
lib/libexecinfo/private_libelf.h
2090
SWAP_WORD(t.vn_aux);
lib/libexecinfo/private_libelf.h
2091
SWAP_WORD(t.vn_next);
lib/libexecinfo/private_libelf.h
2096
*dp = t;
lib/libexecinfo/private_libelf.h
2098
aux = t.vn_aux;
lib/libexecinfo/private_libelf.h
2099
cnt = t.vn_cnt;
lib/libexecinfo/private_libelf.h
2100
vnext = t.vn_next;
lib/libexecinfo/private_libelf.h
2371
static int (*_libelf_get_translator(Elf_Type t, int direction, int elfclass))
lib/libexecinfo/private_libelf.h
2378
if (t >= ELF_T_NUM ||
lib/libexecinfo/private_libelf.h
2384
return cvt[t].tom64;
lib/libexecinfo/private_libelf.h
2387
(direction == ELF_TOFILE ? cvt[t].tof32 : cvt[t].tom32) :
lib/libexecinfo/private_libelf.h
2388
(direction == ELF_TOFILE ? cvt[t].tof64 : cvt[t].tom64));
lib/libexecinfo/private_libelf.h
2786
unsigned char *buf, *t;
lib/libexecinfo/private_libelf.h
2802
if ((t = realloc(buf, bufsz)) == NULL)
lib/libexecinfo/private_libelf.h
2804
buf = t;
lib/libexecinfo/private_libelf.h
2809
t = buf + datasz;
lib/libexecinfo/private_libelf.h
2810
if ((readsz = read(fd, t, bufsz - datasz)) <= 0)
lib/libexecinfo/private_libelf.h
2829
if ((t = realloc(buf, datasz)) == NULL)
lib/libexecinfo/private_libelf.h
2831
buf = t;
lib/libexecinfo/private_libelf.h
940
_libelf_msize(Elf_Type t, int elfclass, unsigned int version)
lib/libexecinfo/private_libelf.h
945
assert((signed) t >= ELF_T_FIRST && t <= ELF_T_LAST);
lib/libexecinfo/private_libelf.h
952
sz = /* (elfclass == ELFCLASS32) ? msize[t].msz32 : */ msize[t].msz64;
lib/libexecinfo/unwind.c
47
struct tracer_context *t = arg;
lib/libexecinfo/unwind.c
48
if (t->n == (size_t)~0) {
lib/libexecinfo/unwind.c
50
t->n = 0;
lib/libexecinfo/unwind.c
53
if (t->n < t->len)
lib/libexecinfo/unwind.c
54
t->arr[t->n++] = _Unwind_GetIP(ctx);
lib/libfetch/ftp.c
408
time_t t;
lib/libfetch/ftp.c
467
t = timegm(&tm);
lib/libfetch/ftp.c
468
if (t == (time_t)-1)
lib/libfetch/ftp.c
469
t = time(NULL);
lib/libfetch/ftp.c
470
us->mtime = t;
lib/libfetch/ftp.c
471
us->atime = t;
lib/libfetch/http.c
1000
dst[1] = base64[(t >> 12) & 0x3f];
lib/libfetch/http.c
1001
dst[2] = base64[(t >> 6) & 0x3f];
lib/libfetch/http.c
1006
t = src[0] << 16;
lib/libfetch/http.c
1007
dst[0] = base64[(t >> 18) & 0x3f];
lib/libfetch/http.c
1008
dst[1] = base64[(t >> 12) & 0x3f];
lib/libfetch/http.c
979
int t;
lib/libfetch/http.c
987
t = (src[0] << 16) | (src[1] << 8) | src[2];
lib/libfetch/http.c
988
dst[0] = base64[(t >> 18) & 0x3f];
lib/libfetch/http.c
989
dst[1] = base64[(t >> 12) & 0x3f];
lib/libfetch/http.c
990
dst[2] = base64[(t >> 6) & 0x3f];
lib/libfetch/http.c
991
dst[3] = base64[(t >> 0) & 0x3f];
lib/libfetch/http.c
998
t = (src[0] << 16) | (src[1] << 8);
lib/libfetch/http.c
999
dst[0] = base64[(t >> 18) & 0x3f];
lib/libftpio/ftpio.c
228
struct tm t;
lib/libftpio/ftpio.c
248
sscanf(cp, "%04d%02d%02d%02d%02d%02d", &t.tm_year, &t.tm_mon, &t.tm_mday, &t.tm_hour, &t.tm_min, &t.tm_sec);
lib/libftpio/ftpio.c
249
t.tm_mon--;
lib/libftpio/ftpio.c
250
t.tm_year -= 1900;
lib/libftpio/ftpio.c
251
t.tm_isdst=-1;
lib/libftpio/ftpio.c
252
t.tm_gmtoff = 0;
lib/libftpio/ftpio.c
253
t0 += mktime (&t);
lib/libldns/ldns/util.h
332
INLINE time_t ldns_time(time_t *t) { return time(t); }
lib/libpam/modules/pam_lastlog/pam_lastlog.c
189
domsg(pam_handle_t *pamh, time_t t, const char *host, size_t hsize,
lib/libpam/modules/pam_lastlog/pam_lastlog.c
202
"Last login: %.24s %son %.*s\n", ctime(&t), host, (int)lsize, line);
lib/libpam/modules/pam_lastlog/pam_lastlog.c
213
const char *t;
lib/libpam/modules/pam_lastlog/pam_lastlog.c
226
t = tty + strlen(tty);
lib/libpam/modules/pam_lastlog/pam_lastlog.c
227
if ((size_t)(t - tty) >= sizeof(utmpx.ut_id)) {
lib/libpam/modules/pam_lastlog/pam_lastlog.c
228
(void)strncpy(utmpx.ut_id, t - sizeof(utmpx.ut_id),
lib/libposix1e/acl_from_text.c
118
acl_tag_t t;
lib/libposix1e/acl_from_text.c
187
t = acl_string_to_tag(tag, qualifier);
lib/libposix1e/acl_from_text.c
188
if (t == -1) {
lib/libposix1e/acl_from_text.c
199
switch(t) {
lib/libposix1e/acl_from_text.c
213
error = acl_name_to_id(t, qualifier, &id);
lib/libposix1e/acl_from_text.c
223
error = acl_add_entry(acl, t, id, p);
lib/libsdp/search.c
278
SDP_GET8(t, rsp_tmp);
lib/libsdp/search.c
279
switch (t) {
lib/libsdp/search.c
300
SDP_GET8(t, rsp_tmp);
lib/libsdp/search.c
301
switch (t) {
lib/libsdp/search.c
323
SDP_GET8(t, rsp_tmp);
lib/libsdp/search.c
324
if (t != SDP_DATA_UINT16) {
lib/libsdp/search.c
61
int32_t t, len;
lib/libsdp/search.c
79
for (len = 0, t = 0; t < alen; t ++) {
lib/libsdp/search.c
80
lo = (uint16_t) (ap[t] >> 16);
lib/libsdp/search.c
81
hi = (uint16_t) (ap[t]);
lib/libsdp/search.c
89
len += (sizeof(ap[t]) + 1);
lib/libtelnet/sra.c
433
struct ttyent *t;
lib/libtelnet/sra.c
435
return ((t = getttynam(ttyn)) && t->ty_status & TTY_SECURE);
lib/libthread_xu/thread/thr_syscalls.c
595
__sendto(int s, const void *m, size_t l, int f, const struct sockaddr *t,
lib/libthread_xu/thread/thr_syscalls.c
603
ret = __sys_sendto(s, m, l, f, t, tl);
lib/libutil/gr_util.c
166
char buf[8192], *end, *line, *p, *q, *r, t;
lib/libutil/gr_util.c
235
t = *q;
lib/libutil/gr_util.c
244
*q = t;
lib/libutil/login_ok.c
218
auth_timeok(login_cap_t *lc, time_t t)
lib/libutil/login_ok.c
222
if (lc != NULL && t != (time_t)0 && t != (time_t)-1) {
lib/libutil/login_ok.c
228
if ((tptr = localtime(&t)) != NULL) {
lib/libutil/login_times.c
102
t = m;
lib/libutil/login_times.c
104
return (t);
lib/libutil/login_times.c
137
in_lt(const login_time_t *ltm, time_t *t)
lib/libutil/login_times.c
140
return (in_ltm(ltm, localtime(t), t));
lib/libutil/login_times.c
144
in_ltms(const login_time_t *ltm, struct tm *tm, time_t *t)
lib/libutil/login_times.c
149
if (in_ltm(ltm + i, tm, t))
lib/libutil/login_times.c
157
in_lts(const login_time_t *ltm, time_t *t)
lib/libutil/login_times.c
160
return (in_ltms(ltm, localtime(t), t));
lib/libutil/login_times.c
47
parse_time(char * ptr, u_short * t)
lib/libutil/login_times.c
54
*t = (u_short)((val / 100) * 60 + (val % 100));
lib/libutil/login_times.c
63
login_time_t t;
lib/libutil/login_times.c
65
memset(&t, 0, sizeof t);
lib/libutil/login_times.c
66
t.lt_dow = LTM_NONE;
lib/libutil/login_times.c
69
login_time_t m = t;
lib/libutil/pw_util.c
425
char buf[8192], *end, *line, *p, *q, *r, t;
lib/libutil/pw_util.c
501
t = *q;
lib/libutil/pw_util.c
511
*q = t;
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) }
libexec/bootpd/bootpd.c
735
u_int32 t = (u_int32) ntohs(bp->bp_secs);
libexec/bootpd/bootpd.c
736
if (t < hp->min_wait) {
libexec/bootpd/bootpd.c
740
t, hp->min_wait);
libexec/bootpd/dumptab.c
105
t = time(NULL);
libexec/bootpd/dumptab.c
108
fprintf(fp, "# Dump taken %s", ctime(&t));
libexec/bootpd/dumptab.c
56
time_t t;
libexec/bootpd/readfile.c
1505
char *t;
libexec/bootpd/readfile.c
1507
t = *s;
libexec/bootpd/readfile.c
1508
while (*t && (*t != ':')) {
libexec/bootpd/readfile.c
1509
t++;
libexec/bootpd/readfile.c
1511
if (*t) {
libexec/bootpd/readfile.c
1512
t++;
libexec/bootpd/readfile.c
1514
*s = t;
libexec/bootpd/readfile.c
1529
char *t;
libexec/bootpd/readfile.c
1531
t = *s;
libexec/bootpd/readfile.c
1532
while (*t && isspace(*t)) {
libexec/bootpd/readfile.c
1533
t++;
libexec/bootpd/readfile.c
1535
*s = t;
libexec/bootpd/readfile.c
1647
char *s, *t;
libexec/bootpd/readfile.c
1653
t = tmpstr;
libexec/bootpd/readfile.c
1656
(t < &tmpstr[MAXSTRINGLEN - 1]) )
libexec/bootpd/readfile.c
1657
*t++ = *s++;
libexec/bootpd/readfile.c
1658
*t = '\0';
libexec/dma/spool.c
109
t = malloc(sizeof(*t));
libexec/dma/spool.c
110
if (t != NULL) {
libexec/dma/spool.c
111
t->str = queue->tmpf;
libexec/dma/spool.c
112
SLIST_INSERT_HEAD(&tmpfs, t, next);
libexec/dma/spool.c
79
struct stritem *t;
libexec/dma/util.c
246
struct stritem *t;
libexec/dma/util.c
248
SLIST_FOREACH(t, &tmpfs, next) {
libexec/dma/util.c
249
unlink(t->str);
libexec/fingerd/fingerd.c
113
char *t;
libexec/fingerd/fingerd.c
118
if ((t = malloc(sizeof(line) + 1)) == NULL)
libexec/fingerd/fingerd.c
120
memcpy(t, line, sizeof(line));
libexec/fingerd/fingerd.c
121
t[sizeof(line)] = 0;
libexec/fingerd/fingerd.c
123
if ((t = strdup(line)) == NULL)
libexec/fingerd/fingerd.c
126
for (end = t; *end; end++)
libexec/fingerd/fingerd.c
129
syslog(LOG_NOTICE, "query from %s: `%s'", rhost, t);
libexec/ftpd/ftpcmd.y
751
struct tm *t;
libexec/ftpd/ftpcmd.y
752
t = gmtime(&stbuf.st_mtime);
libexec/ftpd/ftpcmd.y
755
1900 + t->tm_year,
libexec/ftpd/ftpcmd.y
756
t->tm_mon+1, t->tm_mday,
libexec/ftpd/ftpcmd.y
757
t->tm_hour, t->tm_min, t->tm_sec);
libexec/ftpd/ftpd.c
1800
int on = 1, s, t, tries;
libexec/ftpd/ftpd.c
1852
t = errno;
libexec/ftpd/ftpd.c
1855
errno = t;
libexec/getty/main.c
721
time_t t;
libexec/getty/main.c
749
t = (time_t)0;
libexec/getty/main.c
750
(void)time(&t);
libexec/getty/main.c
753
(void)strftime(db, sizeof(db), DF, localtime(&t));
libexec/getty/subr.c
227
#define SET(t, f) (t) |= (f)
libexec/getty/subr.c
228
#define CLR(t, f) (t) &= ~(f)
libexec/getty/subr.c
229
#define ISSET(t, f) ((t) & (f))
libexec/rbootd/utils.c
122
GETWORD(rmp->r_brq.rmp_seqno, t);
libexec/rbootd/utils.c
127
fprintf(DbgFp," (Send Filename #%u)",t);
libexec/rbootd/utils.c
131
t, ntohs(rmp->r_brq.rmp_session),
libexec/rbootd/utils.c
140
GETWORD(rmp->r_brpl.rmp_seqno, t);
libexec/rbootd/utils.c
142
t, ntohs(rmp->r_brpl.rmp_session),
libexec/rbootd/utils.c
148
GETWORD(rmp->r_rrq.rmp_offset, t);
libexec/rbootd/utils.c
150
t, ntohs(rmp->r_rrq.rmp_session));
libexec/rbootd/utils.c
156
GETWORD(rmp->r_rrpl.rmp_offset, t);
libexec/rbootd/utils.c
158
t, ntohs(rmp->r_rrpl.rmp_session));
libexec/rbootd/utils.c
81
u_int32_t t;
libexec/rpc.rstatd/rstat_proc.c
328
register int i, j, t;
libexec/rpc.rstatd/rstat_proc.c
371
t = INT_MAX;
libexec/rpc.rstatd/rstat_proc.c
373
t = total_transfers;
libexec/rpc.rstatd/rstat_proc.c
374
devs[j] = t;
libexec/rtld-elf/libmap.c
203
char *cp, *f, *t, *c, *p;
libexec/rtld-elf/libmap.c
227
t = f = c = NULL;
libexec/rtld-elf/libmap.c
27
char *t;
libexec/rtld-elf/libmap.c
284
t = cp++;
libexec/rtld-elf/libmap.c
295
lmc_parse_dir(t);
libexec/rtld-elf/libmap.c
297
lmc_parse_file(t);
libexec/rtld-elf/libmap.c
299
lm_add(p, f, t);
libexec/rtld-elf/libmap.c
314
free(lm->t);
libexec/rtld-elf/libmap.c
346
lm_add (const char *p, const char *f, const char *t)
libexec/rtld-elf/libmap.c
354
dbg("%s(\"%s\", \"%s\", \"%s\")", __func__, p, f, t);
libexec/rtld-elf/libmap.c
361
lm->t = xstrdup(t);
libexec/rtld-elf/libmap.c
370
char *t;
libexec/rtld-elf/libmap.c
375
t = lml_find(lml, f);
libexec/rtld-elf/libmap.c
376
if (t != NULL) {
libexec/rtld-elf/libmap.c
381
lm_add(NULL, f, t);
libexec/rtld-elf/libmap.c
382
return (t);
libexec/rtld-elf/libmap.c
397
char pathbuf[64], *s, *t;
libexec/rtld-elf/libmap.c
405
t = lm_find(p, s);
libexec/rtld-elf/libmap.c
408
return (t);
libexec/rtld-elf/libmap.c
420
return (lm->t);
libexec/telnetd/sys_term.c
102
# define tcsetattr(f, a, t) ioctl(f, a, t)
libexec/telnetd/sys_term.c
841
int t = -1;
libexec/telnetd/sys_term.c
871
t = open(_PATH_TTY, O_RDWR);
libexec/telnetd/sys_term.c
872
if (t >= 0) {
libexec/telnetd/sys_term.c
873
(void) ioctl(t, TIOCNOTTY, NULL);
libexec/telnetd/sys_term.c
874
(void) close(t);
libexec/telnetd/sys_term.c
878
t = cleanopen(line);
libexec/telnetd/sys_term.c
879
if (t < 0)
libexec/telnetd/sys_term.c
892
(void)ioctl(t, TIOCSWINSZ, (char *)&ws);
libexec/telnetd/sys_term.c
90
# define tcgetattr(f, t) ioctl(f, TCGETS, (char *)t)
libexec/telnetd/sys_term.c
921
if (login_tty(t) == -1)
libexec/telnetd/sys_term.c
95
# define tcgetattr(f, t) ioctl(f, TCGETA, (char *)t)
libexec/telnetd/sys_term.c
950
int t;
libexec/telnetd/sys_term.c
961
t = open(line, O_RDWR|O_NOCTTY);
libexec/telnetd/sys_term.c
963
if (t < 0)
libexec/telnetd/sys_term.c
966
return(t);
libexec/telnetd/sys_term.c
99
# define tcgetattr(f, t) ioctl(f, TIOCGETA, (char *)t)
libexec/telnetd/telnetd.c
849
int t;
libexec/telnetd/telnetd.c
850
t = open(_PATH_TTY, O_RDWR);
libexec/telnetd/telnetd.c
851
if (t >= 0) {
libexec/telnetd/telnetd.c
852
(void) ioctl(t, TIOCNOTTY, NULL);
libexec/telnetd/telnetd.c
853
(void) close(t);
libexec/telnetd/utility.c
415
time_t t;
libexec/telnetd/utility.c
458
(void)time(&t);
libexec/telnetd/utility.c
459
(void)strftime(db, sizeof(db), fmtstr, localtime(&t));
libexec/tftpd/tftpd.c
603
int i, t = 1;
libexec/tftpd/tftpd.c
606
sleep(t);
libexec/tftpd/tftpd.c
607
t = (t < 32) ? t<< 1 : t;
sbin/camcontrol/camcontrol.c
4184
int t = -1;
sbin/camcontrol/camcontrol.c
4199
t = atoi(optarg);
sbin/camcontrol/camcontrol.c
4206
if (t == -1)
sbin/camcontrol/camcontrol.c
4211
if (t == -1)
sbin/camcontrol/camcontrol.c
4217
t = -1;
sbin/camcontrol/camcontrol.c
4220
if (t < 0)
sbin/camcontrol/camcontrol.c
4222
else if (t <= (240 * 5))
sbin/camcontrol/camcontrol.c
4223
sc = (t + 4) / 5;
sbin/camcontrol/camcontrol.c
4224
else if (t <= (252 * 5))
sbin/camcontrol/camcontrol.c
4227
else if (t <= (11 * 30 * 60))
sbin/camcontrol/camcontrol.c
4228
sc = (t - 1) / (30 * 60) + 241;
sbin/dhclient/dhclient.c
1484
struct tm *t;
sbin/dhclient/dhclient.c
1511
t = gmtime(&lease->renewal);
sbin/dhclient/dhclient.c
1513
t->tm_wday, t->tm_year + 1900, t->tm_mon + 1, t->tm_mday,
sbin/dhclient/dhclient.c
1514
t->tm_hour, t->tm_min, t->tm_sec);
sbin/dhclient/dhclient.c
1515
t = gmtime(&lease->rebind);
sbin/dhclient/dhclient.c
1517
t->tm_wday, t->tm_year + 1900, t->tm_mon + 1, t->tm_mday,
sbin/dhclient/dhclient.c
1518
t->tm_hour, t->tm_min, t->tm_sec);
sbin/dhclient/dhclient.c
1519
t = gmtime(&lease->expiry);
sbin/dhclient/dhclient.c
1521
t->tm_wday, t->tm_year + 1900, t->tm_mon + 1, t->tm_mday,
sbin/dhclient/dhclient.c
1522
t->tm_hour, t->tm_min, t->tm_sec);
sbin/dhclient/errwarn.c
173
char *t = obuf;
sbin/dhclient/errwarn.c
185
prlen = snprintf(t, fmt_left, "%s",
sbin/dhclient/errwarn.c
191
t += prlen;
sbin/dhclient/errwarn.c
195
*t++ = ch;
sbin/dhclient/errwarn.c
200
*t = '\0';
sbin/dhclient/options.c
109
if (!(t = calloc(1, len + 1)))
sbin/dhclient/options.c
116
memcpy(t, &s[2], len);
sbin/dhclient/options.c
117
t[len] = 0;
sbin/dhclient/options.c
119
options[code].data = t;
sbin/dhclient/options.c
126
t = calloc(1, len + options[code].len + 1);
sbin/dhclient/options.c
127
if (!t)
sbin/dhclient/options.c
130
memcpy(t, options[code].data, options[code].len);
sbin/dhclient/options.c
131
memcpy(t + options[code].len, &s[2], len);
sbin/dhclient/options.c
133
t[options[code].len] = 0;
sbin/dhclient/options.c
135
options[code].data = t;
sbin/dhclient/options.c
58
unsigned char *s, *t, *end = buffer + length;
sbin/disklabel32/disklabel.c
158
FILE *t;
sbin/disklabel32/disklabel.c
292
if (!(t = fopen(argv[1], "r")))
sbin/disklabel32/disklabel.c
294
if (!getasciilabel(t, &lab))
sbin/disklabel64/disklabel64.c
166
FILE *t;
sbin/disklabel64/disklabel64.c
303
if (!(t = fopen(argv[1], "r")))
sbin/disklabel64/disklabel64.c
305
if (!getasciilabel(t, &lab))
sbin/dump/dumprmt.c
102
t.tv_sec = 0;
sbin/dump/dumprmt.c
103
t.tv_usec = 0;
sbin/dump/dumprmt.c
104
if (select(errfd + 1, &r, NULL, NULL, &t)) {
sbin/dump/dumprmt.c
98
struct timeval t;
sbin/dump/traverse.c
102
#define CHANGEDSINCE(dp, t) \
sbin/dump/traverse.c
103
((dp)->di_mtime >= (t) || (dp)->di_ctime >= (t))
sbin/fsck/inode.c
512
time_t t;
sbin/fsck/inode.c
527
t = dp->di_mtime;
sbin/fsck/inode.c
528
p = ctime(&t);
sbin/fsck_msdosfs/dir.c
552
char *t;
sbin/fsck_msdosfs/dir.c
692
t = longName + --lidx * 13;
sbin/fsck_msdosfs/dir.c
693
for (k = 1; k < 11 && t < longName +
sbin/fsck_msdosfs/dir.c
697
*t++ = p[k];
sbin/fsck_msdosfs/dir.c
702
t[-1] = '?';
sbin/fsck_msdosfs/dir.c
705
for (k = 14; k < 26 && t < longName + sizeof(longName); k += 2) {
sbin/fsck_msdosfs/dir.c
708
*t++ = p[k];
sbin/fsck_msdosfs/dir.c
710
t[-1] = '?';
sbin/fsck_msdosfs/dir.c
713
for (k = 28; k < 32 && t < longName + sizeof(longName); k += 2) {
sbin/fsck_msdosfs/dir.c
716
*t++ = p[k];
sbin/fsck_msdosfs/dir.c
718
t[-1] = '?';
sbin/fsck_msdosfs/dir.c
720
if (t >= longName + sizeof(longName)) {
sbin/fsdb/fsdb.c
809
struct tm t;
sbin/fsdb/fsdb.c
834
t.tm_year = VAL();
sbin/fsdb/fsdb.c
835
t.tm_year = VAL() + t.tm_year * 10;
sbin/fsdb/fsdb.c
836
t.tm_year = VAL() + t.tm_year * 10;
sbin/fsdb/fsdb.c
837
t.tm_year = VAL() + t.tm_year * 10 - 1900;
sbin/fsdb/fsdb.c
838
t.tm_mon = VAL();
sbin/fsdb/fsdb.c
839
t.tm_mon = VAL() + t.tm_mon * 10 - 1;
sbin/fsdb/fsdb.c
840
t.tm_mday = VAL();
sbin/fsdb/fsdb.c
841
t.tm_mday = VAL() + t.tm_mday * 10;
sbin/fsdb/fsdb.c
842
t.tm_hour = VAL();
sbin/fsdb/fsdb.c
843
t.tm_hour = VAL() + t.tm_hour * 10;
sbin/fsdb/fsdb.c
844
t.tm_min = VAL();
sbin/fsdb/fsdb.c
845
t.tm_min = VAL() + t.tm_min * 10;
sbin/fsdb/fsdb.c
846
t.tm_sec = VAL();
sbin/fsdb/fsdb.c
847
t.tm_sec = VAL() + t.tm_sec * 10;
sbin/fsdb/fsdb.c
848
t.tm_isdst = -1;
sbin/fsdb/fsdb.c
850
sec = mktime(&t);
sbin/fsdb/fsdbutil.c
125
t = dp->di_mtime;
sbin/fsdb/fsdbutil.c
126
p = ctime(&t);
sbin/fsdb/fsdbutil.c
129
t = dp->di_ctime;
sbin/fsdb/fsdbutil.c
130
p = ctime(&t);
sbin/fsdb/fsdbutil.c
133
t = dp->di_atime;
sbin/fsdb/fsdbutil.c
134
p = ctime(&t);
sbin/fsdb/fsdbutil.c
90
time_t t;
sbin/gpt/show.c
54
friendly(uuid_t *t)
sbin/gpt/show.c
62
uuid_addr_lookup(t, &save_name1, NULL);
sbin/gpt/show.c
71
uuid_to_string(t, &save_name2, NULL);
sbin/hammer/cmd_cleanup.c
1023
time_t t;
sbin/hammer/cmd_cleanup.c
1047
t = mktime(&tm);
sbin/hammer/cmd_cleanup.c
1048
if (t == (time_t)-1)
sbin/hammer/cmd_cleanup.c
1050
t = time(NULL) - t;
sbin/hammer/cmd_cleanup.c
1051
if ((int)t > arg2)
sbin/hammer/cmd_cleanup.c
633
time_t t;
sbin/hammer/cmd_cleanup.c
644
t = (time_t)-1;
sbin/hammer/cmd_cleanup.c
667
t = mktime(&tm);
sbin/hammer/cmd_cleanup.c
675
if (t != (time_t)-1 && tid != (hammer_tid_t)(int64_t)-1) {
sbin/hammer/cmd_cleanup.c
679
snap->ts = (uint64_t)t * 1000000ULL;
sbin/hammer/cmd_cleanup.c
948
time_t t;
sbin/hammer/cmd_cleanup.c
963
t = snap->ts / 1000000ULL;
sbin/hammer/cmd_cleanup.c
964
dt = time(NULL) - t;
sbin/hammer/cmd_cleanup.c
970
tp = localtime(&t);
sbin/hammer/cmd_history.c
247
time_t t = (time_t)time32;
sbin/hammer/cmd_history.c
250
tp = localtime(&t);
sbin/hammer/cmd_snapshot.c
429
time_t t = time(NULL);
sbin/hammer/cmd_snapshot.c
430
if (strftime(to, sz, softlink_fmt, localtime(&t)) == 0) {
sbin/hammer/cmd_snapshot.c
508
time_t t;
sbin/hammer/cmd_snapshot.c
544
t = snap->ts / 1000000ULL;
sbin/hammer/cmd_snapshot.c
545
tp = localtime(&t);
sbin/hammer/cmd_snapshot.c
83
time_t t = time(NULL);
sbin/hammer/cmd_snapshot.c
87
tp = localtime(&t);
sbin/hammer/cmd_softprune.c
530
time_t t;
sbin/hammer/cmd_softprune.c
579
t = time(NULL);
sbin/hammer/cmd_softprune.c
584
delta = (long)(t - (time_t)elm->mod_tid);
sbin/hammer2/cmd_service.c
530
time_t t;
sbin/hammer2/cmd_service.c
586
time(&t);
sbin/hammer2/cmd_service.c
588
if (t == st.st_mtime) {
sbin/hammer2/cmd_service.c
592
t = st.st_mtime;
sbin/hammer2/cmd_service.c
594
t = 0;
sbin/hammer2/cmd_service.c
635
if (t != st.st_mtime)
sbin/hammer2/cmd_service.c
643
lmod = t;
sbin/hammer2/cmd_snapshot.c
62
time_t t;
sbin/hammer2/cmd_snapshot.c
76
time(&t);
sbin/hammer2/cmd_snapshot.c
77
tp = localtime(&t);
sbin/hammer2/subs.c
89
time_t t;
sbin/hammer2/subs.c
96
t = htime64 / 1000000;
sbin/hammer2/subs.c
97
tp = localtime(&t);
sbin/init/init.c
1716
static char *t;
sbin/init/init.c
1721
t = p;
sbin/init/init.c
1722
if (!t)
sbin/init/init.c
1725
c = *t;
sbin/init/init.c
1727
c = *++t;
sbin/init/init.c
1729
t = NULL;
sbin/init/init.c
1732
q = t;
sbin/init/init.c
1734
c = *++t;
sbin/init/init.c
1735
q = t;
sbin/init/init.c
1737
c = *++t;
sbin/init/init.c
1739
q = t = NULL;
sbin/init/init.c
1741
*t++ = 0;
sbin/init/init.c
1744
c = *++t;
sbin/init/init.c
1745
*t++ = 0;
sbin/init/init.c
1747
t = NULL;
sbin/ipfw/ipfw2.c
2393
int t;
sbin/ipfw/ipfw2.c
2454
for (t = pipe.fs.lookup_step; t > 0; --t)
sbin/ipfw/ipfw2.c
3881
time_t t = _long_to_time(te->last_used);
sbin/ipfw/ipfw2.c
3883
strcpy(timestr, ctime(&t));
sbin/ipfw/ipfw2.c
875
time_t t = _long_to_time(rule->timestamp);
sbin/ipfw/ipfw2.c
877
strcpy(timestr, ctime(&t));
sbin/ipfw3/ipfw3.c
784
time_t t = _long_to_time(rule->timestamp);
sbin/ipfw3/ipfw3.c
786
strcpy(timestr, ctime(&t));
sbin/ipfw3/ipfw3dummynet.c
399
int t;
sbin/ipfw3/ipfw3dummynet.c
460
for (t = pipe.fs.lookup_step; t > 0; --t)
sbin/ipfw3/ipfw3table.c
207
struct ipfw_ioc_table *t = &ioc_table;
sbin/ipfw3/ipfw3table.c
211
t->id = atoi(*av);
sbin/ipfw3/ipfw3table.c
212
if (t->id < 0 || t->id > IPFW_TABLES_MAX - 1)
sbin/ipfw3/ipfw3table.c
213
errx(EX_USAGE, "table id `%d' invalid", t->id);
sbin/ipfw3/ipfw3table.c
217
if (do_set_x(IP_FW_TABLE_FLUSH, t, sizeof(struct ipfw_ioc_table)) < 0 )
sbin/ipfw3/ipfw3table.c
337
struct ipfw_ioc_table *t = &ioc_table;
sbin/ipfw3/ipfw3table.c
343
t->id = atoi(*av);
sbin/ipfw3/ipfw3table.c
344
if (t->id < 0 || t->id > IPFW_TABLES_MAX - 1)
sbin/ipfw3/ipfw3table.c
345
errx(EX_USAGE, "table id `%d' invalid", t->id);
sbin/ipfw3/ipfw3table.c
351
t->type = 1;
sbin/ipfw3/ipfw3table.c
353
t->type = 2;
sbin/ipfw3/ipfw3table.c
358
memset(t->name, 0, IPFW_TABLE_NAME_LEN);
sbin/ipfw3/ipfw3table.c
362
strncpy(t->name, *av, strlen(*av));
sbin/ipfw3/ipfw3table.c
370
if (do_set_x(IP_FW_TABLE_CREATE, t, sizeof(struct ipfw_ioc_table)) < 0)
sbin/ipfw3/ipfw3table.c
372
"table `%d' in use", t->id);
sbin/ipfw3/ipfw3table.c
379
struct ipfw_ioc_table *t = &ioc_table;
sbin/ipfw3/ipfw3table.c
383
t->id = atoi(*av);
sbin/ipfw3/ipfw3table.c
384
if (t->id < 0 || t->id > IPFW_TABLES_MAX - 1)
sbin/ipfw3/ipfw3table.c
385
errx(EX_USAGE, "table id `%d' invalid", t->id);
sbin/ipfw3/ipfw3table.c
389
if (t->id < 0 || t->id > IPFW_TABLES_MAX - 1)
sbin/ipfw3/ipfw3table.c
390
errx(EX_USAGE, "table id `%d' invalid", t->id);
sbin/ipfw3/ipfw3table.c
392
if (do_set_x(IP_FW_TABLE_DELETE, t, sizeof(struct ipfw_ioc_table)) < 0)
sbin/jscan/dump_debug.c
320
time_t t = ((const struct timespec *)buf)->tv_sec;
sbin/jscan/dump_debug.c
323
tp = localtime(&t);
sbin/mount_cd9660/mount_cd9660.c
243
struct ioc_read_toc_entry t;
sbin/mount_cd9660/mount_cd9660.c
260
t.address_format = CD_LBA_FORMAT;
sbin/mount_cd9660/mount_cd9660.c
261
t.starting_track = 0;
sbin/mount_cd9660/mount_cd9660.c
262
t.data_len = ntocentries * sizeof(struct cd_toc_entry);
sbin/mount_cd9660/mount_cd9660.c
263
t.data = toc_buffer;
sbin/mount_cd9660/mount_cd9660.c
265
if (ioctl(fd, CDIOREADTOCENTRYS, (char *) &t) == -1) {
sbin/ping/ping.c
212
double t;
sbin/ping/ping.c
320
t = strtod(optarg, &ep) * 1000000.0; /* sec -> usec */
sbin/ping/ping.c
322
t > (double)LONG_MAX || t <= 0)
sbin/ping/ping.c
326
interval = (long)t;
sbin/ping/ping.c
427
t = strtod(optarg, &ep);
sbin/ping/ping.c
429
t > (double)INT_MAX || t <= 0)
sbin/ping/ping.c
433
waittime = (int)t;
sbin/rcorder/hash.c
100
Hash_InitTable(Hash_Table *t, int numBuckets)
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
186
Hash_FindEntry(Hash_Table *t, char *key)
sbin/rcorder/hash.c
195
for (e = t->bucketPtr[h & t->mask]; e != NULL; e = e->next)
sbin/rcorder/hash.c
229
Hash_CreateEntry(Hash_Table *t, char *key, Boolean *newPtr)
sbin/rcorder/hash.c
245
for (e = t->bucketPtr[h & t->mask]; e != NULL; e = e->next) {
sbin/rcorder/hash.c
258
if (t->numEntries >= rebuildLimit * t->size)
sbin/rcorder/hash.c
259
RebuildTable(t);
sbin/rcorder/hash.c
261
hp = &t->bucketPtr[h & t->mask];
sbin/rcorder/hash.c
267
t->numEntries++;
sbin/rcorder/hash.c
291
Hash_DeleteEntry(Hash_Table *t, Hash_Entry *e)
sbin/rcorder/hash.c
297
for (hp = &t->bucketPtr[e->namehash & t->mask];
sbin/rcorder/hash.c
302
t->numEntries--;
sbin/rcorder/hash.c
336
Hash_EnumFirst(Hash_Table *t, Hash_Search *searchPtr)
sbin/rcorder/hash.c
338
searchPtr->tablePtr = t;
sbin/rcorder/hash.c
370
Hash_Table *t = searchPtr->tablePtr;
sbin/rcorder/hash.c
385
if (searchPtr->nextIndex >= t->size)
sbin/rcorder/hash.c
387
e = t->bucketPtr[searchPtr->nextIndex++];
sbin/rcorder/hash.c
411
RebuildTable(Hash_Table *t)
sbin/rcorder/hash.c
418
oldhp = t->bucketPtr;
sbin/rcorder/hash.c
419
oldsize = i = t->size;
sbin/rcorder/hash.c
421
t->size = i;
sbin/rcorder/hash.c
422
t->mask = mask = i - 1;
sbin/rcorder/hash.c
423
t->bucketPtr = hp = (struct Hash_Entry **) emalloc(sizeof(*hp) * i);
sbin/rcorder/hash.c
429
xp = &t->bucketPtr[e->namehash & mask];
sbin/savecore/savecore.c
109
t = dtoh64(h->dumptime);
sbin/savecore/savecore.c
110
fprintf(f, " Dumptime: %s", ctime(&t));
sbin/savecore/savecore.c
98
time_t t;
sbin/startslip/startslip.c
116
struct termios t;
sbin/startslip/startslip.c
315
if (tcgetattr(fd, &t) < 0) {
sbin/startslip/startslip.c
319
cfmakeraw(&t);
sbin/startslip/startslip.c
322
t.c_cflag |= (CRTS_IFLOW|CCTS_OFLOW);
sbin/startslip/startslip.c
325
t.c_cflag &= ~(CRTS_IFLOW|CCTS_OFLOW);
sbin/startslip/startslip.c
329
t.c_cflag |= HUPCL;
sbin/startslip/startslip.c
331
t.c_cflag &= ~(HUPCL);
sbin/startslip/startslip.c
332
t.c_cflag |= CLOCAL; /* until modem commands passes */
sbin/startslip/startslip.c
333
cfsetispeed(&t, speed);
sbin/startslip/startslip.c
334
cfsetospeed(&t, speed);
sbin/startslip/startslip.c
335
if (tcsetattr(fd, TCSAFLUSH, &t) < 0) {
sbin/startslip/startslip.c
368
t.c_cflag &= ~(CLOCAL);
sbin/startslip/startslip.c
369
if (tcsetattr(fd, TCSANOW, &t) < 0) {
sbin/sysctl/sysctl.c
550
time_t t = s->tv.tv_sec;
sbin/sysctl/sysctl.c
553
ctime_r(&t, ct);
sbin/udevd/test_udevd.c
727
int n, t;
sbin/vinum/list.c
1376
time_t t;
sbin/vinum/list.c
1406
t = hdr->label.date_of_birth.tv_sec;
sbin/vinum/list.c
1409
ctime(&t));
sbin/vinum/list.c
1410
t = hdr->label.last_update.tv_sec;
sbin/vinum/list.c
1412
ctime(&t));
sbin/vinum/list.c
153
time_t t; /* because Bruce says so */
sbin/vinum/list.c
162
t = drive.label.date_of_birth.tv_sec;
sbin/vinum/list.c
165
ctime(&t));
sbin/vinum/list.c
166
t = drive.label.last_update.tv_sec;
sbin/vinum/list.c
168
ctime(&t));
sbin/vinum/list.c
832
time_t t; /* to keep Bruce happy */
sbin/vinum/list.c
834
t = time->tv_sec;
sbin/vinum/list.c
835
strcpy(text, ctime(&t)); /* to the second */
stand/boot/common/commands.c
131
char *topic, *subtopic, *t, *s, *d;
stand/boot/common/commands.c
167
while (help_getnext(hfd, &t, &s, &d)) {
stand/boot/common/commands.c
170
help_emitsummary(t, s, d);
stand/boot/common/commands.c
172
} else if (strcmp(topic, t)) {
stand/boot/common/commands.c
191
help_emitsummary(t, s, d);
stand/boot/common/commands.c
194
free(t);
stand/boot/dloader/cmds.c
312
time_t t = time(NULL);
stand/boot/dloader/cmds.c
314
while (time(NULL) == t)
stand/boot/dloader/cmds.c
390
time_t t;
stand/boot/dloader/cmds.c
434
t = time(NULL);
stand/boot/dloader/cmds.c
435
if (time_last == t)
stand/boot/dloader/cmds.c
437
time_last = t;
stand/boot/dloader/cmds.c
439
(int)(time_target - t),
stand/boot/dloader/cmds.c
440
((time_target - t) == 1 ? "" : "s"));
stand/boot/dloader/cmds.c
441
if ((int)(time_target - t) <= 0) {
stand/boot/efi/include/efi.h
55
#define IsDevicePathType(a, t) (DevicePathType(a) == t)
stand/boot/efi/libefi/efi_console.c
309
int t, i;
stand/boot/efi/libefi/efi_console.c
377
t = fg_c;
stand/boot/efi/libefi/efi_console.c
379
bg_c = t;
stand/boot/efi/libefi/efinet.c
151
time_t t;
stand/boot/efi/libefi/efinet.c
156
t = time(0);
stand/boot/efi/libefi/efinet.c
157
while ((time(0) - t) < timeout) {
stand/boot/efi/loader/bootinfo.c
170
#define MOD_STR(t, a, s, c) { \
stand/boot/efi/loader/bootinfo.c
171
COPY32(t, a, c); \
stand/boot/efi/loader/bootinfo.c
182
#define MOD_VAR(t, a, s, c) { \
stand/boot/efi/loader/bootinfo.c
183
COPY32(t, a, c); \
stand/boot/pc32/libi386/bootinfo32.c
63
#define MOD_STR(t, a, s, c) { \
stand/boot/pc32/libi386/bootinfo32.c
64
COPY32(t, a, c); \
stand/boot/pc32/libi386/bootinfo32.c
75
#define MOD_VAR(t, a, s, c) { \
stand/boot/pc32/libi386/bootinfo32.c
76
COPY32(t, a, c); \
stand/boot/pc32/libi386/bootinfo64.c
64
#define MOD_STR(t, a, s, c) { \
stand/boot/pc32/libi386/bootinfo64.c
65
COPY32(t, a, c); \
stand/boot/pc32/libi386/bootinfo64.c
76
#define MOD_VAR(t, a, s, c) { \
stand/boot/pc32/libi386/bootinfo64.c
77
COPY32(t, a, c); \
stand/boot/pc32/libi386/time.c
71
time(time_t *t)
stand/boot/pc32/libi386/time.c
90
if (t != NULL)
stand/boot/pc32/libi386/time.c
91
*t = now;
stand/boot/pc32/libi386/vidconsole.c
376
int t;
stand/boot/pc32/libi386/vidconsole.c
447
t = fg_c;
stand/boot/pc32/libi386/vidconsole.c
449
bg_c = t;
stand/lib/bswap.c
28
u_int32_t t;
stand/lib/bswap.c
29
t = bswap32(p[0]);
stand/lib/bswap.c
31
p[1] = t;
stand/lib/net.c
105
while ((getsecs() - t) < tmo);
stand/lib/net.c
110
tlast = t;
stand/lib/net.c
120
t = getsecs();
stand/lib/net.c
121
tleft -= t - tlast;
stand/lib/net.c
122
tlast = t;
stand/lib/net.c
76
time_t t, tmo, tlast;
stand/lib/net.c
86
t = getsecs();
stand/lib/qdivrem.c
153
t = v[2]; /* nonzero, by definition */
stand/lib/qdivrem.c
154
q1 = u[1] / t;
stand/lib/qdivrem.c
155
rbj = COMBINE(u[1] % t, u[2]);
stand/lib/qdivrem.c
156
q2 = rbj / t;
stand/lib/qdivrem.c
157
rbj = COMBINE(rbj % t, u[3]);
stand/lib/qdivrem.c
158
q3 = rbj / t;
stand/lib/qdivrem.c
159
rbj = COMBINE(rbj % t, u[4]);
stand/lib/qdivrem.c
160
q4 = rbj / t;
stand/lib/qdivrem.c
162
*arq = rbj % t;
stand/lib/qdivrem.c
187
for (t = v[1]; t < B / 2; t <<= 1)
stand/lib/qdivrem.c
234
for (t = 0, i = n; i > 0; i--) {
stand/lib/qdivrem.c
235
t = u[i + j] - v[i] * qhat - t;
stand/lib/qdivrem.c
236
u[i + j] = LHALF(t);
stand/lib/qdivrem.c
237
t = (B - HHALF(t)) & (B - 1);
stand/lib/qdivrem.c
239
t = u[j] - t;
stand/lib/qdivrem.c
240
u[j] = LHALF(t);
stand/lib/qdivrem.c
247
if (HHALF(t)) {
stand/lib/qdivrem.c
249
for (t = 0, i = n; i > 0; i--) { /* D6: add back. */
stand/lib/qdivrem.c
250
t += u[i + j] + v[i];
stand/lib/qdivrem.c
251
u[i + j] = LHALF(t);
stand/lib/qdivrem.c
252
t = HHALF(t);
stand/lib/qdivrem.c
254
u[j] = LHALF(u[j] + t);
stand/lib/qdivrem.c
91
u_int qhat, rhat, t;
stand/lib/random.c
52
long x, hi, lo, t;
stand/lib/random.c
63
t = 16807 * lo - 2836 * hi;
stand/lib/random.c
64
if (t <= 0)
stand/lib/random.c
65
t += 0x7fffffff;
stand/lib/random.c
66
randseed = t;
stand/lib/random.c
67
return (t);
stand/lib/tftp.c
115
struct tftphdr *t;
stand/lib/tftp.c
133
t = (struct tftphdr *)pkt;
stand/lib/tftp.c
134
if (ntohs(t->th_opcode) == DATA)
stand/lib/tftp.c
140
if ((int)len < (int)sizeof(*t))
stand/lib/tftp.c
142
t = (struct tftphdr *)pkt;
stand/lib/tftp.c
145
switch (ntohs(t->th_opcode)) {
stand/lib/tftp.c
149
if (htons(t->th_block) != (uint16_t)d->xid) {
stand/lib/tftp.c
169
got = len - (t->th_data - (char *)t);
stand/lib/tftp.c
173
if ((unsigned) ntohs(t->th_code) >= 8) {
stand/lib/tftp.c
174
printf("illegal tftp error %d\n", ntohs(t->th_code));
stand/lib/tftp.c
178
printf("tftp-error %d\n", ntohs(t->th_code));
stand/lib/tftp.c
180
errno = tftperrors[ntohs(t->th_code)];
stand/lib/tftp.c
185
printf("tftp type %d not handled\n", ntohs(t->th_opcode));
stand/lib/tftp.c
197
struct tftphdr t;
stand/lib/tftp.c
203
struct tftphdr *t;
stand/lib/tftp.c
205
wbuf.t.th_opcode = htons((u_short) RRQ);
stand/lib/tftp.c
206
wtail = wbuf.t.th_stuff;
stand/lib/tftp.c
213
t = &h->lastdata.t;
stand/lib/tftp.c
220
res = sendrecv(h->iodesc, sendudp, &wbuf.t, wtail - (char *) &wbuf.t,
stand/lib/tftp.c
221
recvtftp, t, sizeof(*t) + RSPACE);
stand/lib/tftp.c
240
struct tftphdr t;
stand/lib/tftp.c
244
struct tftphdr *t;
stand/lib/tftp.c
249
wbuf.t.th_opcode = htons((u_short) ACK);
stand/lib/tftp.c
250
wtail = (char *) &wbuf.t.th_block;
stand/lib/tftp.c
251
wbuf.t.th_block = htons((u_short) h->currblock);
stand/lib/tftp.c
254
t = &h->lastdata.t;
stand/lib/tftp.c
258
res = sendrecv(h->iodesc, sendudp, &wbuf.t, wtail - (char *) &wbuf.t,
stand/lib/tftp.c
259
recvtftp, t, sizeof(*t) + RSPACE);
stand/lib/tftp.c
364
bcopy(tftpfile->lastdata.t.th_data + offinblock,
stand/lib/tftp.c
96
struct tftphdr t;
sys/bus/firewire/fwcrom.c
450
char t[MAX_TEXT];
sys/bus/firewire/fwcrom.c
463
bzero(&t[0], roundup2(len, sizeof(u_int32_t)));
sys/bus/firewire/fwcrom.c
464
bcopy(buf, &t[0], len);
sys/bus/firewire/fwcrom.c
465
p = (u_int32_t *)&t[0];
sys/bus/isa/isahint.c
42
int sensitive, start, count, t;
sys/bus/isa/isahint.c
81
if (resource_int_value(name, unit, "flags", &t) == 0)
sys/bus/isa/isahint.c
82
device_set_flags(child, t);
sys/bus/isa/isahint.c
84
if (resource_int_value(name, unit, "disabled", &t) == 0 && t != 0)
sys/bus/isa/isavar.h
150
static __inline void isa_set_ ## A(device_t dev, T t) \
sys/bus/isa/isavar.h
152
u_long v = (u_long) t; \
sys/bus/u4b/controller/uhci.h
74
#define UHCI_TD_ZERO_ACTLEN(t) ((t) | 0x3ff)
sys/bus/u4b/controller/uhci.h
98
#define UHCI_TD_SET_DT(t) ((t) << 19)
sys/bus/u4b/controller/xhci.c
1078
uint8_t t;
sys/bus/u4b/controller/xhci.c
1090
t = 2;
sys/bus/u4b/controller/xhci.c
1127
if (!--t)
sys/bus/u4b/net/if_cdcereg.h
104
#define CDCE_LOCK_ASSERT(_sc, t) KKASSERT(lockowned(&(_sc)->sc_lock))
sys/bus/u4b/serial/uark.c
341
uark_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/uark.c
343
if ((t->c_ospeed < 300) || (t->c_ospeed > 115200))
sys/bus/u4b/serial/uark.c
349
uark_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/uark.c
352
uint32_t speed = t->c_ospeed;
sys/bus/u4b/serial/uark.c
366
if (t->c_cflag & CSTOPB)
sys/bus/u4b/serial/uark.c
371
if (t->c_cflag & PARENB) {
sys/bus/u4b/serial/uark.c
372
if (t->c_cflag & PARODD)
sys/bus/u4b/serial/uark.c
379
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/ubsa.c
398
ubsa_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/ubsa.c
403
switch (t->c_ospeed) {
sys/bus/u4b/serial/ubsa.c
424
ubsa_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/ubsa.c
431
switch (t->c_ospeed) {
sys/bus/u4b/serial/ubsa.c
448
value = B230400 / t->c_ospeed;
sys/bus/u4b/serial/ubsa.c
455
if (t->c_cflag & PARENB)
sys/bus/u4b/serial/ubsa.c
456
value = (t->c_cflag & PARODD) ? UBSA_PARITY_ODD : UBSA_PARITY_EVEN;
sys/bus/u4b/serial/ubsa.c
462
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/ubsa.c
480
value = (t->c_cflag & CSTOPB) ? 1 : 0;
sys/bus/u4b/serial/ubsa.c
485
if (t->c_cflag & CRTSCTS)
sys/bus/u4b/serial/ubsa.c
488
if (t->c_iflag & (IXON | IXOFF))
sys/bus/u4b/serial/ubser.c
316
ubser_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/ubser.c
327
switch (t->c_ospeed) {
sys/bus/u4b/serial/ubser.c
335
if (t->c_cflag & CSTOPB)
sys/bus/u4b/serial/ubser.c
339
if (t->c_cflag & PARENB)
sys/bus/u4b/serial/ubser.c
343
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/ubser.c
351
if ((t->c_cflag &
sys/bus/u4b/serial/uchcom.c
634
uchcom_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/uchcom.c
638
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/uchcom.c
645
if (uchcom_calc_divider_settings(&dv, t->c_ospeed)) {
sys/bus/u4b/serial/uchcom.c
652
uchcom_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/uchcom.c
658
uchcom_set_baudrate(sc, t->c_ospeed);
sys/bus/u4b/serial/uchcom.c
663
uchcom_set_baudrate(sc, t->c_ospeed);
sys/bus/u4b/serial/ucycom.c
447
ucycom_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/ucycom.c
449
switch (t->c_ospeed) {
sys/bus/u4b/serial/ucycom.c
475
ucycom_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/ucycom.c
482
if (t->c_cflag & CIGNORE) {
sys/bus/u4b/serial/ucycom.c
486
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/ucycom.c
498
if (t->c_cflag & CSTOPB)
sys/bus/u4b/serial/ucycom.c
500
if (t->c_cflag & PARENB)
sys/bus/u4b/serial/ucycom.c
502
if (t->c_cflag & PARODD)
sys/bus/u4b/serial/ucycom.c
506
ucycom_cfg_write(sc, t->c_ospeed, cfg);
sys/bus/u4b/serial/ufoma.c
942
ufoma_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/ufoma.c
948
ufoma_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/ufoma.c
962
USETDW(ls.dwDTERate, t->c_ospeed);
sys/bus/u4b/serial/ufoma.c
964
if (t->c_cflag & CSTOPB) {
sys/bus/u4b/serial/ufoma.c
970
if (t->c_cflag & PARENB) {
sys/bus/u4b/serial/ufoma.c
971
if (t->c_cflag & PARODD) {
sys/bus/u4b/serial/ufoma.c
980
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/uftdi.c
206
#define UFTDI_DEV(v,p,t) \
sys/bus/u4b/serial/uftdi.c
207
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, UFTDI_TYPE_##t) }
sys/bus/u4b/serial/uftdi.c
557
uftdi_set_parm_soft(struct termios *t,
sys/bus/u4b/serial/uftdi.c
564
switch (t->c_ospeed) {
sys/bus/u4b/serial/uftdi.c
601
if (uftdi_8u232am_getrate(t->c_ospeed, &cfg->rate)) {
sys/bus/u4b/serial/uftdi.c
607
if (t->c_cflag & CSTOPB)
sys/bus/u4b/serial/uftdi.c
612
if (t->c_cflag & PARENB) {
sys/bus/u4b/serial/uftdi.c
613
if (t->c_cflag & PARODD) {
sys/bus/u4b/serial/uftdi.c
622
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/uftdi.c
640
if (t->c_cflag & CRTSCTS) {
sys/bus/u4b/serial/uftdi.c
642
} else if (t->c_iflag & (IXON | IXOFF)) {
sys/bus/u4b/serial/uftdi.c
644
cfg->v_start = t->c_cc[VSTART];
sys/bus/u4b/serial/uftdi.c
645
cfg->v_stop = t->c_cc[VSTOP];
sys/bus/u4b/serial/uftdi.c
654
uftdi_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/uftdi.c
661
return (uftdi_set_parm_soft(t, &cfg, sc->sc_type));
sys/bus/u4b/serial/uftdi.c
665
uftdi_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/uftdi.c
672
if (uftdi_set_parm_soft(t, &cfg, sc->sc_type)) {
sys/bus/u4b/serial/umcs.c
586
umcs7840_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/umcs.c
594
if (t->c_cflag & CSTOPB) {
sys/bus/u4b/serial/umcs.c
603
if (t->c_cflag & PARENB) {
sys/bus/u4b/serial/umcs.c
605
if (t->c_cflag & PARODD) {
sys/bus/u4b/serial/umcs.c
618
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/umcs.c
637
if (t->c_cflag & CRTSCTS) {
sys/bus/u4b/serial/umcs.c
643
if (t->c_cflag & (CDTR_IFLOW | CDSR_OFLOW)) {
sys/bus/u4b/serial/umcs.c
657
umcs7840_set_baudrate(sc, pn, t->c_ospeed);
sys/bus/u4b/serial/umcs.c
662
umcs7840_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/umcs.c
667
if (umcs7840_calc_baudrate(t->c_ospeed, &divisor, &clk) || !divisor)
sys/bus/u4b/serial/umct.c
460
umct_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/umct.c
466
umct_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/umct.c
471
value = umct_calc_baud(t->c_ospeed);
sys/bus/u4b/serial/umct.c
476
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/umct.c
492
value |= (t->c_cflag & CSTOPB) ? 0x4 : 0;
sys/bus/u4b/serial/umct.c
493
if (t->c_cflag & PARENB) {
sys/bus/u4b/serial/umct.c
495
value |= (t->c_cflag & PARODD) ? 0x0 : 0x10;
sys/bus/u4b/serial/umodem.c
560
umodem_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/umodem.c
566
umodem_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/umodem.c
576
USETDW(ls.dwDTERate, t->c_ospeed);
sys/bus/u4b/serial/umodem.c
578
ls.bCharFormat = (t->c_cflag & CSTOPB) ?
sys/bus/u4b/serial/umodem.c
581
ls.bParityType = (t->c_cflag & PARENB) ?
sys/bus/u4b/serial/umodem.c
582
((t->c_cflag & PARODD) ?
sys/bus/u4b/serial/umodem.c
585
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/umoscom.c
432
umoscom_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/umoscom.c
434
if ((t->c_ospeed <= 1) || (t->c_ospeed > 115200))
sys/bus/u4b/serial/umoscom.c
441
umoscom_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/umoscom.c
446
DPRINTF("speed=%d\n", t->c_ospeed);
sys/bus/u4b/serial/umoscom.c
448
data = ((uint32_t)UMOSCOM_BAUD_REF) / ((uint32_t)t->c_ospeed);
sys/bus/u4b/serial/umoscom.c
463
if (t->c_cflag & CSTOPB)
sys/bus/u4b/serial/umoscom.c
468
if (t->c_cflag & PARENB) {
sys/bus/u4b/serial/umoscom.c
469
if (t->c_cflag & PARODD)
sys/bus/u4b/serial/umoscom.c
476
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/uplcom.c
608
uplcom_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/uplcom.c
627
if (uplcom_rates[i] == t->c_ospeed)
sys/bus/u4b/serial/uplcom.c
631
if (t->c_ospeed <= 6000000)
sys/bus/u4b/serial/uplcom.c
635
DPRINTF("uplcom_param: bad baud rate (%d)\n", t->c_ospeed);
sys/bus/u4b/serial/uplcom.c
640
uplcom_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/uplcom.c
650
USETDW(ls.dwDTERate, t->c_ospeed);
sys/bus/u4b/serial/uplcom.c
652
if (t->c_cflag & CSTOPB) {
sys/bus/u4b/serial/uplcom.c
658
if (t->c_cflag & PARENB) {
sys/bus/u4b/serial/uplcom.c
659
if (t->c_cflag & PARODD) {
sys/bus/u4b/serial/uplcom.c
668
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/uplcom.c
697
if (t->c_cflag & CRTSCTS) {
sys/bus/u4b/serial/usb_serial.c
1640
ucom_param(struct tty *tp, struct termios *t)
sys/bus/u4b/serial/usb_serial.c
1670
if (t->c_ispeed && (t->c_ispeed != t->c_ospeed)) {
sys/bus/u4b/serial/usb_serial.c
1676
t->c_ispeed = t->c_ospeed;
sys/bus/u4b/serial/usb_serial.c
1680
error = (sc->sc_callback->ucom_pre_param) (sc, t);
sys/bus/u4b/serial/usb_serial.c
1691
ucom_queue_command(sc, ucom_cfg_param, t,
sys/bus/u4b/serial/usb_serial.c
1700
if (t->c_cflag & CRTS_IFLOW) {
sys/bus/u4b/serial/usb_serial.c
175
static int ucom_param(struct tty *tp, struct termios *t);
sys/bus/u4b/serial/usb_serial.c
2161
disc_optim(struct tty *tp, struct termios *t, struct ucom_softc *sc)
sys/bus/u4b/serial/usb_serial.c
2164
if (!(t->c_iflag & (ICRNL | IGNCR | IMAXBEL | INLCR | ISTRIP | IXON))
sys/bus/u4b/serial/usb_serial.c
2165
&& (!(t->c_iflag & BRKINT) || (t->c_iflag & IGNBRK))
sys/bus/u4b/serial/usb_serial.c
2166
&& (!(t->c_iflag & PARMRK)
sys/bus/u4b/serial/usb_serial.c
2167
|| (t->c_iflag & (IGNPAR | IGNBRK)) == (IGNPAR | IGNBRK))
sys/bus/u4b/serial/usb_serial.c
2168
&& !(t->c_lflag & (ECHO | ICANON | IEXTEN | ISIG | PENDIN))
sys/bus/u4b/serial/usb_serial.c
835
struct termios t;
sys/bus/u4b/serial/usb_serial.c
839
t = mynor & CALLOUT_MASK ? sc->sc_it_out : sc->sc_it_in;
sys/bus/u4b/serial/usb_serial.c
842
ucom_param(tp, &t);
sys/bus/u4b/serial/usb_serial.h
70
#define SET(t, f) (t) |= (f)
sys/bus/u4b/serial/usb_serial.h
71
#define CLR(t, f) (t) &= ~((unsigned)(f))
sys/bus/u4b/serial/usb_serial.h
72
#define ISSET(t, f) ((t) & (f))
sys/bus/u4b/serial/uslcom.c
497
uslcom_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/uslcom.c
499
if (t->c_ospeed <= 0 || t->c_ospeed > 921600)
sys/bus/u4b/serial/uslcom.c
505
uslcom_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/uslcom.c
516
USETW(req.wValue, USLCOM_BAUD_REF / t->c_ospeed);
sys/bus/u4b/serial/uslcom.c
525
if (t->c_cflag & CSTOPB)
sys/bus/u4b/serial/uslcom.c
529
if (t->c_cflag & PARENB) {
sys/bus/u4b/serial/uslcom.c
530
if (t->c_cflag & PARODD)
sys/bus/u4b/serial/uslcom.c
536
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/serial/uslcom.c
562
if (t->c_cflag & CRTSCTS) {
sys/bus/u4b/serial/uvscom.c
515
uvscom_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/uvscom.c
517
switch (t->c_ospeed) {
sys/bus/u4b/serial/uvscom.c
536
uvscom_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/bus/u4b/serial/uvscom.c
543
switch (t->c_ospeed) {
sys/bus/u4b/serial/uvscom.c
585
if (t->c_cflag & CSTOPB) {
sys/bus/u4b/serial/uvscom.c
588
if (t->c_cflag & PARENB) {
sys/bus/u4b/serial/uvscom.c
589
if (t->c_cflag & PARODD) {
sys/bus/u4b/serial/uvscom.c
598
switch (t->c_cflag & CSIZE) {
sys/bus/u4b/usb_generic.c
1621
uint8_t t;
sys/bus/u4b/usb_generic.c
1624
t = 1;
sys/bus/u4b/usb_generic.c
1626
t = 0;
sys/bus/u4b/usb_generic.c
1628
if (f->flag_short == t) {
sys/bus/u4b/usb_generic.c
1636
f->flag_short = t;
sys/bus/u4b/usb_generic.c
1665
usb_frlength_t t;
sys/bus/u4b/usb_generic.c
1668
t = 0; /* use "wMaxPacketSize" */
sys/bus/u4b/usb_generic.c
1670
t = *(int *)addr;
sys/bus/u4b/usb_generic.c
1672
t = 256 * 1024;
sys/bus/u4b/usb_generic.c
1674
if (f->bufsize == t) {
sys/bus/u4b/usb_generic.c
1682
f->bufsize = t;
sys/bus/u4b/usb_process.c
265
uint8_t t;
sys/bus/u4b/usb_process.c
273
t = 0;
sys/bus/u4b/usb_process.c
276
t |= 1;
sys/bus/u4b/usb_process.c
279
t |= 2;
sys/bus/u4b/usb_process.c
281
if (t == 0) {
sys/bus/u4b/usb_process.c
287
} else if (t == 1) {
sys/bus/u4b/usb_process.c
293
} else if (t == 2) {
sys/bus/u4b/usb_process.c
299
} else if (t == 3) {
sys/bus/u4b/usb_process.c
318
DPRINTF(" t=%u, num=%u\n", t, up->up_msg_num);
sys/bus/u4b/usb_transfer.c
2242
usbd_xfer_set_timeout(struct usb_xfer *xfer, int t)
sys/bus/u4b/usb_transfer.c
2244
xfer->timeout = t;
sys/bus/u4b/usbdi.h
409
#define usb_callout_reset(c,t,f,d) callout_reset(&(c)->co, t, f, d)
sys/bus/u4b/wlan/if_rumreg.h
143
#define RT2573_TBCN_DELAY(t) (t)
sys/bus/u4b/wlan/if_runvar.h
268
#define RUN_LOCK_ASSERT(sc, t) KKASSERT(lockowned(&(sc)->sc_lock))
sys/cpu/x86_64/include/bus_dma.h
108
static __inline void bus_space_free(bus_space_tag_t t, bus_space_handle_t bsh,
sys/cpu/x86_64/include/bus_dma.h
112
bus_space_free(bus_space_tag_t t __unused, bus_space_handle_t bsh __unused,
sys/cpu/x86_64/include/bus_dma.h
505
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
72
static __inline int bus_space_subregion(bus_space_tag_t t,
sys/cpu/x86_64/include/bus_dma.h
78
bus_space_subregion(bus_space_tag_t t __unused, bus_space_handle_t bsh,
sys/cpu/x86_64/include/bus_dma.h
907
#define bus_space_read_stream_1(t, h, o) bus_space_read_1((t), (h), (o))
sys/cpu/x86_64/include/bus_dma.h
908
#define bus_space_read_stream_2(t, h, o) bus_space_read_2((t), (h), (o))
sys/cpu/x86_64/include/bus_dma.h
909
#define bus_space_read_stream_4(t, h, o) bus_space_read_4((t), (h), (o))
sys/cpu/x86_64/include/bus_dma.h
911
#define bus_space_read_multi_stream_1(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
912
bus_space_read_multi_1((t), (h), (o), (a), (c))
sys/cpu/x86_64/include/bus_dma.h
913
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
914
bus_space_read_multi_2((t), (h), (o), (a), (c))
sys/cpu/x86_64/include/bus_dma.h
915
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
916
bus_space_read_multi_4((t), (h), (o), (a), (c))
sys/cpu/x86_64/include/bus_dma.h
918
#define bus_space_write_stream_1(t, h, o, v) \
sys/cpu/x86_64/include/bus_dma.h
919
bus_space_write_1((t), (h), (o), (v))
sys/cpu/x86_64/include/bus_dma.h
920
#define bus_space_write_stream_2(t, h, o, v) \
sys/cpu/x86_64/include/bus_dma.h
921
bus_space_write_2((t), (h), (o), (v))
sys/cpu/x86_64/include/bus_dma.h
922
#define bus_space_write_stream_4(t, h, o, v) \
sys/cpu/x86_64/include/bus_dma.h
923
bus_space_write_4((t), (h), (o), (v))
sys/cpu/x86_64/include/bus_dma.h
925
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
926
bus_space_write_multi_1((t), (h), (o), (a), (c))
sys/cpu/x86_64/include/bus_dma.h
927
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
928
bus_space_write_multi_2((t), (h), (o), (a), (c))
sys/cpu/x86_64/include/bus_dma.h
929
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
930
bus_space_write_multi_4((t), (h), (o), (a), (c))
sys/cpu/x86_64/include/bus_dma.h
932
#define bus_space_set_multi_stream_1(t, h, o, v, c) \
sys/cpu/x86_64/include/bus_dma.h
933
bus_space_set_multi_1((t), (h), (o), (v), (c))
sys/cpu/x86_64/include/bus_dma.h
934
#define bus_space_set_multi_stream_2(t, h, o, v, c) \
sys/cpu/x86_64/include/bus_dma.h
935
bus_space_set_multi_2((t), (h), (o), (v), (c))
sys/cpu/x86_64/include/bus_dma.h
936
#define bus_space_set_multi_stream_4(t, h, o, v, c) \
sys/cpu/x86_64/include/bus_dma.h
937
bus_space_set_multi_4((t), (h), (o), (v), (c))
sys/cpu/x86_64/include/bus_dma.h
939
#define bus_space_read_region_stream_1(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
940
bus_space_read_region_1((t), (h), (o), (a), (c))
sys/cpu/x86_64/include/bus_dma.h
941
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
942
bus_space_read_region_2((t), (h), (o), (a), (c))
sys/cpu/x86_64/include/bus_dma.h
943
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
944
bus_space_read_region_4((t), (h), (o), (a), (c))
sys/cpu/x86_64/include/bus_dma.h
946
#define bus_space_write_region_stream_1(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
947
bus_space_write_region_1((t), (h), (o), (a), (c))
sys/cpu/x86_64/include/bus_dma.h
948
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
949
bus_space_write_region_2((t), (h), (o), (a), (c))
sys/cpu/x86_64/include/bus_dma.h
950
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/cpu/x86_64/include/bus_dma.h
951
bus_space_write_region_4((t), (h), (o), (a), (c))
sys/cpu/x86_64/include/bus_dma.h
953
#define bus_space_set_region_stream_1(t, h, o, v, c) \
sys/cpu/x86_64/include/bus_dma.h
954
bus_space_set_region_1((t), (h), (o), (v), (c))
sys/cpu/x86_64/include/bus_dma.h
955
#define bus_space_set_region_stream_2(t, h, o, v, c) \
sys/cpu/x86_64/include/bus_dma.h
956
bus_space_set_region_2((t), (h), (o), (v), (c))
sys/cpu/x86_64/include/bus_dma.h
957
#define bus_space_set_region_stream_4(t, h, o, v, c) \
sys/cpu/x86_64/include/bus_dma.h
958
bus_space_set_region_4((t), (h), (o), (v), (c))
sys/cpu/x86_64/include/bus_dma.h
960
#define bus_space_copy_region_stream_1(t, h1, o1, h2, o2, c) \
sys/cpu/x86_64/include/bus_dma.h
961
bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
sys/cpu/x86_64/include/bus_dma.h
962
#define bus_space_copy_region_stream_2(t, h1, o1, h2, o2, c) \
sys/cpu/x86_64/include/bus_dma.h
963
bus_space_copy_region_2((t), (h1), (o1), (h2), (o2), (c))
sys/cpu/x86_64/include/bus_dma.h
964
#define bus_space_copy_region_stream_4(t, h1, o1, h2, o2, c) \
sys/cpu/x86_64/include/bus_dma.h
965
bus_space_copy_region_4((t), (h1), (o1), (h2), (o2), (c))
sys/cpu/x86_64/include/bus_dma.h
99
int bus_space_alloc(bus_space_tag_t t, bus_addr_t rstart,
sys/crypto/blake2/blake2s.c
117
v[12] = blake2s_iv[4] ^ state->t[0];
sys/crypto/blake2/blake2s.c
118
v[13] = blake2s_iv[5] ^ state->t[1];
sys/crypto/blake2/blake2s.c
59
state->t[0] += inc;
sys/crypto/blake2/blake2s.c
60
state->t[1] += (state->t[0] < inc);
sys/crypto/blake2/blake2s.h
33
uint32_t t[2];
sys/crypto/curve25519/curve25519.c
140
cmovznz32(uint32_t t, uint32_t z, uint32_t nz)
sys/crypto/curve25519/curve25519.c
142
t = -!!t; /* all set if nonzero, 0 if 0 */
sys/crypto/curve25519/curve25519.c
143
return (t&nz) | ((~t)&z);
sys/crypto/des/des_enc.c
163
l=r=t=u=0;
sys/crypto/des/des_enc.c
168
DES_LONG l,r,t,u;
sys/crypto/des/des_enc.c
254
l=r=t=u=0;
sys/crypto/des/des_enc.c
70
DES_LONG l,r,t,u;
sys/crypto/des/des_locl.h
127
#define LOAD_DATA(R,S,u,t,E0,E1,tmp) \
sys/crypto/des/des_locl.h
129
t=R^s[S+1]
sys/crypto/des/des_locl.h
147
LOAD_DATA(R,S,u,t,E0,E1,u1); \
sys/crypto/des/des_locl.h
151
t=ROTATE(t,4); \
sys/crypto/des/des_locl.h
160
u2=(int)t>>8L; \
sys/crypto/des/des_locl.h
161
u1=(int)t&0xfc; \
sys/crypto/des/des_locl.h
163
t>>=16L; \
sys/crypto/des/des_locl.h
166
u3=(int)t>>8L; \
sys/crypto/des/des_locl.h
167
u1=(int)t&0xfc; \
sys/crypto/des/des_locl.h
175
LOAD_DATA(R,S,u,t,E0,E1,u1); \
sys/crypto/des/des_locl.h
179
t=ROTATE(t,4); \
sys/crypto/des/des_locl.h
188
u2=(int)t>>8L; \
sys/crypto/des/des_locl.h
189
u1=(int)t&0xfc; \
sys/crypto/des/des_locl.h
193
s1=(int)(t>>16L); \
sys/crypto/des/des_locl.h
194
s2=(int)(t>>24L); \
sys/crypto/des/des_locl.h
199
u2=(int)t>>8L; \
sys/crypto/des/des_locl.h
200
u1=(int)t&0xfc; \
sys/crypto/des/des_locl.h
204
s1=(int)(t>>16L); \
sys/crypto/des/des_locl.h
205
s2=(int)(t>>24L); \
sys/crypto/des/des_locl.h
213
LOAD_DATA_tmp(R,S,u,t,E0,E1); \
sys/crypto/des/des_locl.h
214
t=ROTATE(t,4); \
sys/crypto/des/des_locl.h
220
*(const DES_LONG *)(des_SP+0x100+((t )&0xfc))^ \
sys/crypto/des/des_locl.h
221
*(const DES_LONG *)(des_SP+0x300+((t>> 8L)&0xfc))^ \
sys/crypto/des/des_locl.h
222
*(const DES_LONG *)(des_SP+0x500+((t>>16L)&0xfc))^ \
sys/crypto/des/des_locl.h
223
*(const DES_LONG *)(des_SP+0x700+((t>>24L)&0xfc)); }
sys/crypto/des/des_locl.h
231
LOAD_DATA(R,S,u,t,E0,E1,u1); \
sys/crypto/des/des_locl.h
233
t=ROTATE(t,6); \
sys/crypto/des/des_locl.h
245
u2=(int)t>>8L; \
sys/crypto/des/des_locl.h
246
u1=(int)t&0x3f; \
sys/crypto/des/des_locl.h
248
t>>=16L; \
sys/crypto/des/des_locl.h
251
u3=(int)t>>8L; \
sys/crypto/des/des_locl.h
252
u1=(int)t&0x3f; \
sys/crypto/des/des_locl.h
260
LOAD_DATA(R,S,u,t,E0,E1,u1); \
sys/crypto/des/des_locl.h
262
t=ROTATE(t,6); \
sys/crypto/des/des_locl.h
274
u2=(int)t>>8L; \
sys/crypto/des/des_locl.h
275
u1=(int)t&0x3f; \
sys/crypto/des/des_locl.h
279
s1=(int)t>>16; \
sys/crypto/des/des_locl.h
280
s2=(int)t>>24L; \
sys/crypto/des/des_locl.h
290
LOAD_DATA_tmp(R,S,u,t,E0,E1); \
sys/crypto/des/des_locl.h
291
t=ROTATE(t,4); \
sys/crypto/des/des_locl.h
297
des_SPtrans[1][(t>> 2L)&0x3f]^ \
sys/crypto/des/des_locl.h
298
des_SPtrans[3][(t>>10L)&0x3f]^ \
sys/crypto/des/des_locl.h
299
des_SPtrans[5][(t>>18L)&0x3f]^ \
sys/crypto/des/des_locl.h
300
des_SPtrans[7][(t>>26L)&0x3f]; }
sys/crypto/des/des_locl.h
341
#define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\
sys/crypto/des/des_locl.h
342
(b)^=(t),\
sys/crypto/des/des_locl.h
343
(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/rmd160/rmd160.c
162
u_int32_t a, b, c, d, e, aa, bb, cc, dd, ee, t, x[16];
sys/crypto/rmd160/rmd160.c
359
t = state[1] + cc + d;
sys/crypto/rmd160/rmd160.c
364
state[0] = t;
sys/crypto/sha1.c
134
for (t = 0; t < 20; t++) {
sys/crypto/sha1.c
135
s = t & 0x0f;
sys/crypto/sha1.c
136
if (t >= 16) {
sys/crypto/sha1.c
139
tmp = S(5, a) + F0(b, c, d) + e + W(s) + K(t);
sys/crypto/sha1.c
142
for (t = 20; t < 40; t++) {
sys/crypto/sha1.c
143
s = t & 0x0f;
sys/crypto/sha1.c
145
tmp = S(5, a) + F1(b, c, d) + e + W(s) + K(t);
sys/crypto/sha1.c
148
for (t = 40; t < 60; t++) {
sys/crypto/sha1.c
149
s = t & 0x0f;
sys/crypto/sha1.c
151
tmp = S(5, a) + F2(b, c, d) + e + W(s) + K(t);
sys/crypto/sha1.c
154
for (t = 60; t < 80; t++) {
sys/crypto/sha1.c
155
s = t & 0x0f;
sys/crypto/sha1.c
157
tmp = S(5, a) + F3(b, c, d) + e + W(s) + K(t);
sys/crypto/sha1.c
55
#define K(t) _K[(t) / 20]
sys/crypto/sha1.c
92
size_t t, s;
sys/crypto/twofish/twofish.c
399
u_int32_t i, t, u;
sys/crypto/twofish/twofish.c
403
t = p1 >> 24; // get most significant coefficient
sys/crypto/twofish/twofish.c
407
u = (t << 1);
sys/crypto/twofish/twofish.c
408
if(t & 0x80) // subtract modular polynomial on overflow
sys/crypto/twofish/twofish.c
411
p1 ^= t ^ (u << 16); // remove t * (a * x^2 + 1)
sys/crypto/twofish/twofish.c
412
u ^= (t >> 1); // form u = a * t + t / a = t * (a + 1 / a);
sys/crypto/twofish/twofish.c
414
if(t & 0x01) // add the modular polynomial on underflow
sys/ddb/db_command.c
148
int t;
sys/ddb/db_command.c
150
t = db_read_token();
sys/ddb/db_command.c
151
} while (t != tEOL);
sys/ddb/db_command.c
288
int t;
sys/ddb/db_command.c
295
t = db_read_token();
sys/ddb/db_command.c
296
if (t == tEOL) {
sys/ddb/db_command.c
304
else if (t == tEXCL) {
sys/ddb/db_command.c
308
else if (t != tIDENT) {
sys/ddb/db_command.c
347
t = db_read_token();
sys/ddb/db_command.c
348
if (t != tIDENT) {
sys/ddb/db_command.c
361
t = db_read_token();
sys/ddb/db_command.c
362
if (t == tSLASH) {
sys/ddb/db_command.c
363
t = db_read_token();
sys/ddb/db_command.c
364
if (t != tIDENT && t != tNUMBER) {
sys/ddb/db_command.c
372
db_unread_token(t);
sys/ddb/db_command.c
385
t = db_read_token();
sys/ddb/db_command.c
386
if (t == tCOMMA) {
sys/ddb/db_command.c
394
db_unread_token(t);
sys/ddb/db_command.c
523
int t;
sys/ddb/db_command.c
532
t = db_read_token();
sys/ddb/db_command.c
533
if (t == tLPAREN) {
sys/ddb/db_command.c
536
while ((t = db_read_token()) == tCOMMA) {
sys/ddb/db_command.c
549
db_unread_token(t);
sys/ddb/db_examine.c
270
int t;
sys/ddb/db_examine.c
277
t = db_read_token();
sys/ddb/db_examine.c
278
if (t == tSLASH) {
sys/ddb/db_examine.c
279
t = db_read_token();
sys/ddb/db_examine.c
280
if (t != tIDENT) {
sys/ddb/db_examine.c
296
db_unread_token(t);
sys/ddb/db_examine.c
315
t = db_read_token();
sys/ddb/db_examine.c
316
if (t == tCOMMA) {
sys/ddb/db_examine.c
323
db_unread_token(t);
sys/ddb/db_expr.c
103
int t;
sys/ddb/db_expr.c
105
t = db_read_token();
sys/ddb/db_expr.c
106
if (t == tMINUS) {
sys/ddb/db_expr.c
114
if (t == tSTAR) {
sys/ddb/db_expr.c
123
db_unread_token(t);
sys/ddb/db_expr.c
131
int t;
sys/ddb/db_expr.c
138
t = db_read_token();
sys/ddb/db_expr.c
139
while (t == tSTAR || t == tSLASH || t == tPCT || t == tHASH) {
sys/ddb/db_expr.c
144
if (t == tSTAR)
sys/ddb/db_expr.c
151
if (t == tSLASH)
sys/ddb/db_expr.c
153
else if (t == tPCT)
sys/ddb/db_expr.c
158
t = db_read_token();
sys/ddb/db_expr.c
160
db_unread_token(t);
sys/ddb/db_expr.c
169
int t;
sys/ddb/db_expr.c
176
t = db_read_token();
sys/ddb/db_expr.c
177
while (t == tPLUS || t == tMINUS) {
sys/ddb/db_expr.c
182
if (t == tPLUS)
sys/ddb/db_expr.c
186
t = db_read_token();
sys/ddb/db_expr.c
188
db_unread_token(t);
sys/ddb/db_expr.c
197
int t;
sys/ddb/db_expr.c
202
t = db_read_token();
sys/ddb/db_expr.c
203
while (t == tSHIFT_L || t == tSHIFT_R) {
sys/ddb/db_expr.c
212
if (t == tSHIFT_L)
sys/ddb/db_expr.c
218
t = db_read_token();
sys/ddb/db_expr.c
220
db_unread_token(t);
sys/ddb/db_expr.c
49
int t;
sys/ddb/db_expr.c
51
t = db_read_token();
sys/ddb/db_expr.c
52
if (t == tIDENT) {
sys/ddb/db_expr.c
59
if (t == tNUMBER) {
sys/ddb/db_expr.c
63
if (t == tDOT) {
sys/ddb/db_expr.c
67
if (t == tDOTDOT) {
sys/ddb/db_expr.c
71
if (t == tPLUS) {
sys/ddb/db_expr.c
75
if (t == tDITTO) {
sys/ddb/db_expr.c
79
if (t == tDOLLAR) {
sys/ddb/db_expr.c
84
if (t == tLPAREN) {
sys/ddb/db_expr.c
89
t = db_read_token();
sys/ddb/db_expr.c
90
if (t != tRPAREN) {
sys/ddb/db_expr.c
96
db_unread_token(t);
sys/ddb/db_lex.c
105
int t;
sys/ddb/db_lex.c
108
t = db_look_token;
sys/ddb/db_lex.c
112
t = db_lex();
sys/ddb/db_lex.c
113
return (t);
sys/ddb/db_lex.c
97
db_unread_token(int t)
sys/ddb/db_lex.c
99
db_look_token = t;
sys/ddb/db_lex.h
74
void db_unread_token (int t);
sys/ddb/db_variables.c
136
int t;
sys/ddb/db_variables.c
138
t = db_read_token();
sys/ddb/db_variables.c
139
if (t != tDOLLAR) {
sys/ddb/db_variables.c
148
t = db_read_token();
sys/ddb/db_variables.c
149
if (t != tEQ)
sys/ddb/db_variables.c
150
db_unread_token(t);
sys/ddb/db_variables.c
59
int t;
sys/ddb/db_variables.c
62
t = db_read_token();
sys/ddb/db_variables.c
63
if (t == tIDENT) {
sys/dev/acpica/acpivar.h
280
static __inline void varp ## _set_ ## var(device_t dev, type t) \
sys/dev/acpica/acpivar.h
282
uintptr_t v = (uintptr_t) t; \
sys/dev/acpica/acpivar.h
306
ACPI_OBJECT_TYPE t;
sys/dev/acpica/acpivar.h
310
if (ACPI_FAILURE(AcpiGetType(h, &t)))
sys/dev/acpica/acpivar.h
312
return (t);
sys/dev/disk/ahci/ahci.c
3615
int t;
sys/dev/disk/ahci/ahci.c
3620
for (t = 0; t < 100; ++t) {
sys/dev/disk/ahci/ahci.c
3638
int t;
sys/dev/disk/ahci/ahci.c
3643
for (t = 0; t < 100; ++t) {
sys/dev/disk/ahci/ahci.c
3652
t = 1000;
sys/dev/disk/ahci/ahci.c
3654
t -= ahci_os_softsleep();
sys/dev/disk/ahci/ahci.c
3657
} while (t > 0);
sys/dev/disk/isp/isp.c
2853
int t = lp->dev_map_idx - 1;
sys/dev/disk/isp/isp.c
2854
fcp->isp_dev_map[t] = dbidx + 1;
sys/dev/disk/isp/isp.c
5293
int t = XS_TGT(xs);
sys/dev/disk/isp/isp.c
5295
sdp->isp_devparam[t].dev_refresh = 1;
sys/dev/disk/isp/isp_freebsd.c
5169
int t = lp->dev_map_idx - 1;
sys/dev/disk/isp/isp_freebsd.c
5170
FCPARAM(isp, bus)->isp_dev_map[t] = (lp - FCPARAM(isp, bus)->portdb) + 1;
sys/dev/disk/isp/isp_freebsd.c
5703
struct timeval t;
sys/dev/disk/isp/isp_freebsd.c
5704
t.tv_sec = ms / 1000;
sys/dev/disk/isp/isp_freebsd.c
5705
t.tv_usec = (ms % 1000) * 1000;
sys/dev/disk/isp/isp_freebsd.c
5706
hz = tvtohz_high(&t);
sys/dev/disk/isp/ispreg.h
1018
#define ISP12160_NVRAM_TGT_RENEG(c, t, b) \
sys/dev/disk/isp/ispreg.h
1019
ISPBSMX(c, _IxT16(t, 0, (b)), 0, 0x01)
sys/dev/disk/isp/ispreg.h
1020
#define ISP12160_NVRAM_TGT_QFRZ(c, t, b) \
sys/dev/disk/isp/ispreg.h
1021
ISPBSMX(c, _IxT16(t, 0, (b)), 1, 0x01)
sys/dev/disk/isp/ispreg.h
1022
#define ISP12160_NVRAM_TGT_ARQ(c, t, b) \
sys/dev/disk/isp/ispreg.h
1023
ISPBSMX(c, _IxT16(t, 0, (b)), 2, 0x01)
sys/dev/disk/isp/ispreg.h
1024
#define ISP12160_NVRAM_TGT_TQING(c, t, b) \
sys/dev/disk/isp/ispreg.h
1025
ISPBSMX(c, _IxT16(t, 0, (b)), 3, 0x01)
sys/dev/disk/isp/ispreg.h
1026
#define ISP12160_NVRAM_TGT_SYNC(c, t, b) \
sys/dev/disk/isp/ispreg.h
1027
ISPBSMX(c, _IxT16(t, 0, (b)), 4, 0x01)
sys/dev/disk/isp/ispreg.h
1028
#define ISP12160_NVRAM_TGT_WIDE(c, t, b) \
sys/dev/disk/isp/ispreg.h
1029
ISPBSMX(c, _IxT16(t, 0, (b)), 5, 0x01)
sys/dev/disk/isp/ispreg.h
1030
#define ISP12160_NVRAM_TGT_PARITY(c, t, b) \
sys/dev/disk/isp/ispreg.h
1031
ISPBSMX(c, _IxT16(t, 0, (b)), 6, 0x01)
sys/dev/disk/isp/ispreg.h
1032
#define ISP12160_NVRAM_TGT_DISC(c, t, b) \
sys/dev/disk/isp/ispreg.h
1033
ISPBSMX(c, _IxT16(t, 0, (b)), 7, 0x01)
sys/dev/disk/isp/ispreg.h
1035
#define ISP12160_NVRAM_TGT_EXEC_THROTTLE(c, t, b) \
sys/dev/disk/isp/ispreg.h
1036
ISPBSMX(c, _IxT16(t, 1, (b)), 0, 0xff)
sys/dev/disk/isp/ispreg.h
1037
#define ISP12160_NVRAM_TGT_SYNC_PERIOD(c, t, b) \
sys/dev/disk/isp/ispreg.h
1038
ISPBSMX(c, _IxT16(t, 2, (b)), 0, 0xff)
sys/dev/disk/isp/ispreg.h
1040
#define ISP12160_NVRAM_TGT_SYNC_OFFSET(c, t, b) \
sys/dev/disk/isp/ispreg.h
1041
ISPBSMX(c, _IxT16(t, 3, (b)), 0, 0x1f)
sys/dev/disk/isp/ispreg.h
1042
#define ISP12160_NVRAM_TGT_DEVICE_ENABLE(c, t, b) \
sys/dev/disk/isp/ispreg.h
1043
ISPBSMX(c, _IxT16(t, 3, (b)), 5, 0x01)
sys/dev/disk/isp/ispreg.h
1045
#define ISP12160_NVRAM_PPR_OPTIONS(c, t, b) \
sys/dev/disk/isp/ispreg.h
1046
ISPBSMX(c, _IxT16(t, 4, (b)), 0, 0x0f)
sys/dev/disk/isp/ispreg.h
1047
#define ISP12160_NVRAM_PPR_WIDTH(c, t, b) \
sys/dev/disk/isp/ispreg.h
1048
ISPBSMX(c, _IxT16(t, 4, (b)), 4, 0x03)
sys/dev/disk/isp/ispreg.h
1049
#define ISP12160_NVRAM_PPR_ENABLE(c, t, b) \
sys/dev/disk/isp/ispreg.h
1050
ISPBSMX(c, _IxT16(t, 4, (b)), 7, 0x01)
sys/dev/disk/isp/ispreg.h
855
#define ISP_NVRAM_TGT_RENEG(c, t) ISPBSMX(c, _IxT(t, 0), 0, 0x01)
sys/dev/disk/isp/ispreg.h
856
#define ISP_NVRAM_TGT_QFRZ(c, t) ISPBSMX(c, _IxT(t, 0), 1, 0x01)
sys/dev/disk/isp/ispreg.h
857
#define ISP_NVRAM_TGT_ARQ(c, t) ISPBSMX(c, _IxT(t, 0), 2, 0x01)
sys/dev/disk/isp/ispreg.h
858
#define ISP_NVRAM_TGT_TQING(c, t) ISPBSMX(c, _IxT(t, 0), 3, 0x01)
sys/dev/disk/isp/ispreg.h
859
#define ISP_NVRAM_TGT_SYNC(c, t) ISPBSMX(c, _IxT(t, 0), 4, 0x01)
sys/dev/disk/isp/ispreg.h
860
#define ISP_NVRAM_TGT_WIDE(c, t) ISPBSMX(c, _IxT(t, 0), 5, 0x01)
sys/dev/disk/isp/ispreg.h
861
#define ISP_NVRAM_TGT_PARITY(c, t) ISPBSMX(c, _IxT(t, 0), 6, 0x01)
sys/dev/disk/isp/ispreg.h
862
#define ISP_NVRAM_TGT_DISC(c, t) ISPBSMX(c, _IxT(t, 0), 7, 0x01)
sys/dev/disk/isp/ispreg.h
863
#define ISP_NVRAM_TGT_EXEC_THROTTLE(c, t) ISPBSMX(c, _IxT(t, 1), 0, 0xff)
sys/dev/disk/isp/ispreg.h
864
#define ISP_NVRAM_TGT_SYNC_PERIOD(c, t) ISPBSMX(c, _IxT(t, 2), 0, 0xff)
sys/dev/disk/isp/ispreg.h
865
#define ISP_NVRAM_TGT_SYNC_OFFSET(c, t) ISPBSMX(c, _IxT(t, 3), 0, 0x0f)
sys/dev/disk/isp/ispreg.h
866
#define ISP_NVRAM_TGT_DEVICE_ENABLE(c, t) ISPBSMX(c, _IxT(t, 3), 4, 0x01)
sys/dev/disk/isp/ispreg.h
867
#define ISP_NVRAM_TGT_LUN_DISABLE(c, t) ISPBSMX(c, _IxT(t, 3), 5, 0x01)
sys/dev/disk/isp/ispreg.h
951
#define ISP1080_NVRAM_TGT_RENEG(c, t, b) \
sys/dev/disk/isp/ispreg.h
952
ISPBSMX(c, _IxT8(t, 0, (b)), 0, 0x01)
sys/dev/disk/isp/ispreg.h
953
#define ISP1080_NVRAM_TGT_QFRZ(c, t, b) \
sys/dev/disk/isp/ispreg.h
954
ISPBSMX(c, _IxT8(t, 0, (b)), 1, 0x01)
sys/dev/disk/isp/ispreg.h
955
#define ISP1080_NVRAM_TGT_ARQ(c, t, b) \
sys/dev/disk/isp/ispreg.h
956
ISPBSMX(c, _IxT8(t, 0, (b)), 2, 0x01)
sys/dev/disk/isp/ispreg.h
957
#define ISP1080_NVRAM_TGT_TQING(c, t, b) \
sys/dev/disk/isp/ispreg.h
958
ISPBSMX(c, _IxT8(t, 0, (b)), 3, 0x01)
sys/dev/disk/isp/ispreg.h
959
#define ISP1080_NVRAM_TGT_SYNC(c, t, b) \
sys/dev/disk/isp/ispreg.h
960
ISPBSMX(c, _IxT8(t, 0, (b)), 4, 0x01)
sys/dev/disk/isp/ispreg.h
961
#define ISP1080_NVRAM_TGT_WIDE(c, t, b) \
sys/dev/disk/isp/ispreg.h
962
ISPBSMX(c, _IxT8(t, 0, (b)), 5, 0x01)
sys/dev/disk/isp/ispreg.h
963
#define ISP1080_NVRAM_TGT_PARITY(c, t, b) \
sys/dev/disk/isp/ispreg.h
964
ISPBSMX(c, _IxT8(t, 0, (b)), 6, 0x01)
sys/dev/disk/isp/ispreg.h
965
#define ISP1080_NVRAM_TGT_DISC(c, t, b) \
sys/dev/disk/isp/ispreg.h
966
ISPBSMX(c, _IxT8(t, 0, (b)), 7, 0x01)
sys/dev/disk/isp/ispreg.h
967
#define ISP1080_NVRAM_TGT_EXEC_THROTTLE(c, t, b) \
sys/dev/disk/isp/ispreg.h
968
ISPBSMX(c, _IxT8(t, 1, (b)), 0, 0xff)
sys/dev/disk/isp/ispreg.h
969
#define ISP1080_NVRAM_TGT_SYNC_PERIOD(c, t, b) \
sys/dev/disk/isp/ispreg.h
970
ISPBSMX(c, _IxT8(t, 2, (b)), 0, 0xff)
sys/dev/disk/isp/ispreg.h
971
#define ISP1080_NVRAM_TGT_SYNC_OFFSET(c, t, b) \
sys/dev/disk/isp/ispreg.h
972
ISPBSMX(c, _IxT8(t, 3, (b)), 0, 0x0f)
sys/dev/disk/isp/ispreg.h
973
#define ISP1080_NVRAM_TGT_DEVICE_ENABLE(c, t, b) \
sys/dev/disk/isp/ispreg.h
974
ISPBSMX(c, _IxT8(t, 3, (b)), 4, 0x01)
sys/dev/disk/isp/ispreg.h
975
#define ISP1080_NVRAM_TGT_LUN_DISABLE(c, t, b) \
sys/dev/disk/isp/ispreg.h
976
ISPBSMX(c, _IxT8(t, 3, (b)), 5, 0x01)
sys/dev/disk/mpt/mpilib/mpi_targ.h
613
#define SET_IO_INDEX(t, i) \
sys/dev/disk/mpt/mpilib/mpi_targ.h
614
((t) = ((t) & ~TARGET_MODE_REPLY_IO_INDEX_MASK) | \
sys/dev/disk/mpt/mpilib/mpi_targ.h
621
#define SET_INITIATOR_INDEX(t, ii) \
sys/dev/disk/mpt/mpilib/mpi_targ.h
622
((t) = ((t) & ~TARGET_MODE_REPLY_INITIATOR_INDEX_MASK) | \
sys/dev/disk/mpt/mpilib/mpi_targ.h
629
#define SET_ALIAS(t, a) ((t) = ((t) & ~TARGET_MODE_REPLY_ALIAS_MASK) | \
sys/dev/disk/mpt/mpilib/mpi_targ.h
636
#define SET_PORT(t, p) ((t) = ((t) & ~TARGET_MODE_REPLY_PORT_MASK) | \
sys/dev/disk/mpt/mpilib/mpi_targ.h
653
#define SET_HOST_INDEX_0100(t, hi) \
sys/dev/disk/mpt/mpilib/mpi_targ.h
654
((t) = ((t) & ~TARGET_MODE_REPLY_0100_MASK_HOST_INDEX) | \
sys/dev/disk/mpt/mpilib/mpi_targ.h
661
#define SET_IOC_INDEX_0100(t, ii) \
sys/dev/disk/mpt/mpilib/mpi_targ.h
662
((t) = ((t) & ~TARGET_MODE_REPLY_0100_MASK_IOC_INDEX) | \
sys/dev/disk/mpt/mpilib/mpi_targ.h
670
#define SET_INITIATOR_INDEX_0100(t, ii) \
sys/dev/disk/mpt/mpilib/mpi_targ.h
671
((t) = ((t) & ~TARGET_MODE_REPLY_0100_MASK_INITIATOR_INDEX) | \
sys/dev/disk/mpt/mpt.h
1105
int mpt_read_cfg_page(struct mpt_softc *t, int /*Action*/,
sys/dev/disk/ncr/ncr.c
1260
static nccb_p ncr_get_nccb (ncb_p np, u_long t,u_long l);
sys/dev/disk/ncr/ncr.c
5106
long t;
sys/dev/disk/ncr/ncr.c
5127
t = thistime - np->heartbeat;
sys/dev/disk/ncr/ncr.c
5129
if (t<2) np->latetime=0; else np->latetime++;
sys/dev/disk/sbp/sbp.c
1548
int orb_fun, status_valid0, status_valid, t, l, reset_agent = 0;
sys/dev/disk/sbp/sbp.c
1577
t = SBP_ADDR2TRG(addr);
sys/dev/disk/sbp/sbp.c
1578
if (t >= SBP_NUM_TARGETS) {
sys/dev/disk/sbp/sbp.c
1580
"sbp_recv1: invalid target %d\n", t);
sys/dev/disk/sbp/sbp.c
1583
target = &sbp->targets[t];
sys/dev/disk/sbp/sbp.c
1587
"sbp_recv1: invalid lun %d (target=%d)\n", l, t);
sys/dev/disk/sbp/sbp.c
635
struct timeval t;
sys/dev/disk/sbp/sbp.c
640
t.tv_sec = login_delay / 1000;
sys/dev/disk/sbp/sbp.c
641
t.tv_usec = (login_delay % 1000) * 1000;
sys/dev/disk/sbp/sbp.c
642
timevalsub(&t, &delta);
sys/dev/disk/sbp/sbp.c
643
if (t.tv_sec >= 0 && t.tv_usec > 0)
sys/dev/disk/sbp/sbp.c
644
ticks = (t.tv_sec * 1000 + t.tv_usec / 1000) * hz / 1000;
sys/dev/disk/sbp/sbp.c
647
t.tv_sec, t.tv_usec, ticks);
sys/dev/disk/sbp/sbp.c
90
#define SBP_DEV2ADDR(t, l) \
sys/dev/disk/sbp/sbp.c
93
| (((t) & 0x3f) << 2))
sys/dev/disk/sili/sili.c
2263
int t;
sys/dev/disk/sili/sili.c
2268
for (t = 0; t < 100; ++t) {
sys/dev/disk/sili/sili.c
2286
int t;
sys/dev/disk/sili/sili.c
2291
for (t = 0; t < 100; ++t) {
sys/dev/disk/sili/sili.c
2300
t = 1000;
sys/dev/disk/sili/sili.c
2302
t -= sili_os_softsleep();
sys/dev/disk/sili/sili.c
2305
} while (t > 0);
sys/dev/disk/sym/sym_hipd.c
7986
int s, t;
sys/dev/disk/sym/sym_hipd.c
7991
t = nsegs - 1;
sys/dev/disk/sym/sym_hipd.c
7992
ps = psegs[t].ds_addr;
sys/dev/disk/sym/sym_hipd.c
7993
pe = ps + psegs[t].ds_len;
sys/dev/disk/sym/sym_hipd.c
8008
if (--t < 0)
sys/dev/disk/sym/sym_hipd.c
8010
ps = psegs[t].ds_addr;
sys/dev/disk/sym/sym_hipd.c
8011
pe = ps + psegs[t].ds_len;
sys/dev/disk/sym/sym_hipd.c
8019
return t >= 0 ? -1 : 0;
sys/dev/drm/amd/amdgpu/amdgpu_connectors.c
615
struct drm_display_mode *t, *mode;
sys/dev/drm/amd/amdgpu/amdgpu_connectors.c
618
list_for_each_entry_safe(mode, t, &connector->probed_modes, head) {
sys/dev/drm/amd/amdgpu/amdgpu_connectors.c
628
list_for_each_entry_safe(mode, t, &connector->probed_modes, head) {
sys/dev/drm/amd/amdgpu/amdgpu_dpm.c
206
int amdgpu_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th)
sys/dev/drm/amd/amdgpu/amdgpu_dpm.c
215
t1 = (t * (k - 100));
sys/dev/drm/amd/amdgpu/amdgpu_dpm.c
218
ah = ((a * t) + 5000) / 10000;
sys/dev/drm/amd/amdgpu/amdgpu_dpm.c
221
*th = t - ah;
sys/dev/drm/amd/amdgpu/amdgpu_dpm.c
222
*tl = t + al;
sys/dev/drm/amd/amdgpu/amdgpu_dpm.h
484
int amdgpu_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th);
sys/dev/drm/amd/amdgpu/amdgpu_fence.c
277
static void amdgpu_fence_fallback(struct timer_list *t)
sys/dev/drm/amd/amdgpu/amdgpu_fence.c
279
struct amdgpu_ring *ring = from_timer(ring, t,
sys/dev/drm/amd/amdgpu/amdgpu_gart.c
221
unsigned t;
sys/dev/drm/amd/amdgpu/amdgpu_gart.c
233
t = offset / AMDGPU_GPU_PAGE_SIZE;
sys/dev/drm/amd/amdgpu/amdgpu_gart.c
234
p = t / AMDGPU_GPU_PAGES_IN_CPU_PAGE;
sys/dev/drm/amd/amdgpu/amdgpu_gart.c
243
for (j = 0; j < AMDGPU_GPU_PAGES_IN_CPU_PAGE; j++, t++) {
sys/dev/drm/amd/amdgpu/amdgpu_gart.c
245
t, page_base, flags);
sys/dev/drm/amd/amdgpu/amdgpu_gart.c
271
unsigned i, j, t;
sys/dev/drm/amd/amdgpu/amdgpu_gart.c
278
t = offset / AMDGPU_GPU_PAGE_SIZE;
sys/dev/drm/amd/amdgpu/amdgpu_gart.c
282
for (j = 0; j < AMDGPU_GPU_PAGES_IN_CPU_PAGE; j++, t++) {
sys/dev/drm/amd/amdgpu/amdgpu_gart.c
283
amdgpu_gmc_set_pte_pde(adev, dst, t, page_base, flags);
sys/dev/drm/amd/amdgpu/amdgpu_gart.c
308
unsigned i,t,p;
sys/dev/drm/amd/amdgpu/amdgpu_gart.c
318
t = offset / AMDGPU_GPU_PAGE_SIZE;
sys/dev/drm/amd/amdgpu/amdgpu_gart.c
319
p = t / AMDGPU_GPU_PAGES_IN_CPU_PAGE;
sys/dev/drm/amd/amdgpu/amdgpu_ring.h
228
#define amdgpu_ring_test_ib(r, t) (r)->funcs->test_ib((r), (t))
sys/dev/drm/amd/amdgpu/amdgpu_sa.c
283
signed long t;
sys/dev/drm/amd/amdgpu/amdgpu_sa.c
322
t = dma_fence_wait_any_timeout(fences, count, false,
sys/dev/drm/amd/amdgpu/amdgpu_sa.c
328
r = (t > 0) ? 0 : t;
sys/dev/drm/amd/amdgpu/amdgpu_vf_error.h
28
#define AMDGIM_ERROR_CODE(t,c) (((t&0xF)<<12)|(c&0xFFF))
sys/dev/drm/amd/amdgpu/kv_dpm.c
400
data |= ((values->t << local_cac_reg->t_shift) &
sys/dev/drm/amd/amdgpu/kv_dpm.h
81
u32 t;
sys/dev/drm/amd/amdgpu/si_dpm.c
1862
u16 v, s32 t, u32 ileakage, u32 *leakage)
sys/dev/drm/amd/amdgpu/si_dpm.c
1870
temperature = div64_s64(drm_int2fixp(t), 1000);
sys/dev/drm/amd/amdgpu/si_dpm.c
1891
s32 t,
sys/dev/drm/amd/amdgpu/si_dpm.c
1895
si_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage);
sys/dev/drm/amd/amdgpu/si_dpm.c
2682
s32 t;
sys/dev/drm/amd/amdgpu/si_dpm.c
2690
t = (1000 * (i * t_step + t0));
sys/dev/drm/amd/amdgpu/si_dpm.c
2698
t,
sys/dev/drm/amd/amdgpu/si_dpm.c
3356
static int r600_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th)
sys/dev/drm/amd/amdgpu/si_dpm.c
3365
t1 = (t * (k - 100));
sys/dev/drm/amd/amdgpu/si_dpm.c
3368
ah = ((a * t) + 5000) / 10000;
sys/dev/drm/amd/amdgpu/si_dpm.c
3371
*th = t - ah;
sys/dev/drm/amd/amdgpu/si_dpm.c
3372
*tl = t + al;
sys/dev/drm/amd/display/dc/bios/command_table_helper.c
122
enum transmitter t)
sys/dev/drm/amd/display/dc/bios/command_table_helper.c
124
switch (t) {
sys/dev/drm/amd/display/dc/bios/command_table_helper.h
55
enum transmitter t);
sys/dev/drm/amd/display/dc/bios/command_table_helper2.c
138
enum transmitter t)
sys/dev/drm/amd/display/dc/bios/command_table_helper2.c
140
switch (t) {
sys/dev/drm/amd/display/dc/bios/command_table_helper2.h
50
enum transmitter t);
sys/dev/drm/amd/display/dc/bios/command_table_helper_struct.h
51
uint8_t (*transmitter_bp_to_atom)(enum transmitter t);
sys/dev/drm/amd/display/dc/bios/command_table_helper_struct.h
58
uint8_t (*phy_id_to_atom)(enum transmitter t);
sys/dev/drm/amd/display/dc/bios/dce110/command_table_helper_dce110.c
34
static uint8_t phy_id_to_atom(enum transmitter t)
sys/dev/drm/amd/display/dc/bios/dce110/command_table_helper_dce110.c
38
switch (t) {
sys/dev/drm/amd/display/dc/bios/dce112/command_table_helper2_dce112.c
34
static uint8_t phy_id_to_atom(enum transmitter t)
sys/dev/drm/amd/display/dc/bios/dce112/command_table_helper2_dce112.c
38
switch (t) {
sys/dev/drm/amd/display/dc/bios/dce112/command_table_helper_dce112.c
34
static uint8_t phy_id_to_atom(enum transmitter t)
sys/dev/drm/amd/display/dc/bios/dce112/command_table_helper_dce112.c
38
switch (t) {
sys/dev/drm/amd/display/dc/bios/dce80/command_table_helper_dce80.c
273
static uint8_t phy_id_to_atom(enum transmitter t)
sys/dev/drm/amd/display/dc/bios/dce80/command_table_helper_dce80.c
277
switch (t) {
sys/dev/drm/drm_connector.c
378
struct drm_display_mode *mode, *t;
sys/dev/drm/drm_connector.c
392
list_for_each_entry_safe(mode, t, &connector->probed_modes, head)
sys/dev/drm/drm_connector.c
395
list_for_each_entry_safe(mode, t, &connector->modes, head)
sys/dev/drm/drm_edid.c
1834
#define MODE_REFRESH_DIFF(c,t) (abs((c) - (t)))
sys/dev/drm/drm_edid.c
1847
struct drm_display_mode *t, *cur_mode, *preferred_mode;
sys/dev/drm/drm_edid.c
1862
list_for_each_entry_safe(cur_mode, t, &connector->probed_modes, head) {
sys/dev/drm/drm_edid.c
1987
is_rb(struct detailed_timing *t, void *data)
sys/dev/drm/drm_edid.c
1989
u8 *r = (u8 *)t;
sys/dev/drm/drm_edid.c
2009
find_gtf2(struct detailed_timing *t, void *data)
sys/dev/drm/drm_edid.c
2011
u8 *r = (u8 *)t;
sys/dev/drm/drm_edid.c
2096
struct std_timing *t)
sys/dev/drm/drm_edid.c
2102
unsigned aspect_ratio = (t->vfreq_aspect & EDID_TIMING_ASPECT_MASK)
sys/dev/drm/drm_edid.c
2104
unsigned vfreq = (t->vfreq_aspect & EDID_TIMING_VFREQ_MASK)
sys/dev/drm/drm_edid.c
2108
if (bad_std_timing(t->hsize, t->vfreq_aspect))
sys/dev/drm/drm_edid.c
2112
hsize = t->hsize * 8 + 248;
sys/dev/drm/drm_edid.c
2358
struct edid *edid, u8 *t)
sys/dev/drm/drm_edid.c
2362
hmin = t[7];
sys/dev/drm/drm_edid.c
2364
hmin += ((t[4] & 0x04) ? 255 : 0);
sys/dev/drm/drm_edid.c
2365
hmax = t[8];
sys/dev/drm/drm_edid.c
2367
hmax += ((t[4] & 0x08) ? 255 : 0);
sys/dev/drm/drm_edid.c
2375
struct edid *edid, u8 *t)
sys/dev/drm/drm_edid.c
2379
vmin = t[5];
sys/dev/drm/drm_edid.c
2381
vmin += ((t[4] & 0x01) ? 255 : 0);
sys/dev/drm/drm_edid.c
2382
vmax = t[6];
sys/dev/drm/drm_edid.c
2384
vmax += ((t[4] & 0x02) ? 255 : 0);
sys/dev/drm/drm_edid.c
2391
range_pixel_clock(struct edid *edid, u8 *t)
sys/dev/drm/drm_edid.c
2394
if (t[9] == 0 || t[9] == 255)
sys/dev/drm/drm_edid.c
2398
if (edid->revision >= 4 && t[10] == 0x04)
sys/dev/drm/drm_edid.c
2399
return (t[9] * 10000) - ((t[12] >> 2) * 250);
sys/dev/drm/drm_edid.c
2402
return t[9] * 10000 + 5001;
sys/dev/drm/drm_edid.c
2410
u8 *t = (u8 *)timing;
sys/dev/drm/drm_edid.c
2412
if (!mode_in_hsync_range(mode, edid, t))
sys/dev/drm/drm_edid.c
2415
if (!mode_in_vsync_range(mode, edid, t))
sys/dev/drm/drm_edid.c
2418
if ((max_clock = range_pixel_clock(edid, t)))
sys/dev/drm/drm_edid.c
2423
if (edid->revision >= 4 && t[10] == 0x04)
sys/dev/drm/drm_edid.c
2424
if (t[13] && mode->hdisplay > 8 * (t[13] + (256 * (t[12]&0x3))))
sys/dev/drm/drm_edid.c
3871
monitor_name(struct detailed_timing *t, void *data)
sys/dev/drm/drm_edid.c
3873
if (t->data.other_data.type == EDID_DETAIL_MONITOR_NAME)
sys/dev/drm/drm_edid.c
3874
*(u8 **)data = t->data.other_data.data.str.str;
sys/dev/drm/drm_modes.c
1288
struct drm_display_mode *mode, *t;
sys/dev/drm/drm_modes.c
1290
list_for_each_entry_safe(mode, t, mode_list, head) {
sys/dev/drm/drm_vblank.c
1120
struct drm_pending_vblank_event *e, *t;
sys/dev/drm/drm_vblank.c
1155
list_for_each_entry_safe(e, t, &dev->vblank_event_list, base.link) {
sys/dev/drm/drm_vblank.c
1648
struct drm_pending_vblank_event *e, *t;
sys/dev/drm/drm_vblank.c
1656
list_for_each_entry_safe(e, t, &dev->vblank_event_list, base.link) {
sys/dev/drm/drm_vblank.c
378
static void vblank_disable_fn(struct timer_list *t)
sys/dev/drm/drm_vblank.c
380
struct drm_vblank_crtc *vblank = from_timer(vblank, t, disable_timer);
sys/dev/drm/i915/i915_gem.h
86
static inline void __tasklet_disable_sync_once(struct tasklet_struct *t)
sys/dev/drm/i915/i915_gem.h
88
if (atomic_inc_return(&t->count) == 1)
sys/dev/drm/i915/i915_gem.h
89
tasklet_unlock_wait(t);
sys/dev/drm/i915/i915_gem.h
92
static inline bool __tasklet_is_enabled(const struct tasklet_struct *t)
sys/dev/drm/i915/i915_gem.h
94
return !atomic_read(&t->count);
sys/dev/drm/i915/i915_reg.h
4210
#define EDP_MAX_SU_DISABLE_TIME(t) ((t) << 20)
sys/dev/drm/i915/i915_request.c
1159
unsigned long t;
sys/dev/drm/i915/i915_request.c
1174
t = local_clock() >> 10;
sys/dev/drm/i915/i915_request.c
1177
return t;
sys/dev/drm/i915/i915_selftest.h
103
#define igt_timeout(t, fmt, ...) \
sys/dev/drm/i915/i915_selftest.h
104
__igt_timeout((t), KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
sys/dev/drm/i915/i915_sw_fence.c
387
static void timer_i915_sw_fence_wake(struct timer_list *t)
sys/dev/drm/i915/i915_sw_fence.c
389
struct i915_sw_dma_fence_cb_timer *cb = from_timer(cb, t, timer);
sys/dev/drm/i915/intel_breadcrumbs.c
133
static void intel_breadcrumbs_fake_irq(struct timer_list *t)
sys/dev/drm/i915/intel_breadcrumbs.c
136
from_timer(engine, t, breadcrumbs.fake_irq);
sys/dev/drm/i915/intel_breadcrumbs.c
96
static void intel_breadcrumbs_hangcheck(struct timer_list *t)
sys/dev/drm/i915/intel_breadcrumbs.c
99
from_timer(engine, t, breadcrumbs.hangcheck);
sys/dev/drm/i915/intel_engine_cs.c
942
struct tasklet_struct *t = &engine->execlists.tasklet;
sys/dev/drm/i915/intel_engine_cs.c
945
if (tasklet_trylock(t)) {
sys/dev/drm/i915/intel_engine_cs.c
947
if (__tasklet_is_enabled(t))
sys/dev/drm/i915/intel_engine_cs.c
948
t->func(t->data);
sys/dev/drm/i915/intel_engine_cs.c
949
tasklet_unlock(t);
sys/dev/drm/i915/intel_engine_cs.c
954
tasklet_unlock_wait(t);
sys/dev/drm/i915/intel_mocs.c
434
struct drm_i915_mocs_table t;
sys/dev/drm/i915/intel_mocs.c
437
if (get_mocs_settings(rq->i915, &t)) {
sys/dev/drm/i915/intel_mocs.c
439
ret = emit_mocs_control_table(rq, &t);
sys/dev/drm/i915/intel_mocs.c
444
ret = emit_mocs_l3cc_table(rq, &t);
sys/dev/drm/i915/intel_pm.c
7774
u16 t;
sys/dev/drm/i915/intel_pm.c
7821
cparams[i].t == dev_priv->ips.r_t) {
sys/dev/drm/i915/intel_pm.c
7940
unsigned long t, corr, state1, corr2, state2;
sys/dev/drm/i915/intel_pm.c
7951
t = i915_mch_val(dev_priv);
sys/dev/drm/i915/intel_pm.c
7956
if (t > 80)
sys/dev/drm/i915/intel_pm.c
7957
corr = ((t * 2349) + 135940);
sys/dev/drm/i915/intel_pm.c
7958
else if (t >= 50)
sys/dev/drm/i915/intel_pm.c
7959
corr = ((t * 964) + 29317);
sys/dev/drm/i915/intel_pm.c
7961
corr = ((t * 301) + 1004);
sys/dev/drm/include/drm/drm_modes.h
134
#define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \
sys/dev/drm/include/drm/drm_modes.h
135
.name = nm, .status = 0, .type = (t), .clock = (c), \
sys/dev/drm/include/linux/hashtable.h
74
#define hash_for_each_safe(h, i, t, n, f) \
sys/dev/drm/include/linux/hashtable.h
76
hlist_for_each_entry_safe(n, t, &(h)[i], f)
sys/dev/drm/include/linux/interrupt.h
67
void tasklet_init(struct tasklet_struct *t,
sys/dev/drm/include/linux/interrupt.h
69
void tasklet_schedule(struct tasklet_struct *t);
sys/dev/drm/include/linux/interrupt.h
70
void tasklet_hi_schedule(struct tasklet_struct *t);
sys/dev/drm/include/linux/interrupt.h
71
void tasklet_kill(struct tasklet_struct *t);
sys/dev/drm/include/linux/interrupt.h
73
int tasklet_trylock(struct tasklet_struct *t);
sys/dev/drm/include/linux/interrupt.h
74
void tasklet_unlock(struct tasklet_struct *t);
sys/dev/drm/include/linux/interrupt.h
75
void tasklet_unlock_wait(struct tasklet_struct *t);
sys/dev/drm/include/linux/interrupt.h
78
tasklet_enable(struct tasklet_struct *t)
sys/dev/drm/include/linux/interrupt.h
80
atomic_dec(&t->count);
sys/dev/drm/include/linux/interrupt.h
84
tasklet_disable(struct tasklet_struct *t)
sys/dev/drm/include/linux/interrupt.h
86
atomic_inc(&t->count);
sys/dev/drm/include/linux/kernel.h
63
#define udelay(t) DELAY(t)
sys/dev/drm/include/linux/sched.h
251
struct thread *t = p->dfly_td;
sys/dev/drm/include/linux/sched.h
254
if (t->td_lwp == NULL)
sys/dev/drm/include/linux/sched.h
257
return CURSIG(t->td_lwp);
sys/dev/drm/include/linux/sched.h
263
struct thread *t = p->dfly_td;
sys/dev/drm/include/linux/sched.h
267
if (t->td_lwp == NULL)
sys/dev/drm/include/linux/sched.h
270
pending_set = lwp_sigpend(t->td_lwp);
sys/dev/drm/include/linux/timer.h
62
#define setup_timer_on_stack(t, f,d) setup_timer(t, f, d)
sys/dev/drm/linux_tasklet.c
125
tasklet_init(struct tasklet_struct *t,
sys/dev/drm/linux_tasklet.c
128
t->state = 0;
sys/dev/drm/linux_tasklet.c
129
t->func = func;
sys/dev/drm/linux_tasklet.c
130
t->data = data;
sys/dev/drm/linux_tasklet.c
131
atomic_set(&t->count, 0);
sys/dev/drm/linux_tasklet.c
134
#define TASKLET_SCHEDULE_COMMON(t, list) do { \
sys/dev/drm/linux_tasklet.c
138
if (test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) \
sys/dev/drm/linux_tasklet.c
142
if (te->ts == t) \
sys/dev/drm/linux_tasklet.c
147
te->ts = t; \
sys/dev/drm/linux_tasklet.c
158
tasklet_schedule(struct tasklet_struct *t)
sys/dev/drm/linux_tasklet.c
160
TASKLET_SCHEDULE_COMMON(t, tlist);
sys/dev/drm/linux_tasklet.c
164
tasklet_hi_schedule(struct tasklet_struct *t)
sys/dev/drm/linux_tasklet.c
166
TASKLET_SCHEDULE_COMMON(t, tlist_hi);
sys/dev/drm/linux_tasklet.c
170
tasklet_kill(struct tasklet_struct *t)
sys/dev/drm/linux_tasklet.c
172
set_bit(TASKLET_IS_DYING, &t->state);
sys/dev/drm/linux_tasklet.c
174
tasklet_unlock_wait(t);
sys/dev/drm/linux_tasklet.c
178
tasklet_trylock(struct tasklet_struct *t)
sys/dev/drm/linux_tasklet.c
180
return !test_and_set_bit(TASKLET_STATE_RUN, &t->state);
sys/dev/drm/linux_tasklet.c
184
tasklet_unlock(struct tasklet_struct *t)
sys/dev/drm/linux_tasklet.c
186
clear_bit(TASKLET_STATE_RUN, &t->state);
sys/dev/drm/linux_tasklet.c
190
tasklet_unlock_wait(struct tasklet_struct *t)
sys/dev/drm/linux_tasklet.c
193
while (test_bit(TASKLET_STATE_RUN, &t->state)) {
sys/dev/drm/linux_tasklet.c
69
struct tasklet_struct *t = te->ts; \
sys/dev/drm/linux_tasklet.c
75
if (test_bit(TASKLET_IS_DYING, &t->state)) { \
sys/dev/drm/linux_tasklet.c
81
if (atomic_read(&t->count) != 0) \
sys/dev/drm/linux_tasklet.c
85
if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state)) \
sys/dev/drm/linux_tasklet.c
88
if (!tasklet_trylock(t)) \
sys/dev/drm/linux_tasklet.c
92
if (t->func) \
sys/dev/drm/linux_tasklet.c
93
t->func(t->data); \
sys/dev/drm/linux_tasklet.c
96
tasklet_unlock(t); \
sys/dev/drm/radeon/kv_dpm.c
268
data |= ((values->t << local_cac_reg->t_shift) &
sys/dev/drm/radeon/kv_dpm.h
55
u32 t;
sys/dev/drm/radeon/ni_dpm.c
3053
s32 t;
sys/dev/drm/radeon/ni_dpm.c
3066
t = (1000 * ((i + 1) * 8));
sys/dev/drm/radeon/ni_dpm.c
3068
if (t < ni_pi->cac_data.leakage_minimum_temperature)
sys/dev/drm/radeon/ni_dpm.c
3069
t = ni_pi->cac_data.leakage_minimum_temperature;
sys/dev/drm/radeon/ni_dpm.c
3074
t,
sys/dev/drm/radeon/ni_dpm.c
741
u16 v, s32 t,
sys/dev/drm/radeon/ni_dpm.c
749
temperature = div64_s64(drm_int2fixp(t), 1000);
sys/dev/drm/radeon/ni_dpm.c
764
s32 t,
sys/dev/drm/radeon/ni_dpm.c
768
ni_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage);
sys/dev/drm/radeon/nid.h
1337
#define DMA_PACKET(cmd, t, s, n) ((((cmd) & 0xF) << 28) | \
sys/dev/drm/radeon/nid.h
1338
(((t) & 0x1) << 23) | \
sys/dev/drm/radeon/r100.c
2087
static void r100_cs_track_texture_print(struct r100_cs_track_texture *t)
sys/dev/drm/radeon/r100.c
2089
DRM_ERROR("pitch %d\n", t->pitch);
sys/dev/drm/radeon/r100.c
2090
DRM_ERROR("use_pitch %d\n", t->use_pitch);
sys/dev/drm/radeon/r100.c
2091
DRM_ERROR("width %d\n", t->width);
sys/dev/drm/radeon/r100.c
2092
DRM_ERROR("width_11 %d\n", t->width_11);
sys/dev/drm/radeon/r100.c
2093
DRM_ERROR("height %d\n", t->height);
sys/dev/drm/radeon/r100.c
2094
DRM_ERROR("height_11 %d\n", t->height_11);
sys/dev/drm/radeon/r100.c
2095
DRM_ERROR("num levels %d\n", t->num_levels);
sys/dev/drm/radeon/r100.c
2096
DRM_ERROR("depth %d\n", t->txdepth);
sys/dev/drm/radeon/r100.c
2097
DRM_ERROR("bpp %d\n", t->cpp);
sys/dev/drm/radeon/r100.c
2098
DRM_ERROR("coordinate type %d\n", t->tex_coord_type);
sys/dev/drm/radeon/r100.c
2099
DRM_ERROR("width round to power of 2 %d\n", t->roundup_w);
sys/dev/drm/radeon/r100.c
2100
DRM_ERROR("height round to power of 2 %d\n", t->roundup_h);
sys/dev/drm/radeon/r100.c
2101
DRM_ERROR("compress format %d\n", t->compress_format);
sys/dev/drm/radeon/r600_dpm.c
222
int r600_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th)
sys/dev/drm/radeon/r600_dpm.c
231
t1 = (t * (k - 100));
sys/dev/drm/radeon/r600_dpm.c
234
ah = ((a * t) + 5000) / 10000;
sys/dev/drm/radeon/r600_dpm.c
237
*th = t - ah;
sys/dev/drm/radeon/r600_dpm.c
238
*tl = t + al;
sys/dev/drm/radeon/r600_dpm.c
391
void r600_set_sst(struct radeon_device *rdev, u32 t)
sys/dev/drm/radeon/r600_dpm.c
393
WREG32_P(CG_SSP, CG_SST(t), ~CG_SST_MASK);
sys/dev/drm/radeon/r600_dpm.c
396
void r600_set_git(struct radeon_device *rdev, u32 t)
sys/dev/drm/radeon/r600_dpm.c
398
WREG32_P(CG_GIT, CG_GICST(t), ~CG_GICST_MASK);
sys/dev/drm/radeon/r600_dpm.c
406
void r600_set_fct(struct radeon_device *rdev, u32 t)
sys/dev/drm/radeon/r600_dpm.c
408
WREG32_P(CG_FC_T, FC_T(t), ~FC_T_MASK);
sys/dev/drm/radeon/r600_dpm.h
140
int r600_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th);
sys/dev/drm/radeon/r600_dpm.h
161
void r600_set_sst(struct radeon_device *rdev, u32 t);
sys/dev/drm/radeon/r600_dpm.h
162
void r600_set_git(struct radeon_device *rdev, u32 t);
sys/dev/drm/radeon/r600_dpm.h
164
void r600_set_fct(struct radeon_device *rdev, u32 t);
sys/dev/drm/radeon/r600d.h
645
#define DMA_PACKET(cmd, t, s, n) ((((cmd) & 0xF) << 28) | \
sys/dev/drm/radeon/r600d.h
646
(((t) & 0x1) << 23) | \
sys/dev/drm/radeon/radeon_connectors.c
780
struct drm_display_mode *t, *mode;
sys/dev/drm/radeon/radeon_connectors.c
783
list_for_each_entry_safe(mode, t, &connector->probed_modes, head) {
sys/dev/drm/radeon/radeon_connectors.c
793
list_for_each_entry_safe(mode, t, &connector->probed_modes, head) {
sys/dev/drm/radeon/radeon_fence.c
1073
signed long t)
sys/dev/drm/radeon/radeon_fence.c
1082
return t;
sys/dev/drm/radeon/radeon_fence.c
1084
while (t > 0) {
sys/dev/drm/radeon/radeon_fence.c
1098
t = -EDEADLK;
sys/dev/drm/radeon/radeon_fence.c
1102
t = schedule_timeout(t);
sys/dev/drm/radeon/radeon_fence.c
1104
if (t > 0 && intr && signal_pending(current))
sys/dev/drm/radeon/radeon_fence.c
1105
t = -ERESTARTSYS;
sys/dev/drm/radeon/radeon_fence.c
1111
return t;
sys/dev/drm/radeon/radeon_gart.c
244
unsigned t;
sys/dev/drm/radeon/radeon_gart.c
252
t = offset / RADEON_GPU_PAGE_SIZE;
sys/dev/drm/radeon/radeon_gart.c
253
p = t / (PAGE_SIZE / RADEON_GPU_PAGE_SIZE);
sys/dev/drm/radeon/radeon_gart.c
257
for (j = 0; j < (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); j++, t++) {
sys/dev/drm/radeon/radeon_gart.c
258
rdev->gart.pages_entry[t] = rdev->dummy_page.entry;
sys/dev/drm/radeon/radeon_gart.c
260
radeon_gart_set_page(rdev, t,
sys/dev/drm/radeon/radeon_gart.c
290
unsigned t;
sys/dev/drm/radeon/radeon_gart.c
299
t = offset / RADEON_GPU_PAGE_SIZE;
sys/dev/drm/radeon/radeon_gart.c
300
p = t / (PAGE_SIZE / RADEON_GPU_PAGE_SIZE);
sys/dev/drm/radeon/radeon_gart.c
305
for (j = 0; j < (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); j++, t++) {
sys/dev/drm/radeon/radeon_gart.c
307
rdev->gart.pages_entry[t] = page_entry;
sys/dev/drm/radeon/radeon_gart.c
309
radeon_gart_set_page(rdev, t, page_entry);
sys/dev/drm/radeon/rv770d.h
663
#define DMA_PACKET(cmd, t, s, n) ((((cmd) & 0xF) << 28) | \
sys/dev/drm/radeon/rv770d.h
664
(((t) & 0x1) << 23) | \
sys/dev/drm/radeon/si_dpm.c
1772
u16 v, s32 t, u32 ileakage, u32 *leakage)
sys/dev/drm/radeon/si_dpm.c
1780
temperature = div64_s64(drm_int2fixp(t), 1000);
sys/dev/drm/radeon/si_dpm.c
1801
s32 t,
sys/dev/drm/radeon/si_dpm.c
1805
si_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage);
sys/dev/drm/radeon/si_dpm.c
2586
s32 t;
sys/dev/drm/radeon/si_dpm.c
2594
t = (1000 * (i * t_step + t0));
sys/dev/drm/radeon/si_dpm.c
2602
t,
sys/dev/drm/radeon/sid.h
1853
#define DMA_PACKET(cmd, b, t, s, n) ((((cmd) & 0xF) << 28) | \
sys/dev/drm/radeon/sid.h
1855
(((t) & 0x1) << 23) | \
sys/dev/drm/radeon/sumo_dpm.c
896
u32 t = 1;
sys/dev/drm/radeon/sumo_dpm.c
900
deep_sleep_cntl |= HS(t > 4095 ? 4095 : t);
sys/dev/drm/ttm/ttm_page_alloc_dma.c
1195
struct device_pools *p, *t;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
1200
list_for_each_entry_safe_reverse(p, t, &_manager->pools, pools) {
sys/dev/drm/ttm/ttm_page_alloc_dma.c
554
enum pool_type t[] = {IS_WC, IS_UC, IS_CACHED, IS_DMA32, IS_HUGE};
sys/dev/drm/ttm/ttm_page_alloc_dma.c
602
for (i = 0; i < ARRAY_SIZE(t); i++) {
sys/dev/drm/ttm/ttm_page_alloc_dma.c
603
if (type & t[i]) {
sys/dev/misc/atkbdc_layer/atkbdc_isa.c
213
int t;
sys/dev/misc/atkbdc_layer/atkbdc_isa.c
215
if (resource_int_value(name, unit, "disabled", &t) == 0 && t != 0)
sys/dev/misc/atkbdc_layer/atkbdc_isa.c
221
if (resource_int_value(name, unit, "irq", &t) == 0)
sys/dev/misc/atkbdc_layer/atkbdc_isa.c
222
kdev->irq = t;
sys/dev/misc/atkbdc_layer/atkbdc_isa.c
226
if (resource_int_value(name, unit, "flags", &t) == 0)
sys/dev/misc/atkbdc_layer/atkbdc_isa.c
227
kdev->flags = t;
sys/dev/misc/coremctl/coremctl.c
144
const struct coremctl_type *t;
sys/dev/misc/coremctl/coremctl.c
155
for (t = coremctl_types; t->desc != NULL; ++t) {
sys/dev/misc/coremctl/coremctl.c
156
if (t->did == did) {
sys/dev/misc/coremctl/coremctl.c
167
const struct coremctl_type *t;
sys/dev/misc/coremctl/coremctl.c
174
for (t = coremctl_types; t->desc != NULL; ++t) {
sys/dev/misc/coremctl/coremctl.c
175
if (t->did == did) {
sys/dev/misc/coremctl/coremctl.c
178
device_set_desc(dev, t->desc);
sys/dev/misc/coremctl/coremctl.c
179
sc->sc_ver = t->ver;
sys/dev/misc/dcons/dcons_os.c
304
dcons_tty_param(struct tty *tp, struct termios *t)
sys/dev/misc/dcons/dcons_os.c
307
tp->t_ispeed = t->c_ispeed;
sys/dev/misc/dcons/dcons_os.c
308
tp->t_ospeed = t->c_ospeed;
sys/dev/misc/dcons/dcons_os.c
309
tp->t_cflag = t->c_cflag;
sys/dev/misc/ecc/ecc_e3.c
175
const struct ecc_e3_type *t;
sys/dev/misc/ecc/ecc_e3.c
182
for (t = ecc_e3_types; t->desc != NULL; ++t) {
sys/dev/misc/ecc/ecc_e3.c
183
if (t->did == did) {
sys/dev/misc/ecc/ecc_e3.c
186
device_set_desc(dev, t->desc);
sys/dev/misc/ecc/ecc_e3.c
187
sc->ecc_ver = t->ver;
sys/dev/misc/joy/joy.c
185
struct timespec t, start, end;
sys/dev/misc/joy/joy.c
197
t = start;
sys/dev/misc/joy/joy.c
200
while (timespeccmp(&t, &end, <)) {
sys/dev/misc/joy/joy.c
204
nanotime(&t);
sys/dev/misc/joy/joy.c
206
x = t;
sys/dev/misc/joy/joy.c
208
y = t;
sys/dev/misc/kbd/atkbdc.c
856
int t;
sys/dev/misc/kbd/atkbdc.c
865
for (t = wait; t > 0;) {
sys/dev/misc/kbd/atkbdc.c
877
t = wait;
sys/dev/misc/kbd/atkbdc.c
879
t -= delta;
sys/dev/misc/kbd/atkbdc.c
896
int t;
sys/dev/misc/kbd/atkbdc.c
905
for (t = wait; t > 0;) {
sys/dev/misc/kbd/atkbdc.c
917
t = wait;
sys/dev/misc/kbd/atkbdc.c
919
t -= delta;
sys/dev/misc/kbd/atkbdc.c
936
int t;
sys/dev/misc/kbd/atkbdc.c
945
for (t = wait; t > 0;) {
sys/dev/misc/kbd/atkbdc.c
955
t = wait;
sys/dev/misc/kbd/atkbdc.c
957
t -= delta;
sys/dev/misc/kbd/atkbdcreg.h
293
void empty_kbd_buffer(KBDC kbdc, int t);
sys/dev/misc/kbd/atkbdcreg.h
294
void empty_aux_buffer(KBDC kbdc, int t);
sys/dev/misc/kbd/atkbdcreg.h
295
void empty_both_buffers(KBDC kbdc, int t);
sys/dev/misc/syscons/rain/rain_saver.c
59
int i, t;
sys/dev/misc/syscons/rain/rain_saver.c
61
t = rain_pal[(RAINMAX*3+2)];
sys/dev/misc/syscons/rain/rain_saver.c
64
rain_pal[5] = t;
sys/dev/misc/syscons/syscons.c
180
static int scparam(struct tty *tp, struct termios *t);
sys/dev/misc/syscons/syscons.c
959
scparam(struct tty *tp, struct termios *t)
sys/dev/misc/syscons/syscons.c
962
tp->t_ispeed = t->c_ispeed;
sys/dev/misc/syscons/syscons.c
963
tp->t_ospeed = t->c_ospeed;
sys/dev/misc/syscons/syscons.c
964
tp->t_cflag = t->c_cflag;
sys/dev/misc/vkbd/vkbd.c
88
#define VKBD_SLEEP(s, f, d, t) \
sys/dev/misc/vkbd/vkbd.c
89
msleep(&(s)->f, &(s)->ks_lock, PCATCH | PZERO, d, t)
sys/dev/misc/vkbd/vkbd.c
97
#define VKBD_SLEEP(s, f, d, t) tsleep(&(s)->f, PCATCH | 0, d, t)
sys/dev/netif/ath/ath/if_ath.c
4538
#define TXQACTIVE(t, q) ( (t) & (1 << (q)))
sys/dev/netif/ath/ath/if_ath_sysctl.c
461
int i, t, param = 0;
sys/dev/netif/ath/ath/if_ath_sysctl.c
508
i = t = 0;
sys/dev/netif/ath/ath/if_ath_sysctl.c
512
kprintf("Busy: %d\n", t);
sys/dev/netif/ath/ath/if_ath_sysctl.c
515
t++;
sys/dev/netif/ath/ath/if_ath_sysctl.c
519
t, i, sc->sc_txbuf_cnt);
sys/dev/netif/ath/ath/if_ath_sysctl.c
521
i = t = 0;
sys/dev/netif/ath/ath/if_ath_sysctl.c
525
kprintf("Busy: %d\n", t);
sys/dev/netif/ath/ath/if_ath_sysctl.c
528
t++;
sys/dev/netif/ath/ath/if_ath_sysctl.c
532
t, i);
sys/dev/netif/ath/ath/if_ath_tdma.c
167
struct if_ath_alq_tdma_timer_set t;
sys/dev/netif/ath/ath/if_ath_tdma.c
168
t.bt_intval = htobe32(bt.bt_intval);
sys/dev/netif/ath/ath/if_ath_tdma.c
169
t.bt_nexttbtt = htobe32(bt.bt_nexttbtt);
sys/dev/netif/ath/ath/if_ath_tdma.c
170
t.bt_nextdba = htobe32(bt.bt_nextdba);
sys/dev/netif/ath/ath/if_ath_tdma.c
171
t.bt_nextswba = htobe32(bt.bt_nextswba);
sys/dev/netif/ath/ath/if_ath_tdma.c
172
t.bt_nextatim = htobe32(bt.bt_nextatim);
sys/dev/netif/ath/ath/if_ath_tdma.c
173
t.bt_flags = htobe32(bt.bt_flags);
sys/dev/netif/ath/ath/if_ath_tdma.c
174
t.sc_tdmadbaprep = htobe32(sc->sc_tdmadbaprep);
sys/dev/netif/ath/ath/if_ath_tdma.c
175
t.sc_tdmaswbaprep = htobe32(sc->sc_tdmaswbaprep);
sys/dev/netif/ath/ath/if_ath_tdma.c
177
sizeof(t), (char *) &t);
sys/dev/netif/ath/ath/if_ath_tdma.c
320
struct if_ath_alq_tdma_timer_config t;
sys/dev/netif/ath/ath/if_ath_tdma.c
322
t.tdma_slot = htobe32(tdma->tdma_slot);
sys/dev/netif/ath/ath/if_ath_tdma.c
323
t.tdma_slotlen = htobe32(tdma->tdma_slotlen);
sys/dev/netif/ath/ath/if_ath_tdma.c
324
t.tdma_slotcnt = htobe32(tdma->tdma_slotcnt);
sys/dev/netif/ath/ath/if_ath_tdma.c
325
t.tdma_bintval = htobe32(tdma->tdma_bintval);
sys/dev/netif/ath/ath/if_ath_tdma.c
326
t.tdma_guard = htobe32(sc->sc_tdmaguard);
sys/dev/netif/ath/ath/if_ath_tdma.c
327
t.tdma_scbintval = htobe32(sc->sc_tdmabintval);
sys/dev/netif/ath/ath/if_ath_tdma.c
328
t.tdma_dbaprep = htobe32(sc->sc_tdmadbaprep);
sys/dev/netif/ath/ath/if_ath_tdma.c
331
sizeof(t), (char *) &t);
sys/dev/netif/ath/ath/if_ath_tdma.c
517
struct if_ath_alq_tdma_beacon_state t;
sys/dev/netif/ath/ath/if_ath_tdma.c
518
t.rx_tsf = htobe64(rstamp);
sys/dev/netif/ath/ath/if_ath_tdma.c
519
t.beacon_tsf = htobe64(le64toh(ni->ni_tstamp.tsf));
sys/dev/netif/ath/ath/if_ath_tdma.c
520
t.tsf64 = htobe64(tsf);
sys/dev/netif/ath/ath/if_ath_tdma.c
521
t.nextslot_tsf = htobe64(nextslot);
sys/dev/netif/ath/ath/if_ath_tdma.c
522
t.nextslot_tu = htobe32(nextslottu);
sys/dev/netif/ath/ath/if_ath_tdma.c
523
t.txtime = htobe32(txtime);
sys/dev/netif/ath/ath/if_ath_tdma.c
525
sizeof(t), (char *) &t);
sys/dev/netif/ath/ath/if_ath_tdma.c
529
struct if_ath_alq_tdma_slot_calc t;
sys/dev/netif/ath/ath/if_ath_tdma.c
531
t.nexttbtt = htobe64(nexttbtt_full);
sys/dev/netif/ath/ath/if_ath_tdma.c
532
t.next_slot = htobe64(nextslot);
sys/dev/netif/ath/ath/if_ath_tdma.c
533
t.tsfdelta = htobe32(tsfdelta);
sys/dev/netif/ath/ath/if_ath_tdma.c
534
t.avg_plus = htobe32(TDMA_AVG(sc->sc_avgtsfdeltap));
sys/dev/netif/ath/ath/if_ath_tdma.c
535
t.avg_minus = htobe32(TDMA_AVG(sc->sc_avgtsfdeltam));
sys/dev/netif/ath/ath/if_ath_tdma.c
538
sizeof(t), (char *) &t);
sys/dev/netif/ath/ath/if_ath_tdma.c
594
struct if_ath_alq_tdma_tsf_adjust t;
sys/dev/netif/ath/ath/if_ath_tdma.c
596
t.tsfdelta = htobe32(tsfdelta);
sys/dev/netif/ath/ath/if_ath_tdma.c
597
t.tsf64_old = htobe64(tsf);
sys/dev/netif/ath/ath/if_ath_tdma.c
598
t.tsf64_new = htobe64(tsf + tsfdelta);
sys/dev/netif/ath/ath/if_ath_tdma.c
600
sizeof(t), (char *) &t);
sys/dev/netif/ath/ath/if_ath_tx.c
4002
int t;
sys/dev/netif/ath/ath/if_ath_tx.c
4009
t = 0;
sys/dev/netif/ath/ath/if_ath_tx.c
4016
if (t == 0) {
sys/dev/netif/ath/ath/if_ath_tx.c
4026
t = 0;
sys/dev/netif/ath/ath/if_ath_tx.c
4032
if (t == 0) {
sys/dev/netif/bce/if_bce.c
563
struct bce_type *t;
sys/dev/netif/bce/if_bce.c
573
for (t = bce_devs; t->bce_name != NULL; ++t) {
sys/dev/netif/bce/if_bce.c
574
if (vid == t->bce_vid && did == t->bce_did &&
sys/dev/netif/bce/if_bce.c
575
(svid == t->bce_svid || t->bce_svid == PCI_ANY_ID) &&
sys/dev/netif/bce/if_bce.c
576
(sdid == t->bce_sdid || t->bce_sdid == PCI_ANY_ID)) {
sys/dev/netif/bce/if_bce.c
584
t->bce_name,
sys/dev/netif/bfe/if_bfe.c
166
struct bfe_type *t;
sys/dev/netif/bfe/if_bfe.c
172
for (t = bfe_devs; t->bfe_name != NULL; t++) {
sys/dev/netif/bfe/if_bfe.c
173
if (vendor == t->bfe_vid && product == t->bfe_did) {
sys/dev/netif/bfe/if_bfe.c
174
device_set_desc(dev, t->bfe_name);
sys/dev/netif/bge/if_bge.c
2010
const struct bge_type *t;
sys/dev/netif/bge/if_bge.c
2016
for (t = bge_devs; t->bge_name != NULL; t++) {
sys/dev/netif/bge/if_bge.c
2017
if (vendor == t->bge_vid && product == t->bge_did)
sys/dev/netif/bge/if_bge.c
2020
if (t->bge_name == NULL)
sys/dev/netif/bge/if_bge.c
2023
device_set_desc(dev, t->bge_name);
sys/dev/netif/bnx/if_bnx.c
1845
const struct bnx_type *t;
sys/dev/netif/bnx/if_bnx.c
1854
for (t = bnx_devs; t->bnx_name != NULL; t++) {
sys/dev/netif/bnx/if_bnx.c
1855
if (vendor == t->bnx_vid && product == t->bnx_did)
sys/dev/netif/bnx/if_bnx.c
1858
if (t->bnx_name == NULL)
sys/dev/netif/bnx/if_bnx.c
1861
device_set_desc(dev, t->bnx_name);
sys/dev/netif/bwn/siba/sibavar.h
328
static __inline void varp ## _set_ ## var(device_t dev, type t) \
sys/dev/netif/bwn/siba/sibavar.h
330
uintptr_t v = (uintptr_t) t; \
sys/dev/netif/dc/if_dc.c
1546
const struct dc_type *t;
sys/dev/netif/dc/if_dc.c
1549
t = dc_devs;
sys/dev/netif/dc/if_dc.c
1551
while(t->dc_name != NULL) {
sys/dev/netif/dc/if_dc.c
1552
if ((pci_get_vendor(dev) == t->dc_vid) &&
sys/dev/netif/dc/if_dc.c
1553
(pci_get_device(dev) == t->dc_did)) {
sys/dev/netif/dc/if_dc.c
1556
if (t->dc_did == DC_DEVICEID_98713 &&
sys/dev/netif/dc/if_dc.c
1558
t++;
sys/dev/netif/dc/if_dc.c
1559
if (t->dc_did == DC_DEVICEID_98713_CP &&
sys/dev/netif/dc/if_dc.c
1561
t++;
sys/dev/netif/dc/if_dc.c
1562
if (t->dc_did == DC_DEVICEID_987x5 &&
sys/dev/netif/dc/if_dc.c
1564
t++;
sys/dev/netif/dc/if_dc.c
1565
if (t->dc_did == DC_DEVICEID_987x5 &&
sys/dev/netif/dc/if_dc.c
1567
t++;
sys/dev/netif/dc/if_dc.c
1568
if (t->dc_did == DC_DEVICEID_AX88140A &&
sys/dev/netif/dc/if_dc.c
1570
t++;
sys/dev/netif/dc/if_dc.c
1571
if (t->dc_did == DC_DEVICEID_82C168 &&
sys/dev/netif/dc/if_dc.c
1573
t++;
sys/dev/netif/dc/if_dc.c
1574
if (t->dc_did == DC_DEVICEID_DM9102 &&
sys/dev/netif/dc/if_dc.c
1576
t++;
sys/dev/netif/dc/if_dc.c
1577
return(t);
sys/dev/netif/dc/if_dc.c
1579
t++;
sys/dev/netif/dc/if_dc.c
1597
const struct dc_type *t;
sys/dev/netif/dc/if_dc.c
1599
t = dc_devtype(dev);
sys/dev/netif/dc/if_dc.c
1600
if (t != NULL) {
sys/dev/netif/dc/if_dc.c
1604
sc->dc_info = t;
sys/dev/netif/dc/if_dc.c
1605
device_set_desc(dev, t->dc_name);
sys/dev/netif/iwm/if_iwm_pcie_trans.c
390
int t = 0;
sys/dev/netif/iwm/if_iwm_pcie_trans.c
408
t += 200;
sys/dev/netif/iwm/if_iwm_pcie_trans.c
409
} while (t < 150000);
sys/dev/netif/lge/if_lge.c
405
struct lge_type *t;
sys/dev/netif/lge/if_lge.c
411
for (t = lge_devs; t->lge_name != NULL; t++) {
sys/dev/netif/lge/if_lge.c
412
if (vendor == t->lge_vid && product == t->lge_did) {
sys/dev/netif/lge/if_lge.c
413
device_set_desc(dev, t->lge_name);
sys/dev/netif/my/if_my.c
757
struct my_type *t;
sys/dev/netif/my/if_my.c
763
for (t = my_devs; t->my_name != NULL; t++) {
sys/dev/netif/my/if_my.c
764
if (vendor == t->my_vid && product == t->my_did) {
sys/dev/netif/my/if_my.c
765
device_set_desc(dev, t->my_name);
sys/dev/netif/my/if_my.c
791
struct my_type *t;
sys/dev/netif/my/if_my.c
797
for (t = my_devs; t->my_name != NULL; t++) {
sys/dev/netif/my/if_my.c
798
if (vendor == t->my_vid && product == t->my_did)
sys/dev/netif/my/if_my.c
802
if (t->my_name == NULL)
sys/dev/netif/my/if_my.c
816
if (t->my_did == MTD800ID) {
sys/dev/netif/my/if_my.c
857
sc->my_info = t;
sys/dev/netif/nfe/if_nfereg.h
139
#define NFE_IMTIME(t) ((((t) * 100) / 1024) & 0xffff)
sys/dev/netif/nge/if_nge.c
699
struct nge_type *t;
sys/dev/netif/nge/if_nge.c
705
for (t = nge_devs; t->nge_name != NULL; t++) {
sys/dev/netif/nge/if_nge.c
706
if (vendor == t->nge_vid && product == t->nge_did) {
sys/dev/netif/nge/if_nge.c
707
device_set_desc(dev, t->nge_name);
sys/dev/netif/pcn/if_pcn.c
384
struct pcn_type *t;
sys/dev/netif/pcn/if_pcn.c
389
t = pcn_devs;
sys/dev/netif/pcn/if_pcn.c
392
while(t->pcn_name != NULL) {
sys/dev/netif/pcn/if_pcn.c
393
if ((pci_get_vendor(dev) == t->pcn_vid) &&
sys/dev/netif/pcn/if_pcn.c
394
(pci_get_device(dev) == t->pcn_did)) {
sys/dev/netif/pcn/if_pcn.c
467
device_set_desc(dev, t->pcn_name);
sys/dev/netif/pcn/if_pcn.c
470
t++;
sys/dev/netif/re/if_re.c
299
const struct re_type *t;
sys/dev/netif/re/if_re.c
314
for (t = re_devs; t->re_name != NULL; t++) {
sys/dev/netif/re/if_re.c
315
if (product == t->re_did && vendor == t->re_vid)
sys/dev/netif/re/if_re.c
318
if (t->re_name == NULL)
sys/dev/netif/re/if_re.c
321
device_set_desc(dev, t->re_name);
sys/dev/netif/re/if_rereg.h
58
#define RE_IM_RXTIME(t) ((t) & 0xf)
sys/dev/netif/re/if_rereg.h
59
#define RE_IM_TXTIME(t) (((t) & 0xf) << 8)
sys/dev/netif/re/re.c
835
struct re_type *t;
sys/dev/netif/re/re.c
836
t = re_devs;
sys/dev/netif/re/re.c
837
while (t->re_name != NULL) {
sys/dev/netif/re/re.c
838
if ((pci_get_vendor(dev) == t->re_vid) &&
sys/dev/netif/re/re.c
839
(pci_get_device(dev) == t->re_did)) {
sys/dev/netif/re/re.c
840
device_set_desc(dev, t->re_name);
sys/dev/netif/re/re.c
843
t++;
sys/dev/netif/rl/if_rl.c
714
struct rl_type *t;
sys/dev/netif/rl/if_rl.c
718
for (t = rl_devs; t->rl_name != NULL; t++) {
sys/dev/netif/rl/if_rl.c
719
if (vendor == t->rl_vid && product == t->rl_did) {
sys/dev/netif/rl/if_rl.c
720
device_set_desc(dev, t->rl_name);
sys/dev/netif/sbsh/if_sbsh.c
1010
t = (cksum ^ 0xff) + 1;
sys/dev/netif/sbsh/if_sbsh.c
1011
if (issue_cx28975_cmd(sc, _DSL_DOWNLOAD_END, (u_int8_t *) &t, 1))
sys/dev/netif/sbsh/if_sbsh.c
329
u_int8_t t;
sys/dev/netif/sbsh/if_sbsh.c
340
t = 2;
sys/dev/netif/sbsh/if_sbsh.c
341
issue_cx28975_cmd(sc, _DSL_CLEAR_ERROR_CTRS, &t, 1);
sys/dev/netif/sbsh/if_sbsh.c
342
if (issue_cx28975_cmd(sc, _DSL_ACTIVATION, &t, 1) == 0) {
sys/dev/netif/sbsh/if_sbsh.c
354
u_int8_t t;
sys/dev/netif/sbsh/if_sbsh.c
358
t = 0;
sys/dev/netif/sbsh/if_sbsh.c
359
issue_cx28975_cmd(sc, _DSL_ACTIVATION, &t, 1);
sys/dev/netif/sbsh/if_sbsh.c
361
t = 1;
sys/dev/netif/sbsh/if_sbsh.c
362
issue_cx28975_cmd(sc, _DSL_FORCE_DEACTIVATE, &t, 1);
sys/dev/netif/sbsh/if_sbsh.c
397
u_int8_t t;
sys/dev/netif/sbsh/if_sbsh.c
433
t = 0;
sys/dev/netif/sbsh/if_sbsh.c
434
if (issue_cx28975_cmd(sc, _DSL_FAR_END_ATTEN, &t, 1))
sys/dev/netif/sbsh/if_sbsh.c
438
if (issue_cx28975_cmd(sc, _DSL_NOISE_MARGIN, &t, 1))
sys/dev/netif/sbsh/if_sbsh.c
442
if (issue_cx28975_cmd(sc, _DSL_POWER_BACK_OFF_RESULT, &t, 1))
sys/dev/netif/sbsh/if_sbsh.c
447
if (!issue_cx28975_cmd(sc, _DSL_HDSL_PERF_ERR_CTRS, &t, 1)) {
sys/dev/netif/sbsh/if_sbsh.c
477
t = 2;
sys/dev/netif/sbsh/if_sbsh.c
478
if (issue_cx28975_cmd(sc, _DSL_CLEAR_ERROR_CTRS, &t, 1))
sys/dev/netif/sbsh/if_sbsh.c
902
u_int8_t t, parm[12];
sys/dev/netif/sbsh/if_sbsh.c
905
t = p->intr_host;
sys/dev/netif/sbsh/if_sbsh.c
937
t = cfg.master ? 1 : 9;
sys/dev/netif/sbsh/if_sbsh.c
938
if (issue_cx28975_cmd(sc, _DSL_SYSTEM_ENABLE, &t, 1))
sys/dev/netif/sbsh/if_sbsh.c
941
t = 0x63;
sys/dev/netif/sbsh/if_sbsh.c
942
if (issue_cx28975_cmd(sc, _DSL_SYSTEM_CONFIG, &t, 1))
sys/dev/netif/sbsh/if_sbsh.c
975
t = cfg.master ? 0x23 : 0x21;
sys/dev/netif/sbsh/if_sbsh.c
976
if (issue_cx28975_cmd(sc, _DSL_FR_PCM_CONFIG, &t, 1))
sys/dev/netif/sbsh/if_sbsh.c
979
t = 0x02;
sys/dev/netif/sbsh/if_sbsh.c
980
if (issue_cx28975_cmd(sc, _DSL_INTR_HOST_MASK, &t, 1))
sys/dev/netif/sbsh/if_sbsh.c
990
u_int32_t t;
sys/dev/netif/sbsh/if_sbsh.c
997
t = img_len;
sys/dev/netif/sbsh/if_sbsh.c
998
if (issue_cx28975_cmd(sc, _DSL_DOWNLOAD_START, (u_int8_t *) &t, 4))
sys/dev/netif/sf/if_sf.c
583
struct sf_type *t;
sys/dev/netif/sf/if_sf.c
585
t = sf_devs;
sys/dev/netif/sf/if_sf.c
587
while(t->sf_name != NULL) {
sys/dev/netif/sf/if_sf.c
588
if ((pci_get_vendor(dev) == t->sf_vid) &&
sys/dev/netif/sf/if_sf.c
589
(pci_get_device(dev) == t->sf_did)) {
sys/dev/netif/sf/if_sf.c
620
device_set_desc(dev, t->sf_name);
sys/dev/netif/sf/if_sf.c
625
t++;
sys/dev/netif/sis/if_sis.c
900
struct sis_type *t;
sys/dev/netif/sis/if_sis.c
902
t = sis_devs;
sys/dev/netif/sis/if_sis.c
904
while(t->sis_name != NULL) {
sys/dev/netif/sis/if_sis.c
905
if ((pci_get_vendor(dev) == t->sis_vid) &&
sys/dev/netif/sis/if_sis.c
906
(pci_get_device(dev) == t->sis_did)) {
sys/dev/netif/sis/if_sis.c
907
device_set_desc(dev, t->sis_name);
sys/dev/netif/sis/if_sis.c
910
t++;
sys/dev/netif/sk/if_sk.c
1020
const struct skc_type *t;
sys/dev/netif/sk/if_sk.c
1035
for (t = skc_devs; t->skc_name != NULL; t++) {
sys/dev/netif/sk/if_sk.c
1036
if (vid == t->skc_vid && did == t->skc_did) {
sys/dev/netif/sk/if_sk.c
1037
device_set_desc(dev, t->skc_name);
sys/dev/netif/ste/if_ste.c
823
struct ste_type *t;
sys/dev/netif/ste/if_ste.c
825
t = ste_devs;
sys/dev/netif/ste/if_ste.c
827
while(t->ste_name != NULL) {
sys/dev/netif/ste/if_ste.c
828
if ((pci_get_vendor(dev) == t->ste_vid) &&
sys/dev/netif/ste/if_ste.c
829
(pci_get_device(dev) == t->ste_did)) {
sys/dev/netif/ste/if_ste.c
830
device_set_desc(dev, t->ste_name);
sys/dev/netif/ste/if_ste.c
833
t++;
sys/dev/netif/ti/if_ti.c
1389
struct ti_type *t;
sys/dev/netif/ti/if_ti.c
1395
for (t = ti_devs; t->ti_name != NULL; t++) {
sys/dev/netif/ti/if_ti.c
1396
if (vendor == t->ti_vid && product == t->ti_did) {
sys/dev/netif/ti/if_ti.c
1397
device_set_desc(dev, t->ti_name);
sys/dev/netif/tl/if_tl.c
1032
struct tl_type *t;
sys/dev/netif/tl/if_tl.c
1034
t = tl_devs;
sys/dev/netif/tl/if_tl.c
1036
while(t->tl_name != NULL) {
sys/dev/netif/tl/if_tl.c
1037
if ((pci_get_vendor(dev) == t->tl_vid) &&
sys/dev/netif/tl/if_tl.c
1038
(pci_get_device(dev) == t->tl_did)) {
sys/dev/netif/tl/if_tl.c
1039
device_set_desc(dev, t->tl_name);
sys/dev/netif/tl/if_tl.c
1042
t++;
sys/dev/netif/tl/if_tl.c
1053
struct tl_type *t;
sys/dev/netif/tl/if_tl.c
1063
t = tl_devs;
sys/dev/netif/tl/if_tl.c
1064
while(t->tl_name != NULL) {
sys/dev/netif/tl/if_tl.c
1065
if (vid == t->tl_vid && did == t->tl_did)
sys/dev/netif/tl/if_tl.c
1067
t++;
sys/dev/netif/tl/if_tl.c
1070
KKASSERT(t->tl_name != NULL);
sys/dev/netif/tl/if_tl.c
1143
sc->tl_dinfo = t;
sys/dev/netif/tl/if_tl.c
1144
if (t->tl_vid == COMPAQ_VENDORID || t->tl_vid == TI_VENDORID)
sys/dev/netif/tl/if_tl.c
1146
if (t->tl_vid == OLICOM_VENDORID)
sys/dev/netif/tl/if_tl.c
840
int t;
sys/dev/netif/tl/if_tl.c
842
t = (addr[0] ^ addr[3]) << 16 | (addr[1] ^ addr[4]) << 8 |
sys/dev/netif/tl/if_tl.c
844
return ((t >> 18) ^ (t >> 12) ^ (t >> 6) ^ t) & 0x3f;
sys/dev/netif/tx/if_tx.c
162
struct epic_type *t;
sys/dev/netif/tx/if_tx.c
167
for (t = epic_devs; t->name != NULL; ++t) {
sys/dev/netif/tx/if_tx.c
168
if (vid == t->ven_id && did == t->dev_id) {
sys/dev/netif/tx/if_tx.c
169
device_set_desc(dev, t->name);
sys/dev/netif/txp/if_txp.c
185
struct txp_type *t;
sys/dev/netif/txp/if_txp.c
191
for (t = txp_devs; t->txp_name != NULL; ++t) {
sys/dev/netif/txp/if_txp.c
192
if ((vid == t->txp_vid) && (did == t->txp_did)) {
sys/dev/netif/txp/if_txp.c
193
device_set_desc(dev, t->txp_name);
sys/dev/netif/vge/if_vge.c
606
const struct vge_type *t;
sys/dev/netif/vge/if_vge.c
611
for (t = vge_devs; t->vge_name != NULL; ++t) {
sys/dev/netif/vge/if_vge.c
612
if (vid == t->vge_vid && did == t->vge_did) {
sys/dev/netif/vge/if_vge.c
613
device_set_desc(dev, t->vge_name);
sys/dev/netif/vr/if_vr.c
628
struct vr_type *t;
sys/dev/netif/vr/if_vr.c
634
for (t = vr_devs; t->vr_name != NULL; ++t) {
sys/dev/netif/vr/if_vr.c
635
if (vid == t->vr_vid && did == t->vr_did) {
sys/dev/netif/vr/if_vr.c
636
device_set_desc(dev, t->vr_name);
sys/dev/netif/wb/if_wb.c
686
struct wb_type *t;
sys/dev/netif/wb/if_wb.c
692
for (t = wb_devs; t->wb_name != NULL; t++) {
sys/dev/netif/wb/if_wb.c
693
if (vendor == t->wb_vid && product == t->wb_did) {
sys/dev/netif/wb/if_wb.c
694
device_set_desc(dev, t->wb_name);
sys/dev/netif/xl/if_xl.c
992
struct xl_type *t;
sys/dev/netif/xl/if_xl.c
997
for (t = xl_devs; t->xl_name != NULL; t++) {
sys/dev/netif/xl/if_xl.c
998
if (vid == t->xl_vid && did == t->xl_did) {
sys/dev/netif/xl/if_xl.c
999
device_set_desc(dev, t->xl_name);
sys/dev/powermng/kate/kate.c
261
uint32_t t, m;
sys/dev/powermng/kate/kate.c
265
t = pci_read_config(sc->sc_dev, K_THERMTRIP_STAT_R, 4);
sys/dev/powermng/kate/kate.c
270
K_T_SEL_C0(t);
sys/dev/powermng/kate/kate.c
271
K_T_SEL_S0(t);
sys/dev/powermng/kate/kate.c
274
K_T_SEL_C0(t);
sys/dev/powermng/kate/kate.c
275
K_T_SEL_S1(t);
sys/dev/powermng/kate/kate.c
278
K_T_SEL_C1(t);
sys/dev/powermng/kate/kate.c
279
K_T_SEL_S0(t);
sys/dev/powermng/kate/kate.c
282
K_T_SEL_C1(t);
sys/dev/powermng/kate/kate.c
283
K_T_SEL_S1(t);
sys/dev/powermng/kate/kate.c
286
m = t & (K_THERM_SENSE_CORE_SEL | K_THERM_SENSE_SEL);
sys/dev/powermng/kate/kate.c
287
pci_write_config(sc->sc_dev, K_THERMTRIP_STAT_R, t, 4);
sys/dev/powermng/kate/kate.c
288
t = pci_read_config(sc->sc_dev, K_THERMTRIP_STAT_R, 4);
sys/dev/powermng/kate/kate.c
289
v = 0x3ff & (t >> 14);
sys/dev/powermng/kate/kate.c
294
if ((t & (K_THERM_SENSE_CORE_SEL | K_THERM_SENSE_SEL)) == m &&
sys/dev/powermng/memtemp/memtemp_core.c
142
const struct memtemp_core_type *t;
sys/dev/powermng/memtemp/memtemp_core.c
149
for (t = memtemp_core_types; t->desc != NULL; ++t) {
sys/dev/powermng/memtemp/memtemp_core.c
150
if (t->did == did) {
sys/dev/powermng/memtemp/memtemp_core.c
151
device_set_desc(dev, t->desc);
sys/dev/raid/aac/aacreg.h
1240
#define AAC_BTL_TO_HANDLE(b, t, l) \
sys/dev/raid/aac/aacreg.h
1241
(((b & 0x3f) << 7) | ((l & 0x7) << 4) | (t & 0xf))
sys/dev/raid/aac/aacreg.h
1243
#define AAC_BTL_TO_HANDLE(b, t, l) \
sys/dev/raid/aac/aacreg.h
1246
((u_int32_t)t & 0xffff))
sys/dev/raid/hpt27xx/him.h
396
#define INIT_TQ_ITEM(t, p, a) \
sys/dev/raid/hpt27xx/him.h
397
do { (t)->proc = p; (t)->arg = a; (t)->next = 0; } while (0)
sys/dev/raid/hpt27xx/hpt27xx_os_bsd.c
260
OSM_TASK *t = vbus_ext->tasks;
sys/dev/raid/hpt27xx/hpt27xx_os_bsd.c
261
while (t->next) t = t->next;
sys/dev/raid/hpt27xx/hpt27xx_os_bsd.c
262
t->next = task;
sys/dev/raid/hpt27xx/hpt27xx_osm_bsd.c
376
OSM_TASK *t = tasks;
sys/dev/raid/hpt27xx/hpt27xx_osm_bsd.c
377
tasks = t->next;
sys/dev/raid/hpt27xx/hpt27xx_osm_bsd.c
378
t->next = NULL;
sys/dev/raid/hpt27xx/hpt27xx_osm_bsd.c
379
t->func(vbus_ext->vbus, t->data);
sys/dev/raid/hpt27xx/ldm.h
497
void ldm_queue_task(struct task_queue *tq, struct tq_item *t);
sys/dev/raid/hpt27xx/ldm.h
498
void ldm_queue_vbus_dpc(PVBUS vbus, struct tq_item *t);
sys/dev/raid/hptrr/him.h
357
#define INIT_TQ_ITEM(t, p, a) \
sys/dev/raid/hptrr/him.h
358
do { (t)->proc = p; (t)->arg = a; (t)->next = 0; } while (0)
sys/dev/raid/hptrr/hptrr_os_bsd.c
242
OSM_TASK *t = vbus_ext->tasks;
sys/dev/raid/hptrr/hptrr_os_bsd.c
243
while (t->next) t = t->next;
sys/dev/raid/hptrr/hptrr_os_bsd.c
244
t->next = task;
sys/dev/raid/hptrr/hptrr_osm_bsd.c
391
OSM_TASK *t = tasks;
sys/dev/raid/hptrr/hptrr_osm_bsd.c
392
tasks = t->next;
sys/dev/raid/hptrr/hptrr_osm_bsd.c
393
t->next = NULL;
sys/dev/raid/hptrr/hptrr_osm_bsd.c
394
t->func(vbus_ext->vbus, t->data);
sys/dev/raid/hptrr/ldm.h
492
void ldm_queue_task(struct task_queue *tq, struct tq_item *t);
sys/dev/raid/hptrr/ldm.h
493
void ldm_queue_vbus_dpc(PVBUS vbus, struct tq_item *t);
sys/dev/raid/iir/iir.c
1132
int t;
sys/dev/raid/iir/iir.c
1134
t = ccb->ccb_h.target_id;
sys/dev/raid/iir/iir.c
1136
gdt, ccb, ccb->csio.cdb_io.cdb_bytes[0], t));
sys/dev/raid/iir/iir.c
1151
inq.device = (gdt->sc_hdr[t].hd_devtype & 4) ?
sys/dev/raid/iir/iir.c
1153
inq.dev_qual2 = (gdt->sc_hdr[t].hd_devtype & 1) ? 0x80 : 0;
sys/dev/raid/iir/iir.c
1160
"Host Drive #%02d", t);
sys/dev/raid/iir/iir.c
1182
mpd.hd.dev_specific = (gdt->sc_hdr[t].hd_devtype & 2) ? 0x80 : 0;
sys/dev/raid/iir/iir.c
1207
scsi_ulto4b(gdt->sc_hdr[t].hd_size - 1, rcd.addr);
sys/dev/serial/sio/sio.c
163
static int comparam (struct tty *tp, struct termios *t);
sys/dev/serial/sio/sio.c
171
static void disc_optim (struct tty *tp, struct termios *t,
sys/dev/serial/sio/sio.c
2253
comparam(struct tty *tp, struct termios *t)
sys/dev/serial/sio/sio.c
2270
if (t->c_ispeed == 0)
sys/dev/serial/sio/sio.c
2271
t->c_ispeed = t->c_ospeed;
sys/dev/serial/sio/sio.c
2274
if (t->c_ospeed == 0) {
sys/dev/serial/sio/sio.c
2277
if (t->c_ispeed != t->c_ospeed)
sys/dev/serial/sio/sio.c
2279
divisor = siodivisor(com->rclk, t->c_ispeed);
sys/dev/serial/sio/sio.c
2290
cflag = t->c_cflag;
sys/dev/serial/sio/sio.c
2329
com->fifo_image = t->c_ospeed <= 4800
sys/dev/serial/sio/sio.c
2349
(void) siosetwater(com, t->c_ispeed);
sys/dev/serial/sio/sio.c
2425
disc_optim(tp, t, com);
sys/dev/serial/sio/sio.c
2804
disc_optim(struct tty *tp, struct termios *t, struct com_s *com)
sys/dev/serial/sio/sio.c
2807
if (!(t->c_iflag & (ICRNL | IGNCR | IMAXBEL | INLCR | ISTRIP | IXON))
sys/dev/serial/sio/sio.c
2808
&& (!(t->c_iflag & BRKINT) || (t->c_iflag & IGNBRK))
sys/dev/serial/sio/sio.c
2809
&& (!(t->c_iflag & PARMRK)
sys/dev/serial/sio/sio.c
2810
|| (t->c_iflag & (IGNPAR | IGNBRK)) == (IGNPAR | IGNBRK))
sys/dev/serial/sio/sio.c
2811
&& !(t->c_lflag & (ECHO | ICANON | IEXTEN | ISIG | PENDIN))
sys/dev/sound/midi/midiq.h
100
#define MIDIQ_CLEAR(head) ((head).h = (head).t = 0)
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
65
(size), (head).h, (head).t); \
sys/dev/sound/midi/midiq.h
76
kprintf("#E h %d t %d\n", (head).h, (head).t); \
sys/dev/sound/midi/midiq.h
80
if(MIDIQ_FULL(head)) (head).h=(head).t; \
sys/dev/sound/midi/midiq.h
82
kprintf("#1 %p %p bytes copied %jd tran req s %d h %d t %d\n", &(head).b[(head).t], (buf), (intmax_t)sizeof(*(head).b) * MIN((size), (head).s - (head).t), (size), (head).h, (head).t); \
sys/dev/sound/midi/midiq.h
83
if (move) MIDIQ_MOVE((buf), &(head).b[(head).t], sizeof(*(head).b) * MIN((size), (head).s - (head).t)); \
sys/dev/sound/midi/midiq.h
84
if( (head).s - (head).t < (size) ) { \
sys/dev/sound/midi/midiq.h
86
kprintf("#2 %p %p bytes copied %jd\n", (head).b, (buf) + (head).s - (head).t, (intmax_t)sizeof(*(head).b) * ((size) - (head).s + (head).t) ); \
sys/dev/sound/midi/midiq.h
87
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
90
(head).t+=(size); \
sys/dev/sound/midi/midiq.h
91
(head).t%=(head).s; \
sys/dev/sound/midi/midiq.h
96
kprintf("#E h %d t %d\n", (head).h, (head).t); \
sys/dev/sound/midi/sequencer.c
308
static void timer_start(struct seq_softc *t);
sys/dev/sound/midi/sequencer.c
309
static void timer_stop(struct seq_softc *t);
sys/dev/sound/midi/sequencer.c
310
static void timer_setvals(struct seq_softc *t, int tempo, int timerbase);
sys/dev/sound/midi/sequencer.c
311
static void timer_wait(struct seq_softc *t, int ticks, int wait_abs);
sys/dev/sound/midi/sequencer.c
312
static int timer_now(struct seq_softc *t);
sys/dev/sound/midi/sequencer.c
316
timer_start(struct seq_softc *t)
sys/dev/sound/midi/sequencer.c
318
t->timerrun = 1;
sys/dev/sound/midi/sequencer.c
319
getmicrotime(&t->timersub);
sys/dev/sound/midi/sequencer.c
323
timer_continue(struct seq_softc *t)
sys/dev/sound/midi/sequencer.c
327
if (t->timerrun == 1)
sys/dev/sound/midi/sequencer.c
329
t->timerrun = 1;
sys/dev/sound/midi/sequencer.c
331
timevalsub(&now, &t->timerstop);
sys/dev/sound/midi/sequencer.c
332
timevaladd(&t->timersub, &now);
sys/dev/sound/midi/sequencer.c
336
timer_stop(struct seq_softc *t)
sys/dev/sound/midi/sequencer.c
338
t->timerrun = 0;
sys/dev/sound/midi/sequencer.c
339
getmicrotime(&t->timerstop);
sys/dev/sound/midi/sequencer.c
343
timer_setvals(struct seq_softc *t, int tempo, int timerbase)
sys/dev/sound/midi/sequencer.c
345
t->tempo = tempo;
sys/dev/sound/midi/sequencer.c
346
t->timerbase = timerbase;
sys/dev/sound/midi/sequencer.c
350
timer_wait(struct seq_softc *t, int ticks, int wait_abs)
sys/dev/sound/midi/sequencer.c
356
while (t->timerrun == 0) {
sys/dev/sound/midi/sequencer.c
364
cv_wait(&t->reset_cv, &t->seq_lock);
sys/dev/sound/midi/sequencer.c
365
if (t->playing == 0)
sys/dev/sound/midi/sequencer.c
369
i = ticks * 60ull * 1000000ull / (t->tempo * t->timerbase);
sys/dev/sound/midi/sequencer.c
376
t->tempo, t->timerbase, ticks, wait_abs, i);
sys/dev/sound/midi/sequencer.c
381
timevalsub(&now, &t->timersub);
sys/dev/sound/midi/sequencer.c
398
t->waiting = 1;
sys/dev/sound/midi/sequencer.c
399
ret = cv_timedwait(&t->reset_cv, &t->seq_lock, i + 1);
sys/dev/sound/midi/sequencer.c
400
t->waiting = 0;
sys/dev/sound/midi/sequencer.c
408
timer_now(struct seq_softc *t)
sys/dev/sound/midi/sequencer.c
414
if (t->timerrun == 0)
sys/dev/sound/midi/sequencer.c
415
now = t->timerstop;
sys/dev/sound/midi/sequencer.c
419
timevalsub(&now, &t->timersub);
sys/dev/sound/midi/sequencer.c
423
i *= t->timerbase;
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
6913
int i, t = -1, t1;
sys/dev/sound/pci/hda/hdaa.c
6922
if (t == -1)
sys/dev/sound/pci/hda/hdaa.c
6923
t = t1;
sys/dev/sound/pci/hda/hdaa.c
6924
else if (t != t1) {
sys/dev/sound/pci/hda/hdaa.c
6925
t = -2;
sys/dev/sound/pci/hda/hdaa.c
6929
return (t);
sys/dev/sound/pci/maestro.c
346
unsigned t = 26;
sys/dev/sound/pci/maestro.c
349
if (--t == 0)
sys/dev/sound/pci/maestro.c
439
unsigned t = 0;
sys/dev/sound/pci/maestro.c
442
if (++t == 1000) {
sys/dev/sound/pci/solo.c
378
u_int32_t t;
sys/dev/sound/pci/solo.c
381
t = (795500 + speed / 2) / speed;
sys/dev/sound/pci/solo.c
382
speed = (795500 + t / 2) / t;
sys/dev/sound/pci/solo.c
383
t = (256 - t) | 0x80;
sys/dev/sound/pci/solo.c
385
t = (397700 + speed / 2) / speed;
sys/dev/sound/pci/solo.c
386
speed = (397700 + t / 2) / t;
sys/dev/sound/pci/solo.c
387
t = 128 - t;
sys/dev/sound/pci/solo.c
390
return t & 0x000000ff;
sys/dev/sound/pci/vibes.c
259
u_int32_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.c
484
int ret, timeout, sz, t, p;
sys/dev/sound/pcm/channel.c
501
t = min(sz, sndbuf_getsize(bs) - p);
sys/dev/sound/pcm/channel.c
504
ret = uiomove(off, t, buf);
sys/dev/sound/pcm/channel.c
506
sz -= t;
sys/dev/sound/pcm/channel.c
507
sndbuf_acquire(bs, NULL, t);
sys/dev/sound/pcm/channel.c
615
int ret, timeout, sz, t, p;
sys/dev/sound/pcm/channel.c
640
t = min(sz, sndbuf_getsize(bs) - p);
sys/dev/sound/pcm/channel.c
643
ret = uiomove(off, t, buf);
sys/dev/sound/pcm/channel.c
645
sz -= t;
sys/dev/sound/pcm/channel.c
646
sndbuf_dispose(bs, NULL, t);
sys/dev/sound/pcm/channel.h
194
struct pcm_channel *t = NULL; \
sys/dev/sound/pcm/channel.h
195
CHN_FOREACH(t, x, z) { \
sys/dev/sound/pcm/channel.h
196
if (t == y) \
sys/dev/sound/pcm/channel.h
199
if (t != y) \
sys/dev/sound/pcm/channel.h
204
struct pcm_channel *t = NULL; \
sys/dev/sound/pcm/channel.h
205
CHN_FOREACH(t, w, z) { \
sys/dev/sound/pcm/channel.h
206
if (t == y) \
sys/dev/sound/pcm/channel.h
209
if (t != y) \
sys/dev/sound/pcm/channel.h
214
struct pcm_channel *t = NULL; \
sys/dev/sound/pcm/channel.h
215
CHN_FOREACH(t, x, z) { \
sys/dev/sound/pcm/channel.h
216
if (t == y) \
sys/dev/sound/pcm/channel.h
219
if (t == y) \
sys/dev/sound/pcm/channel.h
224
struct pcm_channel *t, *a = NULL; \
sys/dev/sound/pcm/channel.h
225
CHN_FOREACH(t, x, z) { \
sys/dev/sound/pcm/channel.h
226
if ((y)->unit w t->unit) \
sys/dev/sound/pcm/channel.h
227
a = t; \
sys/dev/sound/pcm/feeder_chain.c
530
#define FEEDER_BW(c, t) ((c)->t.matrix->channels * (c)->t.rate)
sys/dev/sound/pcm/feeder_chain.c
548
#define FEEDEQ_VALIDRATE(c, t) (feeder_eq_validrate((c)->t.rate) != 0)
sys/dev/sound/pcm/feeder_chain.c
755
#define FEEDER_BUILD(t) do { \
sys/dev/sound/pcm/feeder_chain.c
756
ret = feeder_build_##t(c, &cdesc); \
sys/dev/sound/pcm/feeder_eq.c
130
#define FEEDEQ_ERR_CLIP_CHECK(t, v) do { \
sys/dev/sound/pcm/feeder_eq.c
132
errx(1, "\n\n%s(): ["#t"] Sample clipping: %jd\n", \
sys/dev/sound/pcm/g711.h
175
#define _G711_TO_INTPCM(t, v) ((intpcm_t) \
sys/dev/sound/pcm/g711.h
176
((int8_t)((t)[(uint8_t)(v)] ^ 0x80)))
sys/dev/sound/pcm/g711.h
178
#define _INTPCM_TO_G711(t, v) ((t)[(uint8_t)((v) ^ 0x80)])
sys/dev/sound/pcm/g711.h
181
#define G711_DECLARE_TABLE(t) \
sys/dev/sound/pcm/g711.h
187
} t = { \
sys/dev/sound/pcm/g711.h
192
#define G711_DECLARE_OP(t) \
sys/dev/sound/pcm/g711.h
197
return (_G711_TO_INTPCM((t).ulaw_to_u8, v)); \
sys/dev/sound/pcm/g711.h
204
return (_G711_TO_INTPCM((t).alaw_to_u8, v)); \
sys/dev/sound/pcm/g711.h
211
*dst = _INTPCM_TO_G711((t).u8_to_ulaw, v); \
sys/dev/sound/pcm/g711.h
218
*dst = _INTPCM_TO_G711((t).u8_to_alaw, v); \
sys/dev/sound/pcm/g711.h
221
#define G711_DECLARE(t) \
sys/dev/sound/pcm/g711.h
222
G711_DECLARE_TABLE(t); \
sys/dev/sound/pcm/g711.h
223
G711_DECLARE_OP(t)
sys/dev/sound/pcm/intpcm.h
104
return (_G711_TO_INTPCM((t).alaw_to_u8, *src) << 24); \
sys/dev/sound/pcm/intpcm.h
111
*dst = _INTPCM_TO_G711((t).u8_to_ulaw, v >> 24); \
sys/dev/sound/pcm/intpcm.h
118
*dst = _INTPCM_TO_G711((t).u8_to_alaw, v >> 24); \
sys/dev/sound/pcm/intpcm.h
89
#define INTPCM_DECLARE(t) \
sys/dev/sound/pcm/intpcm.h
91
G711_DECLARE_TABLE(t); \
sys/dev/sound/pcm/intpcm.h
97
return (_G711_TO_INTPCM((t).ulaw_to_u8, *src) << 24); \
sys/dev/video/bktr/bktr_tuner.c
1288
int t, lock = 0;
sys/dev/video/bktr/bktr_tuner.c
1289
for (t = 0; t < 10; t++) {
sys/dev/video/cxm/cxm.c
1610
struct cxm_dev *t;
sys/dev/video/cxm/cxm.c
1612
t = cxm_devs;
sys/dev/video/cxm/cxm.c
1614
while(t->name != NULL) {
sys/dev/video/cxm/cxm.c
1615
if ((pci_get_vendor(dev) == t->vid) &&
sys/dev/video/cxm/cxm.c
1616
(pci_get_device(dev) == t->did)) {
sys/dev/video/cxm/cxm.c
1617
device_set_desc(dev, t->name);
sys/dev/video/cxm/cxm.c
1620
t++;
sys/dev/virtual/amazon/ena/ena-com/ena_plat.h
180
#define cputick2usec(t) (1000000*(t) / hz)
sys/kern/imgact_elf.c
74
#define aligned(a,t) (truncps((u_long)(a), sizeof(t)) == (u_long)(a))
sys/kern/kern_acct.c
203
int t;
sys/kern/kern_acct.c
242
t = tmp.tv_sec * hz + tmp.tv_usec / ustick;
sys/kern/kern_acct.c
243
if (t)
sys/kern/kern_acct.c
244
acct.ac_mem = (r->ru_ixrss + r->ru_idrss + r->ru_isrss) / t;
sys/kern/kern_exit.c
1006
struct proc *p, *t;
sys/kern/kern_exit.c
1250
if (p->p_oppid && (t = pfind(p->p_oppid)) != NULL) {
sys/kern/kern_exit.c
1252
proc_reparent(p, t);
sys/kern/kern_exit.c
1253
ksignal(t, SIGCHLD);
sys/kern/kern_exit.c
1254
wakeup((caddr_t)t);
sys/kern/kern_exit.c
1255
PRELE(t);
sys/kern/kern_objcache.c
418
#define swap(x, y) ({ struct magazine *t = x; x = y; y = t; })
sys/kern/kern_sig.c
773
int t;
sys/kern/kern_sig.c
849
t = (dokillpg(sig, 0, 1));
sys/kern/kern_sig.c
852
t = (dokillpg(sig, 0, 0));
sys/kern/kern_sig.c
855
t = (dokillpg(sig, -pid, 0));
sys/kern/kern_sig.c
858
return t;
sys/kern/kern_slaballoc.c
396
struct malloc_type *t;
sys/kern/kern_slaballoc.c
430
for (t = kmemstatistics; t->ks_next != NULL; t = t->ks_next) {
sys/kern/kern_slaballoc.c
431
if (t->ks_next == type) {
sys/kern/kern_slaballoc.c
432
t->ks_next = type->ks_next;
sys/kern/kern_slaballoc.c
536
struct malloc_type *t;
sys/kern/kern_slaballoc.c
549
for (t = kmemstatistics; t; t = t->ks_next) {
sys/kern/kern_slaballoc.c
550
KKASSERT(t->ks_use == &t->ks_use0);
sys/kern/kern_slaballoc.c
551
t->ks_use = kmalloc(sizeof(*use) * ncpus, M_TEMP, M_WAITOK|M_ZERO);
sys/kern/kern_slaballoc.c
552
t->ks_use[0] = t->ks_use0;
sys/kern/kern_slaballoc.c
553
if (t->ks_flags & KSF_OBJSIZE) {
sys/kern/kern_slaballoc.c
554
malloc_mgt_relocate(&t->ks_use0.mgt, &t->ks_use[0].mgt);
sys/kern/kern_slaballoc.c
556
malloc_mgt_init(t, &t->ks_use[n].mgt, t->ks_objsize);
sys/kern/subr_fattime.c
269
uint16_t d, t;
sys/kern/subr_fattime.c
286
d = t = p = 0;
sys/kern/subr_fattime.c
287
timet2fattime(&ts, &d, &t, &p);
sys/kern/subr_fattime.c
288
printf("%04x %04x %02x -- ", d, t, p);
sys/kern/subr_fattime.c
293
(t >> 11) & 0x1f,
sys/kern/subr_fattime.c
294
(t >> 5) & 0x3f,
sys/kern/subr_fattime.c
295
((t >> 0) & 0x1f) * 2);
sys/kern/subr_fattime.c
298
fattime2timet(d, t, p, &ts);
sys/kern/subr_rman.c
520
struct resource *s, *t;
sys/kern/subr_rman.c
561
t = TAILQ_NEXT(r, r_link);
sys/kern/subr_rman.c
564
&& t != NULL && (t->r_flags & RF_ALLOCATED) == 0) {
sys/kern/subr_rman.c
568
s->r_end = t->r_end;
sys/kern/subr_rman.c
570
TAILQ_REMOVE(&rm->rm_list, t, r_link);
sys/kern/subr_rman.c
571
kfree(t, M_RMAN);
sys/kern/subr_rman.c
578
} else if (t != NULL && (t->r_flags & RF_ALLOCATED) == 0) {
sys/kern/subr_rman.c
582
t->r_start = r->r_start;
sys/kern/subr_taskqueue.c
330
queue = timeout_task->t.ta_queue;
sys/kern/subr_taskqueue.c
336
taskqueue_enqueue_locked(queue, &timeout_task->t);
sys/kern/subr_taskqueue.c
347
KASSERT(timeout_task->t.ta_queue == NULL ||
sys/kern/subr_taskqueue.c
348
timeout_task->t.ta_queue == queue,
sys/kern/subr_taskqueue.c
350
timeout_task->t.ta_queue = queue;
sys/kern/subr_taskqueue.c
351
res = timeout_task->t.ta_pending;
sys/kern/subr_taskqueue.c
353
taskqueue_enqueue_locked(queue, &timeout_task->t);
sys/kern/subr_taskqueue.c
477
error = taskqueue_cancel_locked(queue, &timeout_task->t, &pending1);
sys/kern/subr_taskqueue.c
526
taskqueue_drain(queue, &timeout_task->t);
sys/kern/subr_taskqueue.c
76
TASK_INIT(&timeout_task->t, priority, func, context);
sys/kern/subr_taskqueue.c
78
timeout_task->t.ta_queue = queue;
sys/kern/sys_mqueue.c
655
int t;
sys/kern/sys_mqueue.c
662
error = abstimeout2timo(ts, &t);
sys/kern/sys_mqueue.c
666
t = 0;
sys/kern/sys_mqueue.c
672
error = lksleep(&mq->mq_send_cv, &mq->mq_mtx, PCATCH, "mqsend", t);
sys/kern/sys_mqueue.c
839
int t;
sys/kern/sys_mqueue.c
846
error = abstimeout2timo(ts, &t);
sys/kern/sys_mqueue.c
850
t = 0;
sys/kern/sys_mqueue.c
852
error = lksleep(&mq->mq_recv_cv, &mq->mq_mtx, PCATCH, "mqrecv", t);
sys/kern/sys_process.c
143
int t;
sys/kern/sys_process.c
493
t = procfs_doregs(curp, lp, NULL, &uio);
sys/kern/sys_process.c
496
return t;
sys/kern/sys_process.c
524
t = procfs_dofpregs(curp, lp, NULL, &uio);
sys/kern/sys_process.c
527
return t;
sys/kern/sys_process.c
555
t = procfs_dodbregs(curp, lp, NULL, &uio);
sys/kern/sys_process.c
558
return t;
sys/kern/tty.c
1031
struct termios *t = (struct termios *)data;
sys/kern/tty.c
1033
if (t->c_ispeed == 0)
sys/kern/tty.c
1034
t->c_ispeed = t->c_ospeed;
sys/kern/tty.c
1035
if (t->c_ispeed == 0)
sys/kern/tty.c
1036
t->c_ispeed = tp->t_ospeed;
sys/kern/tty.c
1037
if (t->c_ispeed == 0) {
sys/kern/tty.c
1052
if (!ISSET(t->c_cflag, CIGNORE)) {
sys/kern/tty.c
1056
if (tp->t_param && (error = (*tp->t_param)(tp, t))) {
sys/kern/tty.c
1061
if (ISSET(t->c_cflag, CLOCAL) &&
sys/kern/tty.c
1076
ISSET(t->c_cflag, CLOCAL)) &&
sys/kern/tty.c
1081
tp->t_cflag = t->c_cflag;
sys/kern/tty.c
1082
tp->t_ispeed = t->c_ispeed;
sys/kern/tty.c
1083
if (t->c_ospeed != 0)
sys/kern/tty.c
1084
tp->t_ospeed = t->c_ospeed;
sys/kern/tty.c
1087
if (ISSET(t->c_lflag, ICANON) != ISSET(tp->t_lflag, ICANON) &&
sys/kern/tty.c
1089
if (ISSET(t->c_lflag, ICANON))
sys/kern/tty.c
1112
tp->t_iflag = t->c_iflag;
sys/kern/tty.c
1113
tp->t_oflag = t->c_oflag;
sys/kern/tty.c
1118
SET(t->c_lflag, EXTPROC);
sys/kern/tty.c
1120
CLR(t->c_lflag, EXTPROC);
sys/kern/tty.c
1121
tp->t_lflag = t->c_lflag | ISSET(tp->t_lflag, PENDIN);
sys/kern/tty.c
1122
if (t->c_cc[VMIN] != tp->t_cc[VMIN] ||
sys/kern/tty.c
1123
t->c_cc[VTIME] != tp->t_cc[VTIME])
sys/kern/tty.c
1125
bcopy(t->c_cc, tp->t_cc, sizeof(t->c_cc));
sys/kern/tty.c
1129
int t = *(int *)data;
sys/kern/tty.c
1132
if ((u_int)t >= nlinesw) {
sys/kern/tty.c
1137
if (t != tp->t_line) {
sys/kern/tty.c
1139
error = (*linesw[t].l_open)(device, tp);
sys/kern/tty.c
1146
tp->t_line = t;
sys/kern/tty.c
1498
termioschars(struct termios *t)
sys/kern/tty.c
1500
bcopy(ttydefchars, t->c_cc, sizeof t->c_cc);
sys/kern/tty.c
1756
long t = cc[VTIME];
sys/kern/tty.c
1767
if (t == 0) {
sys/kern/tty.c
1777
t *= 100000; /* time in us */
sys/kern/tty.c
1790
slp = t;
sys/kern/tty.c
1794
slp = t;
sys/kern/tty.c
1797
slp = t - diff(timecopy, stime);
sys/kern/tty.c
1809
slp = t;
sys/kern/tty.c
1811
slp = t - diff(timecopy, stime);
sys/kern/tty.c
196
#define SET(t, f) (t) |= (f)
sys/kern/tty.c
197
#define CLR(t, f) (t) &= ~(f)
sys/kern/tty.c
198
#define ISSET(t, f) ((t) & (f))
sys/kern/tty.c
2896
struct tty t;
sys/kern/tty.c
2911
t = *tp;
sys/kern/tty.c
2912
if (t.t_dev)
sys/kern/tty.c
2913
t.t_dev = (cdev_t)(uintptr_t)devid_from_dev(t.t_dev);
sys/kern/tty.c
2914
error = SYSCTL_OUT(req, (caddr_t)&t, sizeof(t));
sys/kern/tty.c
990
struct termios *t = (struct termios *)data;
sys/kern/tty.c
992
bcopy(&tp->t_termios, t, sizeof(struct termios));
sys/kern/uipc_mbuf2.c
106
struct mbuf *t;
sys/kern/uipc_mbuf2.c
108
for (t = m; t; t = t->m_next)
sys/kern/uipc_mbuf2.c
109
kprintf(" %d", t->m_len);
sys/kern/uipc_mbuf2.c
224
struct mbuf *t;
sys/kern/uipc_mbuf2.c
226
for (t = m; t; t = t->m_next)
sys/kern/uipc_mbuf2.c
227
kprintf("%c%d", t == n ? '*' : ' ', t->m_len);
sys/kern/uipc_mbuf2.c
258
struct m_tag *t;
sys/kern/uipc_mbuf2.c
262
t = kmalloc(len + sizeof(struct m_tag), M_PACKET_TAGS, mflags);
sys/kern/uipc_mbuf2.c
263
if (t == NULL)
sys/kern/uipc_mbuf2.c
265
t->m_tag_id = type;
sys/kern/uipc_mbuf2.c
266
t->m_tag_len = len;
sys/kern/uipc_mbuf2.c
267
t->m_tag_cookie = cookie;
sys/kern/uipc_mbuf2.c
268
return t;
sys/kern/uipc_mbuf2.c
274
m_tag_free(struct m_tag *t)
sys/kern/uipc_mbuf2.c
276
kfree(t, M_PACKET_TAGS);
sys/kern/uipc_mbuf2.c
281
m_tag_prepend(struct mbuf *m, struct m_tag *t)
sys/kern/uipc_mbuf2.c
283
KASSERT(m && t, ("m_tag_prepend: null argument, m %p t %p", m, t));
sys/kern/uipc_mbuf2.c
285
SLIST_INSERT_HEAD(&m->m_pkthdr.tags, t, m_tag_link);
sys/kern/uipc_mbuf2.c
290
m_tag_unlink(struct mbuf *m, struct m_tag *t)
sys/kern/uipc_mbuf2.c
292
KASSERT(m && t, ("m_tag_unlink: null argument, m %p t %p", m, t));
sys/kern/uipc_mbuf2.c
294
SLIST_REMOVE(&m->m_pkthdr.tags, t, m_tag, m_tag_link);
sys/kern/uipc_mbuf2.c
299
m_tag_delete(struct mbuf *m, struct m_tag *t)
sys/kern/uipc_mbuf2.c
301
KASSERT(m && t, ("m_tag_delete: null argument, m %p t %p", m, t));
sys/kern/uipc_mbuf2.c
303
m_tag_unlink(m, t);
sys/kern/uipc_mbuf2.c
304
m_tag_free(t);
sys/kern/uipc_mbuf2.c
325
m_tag_locate(struct mbuf *m, uint32_t cookie, int type, struct m_tag *t)
sys/kern/uipc_mbuf2.c
330
if (t == NULL)
sys/kern/uipc_mbuf2.c
333
p = SLIST_NEXT(t, m_tag_link);
sys/kern/uipc_mbuf2.c
344
m_tag_copy(struct m_tag *t, int how)
sys/kern/uipc_mbuf2.c
348
KASSERT(t, ("m_tag_copy: null tag"));
sys/kern/uipc_mbuf2.c
349
p = m_tag_alloc(t->m_tag_cookie, t->m_tag_id, t->m_tag_len, how);
sys/kern/uipc_mbuf2.c
352
bcopy(t + 1, p + 1, t->m_tag_len); /* Copy the data */
sys/kern/uipc_mbuf2.c
365
struct m_tag *p, *t, *tprev = NULL;
sys/kern/uipc_mbuf2.c
371
t = m_tag_copy(p, how);
sys/kern/uipc_mbuf2.c
372
if (t == NULL) {
sys/kern/uipc_mbuf2.c
377
SLIST_INSERT_HEAD(&to->m_pkthdr.tags, t, m_tag_link);
sys/kern/uipc_mbuf2.c
379
SLIST_INSERT_AFTER(tprev, t, m_tag_link);
sys/kern/uipc_mbuf2.c
380
tprev = t;
sys/kern/uipc_mbuf2.c
402
m_tag_next(struct mbuf *m, struct m_tag *t)
sys/kern/uipc_mbuf2.c
404
return SLIST_NEXT(t, m_tag_link);
sys/libkern/qsort.c
53
TYPE t = *pi; \
sys/libkern/qsort.c
55
*pj++ = t; \
sys/libkern/qsort.c
73
long t = *(long *)(a); \
sys/libkern/qsort.c
75
*(long *)(b) = t; \
sys/libkern/qsort.c
82
#define CMP(t, x, y) (cmp((t), (x), (y)))
sys/libkern/qsort.c
84
#define CMP(t, x, y) (cmp((x), (y)))
sys/libkern/random.c
52
long x, hi, lo, t;
sys/libkern/random.c
63
t = 16807 * lo - 2836 * hi;
sys/libkern/random.c
64
if (t <= 0)
sys/libkern/random.c
65
t += 0x7fffffff;
sys/libkern/random.c
66
randseed = t;
sys/libkern/random.c
67
return (t);
sys/libprop/prop_object.c
586
#define INTERNALIZER(t, f) \
sys/libprop/prop_object.c
587
{ t, sizeof(t) - 1, f }
sys/libprop/prop_object_impl.h
116
#define _PROP_TAG_MATCH(ctx, t) \
sys/libprop/prop_object_impl.h
119
(t), strlen(t))
sys/libprop/prop_object_impl.h
260
#define _PROP_MALLOC(s, t) kmalloc((s), (t), M_WAITOK)
sys/libprop/prop_object_impl.h
261
#define _PROP_CALLOC(s, t) kmalloc((s), (t), M_WAITOK | M_ZERO)
sys/libprop/prop_object_impl.h
262
#define _PROP_REALLOC(v, s, t) krealloc((v), (s), (t), M_WAITOK)
sys/libprop/prop_object_impl.h
263
#define _PROP_FREE(v, t) kfree((v), (t))
sys/libprop/prop_object_impl.h
283
#define _PROP_MALLOC_DEFINE(t, s, l) \
sys/libprop/prop_object_impl.h
284
MALLOC_DEFINE(t, s, l);
sys/libprop/prop_object_impl.h
318
#define _PROP_MALLOC(s, t) alloc((s))
sys/libprop/prop_object_impl.h
319
#define _PROP_CALLOC(s, t) _prop_standalone_calloc((s))
sys/libprop/prop_object_impl.h
320
#define _PROP_REALLOC(v, s, t) _prop_standalone_realloc((v), (s))
sys/libprop/prop_object_impl.h
321
#define _PROP_FREE(v, t) dealloc((v), 0) /* XXX */
sys/libprop/prop_object_impl.h
328
#define _PROP_MALLOC_DEFINE(t, s, l) /* nothing */
sys/libprop/prop_object_impl.h
359
#define _PROP_MALLOC(s, t) malloc((s))
sys/libprop/prop_object_impl.h
360
#define _PROP_CALLOC(s, t) calloc(1, (s))
sys/libprop/prop_object_impl.h
361
#define _PROP_REALLOC(v, s, t) realloc((v), (s))
sys/libprop/prop_object_impl.h
362
#define _PROP_FREE(v, t) free((v))
sys/libprop/prop_object_impl.h
369
#define _PROP_MALLOC_DEFINE(t, s, l) /* nothing */
sys/net/altq/altq_red.c
276
int t;
sys/net/altq/altq_red.c
280
t = (now.tv_sec - rp->red_last.tv_sec);
sys/net/altq/altq_red.c
281
if (t > 60) {
sys/net/altq/altq_red.c
288
t = t * 1000000 + (now.tv_usec - rp->red_last.tv_usec);
sys/net/altq/altq_red.c
289
n = t / rp->red_pkttime - 1;
sys/net/altq/altq_rio.c
297
int dpindex, i, n, t;
sys/net/altq/altq_rio.c
316
t = (now.tv_sec - prec->last.tv_sec);
sys/net/altq/altq_rio.c
317
if (t > 60)
sys/net/altq/altq_rio.c
320
t = t * 1000000 +
sys/net/altq/altq_rio.c
322
n = t / rp->rio_pkttime;
sys/net/altq/altq_rmclass.c
1268
#define NSEC_TO_USEC(t) (((t) >> 10) + ((t) >> 16) + ((t) >> 17))
sys/net/altq/altq_rmclass.c
1486
int delay, t, extradelay;
sys/net/altq/altq_rmclass.c
1530
t = (delay + ustick - 1) / ustick;
sys/net/altq/altq_rmclass.c
1532
t = 2;
sys/net/altq/altq_rmclass.c
1533
callout_reset_bycpu(&cl->callout_, t, rmc_restart, cl, 0);
sys/net/altq/altq_rmclass.c
454
rm_class_t *t = cl, *p;
sys/net/altq/altq_rmclass.c
459
while (t != NULL) {
sys/net/altq/altq_rmclass.c
460
p = t->parent_;
sys/net/altq/altq_rmclass.c
461
if (p && (t->depth_ >= p->depth_)) {
sys/net/altq/altq_rmclass.c
462
p->depth_ = t->depth_ + 1;
sys/net/altq/altq_rmclass.c
463
t = p;
sys/net/altq/altq_rmclass.c
465
t = NULL;
sys/net/altq/altq_rmclass.c
481
rm_class_t *p, *t;
sys/net/altq/altq_rmclass.c
485
if ((t = p->children_) == NULL) {
sys/net/altq/altq_rmclass.c
490
while (t != NULL) {
sys/net/altq/altq_rmclass.c
491
if (t->depth_ > cdepth)
sys/net/altq/altq_rmclass.c
492
cdepth = t->depth_;
sys/net/altq/altq_rmclass.c
493
t = t->next_;
sys/net/altq/altq_rmclass.c
506
rm_class_t *t;
sys/net/altq/altq_rmclass.c
511
} else if ((t = cl->children_) != NULL) {
sys/net/altq/altq_rmclass.c
512
while (t != NULL) {
sys/net/altq/altq_rmclass.c
513
if (t->children_ != NULL)
sys/net/altq/altq_rmclass.c
514
rmc_depth_recompute(t);
sys/net/altq/altq_rmclass.c
515
t = t->next_;
sys/net/bridge/bridgestp.c
1500
bstp_timer_start(struct bridge_timer *t, uint16_t v)
sys/net/bridge/bridgestp.c
1502
t->value = v;
sys/net/bridge/bridgestp.c
1503
t->active = 1;
sys/net/bridge/bridgestp.c
1507
bstp_timer_stop(struct bridge_timer *t)
sys/net/bridge/bridgestp.c
1509
t->value = 0;
sys/net/bridge/bridgestp.c
1510
t->active = 0;
sys/net/bridge/bridgestp.c
1514
bstp_timer_expired(struct bridge_timer *t, uint16_t v)
sys/net/bridge/bridgestp.c
1516
if (t->active == 0)
sys/net/bridge/bridgestp.c
1518
t->value += BSTP_TICK_VAL;
sys/net/bridge/bridgestp.c
1519
if (t->value >= v) {
sys/net/bridge/bridgestp.c
1520
bstp_timer_stop(t);
sys/net/dummynet/ip_dummynet.c
1108
dn_key t = 0;
sys/net/dummynet/ip_dummynet.c
1111
t = SET_TICKS(pkt, q, pipe);
sys/net/dummynet/ip_dummynet.c
1114
if (t == 0) /* Must process it now */
sys/net/dummynet/ip_dummynet.c
1117
heap_insert(&ready_heap, curr_time + t, q);
sys/net/dummynet/ip_dummynet.c
500
dn_key t = SET_TICKS(pkt, q, p); /* ticks i have to wait */
sys/net/dummynet/ip_dummynet.c
508
heap_insert(&ready_heap, curr_time + t, q);
sys/net/dummynet/ip_dummynet.c
619
dn_key t = 0; /* Number of ticks i have to wait */
sys/net/dummynet/ip_dummynet.c
622
t = (p->bandwidth - 1 - p->numbytes) / p->bandwidth;
sys/net/dummynet/ip_dummynet.c
623
TAILQ_LAST(&p->p_queue, dn_pkt_queue)->output_time += t;
sys/net/dummynet/ip_dummynet.c
630
heap_insert(&wfq_ready_heap, curr_time + t, p);
sys/net/dummynet/ip_dummynet.c
885
u_int t = (curr_time - q->q_time) / fs->lookup_step;
sys/net/dummynet/ip_dummynet.c
887
q->avg = (t < fs->lookup_depth) ?
sys/net/dummynet/ip_dummynet.c
888
SCALE_MUL(q->avg, fs->w_q_lookup[t]) : 0;
sys/net/dummynet3/ip_dummynet3.c
1127
dn_key t = 0;
sys/net/dummynet3/ip_dummynet3.c
1130
t = SET_TICKS(pkt, q, pipe);
sys/net/dummynet3/ip_dummynet3.c
1133
if (t == 0) /* Must process it now */
sys/net/dummynet3/ip_dummynet3.c
1136
heap_insert(&ready_heap, curr_time + t, q);
sys/net/dummynet3/ip_dummynet3.c
519
dn_key t = SET_TICKS(pkt, q, p); /* ticks i have to wait */
sys/net/dummynet3/ip_dummynet3.c
527
heap_insert(&ready_heap, curr_time + t, q);
sys/net/dummynet3/ip_dummynet3.c
638
dn_key t = 0; /* Number of ticks i have to wait */
sys/net/dummynet3/ip_dummynet3.c
641
t = (p->bandwidth - 1 - p->numbytes) / p->bandwidth;
sys/net/dummynet3/ip_dummynet3.c
642
TAILQ_LAST(&p->p_queue, dn_pkt_queue)->output_time += t;
sys/net/dummynet3/ip_dummynet3.c
649
heap_insert(&wfq_ready_heap, curr_time + t, p);
sys/net/dummynet3/ip_dummynet3.c
904
u_int t = (curr_time - q->q_time) / fs->lookup_step;
sys/net/dummynet3/ip_dummynet3.c
906
q->avg = (t < fs->lookup_depth) ?
sys/net/dummynet3/ip_dummynet3.c
907
SCALE_MUL(q->avg, fs->w_q_lookup[t]) : 0;
sys/net/if_poll.c
1017
microtime_pcpu_get(&t);
sys/net/if_poll.c
1018
kern_load = microtime_pcpu_diff(&io_ctx->poll_start_t, &t);
sys/net/if_poll.c
772
union microtime_pcpu t;
sys/net/if_poll.c
782
microtime_pcpu_get(&t);
sys/net/if_poll.c
783
delta = microtime_pcpu_diff(&io_ctx->prev_t, &t);
sys/net/if_poll.c
787
io_ctx->prev_t = t;
sys/net/if_poll.c
987
union microtime_pcpu t;
sys/net/ip_mroute/ip_mroute.c
1776
struct tbf *t = vifp->v_tbf;
sys/net/ip_mroute/ip_mroute.c
1786
if (t->tbf_q_len == 0) { /* queue empty... */
sys/net/ip_mroute/ip_mroute.c
1787
if (p_len <= t->tbf_n_tok) { /* send packet if enough tokens */
sys/net/ip_mroute/ip_mroute.c
1788
t->tbf_n_tok -= p_len;
sys/net/ip_mroute/ip_mroute.c
1795
} else if (t->tbf_q_len < t->tbf_max_q_len) {
sys/net/ip_mroute/ip_mroute.c
1817
struct tbf *t = vifp->v_tbf;
sys/net/ip_mroute/ip_mroute.c
1821
if (t->tbf_t == NULL) /* Queue was empty */
sys/net/ip_mroute/ip_mroute.c
1822
t->tbf_q = m;
sys/net/ip_mroute/ip_mroute.c
1824
t->tbf_t->m_nextpkt = m;
sys/net/ip_mroute/ip_mroute.c
1826
t->tbf_t = m; /* Set new tail pointer */
sys/net/ip_mroute/ip_mroute.c
1835
t->tbf_q_len++;
sys/net/ip_mroute/ip_mroute.c
1846
struct tbf *t = vifp->v_tbf;
sys/net/ip_mroute/ip_mroute.c
1853
while (t->tbf_q_len > 0) {
sys/net/ip_mroute/ip_mroute.c
1854
struct mbuf *m = t->tbf_q;
sys/net/ip_mroute/ip_mroute.c
1858
if (len > t->tbf_n_tok) /* not enough tokens, we are done */
sys/net/ip_mroute/ip_mroute.c
1861
t->tbf_n_tok -= len;
sys/net/ip_mroute/ip_mroute.c
1863
t->tbf_q = m->m_nextpkt;
sys/net/ip_mroute/ip_mroute.c
1864
if (--t->tbf_q_len == 0)
sys/net/ip_mroute/ip_mroute.c
1865
t->tbf_t = NULL;
sys/net/ip_mroute/ip_mroute.c
1896
struct tbf *t = vifp->v_tbf;
sys/net/ip_mroute/ip_mroute.c
1902
np = &t->tbf_q;
sys/net/ip_mroute/ip_mroute.c
1908
if (m == t->tbf_t)
sys/net/ip_mroute/ip_mroute.c
1909
t->tbf_t = last;
sys/net/ip_mroute/ip_mroute.c
1912
if (--t->tbf_q_len == 0)
sys/net/ip_mroute/ip_mroute.c
1913
t->tbf_t = NULL;
sys/net/ip_mroute/ip_mroute.c
1966
struct tbf *t = vifp->v_tbf;
sys/net/ip_mroute/ip_mroute.c
1972
TV_DELTA(tp, t->tbf_last_pkt_t, tm);
sys/net/ip_mroute/ip_mroute.c
1983
t->tbf_n_tok += tm * vifp->v_rate_limit / 1024 / 8;
sys/net/ip_mroute/ip_mroute.c
1984
t->tbf_last_pkt_t = tp;
sys/net/ip_mroute/ip_mroute.c
1986
if (t->tbf_n_tok > MAX_BKT_SIZE)
sys/net/ip_mroute/ip_mroute.c
1987
t->tbf_n_tok = MAX_BKT_SIZE;
sys/net/ip_mroute/ip_mroute.h
75
#define GET_TIME(t) microtime(&t)
sys/net/ipfw/ip_fw2.c
1711
struct ipfw_track *t = s->st_track;
sys/net/ipfw/ip_fw2.c
1713
KASSERT(!LIST_EMPTY(&t->t_state_list),
sys/net/ipfw/ip_fw2.c
1717
KASSERT(*t->t_count > 0,
sys/net/ipfw/ip_fw2.c
1718
("invalid track count %d", *t->t_count));
sys/net/ipfw/ip_fw2.c
1719
atomic_subtract_int(t->t_count, 1);
sys/net/ipfw/ip_fw2.c
2230
uint16_t type, struct ip_fw *rule, struct ipfw_track *t,
sys/net/ipfw/ip_fw2.c
2250
if (t != NULL) {
sys/net/ipfw/ip_fw2.c
2252
LIST_INSERT_HEAD(&t->t_state_list, s, st_trklink);
sys/net/ipfw/ip_fw2.c
2253
s->st_track = t;
sys/net/ipfw/ip_fw2.c
2259
ipfw_track_free(struct ipfw_context *ctx, struct ipfw_track *t)
sys/net/ipfw/ip_fw2.c
2264
KASSERT(t->t_count != NULL, ("track anchor"));
sys/net/ipfw/ip_fw2.c
2265
KASSERT(LIST_EMPTY(&t->t_state_list),
sys/net/ipfw/ip_fw2.c
2268
trk = t->t_trkcnt;
sys/net/ipfw/ip_fw2.c
2271
RB_REMOVE(ipfw_track_tree, &ctx->ipfw_track_tree, t);
sys/net/ipfw/ip_fw2.c
2272
TAILQ_REMOVE(&ctx->ipfw_track_list, t, t_link);
sys/net/ipfw/ip_fw2.c
2273
kfree(t, M_IPFW);
sys/net/ipfw/ip_fw2.c
2319
struct ipfw_track *t, *tn;
sys/net/ipfw/ip_fw2.c
2321
TAILQ_FOREACH_MUTABLE(t, &ctx->ipfw_track_list, t_link, tn) {
sys/net/ipfw/ip_fw2.c
2322
if (t->t_count == NULL) /* anchor */
sys/net/ipfw/ip_fw2.c
2324
if (rule != NULL && t->t_rule != rule)
sys/net/ipfw/ip_fw2.c
2326
ipfw_track_free(ctx, t);
sys/net/ipfw/ip_fw2.c
2331
ipfw_track_state_expire(struct ipfw_context *ctx, struct ipfw_track *t,
sys/net/ipfw/ip_fw2.c
2337
KASSERT(t->t_count != NULL, ("track anchor"));
sys/net/ipfw/ip_fw2.c
2339
if (LIST_EMPTY(&t->t_state_list))
sys/net/ipfw/ip_fw2.c
2345
if (t->t_lastexp == time_uptime)
sys/net/ipfw/ip_fw2.c
2347
t->t_lastexp = time_uptime;
sys/net/ipfw/ip_fw2.c
2349
LIST_FOREACH_MUTABLE(s, &t->t_state_list, st_trklink, sn) {
sys/net/ipfw/ip_fw2.c
2351
KASSERT(s->st_track == t,
sys/net/ipfw/ip_fw2.c
2353
s->st_track, t));
sys/net/ipfw/ip_fw2.c
2403
struct ipfw_track *t;
sys/net/ipfw/ip_fw2.c
2413
while ((t = TAILQ_NEXT(anchor, t_link)) != NULL) {
sys/net/ipfw/ip_fw2.c
2420
TAILQ_INSERT_AFTER(&ctx->ipfw_track_list, t, anchor, t_link);
sys/net/ipfw/ip_fw2.c
2422
if (t->t_count == NULL) /* anchor */
sys/net/ipfw/ip_fw2.c
2425
ipfw_track_state_expire(ctx, t, reap);
sys/net/ipfw/ip_fw2.c
2426
if (!LIST_EMPTY(&t->t_state_list)) {
sys/net/ipfw/ip_fw2.c
2431
if (TIME_LEQ(t->t_expire, time_uptime) || reap) {
sys/net/ipfw/ip_fw2.c
2433
if (ipfw_track_free(ctx, t)) {
sys/net/ipfw/ip_fw2.c
2535
struct ipfw_track *t, *anchor;
sys/net/ipfw/ip_fw2.c
2559
while ((t = TAILQ_NEXT(anchor, t_link)) != NULL) {
sys/net/ipfw/ip_fw2.c
2565
TAILQ_INSERT_AFTER(&ctx->ipfw_track_list, t, anchor, t_link);
sys/net/ipfw/ip_fw2.c
2567
if (t->t_count == NULL) /* anchor */
sys/net/ipfw/ip_fw2.c
2570
ipfw_track_state_expire(ctx, t, TRUE);
sys/net/ipfw/ip_fw2.c
2571
if (!LIST_EMPTY(&t->t_state_list)) {
sys/net/ipfw/ip_fw2.c
2576
if (ipfw_track_free(ctx, t)) {
sys/net/ipfw/ip_fw2.c
2596
struct ipfw_track *key, *t, *dup;
sys/net/ipfw/ip_fw2.c
2617
t = RB_FIND(ipfw_track_tree, &ctx->ipfw_track_tree, key);
sys/net/ipfw/ip_fw2.c
2618
if (t != NULL)
sys/net/ipfw/ip_fw2.c
2621
t = kmalloc(sizeof(*t), M_IPFW, M_INTWAIT | M_NULLOK);
sys/net/ipfw/ip_fw2.c
2622
if (t == NULL) {
sys/net/ipfw/ip_fw2.c
2627
t->t_key = key->t_key;
sys/net/ipfw/ip_fw2.c
2628
t->t_rule = rule;
sys/net/ipfw/ip_fw2.c
2629
t->t_lastexp = 0;
sys/net/ipfw/ip_fw2.c
2630
LIST_INIT(&t->t_state_list);
sys/net/ipfw/ip_fw2.c
2666
tkey->tc_key = t->t_key;
sys/net/ipfw/ip_fw2.c
2693
kfree(t, M_IPFW);
sys/net/ipfw/ip_fw2.c
2702
trk->tc_key = t->t_key;
sys/net/ipfw/ip_fw2.c
2726
t->t_count = &trk->tc_count;
sys/net/ipfw/ip_fw2.c
2727
t->t_trkcnt = trk;
sys/net/ipfw/ip_fw2.c
2729
dup = RB_INSERT(ipfw_track_tree, &ctx->ipfw_track_tree, t);
sys/net/ipfw/ip_fw2.c
2732
TAILQ_INSERT_TAIL(&ctx->ipfw_track_list, t, t_link);
sys/net/ipfw/ip_fw2.c
2734
t->t_expire = time_uptime + dyn_short_lifetime;
sys/net/ipfw/ip_fw2.c
2735
return (t);
sys/net/ipfw/ip_fw2.c
2749
struct ipfw_track *t;
sys/net/ipfw/ip_fw2.c
2801
t = ipfw_track_alloc(ctx, &args->f_id, cmd->limit_mask, rule);
sys/net/ipfw/ip_fw2.c
2802
if (t == NULL)
sys/net/ipfw/ip_fw2.c
2805
if (*t->t_count >= cmd->conn_limit) {
sys/net/ipfw/ip_fw2.c
2806
if (!ipfw_track_state_expire(ctx, t, TRUE))
sys/net/ipfw/ip_fw2.c
2810
count = *t->t_count;
sys/net/ipfw/ip_fw2.c
2813
if (atomic_cmpset_int(t->t_count, count, count + 1))
sys/net/ipfw/ip_fw2.c
2817
s = ipfw_state_add(ctx, &args->f_id, O_LIMIT, rule, t, tcp);
sys/net/ipfw/ip_fw2.c
2820
atomic_subtract_int(t->t_count, 1);
sys/net/ipfw/ip_fw2.c
3703
uint16_t t =
sys/net/ipfw/ip_fw2.c
3711
t = ETHERTYPE_VLAN;
sys/net/ipfw/ip_fw2.c
3716
(t >= p[0] && t <= p[1]);
sys/net/ipfw/ip_fw2.c
5712
const struct ipfw_track *t;
sys/net/ipfw/ip_fw2.c
5731
TAILQ_FOREACH(t, &ctx->ipfw_track_list, t_link) {
sys/net/ipfw/ip_fw2.c
5734
if (t->t_count == NULL) /* anchor */
sys/net/ipfw/ip_fw2.c
5736
trk = t->t_trkcnt;
sys/net/ipfw/ip_fw2.c
5744
if (trk->tc_expire > t->t_expire)
sys/net/ipfw/ip_fw2.c
5746
trk->tc_expire = t->t_expire;
sys/net/ipfw/ip_fw2.h
182
#define F_INSN_SIZE(t) ((sizeof (t))/sizeof(uint32_t))
sys/net/ipfw3/ip_fw3.h
141
#define F_INSN_SIZE(t) ((sizeof (t))/sizeof(uint32_t))
sys/net/lagg/ieee8023ad_lacp.c
2061
const struct lacp_peerinfo *t;
sys/net/lagg/ieee8023ad_lacp.c
2063
t = a;
sys/net/lagg/ieee8023ad_lacp.c
2065
b = t;
sys/net/pf/if_pfsync.c
148
sc->sc_statep_tdb.t = NULL;
sys/net/pf/if_pfsync.h
126
struct pfsync_tdb *t;
sys/net/pf/pf.c
442
u_int32_t t = time_second, diff = t - threshold->last;
sys/net/pf/pf.c
450
threshold->last = t;
sys/net/pf/pf_ioctl.c
3135
u_int32_t t[5];
sys/net/pf/pf_ioctl.c
3148
if ((error = pf_begin_rules(&t[0], PF_RULESET_SCRUB, &nn)) != 0) {
sys/net/pf/pf_ioctl.c
3152
if ((error = pf_begin_rules(&t[1], PF_RULESET_FILTER, &nn)) != 0) {
sys/net/pf/pf_ioctl.c
3156
if ((error = pf_begin_rules(&t[2], PF_RULESET_NAT, &nn)) != 0) {
sys/net/pf/pf_ioctl.c
3160
if ((error = pf_begin_rules(&t[3], PF_RULESET_BINAT, &nn))
sys/net/pf/pf_ioctl.c
3165
if ((error = pf_begin_rules(&t[4], PF_RULESET_RDR, &nn))
sys/net/pf/pf_ioctl.c
3172
pf_commit_rules(t[0], PF_RULESET_SCRUB, &nn);
sys/net/pf/pf_ioctl.c
3173
pf_commit_rules(t[1], PF_RULESET_FILTER, &nn);
sys/net/pf/pf_ioctl.c
3174
pf_commit_rules(t[2], PF_RULESET_NAT, &nn);
sys/net/pf/pf_ioctl.c
3175
pf_commit_rules(t[3], PF_RULESET_BINAT, &nn);
sys/net/pf/pf_ioctl.c
3176
pf_commit_rules(t[4], PF_RULESET_RDR, &nn);
sys/net/pf/pf_ioctl.c
3181
if ((error = pf_begin_altq(&t[0])) != 0) {
sys/net/pf/pf_ioctl.c
3185
pf_commit_altq(t[0]);
sys/net/pf/pf_ioctl.c
527
struct pf_tagname *t;
sys/net/pf/pf_ioctl.c
529
TAILQ_FOREACH(t, &pf_tags, entries)
sys/net/pf/pf_ioctl.c
530
if (t->tag == tag)
sys/net/pf/pf_ioctl.c
532
if (t != NULL)
sys/net/pf/pf_ioctl.c
533
t->ref++;
sys/net/pf/pf_norm.c
675
struct mbuf *t;
sys/net/pf/pf_norm.c
676
for (t = m; t; t = t->m_next)
sys/net/pf/pf_norm.c
677
plen += t->m_len;
sys/net/pf/pf_norm.c
737
struct mbuf *t;
sys/net/pf/pf_norm.c
738
for (t = m; t; t = t->m_next)
sys/net/pf/pf_norm.c
739
plen += t->m_len;
sys/net/radix.c
1004
if (t->rn_left == tt)
sys/net/radix.c
1005
x = t->rn_right;
sys/net/radix.c
1007
x = t->rn_left;
sys/net/radix.c
1008
p = t->rn_parent;
sys/net/radix.c
1009
if (p->rn_right == t)
sys/net/radix.c
1017
if (t->rn_mklist != NULL) {
sys/net/radix.c
1021
*mp = t->rn_mklist;
sys/net/radix.c
1028
for (m = t->rn_mklist; m && x; x = x->rn_dupedkey)
sys/net/radix.c
1048
if (t != x) {
sys/net/radix.c
1050
*t = *x;
sys/net/radix.c
1052
bit = t->rn_info;
sys/net/radix.c
1053
*t = *x;
sys/net/radix.c
1054
t->rn_info = bit;
sys/net/radix.c
1056
t->rn_left->rn_parent = t;
sys/net/radix.c
1057
t->rn_right->rn_parent = t;
sys/net/radix.c
1060
p->rn_left = t;
sys/net/radix.c
1062
p->rn_right = t;
sys/net/radix.c
308
struct radix_node *top, *t, *saved_t;
sys/net/radix.c
314
t = rn_search(key, top);
sys/net/radix.c
325
if (t->rn_mask != NULL)
sys/net/radix.c
326
klen = clen(t->rn_mask);
sys/net/radix.c
331
cp2 = t->rn_key + top->rn_offset;
sys/net/radix.c
344
if (t->rn_flags & RNF_ROOT)
sys/net/radix.c
345
t = t->rn_dupedkey;
sys/net/radix.c
346
return (t);
sys/net/radix.c
361
saved_t = t;
sys/net/radix.c
363
if (t->rn_mask == NULL)
sys/net/radix.c
364
t = t->rn_dupedkey;
sys/net/radix.c
365
for (; t != NULL; t = t->rn_dupedkey) {
sys/net/radix.c
366
if (t->rn_flags & RNF_NORMAL) {
sys/net/radix.c
367
if (rn_bit <= t->rn_bit)
sys/net/radix.c
368
return (t);
sys/net/radix.c
369
} else if (rn_satisfies_leaf(key, t, matched_off))
sys/net/radix.c
370
return (t);
sys/net/radix.c
372
t = saved_t;
sys/net/radix.c
382
t = t->rn_parent;
sys/net/radix.c
389
for (m = t->rn_mklist; m != NULL; m = m->rm_next) {
sys/net/radix.c
394
skip = MIN(t->rn_offset, matched_off);
sys/net/radix.c
395
x = rn_search_m(key, m->rm_mask, t);
sys/net/radix.c
403
} while (t != top);
sys/net/radix.c
460
struct radix_node *top, *t, *tt;
sys/net/radix.c
469
t = rn_search(key, top);
sys/net/radix.c
475
const u_char *cp2 = t->rn_key + head_off;
sys/net/radix.c
485
return (t);
sys/net/radix.c
511
t = rn_newpair(key, bit, nodes);
sys/net/radix.c
512
tt = t->rn_left;
sys/net/radix.c
514
p->rn_left = t;
sys/net/radix.c
516
p->rn_right = t;
sys/net/radix.c
517
x->rn_parent = t;
sys/net/radix.c
518
t->rn_parent = p; /* frees x, p as temp vars below */
sys/net/radix.c
519
if ((cp[t->rn_offset] & t->rn_bmask) == 0) {
sys/net/radix.c
520
t->rn_right = x;
sys/net/radix.c
522
t->rn_right = tt;
sys/net/radix.c
523
t->rn_left = x;
sys/net/radix.c
704
struct radix_node *top, *t, *x, *tt, *saved_tt;
sys/net/radix.c
749
for (t = tt; tt != NULL; t = tt, tt = tt->rn_dupedkey) {
sys/net/radix.c
762
(tt = nodes)->rn_dupedkey = t;
sys/net/radix.c
763
tt->rn_flags = t->rn_flags;
sys/net/radix.c
764
tt->rn_parent = x = t->rn_parent;
sys/net/radix.c
765
t->rn_parent = tt; /* parent */
sys/net/radix.c
766
if (x->rn_left == t)
sys/net/radix.c
772
(tt = nodes)->rn_dupedkey = t->rn_dupedkey;
sys/net/radix.c
773
t->rn_dupedkey = tt;
sys/net/radix.c
774
tt->rn_parent = t; /* parent */
sys/net/radix.c
798
t = saved_tt->rn_parent;
sys/net/radix.c
801
bit_leaf = -1 - t->rn_bit;
sys/net/radix.c
802
if (t->rn_right == saved_tt)
sys/net/radix.c
803
x = t->rn_left;
sys/net/radix.c
805
x = t->rn_right;
sys/net/radix.c
808
mp = &t->rn_mklist;
sys/net/radix.c
825
t->rn_mklist = m;
sys/net/radix.c
830
if (mask == NULL || bit > t->rn_bit)
sys/net/radix.c
838
x = t;
sys/net/radix.c
839
t = t->rn_parent;
sys/net/radix.c
840
} while (bit <= t->rn_bit && x != top);
sys/net/radix.c
876
struct radix_node *top, *t, *p, *x, *tt, *saved_tt, *dupedkey;
sys/net/radix.c
921
t = saved_tt->rn_parent;
sys/net/radix.c
922
if (bit > t->rn_bit)
sys/net/radix.c
926
x = t;
sys/net/radix.c
927
t = t->rn_parent;
sys/net/radix.c
928
} while (bit <= t->rn_bit && x != top);
sys/net/radix.c
950
for (t = rn_clist; t != NULL && t->rn_ybro != tt; t = t->rn_ybro)
sys/net/radix.c
952
if (t != NULL)
sys/net/radix.c
953
t->rn_ybro = tt->rn_ybro;
sys/net/radix.c
956
t = tt->rn_parent;
sys/net/radix.c
966
x->rn_parent = t;
sys/net/radix.c
967
if (t->rn_left == tt)
sys/net/radix.c
968
t->rn_left = x;
sys/net/radix.c
970
t->rn_right = x;
sys/net/radix.c
984
t = tt + 1;
sys/net/radix.c
985
if (t->rn_flags & RNF_ACTIVE) {
sys/net/radix.c
987
*++x = *t;
sys/net/radix.c
988
p = t->rn_parent;
sys/net/radix.c
990
bit = t->rn_info;
sys/net/radix.c
991
*++x = *t;
sys/net/radix.c
992
t->rn_info = bit;
sys/net/radix.c
993
p = t->rn_parent;
sys/net/radix.c
995
if (p->rn_left == t)
sys/net/radix.h
193
#define R_Malloc(p, t, n) \
sys/net/radix.h
194
(p = (t) kmalloc((n), M_RTABLE, M_INTWAIT | M_NULLOK))
sys/net/radix.h
201
#define R_Malloc(p, t, n) (p = (t) malloc((n)))
sys/net/wg/if_wg.c
130
uint32_t t;
sys/net/wg/if_wg.c
139
uint32_t t;
sys/net/wg/if_wg.c
148
uint32_t t;
sys/net/wg/if_wg.c
1502
pkt.t = WG_PKT_INITIATION;
sys/net/wg/if_wg.c
1522
pkt.t = WG_PKT_RESPONSE;
sys/net/wg/if_wg.c
1536
pkt.t = WG_PKT_COOKIE;
sys/net/wg/if_wg.c
155
uint32_t t;
sys/net/wg/if_wg.c
1860
data->t = WG_PKT_DATA;
sys/net/wg/selftest/cookie.c
60
uint64_t t;
sys/net/wg/selftest/cookie.c
67
if ((t = rl_expected[i].sleep_time) != 0) {
sys/net/wg/selftest/cookie.c
69
(int)(t * hz / NSEC_PER_SEC));
sys/net/zlib.c
3742
uInt t; /* temporary storage */
sys/net/zlib.c
3758
t = (uInt)b & 7;
sys/net/zlib.c
3759
s->last = t & 1;
sys/net/zlib.c
3760
switch (t >> 1)
sys/net/zlib.c
3766
t = k & 7; /* go to byte boundary */
sys/net/zlib.c
3767
DUMPBITS(t)
sys/net/zlib.c
3822
t = s->sub.left;
sys/net/zlib.c
3823
if (t > n) t = n;
sys/net/zlib.c
3824
if (t > m) t = m;
sys/net/zlib.c
3825
zmemcpy(q, p, t);
sys/net/zlib.c
3826
p += t; n -= t;
sys/net/zlib.c
3827
q += t; m -= t;
sys/net/zlib.c
3828
if ((s->sub.left -= t) != 0)
sys/net/zlib.c
3837
s->sub.trees.table = t = (uInt)b & 0x3fff;
sys/net/zlib.c
3839
if ((t & 0x1f) > 29 || ((t >> 5) & 0x1f) > 29)
sys/net/zlib.c
3847
t = 258 + (t & 0x1f) + ((t >> 5) & 0x1f);
sys/net/zlib.c
3848
if (t < 19)
sys/net/zlib.c
3849
t = 19;
sys/net/zlib.c
3850
if ((s->sub.trees.blens = (uIntf*)ZALLOC(z, t, sizeof(uInt))) == Z_NULL)
sys/net/zlib.c
3869
t = inflate_trees_bits(s->sub.trees.blens, &s->sub.trees.bb,
sys/net/zlib.c
3871
if (t != Z_OK)
sys/net/zlib.c
3873
r = t;
sys/net/zlib.c
3884
while (t = s->sub.trees.table,
sys/net/zlib.c
3885
s->sub.trees.index < 258 + (t & 0x1f) + ((t >> 5) & 0x1f))
sys/net/zlib.c
3890
t = s->sub.trees.bb;
sys/net/zlib.c
3891
NEEDBITS(t)
sys/net/zlib.c
3892
h = s->sub.trees.tb + ((uInt)b & inflate_mask[t]);
sys/net/zlib.c
3893
t = h->word.what.Bits;
sys/net/zlib.c
3897
DUMPBITS(t)
sys/net/zlib.c
3904
NEEDBITS(t + i)
sys/net/zlib.c
3905
DUMPBITS(t)
sys/net/zlib.c
3909
t = s->sub.trees.table;
sys/net/zlib.c
3910
if (i + j > 258 + (t & 0x1f) + ((t >> 5) & 0x1f) ||
sys/net/zlib.c
3936
t = s->sub.trees.table;
sys/net/zlib.c
3940
t = inflate_trees_dynamic(257 + (t & 0x1f), 1 + ((t >> 5) & 0x1f),
sys/net/zlib.c
3942
if (t != Z_OK)
sys/net/zlib.c
3944
if (t == (uInt)Z_DATA_ERROR) {
sys/net/zlib.c
3948
r = t;
sys/net/zlib.c
4044
uInt t; /* temporary storage */
sys/net/zlib.c
4061
t = n; /* how many to do */
sys/net/zlib.c
4063
if (t > m) t = m;
sys/net/zlib.c
4066
s->check = (*s->checkfn)(s->check, q, t);
sys/net/zlib.c
4067
zmemcpy(q, p, t);
sys/net/zlib.c
4068
q += t;
sys/net/zlib.c
4069
p += t;
sys/net/zlib.c
4070
n -= t;
sys/net/zlib.c
4071
z->total_out += t;
sys/net/zlib.c
4218
inflate_huft * FAR *t, uIntf *m, z_streamp zs)
sys/net/zlib.c
4254
*t = (inflate_huft *)Z_NULL;
sys/net/zlib.c
4353
*t = q + 1; /* link to list for huft_free() */
sys/net/zlib.c
4354
*(t = &(q->next)) = Z_NULL;
sys/net/zlib.c
4581
inflate_trees_free(inflate_huft *t, z_streamp z)
sys/net/zlib.c
4587
q = t;
sys/net/zlib.c
4711
inflate_huft *t; /* temporary pointer */
sys/net/zlib.c
4748
t = c->sub.code.tree + ((uInt)b & inflate_mask[j]);
sys/net/zlib.c
4749
DUMPBITS(t->bits)
sys/net/zlib.c
4750
e = (uInt)(t->exop);
sys/net/zlib.c
4753
c->sub.lit = t->base;
sys/net/zlib.c
4754
Tracevv((stderr, t->base >= 0x20 && t->base < 0x7f ?
sys/net/zlib.c
4756
"inflate: literal 0x%02x\n", t->base));
sys/net/zlib.c
4763
c->len = t->base;
sys/net/zlib.c
4770
c->sub.code.tree = t->next;
sys/net/zlib.c
4795
t = c->sub.code.tree + ((uInt)b & inflate_mask[j]);
sys/net/zlib.c
4796
DUMPBITS(t->bits)
sys/net/zlib.c
4797
e = (uInt)(t->exop);
sys/net/zlib.c
4801
c->sub.copy.dist = t->base;
sys/net/zlib.c
4808
c->sub.code.tree = t->next;
sys/net/zlib.c
5006
inflate_huft *t; /* temporary pointer */
sys/net/zlib.c
5031
if ((e = (t = tl + ((uInt)b & ml))->exop) == 0)
sys/net/zlib.c
5033
DUMPBITS(t->bits)
sys/net/zlib.c
5034
Tracevv((stderr, t->base >= 0x20 && t->base < 0x7f ?
sys/net/zlib.c
5036
"inflate: * literal 0x%02x\n", t->base));
sys/net/zlib.c
5037
*q++ = (Byte)t->base;
sys/net/zlib.c
5042
DUMPBITS(t->bits)
sys/net/zlib.c
5047
c = t->base + ((uInt)b & inflate_mask[e]);
sys/net/zlib.c
5053
e = (t = td + ((uInt)b & md))->exop;
sys/net/zlib.c
5055
DUMPBITS(t->bits)
sys/net/zlib.c
5061
d = t->base + ((uInt)b & inflate_mask[e]);
sys/net/zlib.c
5092
e = (t = t->next + ((uInt)b & inflate_mask[e]))->exop;
sys/net/zlib.c
5105
if ((e = (t = t->next + ((uInt)b & inflate_mask[e]))->exop) == 0)
sys/net/zlib.c
5107
DUMPBITS(t->bits)
sys/net/zlib.c
5108
Tracevv((stderr, t->base >= 0x20 && t->base < 0x7f ?
sys/net/zlib.c
5110
"inflate: * literal 0x%02x\n", t->base));
sys/net/zlib.c
5111
*q++ = (Byte)t->base;
sys/netbt/hci.h
2573
#define M_GETCTX(m, t) ((t)(m)->m_pkthdr.rcvif)
sys/netgraph/cisco/ng_cisco.c
593
u_long t;
sys/netgraph/cisco/ng_cisco.c
604
t = (time.tv_sec - boottime.tv_sec) * 1000;
sys/netgraph/cisco/ng_cisco.c
618
ch->time0 = htons((u_short) (t >> 16));
sys/netgraph/cisco/ng_cisco.c
619
ch->time1 = htons((u_short) t);
sys/netgraph/ksocket/ng_ksocket.c
210
char *t;
sys/netgraph/ksocket/ng_ksocket.c
222
if ((t = index(s + *off, '/')) == NULL)
sys/netgraph/ksocket/ng_ksocket.c
224
if ((len = t - (s + *off)) > sizeof(fambuf) - 1)
sys/netgraph/netgraph/ng_parse.c
111
#define METHOD(t,m) (ng_get_ ## m ## _method(t))
sys/netgraph/netgraph/ng_parse.c
112
#define INVOKE(t,m) (*METHOD(t,m))
sys/netgraph/netgraph/ng_parse.c
114
static ng_parse_t *ng_get_parse_method(const struct ng_parse_type *t);
sys/netgraph/netgraph/ng_parse.c
115
static ng_unparse_t *ng_get_unparse_method(const struct ng_parse_type *t);
sys/netgraph/netgraph/ng_parse.c
117
struct ng_parse_type *t);
sys/netgraph/netgraph/ng_parse.c
118
static ng_getAlign_t *ng_get_getAlign_method(const struct ng_parse_type *t);
sys/netgraph/netgraph/ng_parse.c
120
#define ALIGNMENT(t) (METHOD(t, getAlign) == NULL ? \
sys/netgraph/netgraph/ng_parse.c
121
0 : INVOKE(t, getAlign)(t))
sys/netgraph/netgraph/ng_parse.c
1505
char *t;
sys/netgraph/netgraph/ng_parse.c
1530
if ((t = ng_get_string_token(s, startp, lenp)) == NULL)
sys/netgraph/netgraph/ng_parse.c
1532
kfree(t, M_NETGRAPH);
sys/netgraph/netgraph/ng_parse.c
1688
ng_get_parse_method(const struct ng_parse_type *t)
sys/netgraph/netgraph/ng_parse.c
1690
while (t != NULL && t->parse == NULL)
sys/netgraph/netgraph/ng_parse.c
1691
t = t->supertype;
sys/netgraph/netgraph/ng_parse.c
1692
return (t ? t->parse : NULL);
sys/netgraph/netgraph/ng_parse.c
1696
ng_get_unparse_method(const struct ng_parse_type *t)
sys/netgraph/netgraph/ng_parse.c
1698
while (t != NULL && t->unparse == NULL)
sys/netgraph/netgraph/ng_parse.c
1699
t = t->supertype;
sys/netgraph/netgraph/ng_parse.c
1700
return (t ? t->unparse : NULL);
sys/netgraph/netgraph/ng_parse.c
1704
ng_get_getDefault_method(const struct ng_parse_type *t)
sys/netgraph/netgraph/ng_parse.c
1706
while (t != NULL && t->getDefault == NULL)
sys/netgraph/netgraph/ng_parse.c
1707
t = t->supertype;
sys/netgraph/netgraph/ng_parse.c
1708
return (t ? t->getDefault : NULL);
sys/netgraph/netgraph/ng_parse.c
1712
ng_get_getAlign_method(const struct ng_parse_type *t)
sys/netgraph/netgraph/ng_parse.c
1714
while (t != NULL && t->getAlign == NULL)
sys/netgraph/netgraph/ng_parse.c
1715
t = t->supertype;
sys/netgraph/netgraph/ng_parse.c
1716
return (t ? t->getAlign : NULL);
sys/netgraph/pptpgre/ng_pptpgre.c
989
pptptime_t t;
sys/netgraph/pptpgre/ng_pptpgre.c
997
t = (pptptime_t)tv.tv_sec * PPTP_TIME_SCALE;
sys/netgraph/pptpgre/ng_pptpgre.c
998
t += (pptptime_t)tv.tv_usec / (1000000 / PPTP_TIME_SCALE);
sys/netgraph/pptpgre/ng_pptpgre.c
999
return(t);
sys/netgraph7/cisco/ng_cisco.c
591
u_long t;
sys/netgraph7/cisco/ng_cisco.c
600
t = time.tv_sec * 1000 + time.tv_usec / 1000;
sys/netgraph7/cisco/ng_cisco.c
614
ch->time0 = htons((u_short) (t >> 16));
sys/netgraph7/cisco/ng_cisco.c
615
ch->time1 = htons((u_short) t);
sys/netgraph7/ksocket/ng_ksocket.c
212
char *t;
sys/netgraph7/ksocket/ng_ksocket.c
224
if ((t = index(s + *off, '/')) == NULL)
sys/netgraph7/ksocket/ng_ksocket.c
226
if ((len = t - (s + *off)) > sizeof(fambuf) - 1)
sys/netgraph7/netflow/netflow.c
90
#define MILLIUPTIME(t) (((t) << 9) + /* 512 */ \
sys/netgraph7/netflow/netflow.c
91
((t) << 8) + /* 256 */ \
sys/netgraph7/netflow/netflow.c
92
((t) << 7) + /* 128 */ \
sys/netgraph7/netflow/netflow.c
93
((t) << 6) + /* 64 */ \
sys/netgraph7/netflow/netflow.c
94
((t) << 5) + /* 32 */ \
sys/netgraph7/netflow/netflow.c
95
((t) << 3)) /* 8 */
sys/netgraph7/netgraph/ng_parse.c
126
#define METHOD(t,m) (ng_get_ ## m ## _method(t))
sys/netgraph7/netgraph/ng_parse.c
127
#define INVOKE(t,m) (*METHOD(t,m))
sys/netgraph7/netgraph/ng_parse.c
129
static ng_parse_t *ng_get_parse_method(const struct ng_parse_type *t);
sys/netgraph7/netgraph/ng_parse.c
130
static ng_unparse_t *ng_get_unparse_method(const struct ng_parse_type *t);
sys/netgraph7/netgraph/ng_parse.c
132
struct ng_parse_type *t);
sys/netgraph7/netgraph/ng_parse.c
133
static ng_getAlign_t *ng_get_getAlign_method(const struct ng_parse_type *t);
sys/netgraph7/netgraph/ng_parse.c
135
#define ALIGNMENT(t) (METHOD(t, getAlign) == NULL ? \
sys/netgraph7/netgraph/ng_parse.c
136
0 : INVOKE(t, getAlign)(t))
sys/netgraph7/netgraph/ng_parse.c
1693
char *t;
sys/netgraph7/netgraph/ng_parse.c
1718
if ((t = ng_get_string_token(s, startp, lenp, NULL)) == NULL)
sys/netgraph7/netgraph/ng_parse.c
1720
kfree(t, M_NETGRAPH_PARSE);
sys/netgraph7/netgraph/ng_parse.c
1884
ng_get_parse_method(const struct ng_parse_type *t)
sys/netgraph7/netgraph/ng_parse.c
1886
while (t != NULL && t->parse == NULL)
sys/netgraph7/netgraph/ng_parse.c
1887
t = t->supertype;
sys/netgraph7/netgraph/ng_parse.c
1888
return (t ? t->parse : NULL);
sys/netgraph7/netgraph/ng_parse.c
1892
ng_get_unparse_method(const struct ng_parse_type *t)
sys/netgraph7/netgraph/ng_parse.c
1894
while (t != NULL && t->unparse == NULL)
sys/netgraph7/netgraph/ng_parse.c
1895
t = t->supertype;
sys/netgraph7/netgraph/ng_parse.c
1896
return (t ? t->unparse : NULL);
sys/netgraph7/netgraph/ng_parse.c
1900
ng_get_getDefault_method(const struct ng_parse_type *t)
sys/netgraph7/netgraph/ng_parse.c
1902
while (t != NULL && t->getDefault == NULL)
sys/netgraph7/netgraph/ng_parse.c
1903
t = t->supertype;
sys/netgraph7/netgraph/ng_parse.c
1904
return (t ? t->getDefault : NULL);
sys/netgraph7/netgraph/ng_parse.c
1908
ng_get_getAlign_method(const struct ng_parse_type *t)
sys/netgraph7/netgraph/ng_parse.c
1910
while (t != NULL && t->getAlign == NULL)
sys/netgraph7/netgraph/ng_parse.c
1911
t = t->supertype;
sys/netgraph7/netgraph/ng_parse.c
1912
return (t ? t->getAlign : NULL);
sys/netgraph7/ng_source.c
79
#define mtod_off(m,off,t) ((t)(mtod((m),caddr_t)+(off)))
sys/netgraph7/ng_vlan.c
202
struct ng_vlan_table *t;
sys/netgraph7/ng_vlan.c
280
NG_MKRESPONSE(resp, msg, sizeof(*t) +
sys/netgraph7/ng_vlan.c
281
priv->nent * sizeof(*t->filter), M_WAITOK | M_NULLOK);
sys/netgraph7/ng_vlan.c
286
t = (struct ng_vlan_table *)resp->data;
sys/netgraph7/ng_vlan.c
287
t->n = priv->nent;
sys/netgraph7/ng_vlan.c
288
vf = &t->filter[0];
sys/netgraph7/pptpgre/ng_pptpgre.c
979
pptptime_t t;
sys/netgraph7/pptpgre/ng_pptpgre.c
982
t = (pptptime_t)tv.tv_sec * PPTP_TIME_SCALE;
sys/netgraph7/pptpgre/ng_pptpgre.c
983
t += tv.tv_usec / (1000000 / PPTP_TIME_SCALE);
sys/netgraph7/pptpgre/ng_pptpgre.c
984
return(t);
sys/netinet/in.c
1334
u_long t;
sys/netinet/in.c
1341
t = ntohl(in.s_addr);
sys/netinet/in.c
1358
(t == ia->ia_subnet || t == ia->ia_net))) &&
sys/netinet/in.h
494
#define in_hosteq(s, t) ((s).s_addr == (t).s_addr)
sys/netinet/in_pcb.c
518
struct inpcb *t;
sys/netinet/in_pcb.c
536
t = in_pcblookup_local(porthash, sin->sin_addr, sin->sin_port,
sys/netinet/in_pcb.c
538
if (t && t->inp_socket != so &&
sys/netinet/in_pcb.c
539
(so->so_cred->cr_uid != t->inp_socket->so_cred->cr_uid))
sys/netinet/in_pcb.c
551
t = in_pcblookup_local(porthash, sin->sin_addr, sin->sin_port,
sys/netinet/in_pcb.c
553
if (t && t->inp_socket != so &&
sys/netinet/in_pcb.c
554
(reuseport & t->inp_socket->so_options) == 0 &&
sys/netinet/in_pcb.c
555
(t->inp_socket->so_state & SS_ACCEPTMECH) == 0)
sys/netinet/ip6.h
323
struct mbuf *t; \
sys/netinet/ip6.h
328
t = m_pulldown((m), (off), (len), &tmp); \
sys/netinet/ip6.h
329
if (t) { \
sys/netinet/ip6.h
330
if (t->m_len < tmp + (len)) \
sys/netinet/ip6.h
332
(val) = (typ)(mtod(t, caddr_t) + tmp); \
sys/netinet/ip6.h
342
struct mbuf *t; \
sys/netinet/ip6.h
346
t = m_pulldown((m), (off), (len), NULL); \
sys/netinet/ip6.h
347
if (t) { \
sys/netinet/ip6.h
348
if (t->m_len < (len)) \
sys/netinet/ip6.h
350
(val) = (typ)mtod(t, caddr_t); \
sys/netinet/ip_icmp.c
1021
t = IA_SIN(ia)->sin_addr;
sys/netinet/ip_icmp.c
1022
ip->ip_src = t;
sys/netinet/ip_icmp.c
1145
u_long t;
sys/netinet/ip_icmp.c
1148
t = (atv.tv_sec % (24*60*60)) * 1000 + atv.tv_usec / 1000;
sys/netinet/ip_icmp.c
1149
return (htonl(t));
sys/netinet/ip_icmp.c
931
struct in_addr t;
sys/netinet/ip_icmp.c
943
t = ip->ip_dst;
sys/netinet/ip_icmp.c
956
LIST_FOREACH(iac, INADDR_HASH(t.s_addr), ia_hash) {
sys/netinet/ip_icmp.c
957
if (t.s_addr == IA_SIN(iac->ia)->sin_addr.s_addr) {
sys/netinet/ip_icmp.c
971
t.s_addr)
sys/netinet/pim.h
74
#define PIM_MAKE_VT(v, t) (0xff & (((v) << 4) | (0x0f & (t))))
sys/netinet/tcp_output.c
1330
int t = ((tp->t_srtt >> 2) + tp->t_rttvar) >> 1;
sys/netinet/tcp_output.c
1345
TCPT_RANGESET(tt, t * tcp_backoff[tp->t_rxtshift], TCPTV_PERSMIN,
sys/netinet/tcp_subr.c
630
#define xchg(a, b, type) { type t; t = a; a = b; b = t; }
sys/netinet6/frag6.c
156
struct mbuf *m = *mp, *t;
sys/netinet6/frag6.c
441
t = m = IP6_REASS_MBUF(ip6af);
sys/netinet6/frag6.c
447
while (t->m_next)
sys/netinet6/frag6.c
448
t = t->m_next;
sys/netinet6/frag6.c
449
t->m_next = IP6_REASS_MBUF(af6);
sys/netinet6/frag6.c
450
m_adj(t->m_next, af6->ip6af_offset);
sys/netinet6/frag6.c
488
if ((t = m_split(m, offset, M_NOWAIT)) == NULL) {
sys/netinet6/frag6.c
495
m_adj(t, sizeof(struct ip6_frag));
sys/netinet6/frag6.c
496
m_cat(m, t);
sys/netinet6/frag6.c
514
for (t = m; t; t = t->m_next)
sys/netinet6/frag6.c
515
plen += t->m_len;
sys/netinet6/icmp6.c
1919
struct in6_addr t, *src = NULL;
sys/netinet6/icmp6.c
1974
t = ip6->ip6_dst;
sys/netinet6/icmp6.c
1996
sa6_dst.sin6_addr = t;
sys/netinet6/icmp6.c
1997
in6_recoverscope(&sa6_dst, &t, m->m_pkthdr.rcvif);
sys/netinet6/icmp6.c
1998
in6_embedscope(&t, &sa6_dst, NULL, NULL);
sys/netinet6/icmp6.c
2042
if (IN6_ARE_ADDR_EQUAL(&t, &ia->ia_addr.sin6_addr) &&
sys/netinet6/icmp6.c
2044
src = &t;
sys/netinet6/icmp6.c
2047
if (ia == NULL && IN6_IS_ADDR_LINKLOCAL(&t) && (m->m_flags & M_LOOP)) {
sys/netinet6/icmp6.c
2052
src = &t;
sys/netinet6/in6_pcb.c
121
struct inpcb *t;
sys/netinet6/in6_pcb.c
217
t = in6_pcblookup_local(porthash, &sin6->sin6_addr,
sys/netinet6/in6_pcb.c
220
if (t &&
sys/netinet6/in6_pcb.c
222
t->inp_socket->so_cred->cr_uid)) {
sys/netinet6/in6_pcb.c
234
t = in6_pcblookup_local(porthash, &sin6->sin6_addr, lport,
sys/netinet6/in6_pcb.c
236
if (t && (reuseport & t->inp_socket->so_options) == 0) {
sys/netinet6/ip6_mroute.c
1193
rte->t = tp;
sys/netinet6/ip6_mroute.c
767
collate(&(rte->t));
sys/netinet6/ip6_mroute.c
844
collate(struct timeval *t)
sys/netinet6/ip6_mroute.c
852
if (TV_LT(*t, tp))
sys/netinet6/ip6_mroute.c
854
TV_DELTA(tp, *t, delta);
sys/netinet6/ip6_mroute.h
109
#define IF_COPY(f, t) bcopy(f, t, sizeof(*(f)))
sys/netinet6/ip6_mroute.h
269
struct timeval t; /* Timestamp */
sys/netinet6/ip6_mroute.h
78
#define GET_TIME(t) microtime(&t)
sys/netinet6/ip6_mroute.h
80
#define GET_TIME(t) uniqtime(&t)
sys/netinet6/ip6_mroute.h
82
#define GET_TIME(t) ((t) = time)
sys/netinet6/nd6.c
580
struct nd_defrouter *t;
sys/netinet6/nd6.c
581
t = TAILQ_NEXT(dr, dr_entry);
sys/netinet6/nd6.c
583
dr = t;
sys/netinet6/nd6.c
678
struct nd_prefix *t;
sys/netinet6/nd6.c
679
t = pr->ndpr_next;
sys/netinet6/nd6.c
687
pr = t;
sys/netproto/802_11/ieee80211_dragonfly.h
131
#define ticks_to_msecs(t) (1000*(t) / hz)
sys/netproto/802_11/ieee80211_dragonfly.h
132
#define ticks_to_secs(t) ((t) / hz)
sys/netproto/802_11/ieee80211_dragonfly.h
654
#define ALIGNED_POINTER(p, t) (((uintptr_t)(p) & (sizeof(t) - 1)) == 0)
sys/netproto/802_11/wlan/ieee80211_amrr.c
100
int t;
sys/netproto/802_11/wlan/ieee80211_amrr.c
104
t = msecs_to_ticks(msecs);
sys/netproto/802_11/wlan/ieee80211_amrr.c
105
amrr->amrr_interval = (t < 1) ? 1 : t;
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
352
int error, t;
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
356
t = msecs_to_ticks(msecs);
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
357
*(int *)arg1 = (t < 1) ? 1 : t;
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
389
int t = 0, error;
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
391
error = sysctl_handle_int(oidp, &t, 0, req);
sys/netproto/802_11/wlan/ieee80211_regdomain.c
185
uint8_t *ai, *t;
sys/netproto/802_11/wlan/ieee80211_regdomain.c
189
for (t = ai; t > aa; t -= size) {
sys/netproto/802_11/wlan/ieee80211_regdomain.c
190
uint8_t *u = t - size;
sys/netproto/802_11/wlan/ieee80211_regdomain.c
191
if (chancompar(u, t) <= 0)
sys/netproto/802_11/wlan/ieee80211_regdomain.c
193
swap(u, t, size);
sys/netproto/802_11/wlan/ieee80211_rssadapt.c
119
int t;
sys/netproto/802_11/wlan/ieee80211_rssadapt.c
123
t = msecs_to_ticks(msecs);
sys/netproto/802_11/wlan/ieee80211_rssadapt.c
124
rs->interval = (t < 1) ? 1 : t;
sys/netproto/802_11/wlan_tkip/ieee80211_crypto_tkip.c
524
u16 t = Sbox[Hi8(v)];
sys/netproto/802_11/wlan_tkip/ieee80211_crypto_tkip.c
525
return Sbox[Lo8(v)] ^ ((t << 8) | (t >> 8));
sys/netproto/802_11/wlan_tkip/ieee80211_crypto_tkip.c
610
#define S_SWAP(a,b) do { u8 t = S[a]; S[a] = S[b]; S[b] = t; } while(0)
sys/netproto/802_11/wlan_wep/ieee80211_crypto_wep.c
330
#define S_SWAP(a,b) do { uint8_t t = S[a]; S[a] = S[b]; S[b] = t; } while(0)
sys/netproto/802_11/wlan_wep/ieee80211_crypto_wep.c
413
#define S_SWAP(a,b) do { uint8_t t = S[a]; S[a] = S[b]; S[b] = t; } while(0)
sys/platform/pc64/include/nexusvar.h
56
static __inline void nexus_set_ ## A(device_t dev, T t) \
sys/platform/pc64/include/nexusvar.h
58
uintptr_t v = (uintptr_t) t; \
sys/platform/pc64/x86_64/busdma_machdep.c
1453
bus_space_map(bus_space_tag_t t __unused, bus_addr_t addr, bus_size_t size,
sys/platform/pc64/x86_64/busdma_machdep.c
1457
if (t == X86_64_BUS_SPACE_MEM)
sys/platform/pc64/x86_64/busdma_machdep.c
1465
bus_space_unmap(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t size)
sys/platform/pc64/x86_64/busdma_machdep.c
1467
if (t == X86_64_BUS_SPACE_MEM)
sys/platform/vkernel64/platform/console.c
92
#define ISSET(t, f) ((t) & (f))
sys/sys/_fd_set.h
82
#define FD_COPY(f, t) __builtin_memcpy((t), (f), sizeof(*(f)))
sys/sys/atomic_common.h
78
#define __atomic_load_generic(p, t, ut, n) \
sys/sys/atomic_common.h
80
t: __atomic_load_ ## n ## _relaxed(p), \
sys/sys/atomic_common.h
82
#define __atomic_store_generic(p, v, t, ut, n) \
sys/sys/atomic_common.h
84
t: __atomic_store_ ## n ## _relaxed(p, v), \
sys/sys/atomic_common.h
91
#define __atomic_load_generic(p, t, ut, n) \
sys/sys/atomic_common.h
93
#define __atomic_store_generic(p, v, t, ut, n) \
sys/sys/bus.h
552
static __inline void varp ## _set_ ## var(device_t dev, type t) \
sys/sys/bus.h
554
uintptr_t v = (uintptr_t) t; \
sys/sys/cdefs.h
625
#define __generic(expr, t, yes, no) \
sys/sys/cdefs.h
626
_Generic(expr, t: yes, default: no)
sys/sys/cdefs.h
628
#define __generic(expr, t, yes, no) \
sys/sys/cdefs.h
630
__builtin_types_compatible_p(__typeof(expr), t), yes, no)
sys/sys/ioccom.h
58
#define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t))
sys/sys/ioccom.h
59
#define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t))
sys/sys/ioccom.h
61
#define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t))
sys/sys/mapped_ioctl.h
67
#define MAPPED_IOCTL_MAPRANGE(c,e,t,r,f,m) { (c), (e), (t), (r), (f), (m) }
sys/sys/mapped_ioctl.h
68
#define MAPPED_IOCTL_MAPF(c,t,f) MAPPED_IOCTL_MAPRANGE((c), (c), (t), (t), (f), NULL)
sys/sys/mapped_ioctl.h
69
#define MAPPED_IOCTL_MAP(c,t) MAPPED_IOCTL_MAPF((c), (t), NULL)
sys/sys/mapped_ioctl.h
71
#define MAPPED_IOCTL_IOR(c,f,t) MAPPED_IOCTL_MAPF((c), _IOR(0, 0, t), (f))
sys/sys/mapped_ioctl.h
72
#define MAPPED_IOCTL_IOW(c,f,t) MAPPED_IOCTL_MAPF((c), _IOW(0, 0, t), (f))
sys/sys/mapped_ioctl.h
73
#define MAPPED_IOCTL_IOWR(c,f,t) MAPPED_IOCTL_MAPF((c), _IOWR(0, 0, t), (f))
sys/sys/mbuf.h
73
#define mtod(m, t) ((t)((m)->m_data))
sys/sys/mbuf.h
74
#define mtodoff(m, t, off) ((t)((m)->m_data + (off)))
sys/sys/microtime_pcpu.h
59
microtime_pcpu_get(union microtime_pcpu *t)
sys/sys/microtime_pcpu.h
62
t->tsc = rdtsc();
sys/sys/microtime_pcpu.h
64
microuptime(&t->tv);
sys/sys/rman.h
150
#define rman_set_bustag(r,t) ((r)->r_bustag = (t))
sys/sys/sysproto.h
23
#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
sys/sys/sysproto.h
24
0 : sizeof(register_t) - sizeof(t))
sys/sys/systm.h
507
_uint128_t t;
sys/sys/systm.h
509
t = (_uint128_t)a * b;
sys/sys/systm.h
510
if (t / d > UINT64_MAX) {
sys/sys/systm.h
514
return (t / d);
sys/sys/taskqueue.h
68
struct task t;
sys/sys/tty.h
251
void termioschars (struct termios *t);
sys/vfs/hpfs/hpfs_subr.c
656
struct timespec t;
sys/vfs/hpfs/hpfs_subr.c
658
t.tv_nsec = 0;
sys/vfs/hpfs/hpfs_subr.c
659
t.tv_sec = hptime;
sys/vfs/hpfs/hpfs_subr.c
661
return t;
sys/vfs/isofs/cd9660/cd9660_vfsops.c
118
struct ioc_read_toc_single_entry t;
sys/vfs/isofs/cd9660/cd9660_vfsops.c
126
t.address_format = CD_LBA_FORMAT;
sys/vfs/isofs/cd9660/cd9660_vfsops.c
127
t.track = i;
sys/vfs/isofs/cd9660/cd9660_vfsops.c
128
if (dev_dioctl(dev, CDIOREADTOCENTRY, (caddr_t)&t, FREAD,
sys/vfs/isofs/cd9660/cd9660_vfsops.c
132
if ((t.entry.control & 4) != 0)
sys/vfs/isofs/cd9660/cd9660_vfsops.c
140
return ntohl(t.entry.addr.lba);
sys/vfs/nfs/nfsproto.h
227
#define vtonfsv2_mode(t,m) \
sys/vfs/nfs/nfsproto.h
228
txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \
sys/vfs/nfs/nfsproto.h
229
MAKEIMODE((t), (m)))
sys/vfs/nfs/rpcv2.h
139
#define NFS_KERBW1(t) (*((u_long *)(&((t).dat[((t).length + 3) & ~0x3]))))
sys/vfs/nfs/xdr_subs.h
52
#define fxdr_unsigned(t, v) ((t)ntohl((int32_t)(v)))
sys/vfs/nfs/xdr_subs.h
55
#define fxdr_nfsv2time(f, t) \
sys/vfs/nfs/xdr_subs.h
57
(t)->tv_sec = ntohl(((struct nfsv2_time *)(f))->nfsv2_sec); \
sys/vfs/nfs/xdr_subs.h
59
(t)->tv_nsec = 1000 * ntohl(((struct nfsv2_time *)(f))->nfsv2_usec); \
sys/vfs/nfs/xdr_subs.h
61
(t)->tv_nsec = 0; \
sys/vfs/nfs/xdr_subs.h
63
#define txdr_nfsv2time(f, t) \
sys/vfs/nfs/xdr_subs.h
65
((struct nfsv2_time *)(t))->nfsv2_sec = htonl((f)->tv_sec); \
sys/vfs/nfs/xdr_subs.h
67
((struct nfsv2_time *)(t))->nfsv2_usec = htonl((f)->tv_nsec / 1000); \
sys/vfs/nfs/xdr_subs.h
69
((struct nfsv2_time *)(t))->nfsv2_usec = 0xffffffff; \
sys/vfs/nfs/xdr_subs.h
72
#define fxdr_nfsv3time(f, t) \
sys/vfs/nfs/xdr_subs.h
74
(t)->tv_sec = ntohl(((struct nfsv3_time *)(f))->nfsv3_sec); \
sys/vfs/nfs/xdr_subs.h
75
(t)->tv_nsec = ntohl(((struct nfsv3_time *)(f))->nfsv3_nsec); \
sys/vfs/nfs/xdr_subs.h
77
#define txdr_nfsv3time(f, t) \
sys/vfs/nfs/xdr_subs.h
79
((struct nfsv3_time *)(t))->nfsv3_sec = htonl((f)->tv_sec); \
sys/vfs/nfs/xdr_subs.h
80
((struct nfsv3_time *)(t))->nfsv3_nsec = htonl((f)->tv_nsec); \
sys/vfs/nfs/xdr_subs.h
86
#define txdr_hyper(f, t) \
sys/vfs/nfs/xdr_subs.h
88
((u_int32_t *)(t))[0] = htonl((u_int32_t)((f) >> 32)); \
sys/vfs/nfs/xdr_subs.h
89
((u_int32_t *)(t))[1] = htonl((u_int32_t)((f) & 0xffffffff)); \
sys/vfs/ntfs/ntfs_subr.c
1239
struct timespec t;
sys/vfs/ntfs/ntfs_subr.c
1242
t.tv_nsec = (nt % (1000 * 1000 * 10)) * 100;
sys/vfs/ntfs/ntfs_subr.c
1243
t.tv_sec = nt / (1000 * 1000 * 10) -
sys/vfs/ntfs/ntfs_subr.c
1246
return (t);
sys/vfs/smbfs/smbfs_subr.c
150
u_long t, days, year, month, inc;
sys/vfs/smbfs/smbfs_subr.c
157
smb_time_local2server(tsp, tzoff, &t);
sys/vfs/smbfs/smbfs_subr.c
158
t &= ~1;
sys/vfs/smbfs/smbfs_subr.c
159
if (lasttime != t) {
sys/vfs/smbfs/smbfs_subr.c
160
lasttime = t;
sys/vfs/smbfs/smbfs_subr.c
161
lastdtime = (((t / 2) % 30) << DT_2SECONDS_SHIFT)
sys/vfs/smbfs/smbfs_subr.c
162
+ (((t / 60) % 60) << DT_MINUTES_SHIFT)
sys/vfs/smbfs/smbfs_subr.c
163
+ (((t / 3600) % 24) << DT_HOURS_SHIFT);
sys/vfs/smbfs/smbfs_subr.c
170
days = t / (24 * 60 * 60);
sys/vfs/udf/udf_vnops.c
243
udf_timetotimespec(struct timestamp *time, struct timespec *t)
sys/vfs/udf/udf_vnops.c
251
t->tv_nsec = 0;
sys/vfs/udf/udf_vnops.c
255
t->tv_sec = 0;
sys/vfs/udf/udf_vnops.c
260
t->tv_sec = time->second;
sys/vfs/udf/udf_vnops.c
261
t->tv_sec += time->minute * 60;
sys/vfs/udf/udf_vnops.c
262
t->tv_sec += time->hour * 3600;
sys/vfs/udf/udf_vnops.c
263
t->tv_sec += time->day * 3600 * 24;
sys/vfs/udf/udf_vnops.c
268
t->tv_sec += mon_lens[lpyear][i] * 3600 * 24;
sys/vfs/udf/udf_vnops.c
272
t->tv_sec += 315532800;
sys/vfs/udf/udf_vnops.c
274
t->tv_sec += 315619200;
sys/vfs/udf/udf_vnops.c
276
t->tv_sec += 315532800;
sys/vfs/udf/udf_vnops.c
279
t->tv_sec += daysinyear * 3600 * 24;
sys/vfs/udf/udf_vnops.c
291
t->tv_sec -= tz.s_tz_offset * 60;
sys/vm/swap_pager.c
668
int t;
sys/vm/swap_pager.c
685
t = count * 8 - (int)info.endi;
sys/vm/swap_pager.c
686
if (n < t)
sys/vm/swap_pager.c
687
n = t;
test/interbench/hackbench.c
140
void *hackbench_thread(void *t)
test/interbench/hackbench.c
147
t = NULL;
test/interbench/interbench.c
1174
time_t t;
test/interbench/interbench.c
1177
time(&t);
test/interbench/interbench.c
1180
if (!(mytm = localtime(&t)))
test/interbench/interbench.c
596
void *burn_thread(void *t)
test/interbench/interbench.c
600
long i = (long)t;
test/interbench/interbench.c
620
long t;
test/interbench/interbench.c
623
t = th->threadno;
test/interbench/interbench.c
626
(void*)(long) t);
test/interbench/interbench.c
718
void *ring_thread(void *t)
test/interbench/interbench.c
724
i = (long)t;
test/interbench/interbench.c
882
void *timekeeping_thread(void *t)
test/interbench/interbench.c
888
long i = (long)t;
test/interbench/interbench.c
941
void *emulation_thread(void *t)
test/interbench/interbench.c
946
long i = (long)t;
test/interbench/interbench.h
5
extern void *hackbench_thread(void *t);
test/pcpu/cpustat.c
135
#define pct(t) (total == 0 ? 0.0 : ((double)t * 100.0 / (double)total))
test/pcpu/ncache-stats.c
47
#define _NCH_ENT(t, n, tt) \
test/pcpu/ncache-stats.c
48
printf("%-20s", t); \
test/stress/fsstress/fsstress.c
1527
xfs_bstat_t *t;
test/stress/fsstress/fsstress.c
1533
t = malloc(nent * sizeof(*t));
test/stress/fsstress/fsstress.c
1539
bsr.ubuffer=t;
test/stress/fsstress/fsstress.c
1544
free(t);
test/stress/fsstress/fsstress.c
1560
xfs_bstat_t t;
test/stress/fsstress/fsstress.c
1596
bsr.ubuffer=&t;
test/stress/fsstress/fsstress.c
293
struct timeval t;
test/stress/fsstress/fsstress.c
403
gettimeofday(&t, NULL);
test/stress/fsstress/fsstress.c
404
seed = (int)t.tv_sec ^ (int)t.tv_usec;
test/stress/fsx/fsx.c
371
unsigned char c, t;
test/stress/fsx/fsx.c
383
t = temp_buf[i];
test/stress/fsx/fsx.c
384
if (c != t) {
test/stress/stress2/lib/options.c
210
time_t t;
test/stress/stress2/lib/options.c
213
t = op->run_time;
test/stress/stress2/lib/options.c
214
days = t / (60 * 60 * 24);
test/stress/stress2/lib/options.c
215
t = t % (60 * 60 * 24);
test/stress/stress2/lib/options.c
216
strftime(buf, sizeof(buf), "%T", gmtime(&t));
test/stress/stress2/testcases/run/run.c
92
time_t t;
test/stress/stress2/testcases/run/run.c
98
(void)time(&t);
test/stress/stress2/testcases/run/run.c
99
tm = localtime(&t);
test/stress/stress2/testcases/socket/socket.c
50
int n, t, *buf;
test/stress/stress2/testcases/socket/socket.c
52
t = 0;
test/stress/stress2/testcases/socket/socket.c
58
t += n;
test/stress/stress2/testcases/tcp/tcp.c
53
int n, t, *buf;
test/stress/stress2/testcases/tcp/tcp.c
84
t = 0;
test/stress/stress2/testcases/tcp/tcp.c
90
t += n;
tools/regression/lib/libc-regex/testregex.c
1167
char* t;
tools/regression/lib/libc-regex/testregex.c
1188
for (t = ot; os < s; *t++ = *os++);
tools/regression/lib/libc-regex/testregex.c
1189
r = ((t - ot) >= 5 && t[-1] == '{' && t[-2] == '.' && t[-3] == '.' && t[-4] == '.') ? t[-5] : 0;
tools/regression/lib/libc-regex/testregex.c
1196
t -= 5;
tools/regression/lib/libc-regex/testregex.c
1198
*t++ = r;
tools/regression/lib/libc-regex/testregex.c
1202
t += snprintf(t, 32, "%ld", m);
tools/regression/lib/libc-regex/testregex.c
1203
while (*t = *s++)
tools/regression/lib/libc-regex/testregex.c
1204
t++;
tools/regression/lib/libc-regex/testregex.c
728
char* t;
tools/regression/lib/libc-regex/testregex.c
733
for (b = t = s; *t = *s; s++, t++)
tools/regression/lib/libc-regex/testregex.c
740
*t = '\a';
tools/regression/lib/libc-regex/testregex.c
743
*t = '\b';
tools/regression/lib/libc-regex/testregex.c
746
if (*t = *++s)
tools/regression/lib/libc-regex/testregex.c
747
*t &= 037;
tools/regression/lib/libc-regex/testregex.c
753
*t = 033;
tools/regression/lib/libc-regex/testregex.c
756
*t = '\f';
tools/regression/lib/libc-regex/testregex.c
759
*t = '\n';
tools/regression/lib/libc-regex/testregex.c
762
*t = '\r';
tools/regression/lib/libc-regex/testregex.c
765
*t = ' ';
tools/regression/lib/libc-regex/testregex.c
768
*t = '\t';
tools/regression/lib/libc-regex/testregex.c
771
*t = '\v';
tools/regression/lib/libc-regex/testregex.c
812
*t = c;
tools/regression/lib/libc-regex/testregex.c
831
*t = c;
tools/regression/lib/libc-regex/testregex.c
837
return t - b;
tools/regression/p1003_1b/main.c
12
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/tools/drm/radeon/mkregtable/mkregtable.c
563
static void table_offset_add(struct table *t, struct offset *offset)
tools/tools/drm/radeon/mkregtable/mkregtable.c
565
list_add_tail(&offset->list, &t->offsets);
tools/tools/drm/radeon/mkregtable/mkregtable.c
568
static void table_init(struct table *t)
tools/tools/drm/radeon/mkregtable/mkregtable.c
570
INIT_LIST_HEAD(&t->offsets);
tools/tools/drm/radeon/mkregtable/mkregtable.c
571
t->offset_max = 0;
tools/tools/drm/radeon/mkregtable/mkregtable.c
572
t->nentry = 0;
tools/tools/drm/radeon/mkregtable/mkregtable.c
573
t->table = NULL;
tools/tools/drm/radeon/mkregtable/mkregtable.c
576
static void table_print(struct table *t)
tools/tools/drm/radeon/mkregtable/mkregtable.c
580
nlloop = (t->nentry + 3) / 4;
tools/tools/drm/radeon/mkregtable/mkregtable.c
581
c = t->nentry;
tools/tools/drm/radeon/mkregtable/mkregtable.c
582
printf("static const unsigned %s_reg_safe_bm[%d] = {\n", t->gpu_prefix,
tools/tools/drm/radeon/mkregtable/mkregtable.c
583
t->nentry);
tools/tools/drm/radeon/mkregtable/mkregtable.c
594
printf("0x%08X,", t->table[id++]);
tools/tools/drm/radeon/mkregtable/mkregtable.c
601
static int table_build(struct table *t)
tools/tools/drm/radeon/mkregtable/mkregtable.c
606
t->nentry = ((t->offset_max >> 2) + 31) / 32;
tools/tools/drm/radeon/mkregtable/mkregtable.c
607
t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry);
tools/tools/drm/radeon/mkregtable/mkregtable.c
608
if (t->table == NULL)
tools/tools/drm/radeon/mkregtable/mkregtable.c
610
memset(t->table, 0xff, sizeof(unsigned) * t->nentry);
tools/tools/drm/radeon/mkregtable/mkregtable.c
611
list_for_each_entry(offset, &t->offsets, list) {
tools/tools/drm/radeon/mkregtable/mkregtable.c
615
t->table[i] ^= m;
tools/tools/drm/radeon/mkregtable/mkregtable.c
621
static int parser_auth(struct table *t, const char *filename)
tools/tools/drm/radeon/mkregtable/mkregtable.c
659
t->gpu_prefix = gpu_name;
tools/tools/drm/radeon/mkregtable/mkregtable.c
685
table_offset_add(t, offset);
tools/tools/drm/radeon/mkregtable/mkregtable.c
686
if (o > t->offset_max)
tools/tools/drm/radeon/mkregtable/mkregtable.c
687
t->offset_max = o;
tools/tools/drm/radeon/mkregtable/mkregtable.c
692
if (t->offset_max < last_reg)
tools/tools/drm/radeon/mkregtable/mkregtable.c
693
t->offset_max = last_reg;
tools/tools/drm/radeon/mkregtable/mkregtable.c
694
return table_build(t);
tools/tools/drm/radeon/mkregtable/mkregtable.c
699
struct table t;
tools/tools/drm/radeon/mkregtable/mkregtable.c
705
table_init(&t);
tools/tools/drm/radeon/mkregtable/mkregtable.c
706
if (parser_auth(&t, argv[1])) {
tools/tools/drm/radeon/mkregtable/mkregtable.c
710
table_print(&t);
tools/tools/net80211/stumbler/stumbler.c
212
struct tm* t;
tools/tools/net80211/stumbler/stumbler.c
215
t = localtime( (time_t*) &node->seen.tv_sec);
tools/tools/net80211/stumbler/stumbler.c
216
if (!t) {
tools/tools/net80211/stumbler/stumbler.c
221
strftime(tim, sizeof(tim), "%H:%M:%S", t);
tools/tools/net80211/wesside/wesside/wesside.c
246
struct tm *t;
tools/tools/net80211/wesside/wesside/wesside.c
259
t = localtime(&tt);
tools/tools/net80211/wesside/wesside/wesside.c
260
if (!t) {
tools/tools/net80211/wesside/wesside/wesside.c
266
t->tm_hour, t->tm_min, t->tm_sec, lame);
usr.bin/at/at.c
629
struct tm *t;
usr.bin/at/at.c
638
if ((t = localtime(&now)) == NULL)
usr.bin/at/at.c
642
t->tm_sec = 0; /* Seconds defaults to 0. */
usr.bin/at/at.c
647
t->tm_sec = ATOI2(p);
usr.bin/at/at.c
653
t->tm_year = ATOI2(arg);
usr.bin/at/at.c
654
t->tm_year *= 100;
usr.bin/at/at.c
660
t->tm_year += yearset;
usr.bin/at/at.c
663
t->tm_year = yearset + 2000;
usr.bin/at/at.c
665
t->tm_year -= 1900; /* Convert to UNIX time. */
usr.bin/at/at.c
668
t->tm_mon = ATOI2(arg);
usr.bin/at/at.c
669
--t->tm_mon; /* Convert from 01-12 to 00-11 */
usr.bin/at/at.c
670
t->tm_mday = ATOI2(arg);
usr.bin/at/at.c
671
t->tm_hour = ATOI2(arg);
usr.bin/at/at.c
672
t->tm_min = ATOI2(arg);
usr.bin/at/at.c
678
t->tm_isdst = -1; /* Figure out DST. */
usr.bin/at/at.c
679
tv[0].tv_sec = tv[1].tv_sec = mktime(t);
usr.bin/bc/tty.c
30
settty(struct termios *t)
usr.bin/bc/tty.c
34
while ((ret = tcsetattr(0, TCSADRAIN, t)) == -1 && errno == EINTR)
usr.bin/bc/tty.c
40
gettty(struct termios *t)
usr.bin/bc/tty.c
44
while ((ret = tcgetattr(0, t) == -1) && errno == EINTR)
usr.bin/calendar/basics.c
120
ephemeris_correction(double t)
usr.bin/calendar/basics.c
122
int rd = (int)floor(t);
usr.bin/calendar/basics.c
182
dynamical_from_universal(double t)
usr.bin/calendar/basics.c
184
return t + ephemeris_correction(t);
usr.bin/calendar/basics.c
192
universal_from_dynamical(double t)
usr.bin/calendar/basics.c
194
return t - ephemeris_correction(t);
usr.bin/calendar/basics.c
203
julian_centuries(double t)
usr.bin/calendar/basics.c
205
double dt = dynamical_from_universal(t);
usr.bin/calendar/basics.c
216
sidereal_from_moment(double t)
usr.bin/calendar/basics.c
220
double c = (t - j2000) / century_days;
usr.bin/calendar/basics.c
230
equation_of_time(double t)
usr.bin/calendar/basics.c
232
double c = julian_centuries(t);
usr.bin/calendar/basics.c
233
double epsilon = obliquity(t);
usr.bin/calendar/basics.c
261
apparent_from_local(double t, double longitude)
usr.bin/calendar/basics.c
263
double ut = t - longitude / 360.0; /* local time -> universal time */
usr.bin/calendar/basics.c
264
return t + equation_of_time(ut);
usr.bin/calendar/basics.c
273
local_from_apparent(double t, double longitude)
usr.bin/calendar/basics.c
275
double ut = t - longitude / 360.0; /* local time -> universal time */
usr.bin/calendar/basics.c
276
return t - equation_of_time(ut);
usr.bin/calendar/basics.c
284
obliquity(double t)
usr.bin/calendar/basics.c
286
double c = julian_centuries(t);
usr.bin/calendar/basics.c
303
declination(double t, double beta, double lambda)
usr.bin/calendar/basics.c
305
double epsilon = obliquity(t);
usr.bin/calendar/basics.c
316
right_ascension(double t, double beta, double lambda)
usr.bin/calendar/basics.c
318
double epsilon = obliquity(t);
usr.bin/calendar/basics.c
361
format_time(char *buf, size_t size, double t)
usr.bin/calendar/basics.c
365
t -= floor(t);
usr.bin/calendar/basics.c
366
i = (int)round(t * 24*60*60);
usr.bin/calendar/basics.h
80
double julian_centuries(double t);
usr.bin/calendar/basics.h
81
double sidereal_from_moment(double t);
usr.bin/calendar/basics.h
83
double ephemeris_correction(double t);
usr.bin/calendar/basics.h
84
double universal_from_dynamical(double t);
usr.bin/calendar/basics.h
85
double dynamical_from_universal(double t);
usr.bin/calendar/basics.h
87
double equation_of_time(double t);
usr.bin/calendar/basics.h
88
double apparent_from_local(double t, double longitude);
usr.bin/calendar/basics.h
89
double local_from_apparent(double t, double longitude);
usr.bin/calendar/basics.h
91
double obliquity(double t);
usr.bin/calendar/basics.h
92
double declination(double t, double beta, double lambda);
usr.bin/calendar/basics.h
93
double right_ascension(double t, double beta, double lambda);
usr.bin/calendar/basics.h
97
int format_time(char *buf, size_t size, double t);
usr.bin/calendar/calendar.c
138
static void print_datetime(double t, const struct location *loc);
usr.bin/calendar/calendar.c
296
double t = Options.today + Options.time;
usr.bin/calendar/calendar.c
302
print_datetime(t, Options.location);
usr.bin/calendar/calendar.c
304
show_moon_info(t, Options.location);
usr.bin/calendar/calendar.c
306
print_datetime(t, Options.location);
usr.bin/calendar/calendar.c
308
show_sun_info(t, Options.location);
usr.bin/calendar/calendar.c
318
time_t t;
usr.bin/calendar/calendar.c
326
t = time(NULL);
usr.bin/calendar/calendar.c
403
if (time(NULL) - t > total_timeout) {
usr.bin/calendar/calendar.c
536
print_datetime(double t, const struct location *loc)
usr.bin/calendar/calendar.c
541
gregorian_from_fixed(floor(t), &date);
usr.bin/calendar/calendar.c
545
format_time(buf, sizeof(buf), t);
usr.bin/calendar/chinese.c
124
double t = midnight_in_china(rd + 1);
usr.bin/calendar/chinese.c
125
double approx = estimate_prior_solar_longitude(winter, t);
usr.bin/calendar/chinese.c
143
double t = new_moon_atafter(midnight_in_china(rd));
usr.bin/calendar/chinese.c
144
double t_s = t + chinese_zone(rd); /* in standard time */
usr.bin/calendar/chinese.c
157
double t = new_moon_before(midnight_in_china(rd));
usr.bin/calendar/chinese.c
158
double t_s = t + chinese_zone(rd); /* in standard time */
usr.bin/calendar/chinese.c
322
double t = solar_longitude_atafter(lambda, rd) + zone;
usr.bin/calendar/chinese.c
323
return (int)floor(t);
usr.bin/calendar/days.c
156
double t, longitude;
usr.bin/calendar/days.c
165
t = NAN;
usr.bin/calendar/days.c
202
t = solar_longitude_atafter(longitude, approx);
usr.bin/calendar/days.c
203
t += Options.location->zone; /* to standard time */
usr.bin/calendar/days.c
204
rd = floor(t);
usr.bin/calendar/days.c
216
if (!isnan(t)) {
usr.bin/calendar/days.c
217
format_time(buf, sizeof(buf), t);
usr.bin/calendar/days.c
293
double t, t_begin, t_end;
usr.bin/calendar/days.c
309
for (t = t_begin; t <= t_end; ) {
usr.bin/calendar/days.c
312
t = new_moon_atafter(t);
usr.bin/calendar/days.c
315
t = lunar_phase_atafter(180, t);
usr.bin/calendar/days.c
322
if (t > t_end)
usr.bin/calendar/days.c
325
t += Options.location->zone; /* to standard time */
usr.bin/calendar/days.c
326
if ((dp = find_rd(floor(t), offset)) != NULL) {
usr.bin/calendar/days.c
332
format_time(buf, sizeof(buf), t);
usr.bin/calendar/moon.c
322
lunar_longitude(double t)
usr.bin/calendar/moon.c
324
double c = julian_centuries(t);
usr.bin/calendar/moon.c
325
double nu = nutation(t);
usr.bin/calendar/moon.c
433
lunar_latitude(double t)
usr.bin/calendar/moon.c
435
double c = julian_centuries(t);
usr.bin/calendar/moon.c
544
lunar_distance(double t)
usr.bin/calendar/moon.c
546
double c = julian_centuries(t);
usr.bin/calendar/moon.c
577
lunar_altitude(double t, double latitude, double longitude)
usr.bin/calendar/moon.c
579
double lambda = lunar_longitude(t);
usr.bin/calendar/moon.c
580
double beta = lunar_latitude(t);
usr.bin/calendar/moon.c
581
double alpha = right_ascension(t, beta, lambda);
usr.bin/calendar/moon.c
582
double delta = declination(t, beta, lambda);
usr.bin/calendar/moon.c
583
double theta = sidereal_from_moment(t);
usr.bin/calendar/moon.c
596
lunar_parallax(double t, double latitude, double longitude)
usr.bin/calendar/moon.c
598
double geo = lunar_altitude(t, latitude, longitude);
usr.bin/calendar/moon.c
599
double distance = lunar_distance(t);
usr.bin/calendar/moon.c
611
lunar_altitude_topocentric(double t, double latitude, double longitude)
usr.bin/calendar/moon.c
613
return (lunar_altitude(t, latitude, longitude) -
usr.bin/calendar/moon.c
614
lunar_parallax(t, latitude, longitude));
usr.bin/calendar/moon.c
623
lunar_altitude_observed(double t, const struct location *loc)
usr.bin/calendar/moon.c
626
return (lunar_altitude_topocentric(t, loc->latitude, loc->longitude) +
usr.bin/calendar/moon.c
636
lunar_phase(double t)
usr.bin/calendar/moon.c
638
double phi = mod_f(lunar_longitude(t) - solar_longitude(t), 360);
usr.bin/calendar/moon.c
645
int n = (int)lround((t - t0) / mean_synodic_month);
usr.bin/calendar/moon.c
647
double phi2 = mod_f((t - tn) / mean_synodic_month, 1) * 360;
usr.bin/calendar/moon.c
659
lunar_phase_atafter(double phi, double t)
usr.bin/calendar/moon.c
662
double phase = lunar_phase(t);
usr.bin/calendar/moon.c
663
double tau = t + rate * mod_f(phi - phase, 360);
usr.bin/calendar/moon.c
666
double a = (t > tau - 2) ? t : tau - 2;
usr.bin/calendar/moon.c
677
new_moon_before(double t)
usr.bin/calendar/moon.c
680
double phi = lunar_phase(t);
usr.bin/calendar/moon.c
681
int n = (int)lround((t - t0) / mean_synodic_month - phi / 360.0);
usr.bin/calendar/moon.c
685
while (t1 < t) {
usr.bin/calendar/moon.c
698
new_moon_atafter(double t)
usr.bin/calendar/moon.c
701
double phi = lunar_phase(t);
usr.bin/calendar/moon.c
702
int n = (int)lround((t - t0) / mean_synodic_month - phi / 360.0);
usr.bin/calendar/moon.c
705
while (t1 < t) {
usr.bin/calendar/moon.c
722
double t = (double)rd - loc->zone; /* universal time */
usr.bin/calendar/moon.c
723
bool waning = lunar_phase(t) > 180.0;
usr.bin/calendar/moon.c
725
double alt = lunar_altitude_observed(t, loc);
usr.bin/calendar/moon.c
729
double t_approx = t;
usr.bin/calendar/moon.c
751
if (t_rise < t + 1) {
usr.bin/calendar/moon.c
770
double t = (double)rd - loc->zone; /* universal time */
usr.bin/calendar/moon.c
771
bool waxing = lunar_phase(t) < 180.0;
usr.bin/calendar/moon.c
773
double alt = lunar_altitude_observed(t, loc);
usr.bin/calendar/moon.c
777
double t_approx = t;
usr.bin/calendar/moon.c
799
if (t_set < t + 1) {
usr.bin/calendar/moon.c
816
show_moon_info(double t, const struct location *loc)
usr.bin/calendar/moon.c
819
int rd = (int)floor(t);
usr.bin/calendar/moon.c
820
double t_u = t - loc->zone; /* universal time */
usr.bin/calendar/moon.h
44
double lunar_distance(double t);
usr.bin/calendar/moon.h
45
double lunar_latitude(double t);
usr.bin/calendar/moon.h
46
double lunar_longitude(double t);
usr.bin/calendar/moon.h
48
double lunar_altitude(double t, double latitude, double longitude);
usr.bin/calendar/moon.h
49
double lunar_altitude_observed(double t, const struct location *loc);
usr.bin/calendar/moon.h
51
double lunar_phase(double t);
usr.bin/calendar/moon.h
52
double lunar_phase_atafter(double phi, double t);
usr.bin/calendar/moon.h
53
double new_moon_atafter(double t);
usr.bin/calendar/moon.h
54
double new_moon_before(double t);
usr.bin/calendar/moon.h
60
void show_moon_info(double t, const struct location *loc);
usr.bin/calendar/sun.c
151
solar_longitude(double t)
usr.bin/calendar/sun.c
153
double c = julian_centuries(t);
usr.bin/calendar/sun.c
164
double ab = aberration(t);
usr.bin/calendar/sun.c
165
double nu = nutation(t);
usr.bin/calendar/sun.c
176
solar_longitude_atafter(double lambda, double t)
usr.bin/calendar/sun.c
179
double lon = solar_longitude(t);
usr.bin/calendar/sun.c
180
double tau = t + rate * mod_f(lambda - lon, 360);
usr.bin/calendar/sun.c
183
double a = (t > tau - 5) ? t : tau - 5;
usr.bin/calendar/sun.c
195
estimate_prior_solar_longitude(double lambda, double t)
usr.bin/calendar/sun.c
200
double lon = solar_longitude(t);
usr.bin/calendar/sun.c
201
double tau = t - rate * mod_f(lon - lambda, 360);
usr.bin/calendar/sun.c
208
return (t < t2) ? t : t2;
usr.bin/calendar/sun.c
217
solar_altitude(double t, double latitude, double longitude)
usr.bin/calendar/sun.c
219
double lambda = solar_longitude(t);
usr.bin/calendar/sun.c
220
double alpha = right_ascension(t, 0, lambda);
usr.bin/calendar/sun.c
221
double delta = declination(t, 0, lambda);
usr.bin/calendar/sun.c
222
double theta = sidereal_from_moment(t);
usr.bin/calendar/sun.c
237
sine_offset(double t, double latitude, double longitude, double alpha)
usr.bin/calendar/sun.c
239
double ut = t - longitude / 360.0; /* local -> universal time */
usr.bin/calendar/sun.c
256
approx_depression_moment(double t, double latitude, double longitude,
usr.bin/calendar/sun.c
259
double t2 = floor(t); /* midnight */
usr.bin/calendar/sun.c
265
double try = sine_offset(t, latitude, longitude, alpha);
usr.bin/calendar/sun.c
274
double t3 = floor(t);
usr.bin/calendar/sun.c
296
double t = approx_depression_moment(tapprox, latitude, longitude,
usr.bin/calendar/sun.c
298
if (isnan(t))
usr.bin/calendar/sun.c
300
else if (fabs(t - tapprox) < eps)
usr.bin/calendar/sun.c
301
return t;
usr.bin/calendar/sun.c
303
return depression_moment(t, latitude, longitude,
usr.bin/calendar/sun.c
366
show_sun_info(double t, const struct location *loc)
usr.bin/calendar/sun.c
369
int rd = (int)floor(t);
usr.bin/calendar/sun.c
374
double t_u = t - loc->zone; /* universal time */
usr.bin/calendar/sun.c
408
t = solar_longitude_atafter(lambda, day_approx) + loc->zone;
usr.bin/calendar/sun.c
409
gregorian_from_fixed((int)floor(t), &date);
usr.bin/calendar/sun.c
410
format_time(buf, sizeof(buf), t);
usr.bin/calendar/sun.c
63
nutation(double t)
usr.bin/calendar/sun.c
65
double c = julian_centuries(t);
usr.bin/calendar/sun.c
78
aberration(double t)
usr.bin/calendar/sun.c
80
double c = julian_centuries(t);
usr.bin/calendar/sun.h
44
double aberration(double t);
usr.bin/calendar/sun.h
45
double nutation(double t);
usr.bin/calendar/sun.h
47
double estimate_prior_solar_longitude(double lambda, double t);
usr.bin/calendar/sun.h
48
double solar_longitude(double t);
usr.bin/calendar/sun.h
49
double solar_longitude_atafter(double lambda, double t);
usr.bin/calendar/sun.h
51
double solar_altitude(double t, double latitude, double longitude);
usr.bin/calendar/sun.h
56
void show_sun_info(double t, const struct location *loc);
usr.bin/calendar/utils.c
60
double t = 1.0;
usr.bin/calendar/utils.c
62
p += t * coefs[i];
usr.bin/calendar/utils.c
63
t *= x;
usr.bin/cap_mkdb/cap_mkdb.c
152
char *bp, *p, *t;
usr.bin/cap_mkdb/cap_mkdb.c
218
for (p = t = bp;; ++p) {
usr.bin/cap_mkdb/cap_mkdb.c
219
if (p > t && (*p == ':' || *p == '|')) {
usr.bin/cap_mkdb/cap_mkdb.c
220
key.size = p - t;
usr.bin/cap_mkdb/cap_mkdb.c
221
key.data = t;
usr.bin/cap_mkdb/cap_mkdb.c
231
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
105
if (!(t = strtok(NULL, " \t,")) || !isdigit(*t))
usr.bin/chpass/util.c
107
day = atoi(t);
usr.bin/chpass/util.c
108
if (!(t = strtok(NULL, " \t,")) || !isdigit(*t))
usr.bin/chpass/util.c
110
year = atoi(t);
usr.bin/chpass/util.c
77
char *t;
usr.bin/chpass/util.c
91
if (!(t = strtok(p, " \t")))
usr.bin/chpass/util.c
93
if (isdigit(*t)) {
usr.bin/chpass/util.c
94
month = atoi(t);
usr.bin/chpass/util.c
99
if (!strncasecmp(*mp, t, 3)) {
usr.bin/column/column.c
217
TBL *t;
usr.bin/column/column.c
225
if ((t = tbl = calloc(entries, sizeof(TBL))) == NULL)
usr.bin/column/column.c
231
for (cnt = 0, lp = list; cnt < entries; ++cnt, ++lp, ++t) {
usr.bin/column/column.c
245
if ((t->list = calloc(coloff, sizeof(*t->list))) == NULL)
usr.bin/column/column.c
247
if ((t->len = calloc(coloff, sizeof(int))) == NULL)
usr.bin/column/column.c
249
for (t->cols = coloff; --coloff >= 0;) {
usr.bin/column/column.c
250
t->list[coloff] = cols[coloff];
usr.bin/column/column.c
251
t->len[coloff] = width(cols[coloff]);
usr.bin/column/column.c
252
if (t->len[coloff] > lens[coloff])
usr.bin/column/column.c
253
lens[coloff] = t->len[coloff];
usr.bin/column/column.c
256
for (cnt = 0, t = tbl; cnt < entries; ++cnt, ++t) {
usr.bin/column/column.c
257
for (coloff = 0; coloff < t->cols - 1; ++coloff)
usr.bin/column/column.c
258
(void)wprintf(L"%ls%*ls", t->list[coloff],
usr.bin/column/column.c
259
lens[coloff] - t->len[coloff] + 2, L" ");
usr.bin/column/column.c
260
(void)wprintf(L"%ls\n", t->list[coloff]);
usr.bin/ctags/C.c
431
skip_comment(int t) /* t is comment character */
usr.bin/ctags/C.c
443
if (star && t == '*')
usr.bin/ctags/C.c
447
if (t == '/')
usr.bin/diff/diffreg.c
1171
int i, t, space;
usr.bin/diff/diffreg.c
1178
for (i = 0; (t = getc(f)) != '\n'; i++) {
usr.bin/diff/diffreg.c
1179
if (t == EOF) {
usr.bin/diff/diffreg.c
1184
sum = sum * 127 + chrtran[t];
usr.bin/diff/diffreg.c
1187
for (i = 0; (t = getc(f)) != '\n'; i++) {
usr.bin/diff/diffreg.c
1188
if (t == EOF) {
usr.bin/diff/diffreg.c
1193
sum = sum * 127 + t;
usr.bin/diff/diffreg.c
1197
switch (t = getc(f)) {
usr.bin/diff/diffreg.c
1210
sum = sum * 127 + chrtran[t];
usr.bin/diff/diffreg.c
657
int i, j, l, t;
usr.bin/diff/diffreg.c
667
t = clist[c[l]].y;
usr.bin/diff/diffreg.c
668
if (t > y)
usr.bin/diff/diffreg.c
670
else if (t < y)
usr.bin/dsynth/build.c
1129
time_t t;
usr.bin/dsynth/build.c
1142
t = time(NULL) - work->start_time;
usr.bin/dsynth/build.c
1143
h = t / 3600;
usr.bin/dsynth/build.c
1144
m = t / 60 % 60;
usr.bin/dsynth/build.c
1145
s = t % 60;
usr.bin/dsynth/build.c
1278
time_t t;
usr.bin/dsynth/build.c
1325
t = time(NULL);
usr.bin/dsynth/build.c
1327
(unsigned)(t - wblast_time) >= 5)) {
usr.bin/dsynth/build.c
1340
wblast_time = t;
usr.bin/dsynth/build.c
1392
(unsigned)(t - dmlast_time) >= 30) {
usr.bin/dsynth/build.c
1393
dmlast_time = t;
usr.bin/dsynth/build.c
189
time_t t;
usr.bin/dsynth/build.c
380
t = time(NULL) - startTime;
usr.bin/dsynth/build.c
381
h = t / 3600;
usr.bin/dsynth/build.c
382
m = t / 60 % 60;
usr.bin/dsynth/build.c
383
s = t % 60;
usr.bin/dsynth/html.c
120
t = time(NULL);
usr.bin/dsynth/html.c
121
gmtime_r(&t, &tmm);
usr.bin/dsynth/html.c
169
time_t t;
usr.bin/dsynth/html.c
221
t = time(NULL) - work->start_time;
usr.bin/dsynth/html.c
222
s = t % 60;
usr.bin/dsynth/html.c
223
m = t / 60 % 60;
usr.bin/dsynth/html.c
224
h = t / 60 / 60;
usr.bin/dsynth/html.c
396
time_t t;
usr.bin/dsynth/html.c
409
t = time(NULL) - work->start_time;
usr.bin/dsynth/html.c
410
s = t % 60;
usr.bin/dsynth/html.c
411
m = t / 60 % 60;
usr.bin/dsynth/html.c
412
h = t / 60 / 60;
usr.bin/dsynth/html.c
451
t = time(NULL) - HtmlStart;
usr.bin/dsynth/html.c
452
s = t % 60;
usr.bin/dsynth/html.c
453
m = t / 60 % 60;
usr.bin/dsynth/html.c
454
h = t / 60 / 60;
usr.bin/dsynth/html.c
94
time_t t;
usr.bin/dsynth/ncurses.c
249
time_t t;
usr.bin/dsynth/ncurses.c
301
t = time(NULL) - work->start_time;
usr.bin/dsynth/ncurses.c
302
s = t % 60;
usr.bin/dsynth/ncurses.c
303
m = t / 60 % 60;
usr.bin/dsynth/ncurses.c
304
h = t / 60 / 60;
usr.bin/dsynth/runstats.c
102
time_t t;
usr.bin/dsynth/runstats.c
108
t = time(NULL) - RSStartTime;
usr.bin/dsynth/runstats.c
109
info.s = t % 60;
usr.bin/dsynth/runstats.c
110
info.m = t / 60 % 60;
usr.bin/dsynth/runstats.c
111
info.h = t / 60 / 60;
usr.bin/dsynth/runstats.c
134
if (t > 20)
usr.bin/dsynth/runstats.c
136
ONEHOUR / t;
usr.bin/dsynth/runstats.c
139
ti = (u_int)((unsigned long)t % RHISTSIZE);
usr.bin/dsynth/runstats.c
149
if (t < 20) {
usr.bin/dsynth/runstats.c
151
} else if (t < RHISTSIZE) {
usr.bin/dsynth/runstats.c
153
rate_history[(ti - t) % RHISTSIZE];
usr.bin/dsynth/runstats.c
154
info.pkgimpulse = info.pkgimpulse * ONEHOUR / t;
usr.bin/finger/lprint.c
100
char t[80];
usr.bin/finger/lprint.c
171
strftime(t, sizeof(t),
usr.bin/finger/lprint.c
174
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/util.c
309
char *p, *t;
usr.bin/finger/util.c
332
for (t = name; t < &name[sizeof(name) - 1] && (*t = *p) != '\0'; ++p) {
usr.bin/finger/util.c
333
if (*t == '&') {
usr.bin/finger/util.c
334
(void)strncpy(t, pw->pw_name,
usr.bin/finger/util.c
335
sizeof(name) - (t - name));
usr.bin/finger/util.c
337
if (islower(*t))
usr.bin/finger/util.c
338
*t = toupper(*t);
usr.bin/finger/util.c
339
while (t < &name[sizeof(name) - 1] && *++t)
usr.bin/finger/util.c
342
++t;
usr.bin/finger/util.c
345
*t = '\0';
usr.bin/finger/util.c
62
char *p, *t;
usr.bin/finger/util.c
81
for (t = name; t < &name[sizeof(name) - 1] && (*t = *p) != '\0'; ++p) {
usr.bin/finger/util.c
82
if (*t == '&') {
usr.bin/finger/util.c
83
(void)strncpy(t, pw->pw_name,
usr.bin/finger/util.c
84
sizeof(name) - (t - name));
usr.bin/finger/util.c
86
while (t < &name[sizeof(name) - 1] && *++t)
usr.bin/finger/util.c
89
++t;
usr.bin/finger/util.c
92
*t = '\0';
usr.bin/finger/util.c
93
for (t = name; (p = strtok(t, "\t ")) != NULL; t = NULL)
usr.bin/fmt/fmt.c
197
char *t;
usr.bin/fmt/fmt.c
198
long result = strtol(s,&t,0);
usr.bin/fmt/fmt.c
199
if (*t) { if (fussyP) goto Lose; else return 0; }
usr.bin/fmt/fmt.c
206
char *t;
usr.bin/fmt/fmt.c
207
long result = strtol(s,&t,0);
usr.bin/fmt/fmt.c
208
if (*t) { if (fussyP) goto Lose; else return 0; }
usr.bin/from/from.c
134
char ch, pch, first, *p, *t;
usr.bin/from/from.c
143
for (p = sender, t = line;;) {
usr.bin/from/from.c
146
ch = tolower(*t++);
usr.bin/indent/io.c
234
int t = paren_target;
usr.bin/indent/io.c
236
if ((w = count_spaces(t, s_code) - opt.max_col) > 0
usr.bin/indent/io.c
238
t -= w + 1;
usr.bin/indent/io.c
239
if (t > target_col)
usr.bin/indent/io.c
240
target_col = t;
usr.bin/indent/io.c
243
target_col = t;
usr.bin/indent/pr_comment.c
184
char *t = e_com;
usr.bin/indent/pr_comment.c
190
e_com = s_com = t;
usr.bin/ipcs/ipcs.c
102
cvt_time(time_t t, char *buf)
usr.bin/ipcs/ipcs.c
106
if (t == 0) {
usr.bin/ipcs/ipcs.c
109
tm = localtime(&t);
usr.bin/join/join.c
566
char **p, *ap, *t;
usr.bin/join/join.c
634
if ((t = malloc(len + 3)) == NULL)
usr.bin/join/join.c
636
t[0] = '-';
usr.bin/join/join.c
637
t[1] = 'o';
usr.bin/join/join.c
638
memmove(t + 2, *p, len + 1);
usr.bin/join/join.c
639
*p = t;
usr.bin/jot/jot.c
251
long t = (ender - begin + s) / s;
usr.bin/jot/jot.c
252
if (t <= 0)
usr.bin/jot/jot.c
254
if (t < reps) /* take lesser */
usr.bin/jot/jot.c
255
reps = t;
usr.bin/kcollect/gnuplot.c
145
t = ary[i].realtime.tv_sec;
usr.bin/kcollect/gnuplot.c
146
if (t < 1000)
usr.bin/kcollect/gnuplot.c
149
tmv = gmtime(&t);
usr.bin/kcollect/gnuplot.c
151
tmv = localtime(&t);
usr.bin/kcollect/gnuplot.c
223
t = ary[i].realtime.tv_sec;
usr.bin/kcollect/gnuplot.c
224
if (t < 1000)
usr.bin/kcollect/gnuplot.c
227
tmv = gmtime(&t);
usr.bin/kcollect/gnuplot.c
229
tmv = localtime(&t);
usr.bin/kcollect/gnuplot.c
95
time_t t;
usr.bin/kcollect/kcollect.c
550
time_t t;
usr.bin/kcollect/kcollect.c
571
t = ary[i].realtime.tv_sec;
usr.bin/kcollect/kcollect.c
573
tmv = gmtime(&t);
usr.bin/kcollect/kcollect.c
575
tmv = localtime(&t);
usr.bin/kcollect/kcollect.c
688
time_t t;
usr.bin/kcollect/kcollect.c
717
t = ary[i].realtime.tv_sec;
usr.bin/kcollect/kcollect.c
719
tmv = localtime(&t);
usr.bin/kcollect/kcollect.c
721
tmv = gmtime(&t);
usr.bin/ktrdump/ktrdump.c
624
char *t = ((char **)fmtdata)[0];
usr.bin/ktrdump/ktrdump.c
625
free(t);
usr.bin/ktrdump/ktrdump.c
628
char *t = strdup(kvm_string(((char **)fmtdata)[0],
usr.bin/ktrdump/ktrdump.c
630
((const char **)fmtdata)[0] = t;
usr.bin/last/last.c
296
fmttime(time_t t, int flags)
usr.bin/last/last.c
301
tm = (flags & GMT) ? gmtime(&t) : localtime(&t);
usr.bin/lastcomm/lastcomm.c
200
t = ab.ac_btime;
usr.bin/lastcomm/lastcomm.c
201
t += (time_t)(expand(ab.ac_etime)/AC_HZ);
usr.bin/lastcomm/lastcomm.c
202
(void)printf(" %.16s", ctime(&t));
usr.bin/lastcomm/lastcomm.c
211
expand(u_int t)
usr.bin/lastcomm/lastcomm.c
215
nt = t & 017777;
usr.bin/lastcomm/lastcomm.c
216
t >>= 13;
usr.bin/lastcomm/lastcomm.c
217
while (t) {
usr.bin/lastcomm/lastcomm.c
218
t--;
usr.bin/lastcomm/lastcomm.c
72
time_t t;
usr.bin/leave/leave.c
105
t = localtime(&now);
usr.bin/leave/leave.c
115
if (t->tm_hour > 11)
usr.bin/leave/leave.c
116
t_12_hour = t->tm_hour - 12;
usr.bin/leave/leave.c
118
t_12_hour = t->tm_hour;
usr.bin/leave/leave.c
121
(hours == t_12_hour && minutes <= t->tm_min))
usr.bin/leave/leave.c
126
secs += (minutes - t->tm_min) * 60;
usr.bin/leave/leave.c
59
struct tm *t;
usr.bin/localedef/collate.c
1102
type *t; \
usr.bin/localedef/collate.c
1104
RB_FOREACH(t, name, head) { \
usr.bin/login/login.c
910
struct ttyent *t;
usr.bin/login/login.c
913
t = getttynam(ttyid);
usr.bin/login/login.c
914
if (t != NULL && t->ty_type != NULL)
usr.bin/login/login.c
915
return (t->ty_type);
usr.bin/m4/eval.c
515
const char *t;
usr.bin/m4/eval.c
520
t = argv[0]; /* defn string as a whole */
usr.bin/m4/eval.c
521
p = t;
usr.bin/m4/eval.c
525
while (p > t) {
usr.bin/m4/eval.c
578
if (p == t) /* do last character */
usr.bin/m4/lib/ohash.h
40
struct _ohash_record *t;
usr.bin/m4/lib/ohash_delete.c
28
(h->info.hfree)(h->t, sizeof(struct _ohash_record) * h->size,
usr.bin/m4/lib/ohash_delete.c
31
h->t = NULL;
usr.bin/m4/lib/ohash_do.c
103
if (h->t[i].p == DELETED) {
usr.bin/m4/lib/ohash_do.c
105
h->t[i].p = p;
usr.bin/m4/lib/ohash_do.c
107
h->t[i].p = p;
usr.bin/m4/lib/ohash_do.c
50
if (h->t[j].p != NULL && h->t[j].p != DELETED) {
usr.bin/m4/lib/ohash_do.c
51
i = h->t[j].hv % ns;
usr.bin/m4/lib/ohash_do.c
52
incr = ((h->t[j].hv % (ns - 2)) & ~1) + 1;
usr.bin/m4/lib/ohash_do.c
58
n[i].hv = h->t[j].hv;
usr.bin/m4/lib/ohash_do.c
59
n[i].p = h->t[j].p;
usr.bin/m4/lib/ohash_do.c
62
(h->info.hfree)(h->t, sizeof(struct _ohash_record) * h->size,
usr.bin/m4/lib/ohash_do.c
64
h->t = n;
usr.bin/m4/lib/ohash_do.c
73
void *result = __DECONST(void *, h->t[i].p);
usr.bin/m4/lib/ohash_do.c
81
h->t[i].p = DELETED;
usr.bin/m4/lib/ohash_do.c
91
if (h->t[i].p == DELETED)
usr.bin/m4/lib/ohash_do.c
94
return __DECONST(void *, h->t[i].p);
usr.bin/m4/lib/ohash_enum.c
35
if (h->t[*pos].p != DELETED && h->t[*pos].p != NULL)
usr.bin/m4/lib/ohash_enum.c
36
return __DECONST(void *, h->t[(*pos)++].p);
usr.bin/m4/lib/ohash_init.c
40
h->t = (h->info.halloc)(sizeof(struct _ohash_record) * h->size,
usr.bin/m4/lib/ohash_lookup_interval.c
37
while (h->t[i].p != NULL) {
usr.bin/m4/lib/ohash_lookup_interval.c
41
if (h->t[i].p == DELETED) {
usr.bin/m4/lib/ohash_lookup_interval.c
44
} else if (h->t[i].hv == hv &&
usr.bin/m4/lib/ohash_lookup_interval.c
45
strncmp(h->t[i].p+h->info.key_offset, start,
usr.bin/m4/lib/ohash_lookup_interval.c
47
(h->t[i].p+h->info.key_offset)[end-start] == '\0') {
usr.bin/m4/lib/ohash_lookup_interval.c
49
h->t[empty].hv = hv;
usr.bin/m4/lib/ohash_lookup_interval.c
50
h->t[empty].p = h->t[i].p;
usr.bin/m4/lib/ohash_lookup_interval.c
51
h->t[i].p = DELETED;
usr.bin/m4/lib/ohash_lookup_interval.c
68
h->t[i].hv = hv;
usr.bin/m4/lib/ohash_lookup_memory.c
36
while (h->t[i].p != NULL) {
usr.bin/m4/lib/ohash_lookup_memory.c
40
if (h->t[i].p == DELETED) {
usr.bin/m4/lib/ohash_lookup_memory.c
43
} else if (h->t[i].hv == hv &&
usr.bin/m4/lib/ohash_lookup_memory.c
44
memcmp(h->t[i].p+h->info.key_offset, k, size) == 0) {
usr.bin/m4/lib/ohash_lookup_memory.c
46
h->t[empty].hv = hv;
usr.bin/m4/lib/ohash_lookup_memory.c
47
h->t[empty].p = h->t[i].p;
usr.bin/m4/lib/ohash_lookup_memory.c
48
h->t[i].p = DELETED;
usr.bin/m4/lib/ohash_lookup_memory.c
65
h->t[i].hv = hv;
usr.bin/m4/main.c
291
do_look_ahead(int t, const char *token)
usr.bin/m4/main.c
295
assert((unsigned char)t == (unsigned char)token[0]);
usr.bin/m4/main.c
298
t = gpbc();
usr.bin/m4/main.c
299
if (t == EOF || (unsigned char)t != (unsigned char)*token) {
usr.bin/m4/main.c
300
pushback(t);
usr.bin/m4/main.c
309
#define LOOK_AHEAD(t, token) (t != EOF && \
usr.bin/m4/main.c
310
(unsigned char)(t) == (unsigned char)(token)[0] && \
usr.bin/m4/main.c
311
do_look_ahead(t, token))
usr.bin/m4/main.c
320
int t, l;
usr.bin/m4/main.c
325
t = gpbc();
usr.bin/m4/main.c
327
if (LOOK_AHEAD(t, lquote)) { /* strip quotes */
usr.bin/m4/main.c
359
} else if (sp < 0 && LOOK_AHEAD(t, scommt)) {
usr.bin/m4/main.c
363
t = gpbc();
usr.bin/m4/main.c
364
if (LOOK_AHEAD(t, ecommt)) {
usr.bin/m4/main.c
368
if (t == EOF)
usr.bin/m4/main.c
370
reallyputchar(t);
usr.bin/m4/main.c
372
} else if (t == '_' || isalpha(t)) {
usr.bin/m4/main.c
373
p = inspect(t, token);
usr.bin/m4/main.c
412
} else if (t == EOF) {
usr.bin/m4/main.c
425
reallyputchar(t); /* output directly.. */
usr.bin/m4/main.c
428
else switch(t) {
usr.bin/m4/main.c
432
chrsave(t);
usr.bin/m4/main.c
442
chrsave(t);
usr.bin/m4/main.c
466
chrsave(t);
usr.bin/m4/main.c
470
if (LOOK_AHEAD(t, scommt)) {
usr.bin/m4/main.c
475
t = gpbc();
usr.bin/m4/main.c
476
if (LOOK_AHEAD(t, ecommt)) {
usr.bin/m4/main.c
481
if (t == EOF)
usr.bin/m4/main.c
483
CHRSAVE(t);
usr.bin/m4/main.c
486
CHRSAVE(t); /* stack the char */
usr.bin/m4/main.c
595
record(struct position *t, int lev)
usr.bin/m4/main.c
598
t[lev].name = CURRENT_NAME;
usr.bin/m4/main.c
599
t[lev].line = CURRENT_LINE;
usr.bin/m4/main.c
604
dump_stack(struct position *t, int lev)
usr.bin/m4/main.c
614
t[i].name, t[i].line);
usr.bin/m4/misc.c
72
char *t;
usr.bin/m4/misc.c
74
t = strstr(s1, s2);
usr.bin/m4/misc.c
75
if (t == NULL)
usr.bin/m4/misc.c
78
return (t - s1);
usr.bin/mail/collect.c
114
t = GTO|GSUBJECT|GCC|GNL;
usr.bin/mail/collect.c
118
t &= ~GNL, getsub++;
usr.bin/mail/collect.c
120
puthead(hp, stdout, t);
usr.bin/mail/collect.c
388
if ((t = putline(collf, linebuf,
usr.bin/mail/collect.c
393
cc += t;
usr.bin/mail/collect.c
432
while ((t = getc(fbuf)) != EOF)
usr.bin/mail/collect.c
433
putchar(t);
usr.bin/mail/collect.c
444
while ((t = getc(collf)) != EOF)
usr.bin/mail/collect.c
445
putchar(t);
usr.bin/mail/collect.c
72
int lc, cc, escape, eofcount, fd, c, t;
usr.bin/mail/edit.c
132
int t;
usr.bin/mail/edit.c
138
if ((t = mkstemp(tempname)) == -1 ||
usr.bin/mail/edit.c
139
(nf = Fdopen(t, "w")) == NULL) {
usr.bin/mail/edit.c
143
if (readonly && fchmod(t, 0400) == -1) {
usr.bin/mail/edit.c
149
while (--size >= 0 && (t = getc(fp)) != EOF)
usr.bin/mail/edit.c
150
putc(t, nf);
usr.bin/mail/edit.c
152
while ((t = getc(fp)) != EOF)
usr.bin/mail/edit.c
153
putc(t, nf);
usr.bin/mail/names.c
100
np->n_flink = t;
usr.bin/mail/names.c
101
t->n_blink = np;
usr.bin/mail/names.c
102
np = t;
usr.bin/mail/names.c
551
int t, extra, metoo, verbose;
usr.bin/mail/names.c
554
if ((t = count(n)) == 0)
usr.bin/mail/names.c
570
top = (char **)salloc((t + extra) * sizeof(*top));
usr.bin/mail/names.c
593
struct name *np, *t, *new;
usr.bin/mail/names.c
605
t = new;
usr.bin/mail/names.c
606
while (strcasecmp(t->n_name, np->n_name) < 0) {
usr.bin/mail/names.c
607
if (t->n_flink == NULL)
usr.bin/mail/names.c
609
t = t->n_flink;
usr.bin/mail/names.c
617
if (strcasecmp(t->n_name, np->n_name) < 0) {
usr.bin/mail/names.c
618
t->n_flink = np;
usr.bin/mail/names.c
619
np->n_blink = t;
usr.bin/mail/names.c
620
t = np;
usr.bin/mail/names.c
622
t->n_flink = NULL;
usr.bin/mail/names.c
632
if (t == new) {
usr.bin/mail/names.c
633
t = np;
usr.bin/mail/names.c
635
t->n_flink = new;
usr.bin/mail/names.c
636
new->n_blink = t;
usr.bin/mail/names.c
637
t->n_blink = NULL;
usr.bin/mail/names.c
638
new = t;
usr.bin/mail/names.c
649
x->n_flink = t;
usr.bin/mail/names.c
650
x->n_blink = t->n_blink;
usr.bin/mail/names.c
651
t->n_blink->n_flink = x;
usr.bin/mail/names.c
652
t->n_blink = x;
usr.bin/mail/names.c
662
t = np;
usr.bin/mail/names.c
663
while (t->n_flink != NULL &&
usr.bin/mail/names.c
664
strcasecmp(np->n_name, t->n_flink->n_name) == 0)
usr.bin/mail/names.c
665
t = t->n_flink;
usr.bin/mail/names.c
666
if (t == np || t == NULL) {
usr.bin/mail/names.c
676
np->n_flink = t->n_flink;
usr.bin/mail/names.c
677
if (t->n_flink != NULL)
usr.bin/mail/names.c
678
t->n_flink->n_blink = np;
usr.bin/mail/names.c
86
struct name *top, *np, *t;
usr.bin/mail/names.c
96
t = nalloc(nbuf, ntype);
usr.bin/mail/names.c
98
top = t;
usr.bin/mail/send.c
358
char **t;
usr.bin/mail/send.c
361
for (t = namelist; *t != NULL; t++)
usr.bin/mail/send.c
362
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
242
double spool, s, d, e, t;
usr.bin/ministat/ministat.c
248
t = student[0][confidx];
usr.bin/ministat/ministat.c
250
t = student[i][confidx];
usr.bin/ministat/ministat.c
256
e = t * s;
usr.bin/ministat/ministat.c
261
re = t * sqrt(re);
usr.bin/ministat/ministat.c
467
char buf[BUFSIZ], *p, *t;
usr.bin/ministat/ministat.c
482
for (i = 1, t = strtok(buf, delim);
usr.bin/ministat/ministat.c
483
t != NULL && *t != '#';
usr.bin/ministat/ministat.c
484
i++, t = strtok(NULL, delim)) {
usr.bin/ministat/ministat.c
488
if (t == NULL || *t == '#')
usr.bin/ministat/ministat.c
491
d = strtod(t, &p);
usr.bin/msgs/msgs.c
124
time_t t;
usr.bin/msgs/msgs.c
165
time(&t);
usr.bin/msgs/msgs.c
259
keep = t - (rcback? rcback : NDAYS) DAYS;
usr.bin/msgs/msgs.c
350
nextmsg, ptr, ctime(&t));
usr.bin/msgs/msgs.c
356
ptr, ctime(&t), inbuf);
usr.bin/ncal/ncal.c
1061
center(char *s, char *t, int w)
usr.bin/ncal/ncal.c
1066
sprintf(s, "%.*s%s", (int)(w - strlen(t)) / 2, blanks, t);
usr.bin/ncal/ncal.c
1072
wcenter(wchar_t *s, wchar_t *t, int w)
usr.bin/ncal/ncal.c
1077
swprintf(s, MAX_WIDTH, L"%.*s%ls", (int)(w - wcslen(t)) / 2, blanks, t);
usr.bin/ncal/ncal.c
166
static char *center(char *s, char *t, int w);
usr.bin/ncal/ncal.c
167
static wchar_t *wcenter(wchar_t *s, wchar_t *t, int w);
usr.bin/ncal/ncal.c
365
time_t t;
usr.bin/ncal/ncal.c
368
t = time(NULL);
usr.bin/ncal/ncal.c
369
tm = localtime(&t);
usr.bin/ncal/ncal.c
384
time_t t;
usr.bin/ncal/ncal.c
387
t = time(NULL);
usr.bin/ncal/ncal.c
388
tm = localtime(&t);
usr.bin/ncal/ncal.c
488
time_t t;
usr.bin/ncal/ncal.c
491
t = time(NULL);
usr.bin/ncal/ncal.c
492
tm1 = localtime(&t);
usr.bin/ncal/ncal.c
597
char s[MAX_WIDTH], t[MAX_WIDTH];
usr.bin/ncal/ncal.c
643
printf("%s\n", center(t, s, mpl * mw));
usr.bin/ncal/ncal.c
687
char s[MAX_WIDTH], t[MAX_WIDTH];
usr.bin/ncal/ncal.c
730
printf("%s\n", center(t, s, mpl * mw));
usr.bin/patch/pch.c
1456
char *t;
usr.bin/patch/pch.c
1477
for (t = buf; isdigit((unsigned char)*t) || *t == ','; t++)
usr.bin/patch/pch.c
1481
(*t == 'a' || *t == 'c' || *t == 'd' || *t == 'i' || *t == 's')) {
usr.bin/patch/pch.c
1484
if (*t == 's') {
usr.bin/patch/pch.c
1487
t = strchr(buf, '\0') - 1;
usr.bin/patch/pch.c
1488
while (--t >= buf && *t == '\\')
usr.bin/patch/pch.c
1496
} else if (*t != 'd') {
usr.bin/patch/pch.c
248
char *t, *h;
usr.bin/patch/pch.c
255
for (t = str, h = NULL; *t != '\0' && !isspace((unsigned char)*t); t++)
usr.bin/patch/pch.c
256
if (*t == '#')
usr.bin/patch/pch.c
257
h = t;
usr.bin/patch/pch.c
274
char *s, *t;
usr.bin/patch/pch.c
310
for (t = s; isdigit((unsigned char)*t) || *t == ','; t++)
usr.bin/patch/pch.c
313
(*t == 'd' || *t == 'c' || *t == 'a'));
usr.bin/patch/pch.c
341
for (t = s + 7; isspace((unsigned char)*t); t++)
usr.bin/patch/pch.c
343
revision = xstrdup(t);
usr.bin/patch/pch.c
344
for (t = revision;
usr.bin/patch/pch.c
345
*t && !isspace((unsigned char)*t); t++)
usr.bin/patch/pch.c
347
*t = '\0';
usr.bin/patch/pch.c
357
if ((t = strstr(s + 5, " - ")) != NULL)
usr.bin/patch/pch.c
358
p4_fetchname(&names[NEW_FILE], t + 3);
usr.bin/patch/util.c
356
char *fullname, *name, *t;
usr.bin/patch/util.c
373
name = fullname = t = savestr(at);
usr.bin/patch/util.c
375
tab = strchr(t, '\t') != NULL;
usr.bin/patch/util.c
377
for (sleading = strip_leading; *t != '\0' && ((tab && *t != '\t') ||
usr.bin/patch/util.c
378
!isspace((unsigned char)*t)); t++) {
usr.bin/patch/util.c
379
if (t[0] == '/' && t[1] != '/' && t[1] != '\0')
usr.bin/patch/util.c
381
name = t + 1;
usr.bin/patch/util.c
383
*t = '\0';
usr.bin/rev/rev.c
91
const wchar_t *p, *t;
usr.bin/rev/rev.c
97
for (t = p + len - 1; t >= p; --t)
usr.bin/rev/rev.c
98
putwchar(*t);
usr.bin/rfcomm_sppd/rfcomm_sppd.c
123
struct termios t;
usr.bin/rfcomm_sppd/rfcomm_sppd.c
228
if (tcgetattr(tty_in, &t) < 0)
usr.bin/rfcomm_sppd/rfcomm_sppd.c
231
memcpy(&tio, &t, sizeof(tio));
usr.bin/rfcomm_sppd/rfcomm_sppd.c
232
t.c_lflag &= ~(ECHO | ICANON);
usr.bin/rfcomm_sppd/rfcomm_sppd.c
233
t.c_iflag &= ~(ICRNL);
usr.bin/rfcomm_sppd/rfcomm_sppd.c
235
if (memcmp(&tio, &t, sizeof(tio))) {
usr.bin/rfcomm_sppd/rfcomm_sppd.c
236
if (tcsetattr(tty_in, TCSANOW, &t) < 0)
usr.bin/rs/rs.c
496
char *t;
usr.bin/rs/rs.c
498
for (t = p + 1; *t; t++) {
usr.bin/rs/rs.c
499
if (!isdigit(*t))
usr.bin/rs/rs.c
501
"option %.1s requires a list of unsigned numbers separated by commas", t);
usr.bin/rs/rs.c
503
while (*t && isdigit(*t))
usr.bin/rs/rs.c
504
t++;
usr.bin/rs/rs.c
505
if (*t != ',')
usr.bin/rs/rs.c
511
for (t = p + 1; *t; t++) {
usr.bin/rs/rs.c
512
(*list)[count++] = atoi(t);
usr.bin/rs/rs.c
515
while (*t && isdigit(*t))
usr.bin/rs/rs.c
516
t++;
usr.bin/rs/rs.c
517
if (*t != ',')
usr.bin/rs/rs.c
521
return(t - 1);
usr.bin/rs/rs.c
531
char *t = p;
usr.bin/rs/rs.c
533
if (!isdigit(*++t)) {
usr.bin/rs/rs.c
534
if (strict || *t == '-' || *t == '+')
usr.bin/rs/rs.c
539
*num = atoi(t);
usr.bin/rs/rs.c
540
while (*++t)
usr.bin/rs/rs.c
541
if (!isdigit(*t))
usr.bin/rs/rs.c
543
return(--t);
usr.bin/sed/compile.c
1010
for (h = 0, p = (u_char *)cp->t; (c = *p) != 0; p++)
usr.bin/sed/compile.c
1014
if (lh->lh_hash == h && strcmp(cp->t, lh->lh_cmd->t) == 0)
usr.bin/sed/compile.c
1015
errx(1, "%lu: %s: duplicate label '%s'", linenum, fname, cp->t);
usr.bin/sed/compile.c
1039
if (lh->lh_hash == h && strcmp(name, lh->lh_cmd->t) == 0) {
usr.bin/sed/compile.c
1062
linenum, fname, lh->lh_cmd->t);
usr.bin/sed/compile.c
275
cmd->t = compile_text();
usr.bin/sed/compile.c
284
cmd->t = duptoeol(p, "w command");
usr.bin/sed/compile.c
298
cmd->t = duptoeol(p, "read command");
usr.bin/sed/compile.c
304
cmd->t = NULL;
usr.bin/sed/compile.c
306
cmd->t = duptoeol(p, "branch");
usr.bin/sed/compile.c
311
cmd->t = duptoeol(p, "label");
usr.bin/sed/compile.c
483
compile_ccl(char **sp, char *t)
usr.bin/sed/compile.c
488
*t++ = *s++;
usr.bin/sed/compile.c
490
*t++ = *s++;
usr.bin/sed/compile.c
492
*t++ = *s++;
usr.bin/sed/compile.c
493
for (; *s && (*t = *s) != ']'; s++, t++) {
usr.bin/sed/compile.c
495
*++t = *++s, t++, s++;
usr.bin/sed/compile.c
496
for (c = *s; (*t = *s) != ']' || c != d; s++, t++)
usr.bin/sed/compile.c
502
*t = '\n';
usr.bin/sed/compile.c
506
*t = '\r';
usr.bin/sed/compile.c
510
*t = '\t';
usr.bin/sed/compile.c
514
if (dohex(&s[2], t, &hexlen))
usr.bin/sed/compile.c
520
return (*s == ']') ? *sp = ++s, ++t : NULL;
usr.bin/sed/compile.c
985
if (cp->t == NULL) {
usr.bin/sed/compile.c
989
if ((cp->u.c = findlabel(cp->t)) == NULL)
usr.bin/sed/compile.c
990
errx(1, "%lu: %s: undefined label '%s'", linenum, fname, cp->t);
usr.bin/sed/compile.c
991
free(cp->t);
usr.bin/sed/defs.h
98
char *t; /* Text for : a c i r w */
usr.bin/sed/process.c
128
appends[appendx].s = cp->t;
usr.bin/sed/process.c
129
appends[appendx].len = strlen(cp->t);
usr.bin/sed/process.c
139
(void)fprintf(outfile, "%s", cp->t);
usr.bin/sed/process.c
171
(void)fprintf(outfile, "%s", cp->t);
usr.bin/sed/process.c
226
appends[appendx].s = cp->t;
usr.bin/sed/process.c
227
appends[appendx].len = strlen(cp->t);
usr.bin/sed/process.c
243
if (cp->u.fd == -1 && (cp->u.fd = open(cp->t,
usr.bin/sed/process.c
246
err(1, "%s", cp->t);
usr.bin/sed/process.c
249
err(1, "%s", cp->t);
usr.bin/sed/process.c
782
err(1, "%s", cp->t);
usr.bin/stat/stat.c
429
int nl, t, i;
usr.bin/stat/stat.c
591
t = format1(st,
usr.bin/stat/stat.c
597
for (i = 0; i < t && i < (int)(sizeof(buf) - 1); i++)
usr.bin/systat/pigs.c
157
double t;
usr.bin/systat/pigs.c
199
t = diff_cp_time.cp_user + diff_cp_time.cp_nice +
usr.bin/systat/pigs.c
202
if (t == 0.0)
usr.bin/systat/pigs.c
203
t = 1.0;
usr.bin/systat/pigs.c
205
pt[nproc].pt_pctcpu = diff_cp_time.cp_idle / t;
usr.bin/systat/sensors.c
334
const char *t;
usr.bin/systat/sensors.c
340
while ((t = strsep(&args, " ")) != NULL) {
usr.bin/systat/sensors.c
341
if (*t == '\0')
usr.bin/systat/sensors.c
346
if (strcmp(t, sensor_type_s[i]) == 0) {
usr.bin/systat/vmstat.c
111
static time_t t;
usr.bin/systat/vmstat.c
422
#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
423
#define Y(fld) {t = s.fld; s.fld -= s1.fld; if(state == TIME) s1.fld = t;}
usr.bin/systat/vmstat.c
424
#define Z(fld) {t = s.nchstats.fld; s.nchstats.fld -= s1.nchstats.fld; \
usr.bin/systat/vmstat.c
425
if(state == TIME) s1.nchstats.fld = t;}
usr.bin/tail/read.c
102
WR(t + 1, len);
usr.bin/tail/read.c
62
char *ep, *p, *t;
usr.bin/tail/read.c
83
for (t = p - 1, len = 0; t >= sp; --t, ++len)
usr.bin/tail/read.c
84
if (*t == '\n' && len) {
usr.bin/tail/read.c
85
WR(t + 1, len);
usr.bin/tail/read.c
90
for (t = ep - 1, len = 0; t >= p; --t, ++len)
usr.bin/tail/read.c
91
if (*t == '\n') {
usr.bin/tail/read.c
93
WR(t + 1, len);
usr.bin/tail/tail.c
282
char *ap, *p, *t;
usr.bin/tail/tail.c
310
t = *argv + len - 1;
usr.bin/tail/tail.c
311
if (*t == 'F' || *t == 'f' || *t == 'r') {
usr.bin/tail/tail.c
312
*p++ = *t;
usr.bin/tail/tail.c
313
*t-- = '\0';
usr.bin/tail/tail.c
315
switch (*t) {
usr.bin/tail/tail.c
318
*t = '\0';
usr.bin/tail/tail.c
322
*t = '\0';
usr.bin/tail/tail.c
325
*t = '\0';
usr.bin/telnet/sys_bsd.c
78
# define tcgetattr(f, t) ioctl(f, TCGETS, (char *)t)
usr.bin/telnet/sys_bsd.c
83
# define tcgetattr(f, t) ioctl(f, TCGETA, (char *)t)
usr.bin/telnet/sys_bsd.c
87
# define tcgetattr(f, t) ioctl(f, TIOCGETA, (char *)t)
usr.bin/telnet/sys_bsd.c
90
# define tcsetattr(f, a, t) ioctl(f, a, (char *)t)
usr.bin/tftp/main.c
481
int t;
usr.bin/tftp/main.c
495
t = atoi(argv[1]);
usr.bin/tftp/main.c
496
if (t < 0)
usr.bin/tftp/main.c
499
rexmtval = t;
usr.bin/tftp/main.c
507
int t;
usr.bin/tftp/main.c
521
t = atoi(argv[1]);
usr.bin/tftp/main.c
522
if (t < 0)
usr.bin/tftp/main.c
525
maxtimeout = t;
usr.bin/tip/acucommon.c
49
struct timeval t;
usr.bin/tip/acucommon.c
50
t.tv_usec = (how_long % 1000) * 1000;
usr.bin/tip/acucommon.c
51
t.tv_sec = how_long / 1000;
usr.bin/tip/acucommon.c
52
(void) select (0, NULL, NULL, NULL, &t);
usr.bin/tip/acucommon.c
58
struct termios t;
usr.bin/tip/acucommon.c
59
if (tcgetattr (FD, &t) == 0) {
usr.bin/tip/acucommon.c
61
t.c_cflag |= CRTSCTS;
usr.bin/tip/acucommon.c
63
t.c_cflag &= ~CRTSCTS;
usr.bin/tip/acucommon.c
64
tcsetattr (FD, TCSANOW, &t);
usr.bin/tip/hunt.c
88
struct termios t;
usr.bin/tip/hunt.c
89
if (tcgetattr(FD, &t) == 0) {
usr.bin/tip/hunt.c
90
t.c_cflag |= HUPCL;
usr.bin/tip/hunt.c
91
(void)tcsetattr(FD, TCSANOW, &t);
usr.bin/tip/log.c
47
time_t t;
usr.bin/tip/log.c
61
t = time(0);
usr.bin/tip/log.c
62
timestamp = ctime(&t);
usr.bin/tip/unidialer.c
259
struct termios t;
usr.bin/tip/unidialer.c
260
tcgetattr (FD, &t);
usr.bin/tip/unidialer.c
262
t.c_cflag |= CLOCAL;
usr.bin/tip/unidialer.c
264
t.c_cflag &= ~CLOCAL;
usr.bin/tip/unidialer.c
265
tcsetattr (FD, TCSANOW, &t);
usr.bin/top/display.c
1651
display_header(int t)
usr.bin/top/display.c
1654
header_status = t != 0;
usr.bin/top/display.h
71
void display_header(int t);
usr.bin/top/m_dragonfly.c
514
uint64_t t, d = 0;
usr.bin/top/m_dragonfly.c
550
t = (tv.tv_sec * 1000000ULL) + (tv.tv_nsec / 1000ULL);
usr.bin/top/m_dragonfly.c
551
if (prev_pbase_time > 0 && t > prev_pbase_time)
usr.bin/top/m_dragonfly.c
552
d = t - prev_pbase_time;
usr.bin/top/m_dragonfly.c
664
prev_pbase_time = t;
usr.bin/touch/touch.c
231
struct tm *t;
usr.bin/touch/touch.c
236
if ((t = localtime(&now)) == NULL)
usr.bin/touch/touch.c
240
t->tm_sec = 0; /* Seconds defaults to 0. */
usr.bin/touch/touch.c
245
t->tm_sec = ATOI2(p);
usr.bin/touch/touch.c
251
t->tm_year = ATOI2(arg);
usr.bin/touch/touch.c
252
t->tm_year *= 100;
usr.bin/touch/touch.c
258
t->tm_year += yearset;
usr.bin/touch/touch.c
262
t->tm_year = yearset + 2000;
usr.bin/touch/touch.c
264
t->tm_year = yearset + 1900;
usr.bin/touch/touch.c
266
t->tm_year -= 1900; /* Convert to UNIX time. */
usr.bin/touch/touch.c
269
t->tm_mon = ATOI2(arg);
usr.bin/touch/touch.c
270
--t->tm_mon; /* Convert from 01-12 to 00-11 */
usr.bin/touch/touch.c
271
t->tm_mday = ATOI2(arg);
usr.bin/touch/touch.c
272
t->tm_hour = ATOI2(arg);
usr.bin/touch/touch.c
273
t->tm_min = ATOI2(arg);
usr.bin/touch/touch.c
279
t->tm_isdst = -1; /* Figure out DST. */
usr.bin/touch/touch.c
280
tvp[0].tv_sec = tvp[1].tv_sec = mktime(t);
usr.bin/touch/touch.c
295
struct tm *t;
usr.bin/touch/touch.c
298
if ((t = localtime(&now)) == NULL)
usr.bin/touch/touch.c
301
t->tm_mon = ATOI2(arg); /* MMDDhhmm[yy] */
usr.bin/touch/touch.c
302
--t->tm_mon; /* Convert from 01-12 to 00-11 */
usr.bin/touch/touch.c
303
t->tm_mday = ATOI2(arg);
usr.bin/touch/touch.c
304
t->tm_hour = ATOI2(arg);
usr.bin/touch/touch.c
305
t->tm_min = ATOI2(arg);
usr.bin/touch/touch.c
307
t->tm_year = ATOI2(arg);
usr.bin/touch/touch.c
308
if (t->tm_year < 39) /* support 2000-2038 not 1902-1969 */
usr.bin/touch/touch.c
309
t->tm_year += 100;
usr.bin/touch/touch.c
312
t->tm_isdst = -1; /* Figure out DST. */
usr.bin/touch/touch.c
313
tvp[0].tv_sec = tvp[1].tv_sec = mktime(t);
usr.bin/touch/touch.c
324
struct tm t = { .tm_sec = 0 };
usr.bin/touch/touch.c
330
t.tm_isdst = -1;
usr.bin/touch/touch.c
336
p = strptime(arg, fmt, &t);
usr.bin/touch/touch.c
356
tvp[0].tv_sec = isutc ? timegm(&t) : mktime(&t);
usr.bin/tr/cmap.c
164
cmap_splay(struct cmapnode *t, wint_t ch)
usr.bin/tr/cmap.c
172
assert(t != NULL);
usr.bin/tr/cmap.c
177
if (ch < t->cmn_from) {
usr.bin/tr/cmap.c
178
if (t->cmn_left != NULL &&
usr.bin/tr/cmap.c
179
ch < t->cmn_left->cmn_from) {
usr.bin/tr/cmap.c
180
y = t->cmn_left;
usr.bin/tr/cmap.c
181
t->cmn_left = y->cmn_right;
usr.bin/tr/cmap.c
182
y->cmn_right = t;
usr.bin/tr/cmap.c
183
t = y;
usr.bin/tr/cmap.c
185
if (t->cmn_left == NULL)
usr.bin/tr/cmap.c
187
r->cmn_left = t;
usr.bin/tr/cmap.c
188
r = t;
usr.bin/tr/cmap.c
189
t = t->cmn_left;
usr.bin/tr/cmap.c
190
} else if (ch > t->cmn_from) {
usr.bin/tr/cmap.c
191
if (t->cmn_right != NULL &&
usr.bin/tr/cmap.c
192
ch > t->cmn_right->cmn_from) {
usr.bin/tr/cmap.c
193
y = t->cmn_right;
usr.bin/tr/cmap.c
194
t->cmn_right = y->cmn_left;
usr.bin/tr/cmap.c
195
y->cmn_left = t;
usr.bin/tr/cmap.c
196
t = y;
usr.bin/tr/cmap.c
198
if (t->cmn_right == NULL)
usr.bin/tr/cmap.c
200
l->cmn_right = t;
usr.bin/tr/cmap.c
201
l = t;
usr.bin/tr/cmap.c
202
t = t->cmn_right;
usr.bin/tr/cmap.c
206
l->cmn_right = t->cmn_left;
usr.bin/tr/cmap.c
207
r->cmn_left = t->cmn_right;
usr.bin/tr/cmap.c
208
t->cmn_left = N.cmn_right;
usr.bin/tr/cmap.c
209
t->cmn_right = N.cmn_left;
usr.bin/tr/cmap.c
210
return (t);
usr.bin/tr/cset.c
213
cset_rangecmp(struct csnode *t, wchar_t ch)
usr.bin/tr/cset.c
216
if (ch < t->csn_min)
usr.bin/tr/cset.c
218
if (ch > t->csn_max)
usr.bin/tr/cset.c
224
cset_splay(struct csnode *t, wchar_t ch)
usr.bin/tr/cset.c
232
assert(t != NULL);
usr.bin/tr/cset.c
237
if (cset_rangecmp(t, ch) < 0) {
usr.bin/tr/cset.c
238
if (t->csn_left != NULL &&
usr.bin/tr/cset.c
239
cset_rangecmp(t->csn_left, ch) < 0) {
usr.bin/tr/cset.c
240
y = t->csn_left;
usr.bin/tr/cset.c
241
t->csn_left = y->csn_right;
usr.bin/tr/cset.c
242
y->csn_right = t;
usr.bin/tr/cset.c
243
t = y;
usr.bin/tr/cset.c
245
if (t->csn_left == NULL)
usr.bin/tr/cset.c
247
r->csn_left = t;
usr.bin/tr/cset.c
248
r = t;
usr.bin/tr/cset.c
249
t = t->csn_left;
usr.bin/tr/cset.c
250
} else if (cset_rangecmp(t, ch) > 0) {
usr.bin/tr/cset.c
251
if (t->csn_right != NULL &&
usr.bin/tr/cset.c
252
cset_rangecmp(t->csn_right, ch) > 0) {
usr.bin/tr/cset.c
253
y = t->csn_right;
usr.bin/tr/cset.c
254
t->csn_right = y->csn_left;
usr.bin/tr/cset.c
255
y->csn_left = t;
usr.bin/tr/cset.c
256
t = y;
usr.bin/tr/cset.c
258
if (t->csn_right == NULL)
usr.bin/tr/cset.c
260
l->csn_right = t;
usr.bin/tr/cset.c
261
l = t;
usr.bin/tr/cset.c
262
t = t->csn_right;
usr.bin/tr/cset.c
266
l->csn_right = t->csn_left;
usr.bin/tr/cset.c
267
r->csn_left = t->csn_right;
usr.bin/tr/cset.c
268
t->csn_left = N.csn_right;
usr.bin/tr/cset.c
269
t->csn_right = N.csn_left;
usr.bin/tr/cset.c
270
return (t);
usr.bin/tr/cset.c
274
cset_delete(struct csnode *t, wchar_t ch)
usr.bin/tr/cset.c
278
assert(t != NULL);
usr.bin/tr/cset.c
279
t = cset_splay(t, ch);
usr.bin/tr/cset.c
280
assert(cset_rangecmp(t, ch) == 0);
usr.bin/tr/cset.c
281
if (t->csn_left == NULL)
usr.bin/tr/cset.c
282
x = t->csn_right;
usr.bin/tr/cset.c
284
x = cset_splay(t->csn_left, ch);
usr.bin/tr/cset.c
285
x->csn_right = t->csn_right;
usr.bin/tr/cset.c
287
free(t);
usr.bin/tset/term.c
56
struct ttyent *t;
usr.bin/tset/term.c
76
if ((t = getttynam(p))) {
usr.bin/tset/term.c
77
ttype = t->ty_type;
usr.bin/tset/wrterm.c
49
char *t, *sep;
usr.bin/tset/wrterm.c
52
if ((t = strchr(bp, ':')) == NULL)
usr.bin/tset/wrterm.c
54
*t++ = '\0';
usr.bin/tset/wrterm.c
69
while ((p = strsep(&t, ":")) != NULL) {
usr.bin/tty/tty.c
45
char *t;
usr.bin/tty/tty.c
58
t = ttyname(0);
usr.bin/tty/tty.c
60
puts(t ? t : "not a tty");
usr.bin/tty/tty.c
61
exit(t ? 0 : 1);
usr.bin/u4bhidctl/usbhid.c
160
t = strlen(hname) - strlen(var->name);
usr.bin/u4bhidctl/usbhid.c
161
if (t > 0) {
usr.bin/u4bhidctl/usbhid.c
162
if (strcmp(hname + t, var->name) != 0)
usr.bin/u4bhidctl/usbhid.c
164
if (hname[t - 1] != '.')
usr.bin/u4bhidctl/usbhid.c
74
int i, instance, cp, t;
usr.bin/undo/undo.c
421
time_t t;
usr.bin/undo/undo.c
523
t = (time_t)ts1.time32;
usr.bin/undo/undo.c
524
tp = localtime(&t);
usr.bin/undo/undo.c
713
time_t t = (time_t)hen->time32;
usr.bin/undo/undo.c
716
tp = localtime(&t);
usr.bin/unifdef/unifdef.c
1315
matchsym(const char *s, const char *t)
usr.bin/unifdef/unifdef.c
1317
while (*s != '\0' && *t != '\0')
usr.bin/unifdef/unifdef.c
1318
if (*s != *t)
usr.bin/unifdef/unifdef.c
1321
++s, ++t;
usr.bin/unifdef/unifdef.c
1322
if (*s == '\0' && endsym(*t))
usr.bin/unifdef/unifdef.c
1323
return(t);
usr.bin/usbhidaction/usbhidaction.c
287
int inst, cinst, u, lo, hi, range, t;
usr.bin/usbhidaction/usbhidaction.c
402
t = strlen(usbuf) - strlen(name);
usr.bin/usbhidaction/usbhidaction.c
403
if (t > 0) {
usr.bin/usbhidaction/usbhidaction.c
404
if (strcmp(usbuf + t, name))
usr.bin/usbhidaction/usbhidaction.c
406
if (usbuf[t - 1] != '.')
usr.bin/who/who.c
201
time_t t;
usr.bin/who/who.c
204
t = time(NULL) - uts.tv_sec;
usr.bin/who/who.c
206
printf("%s", ctime(&t));
usr.bin/who/who.c
231
char *t;
usr.bin/who/who.c
239
if ((t = strrstr(p, "/pts/")) != NULL ||
usr.bin/who/who.c
240
(t = strrchr(p, '/')) != NULL)
usr.bin/who/who.c
241
p = t + 1;
usr.bin/who/who.c
280
print(const char *name, const char *line, time_t t, const char *host,
usr.bin/who/who.c
316
(void)printf("%.12s ", ctime(&t) + 4);
usr.bin/window/cmd.c
120
movewin(w, w->ww_alt.t, w->ww_alt.l);
usr.bin/window/cmd5.c
55
row = w->ww_w.t;
usr.bin/window/cmd5.c
93
w->ww_alt.t = w->ww_w.t;
usr.bin/window/cmd7.c
116
switch (getpos(&row1, &col1, w->ww_i.t, w->ww_i.l,
usr.bin/window/cmd7.c
138
switch (getpos(&row2, &col2, w->ww_i.t, w->ww_i.l,
usr.bin/window/cmd7.c
205
if (r < w->ww_i.t || r >= w->ww_i.b)
usr.bin/window/cmd7.c
60
wwbox(boxwin, w->ww_w.t - 1, w->ww_w.l - 1,
usr.bin/window/cmd7.c
61
row - w->ww_w.t + 3, col - w->ww_w.l + 3);
usr.bin/window/cmd7.c
65
switch (getpos(&row, &col, w->ww_w.t, w->ww_w.l,
usr.bin/window/cmd7.c
85
sizewin(w, row - w->ww_w.t + 1, col - w->ww_w.l + 1);
usr.bin/window/compress.c
199
int t = cc_thresholds[i];
usr.bin/window/compress.c
201
if (j >= t)
usr.bin/window/compress.c
204
else if (j < t - 1)
usr.bin/window/compress.c
219
if (j >= t)
usr.bin/window/compress.c
633
short frnt, back, t;
usr.bin/window/compress.c
637
t = p->places;
usr.bin/window/compress.c
640
frnt = places[t];
usr.bin/window/compress.c
641
places[t] = back;
usr.bin/window/compress.c
642
back = t;
usr.bin/window/compress.c
643
} while ((t = frnt) >= 0);
usr.bin/window/lcmd2.c
144
strtime(struct timeval *t)
usr.bin/window/lcmd2.c
150
if (t->tv_sec > 60*60) {
usr.bin/window/lcmd2.c
151
(void) sprintf(p, "%ld:", (long int)t->tv_sec / (60*60));
usr.bin/window/lcmd2.c
155
t->tv_sec %= 60*60;
usr.bin/window/lcmd2.c
158
if (t->tv_sec > 60) {
usr.bin/window/lcmd2.c
160
(long long)t->tv_sec / 60);
usr.bin/window/lcmd2.c
164
t->tv_sec %= 60;
usr.bin/window/lcmd2.c
168
(long long)t->tv_sec, (long)t->tv_usec / 10000);
usr.bin/window/lcmd2.c
48
char *strtime(struct timeval *t);
usr.bin/window/parser1.c
102
str_free(t.v_str);
usr.bin/window/parser1.c
141
struct value t;
usr.bin/window/parser1.c
146
t.v_type = V_NUM;
usr.bin/window/parser1.c
147
t.v_num = token_num;
usr.bin/window/parser1.c
151
t.v_type = V_STR;
usr.bin/window/parser1.c
152
t.v_str = token_str;
usr.bin/window/parser1.c
156
if (p_expr(&t, flag) < 0)
usr.bin/window/parser1.c
159
val_free(t);
usr.bin/window/parser1.c
163
if (token != T_ASSIGN && p_convstr(&t) < 0)
usr.bin/window/parser1.c
165
cmd = t.v_type == V_STR ? t.v_str : 0;
usr.bin/window/parser1.c
166
if ((*(token == T_ASSIGN ? p_assign : p_function))(cmd, &t, flag) < 0) {
usr.bin/window/parser1.c
173
val_free(t);
usr.bin/window/parser1.c
86
struct value t;
usr.bin/window/parser1.c
92
if (p_expr(&t, flag) < 0) {
usr.bin/window/parser1.c
96
switch (t.v_type) {
usr.bin/window/parser1.c
98
true = !true && t.v_num != 0;
usr.bin/window/parser2.c
100
tmp = t.v_type == V_STR ? t.v_str : 0;
usr.bin/window/parser2.c
102
if (p_expr(&t, flag) < 0) {
usr.bin/window/parser2.c
108
if (t.v_type == V_ERR)
usr.bin/window/parser2.c
149
} else if (t.v_type == V_ERR) {
usr.bin/window/parser2.c
152
t.v_type != V_NUM) ||
usr.bin/window/parser2.c
154
t.v_type != V_STR)) {
usr.bin/window/parser2.c
167
*vp = t;
usr.bin/window/parser2.c
169
val_free(t);
usr.bin/window/parser2.c
52
struct value t;
usr.bin/window/parser2.c
81
t.v_type = V_ERR;
usr.bin/window/parser2.c
83
if (p_expr0(&t, flag) < 0)
usr.bin/window/parser2.c
85
if (t.v_type == V_ERR)
usr.bin/window/parser2.c
98
if (p_convstr(&t) < 0)
usr.bin/window/parser3.c
109
if ((flag && true ? p_expr1(v, 1) : p_expr1(&t, 0)) < 0)
usr.bin/window/parser3.c
117
return flag && !true ? p_expr1(v, 1) : p_expr1(&t, 0);
usr.bin/window/parser3.c
57
struct value t;
usr.bin/window/parser3.c
60
if (p_expr0(&t, flag) < 0)
usr.bin/window/parser3.c
64
*v = t;
usr.bin/window/parser3.c
67
switch (t.v_type) {
usr.bin/window/parser3.c
69
p_error("%d: Not a variable.", t.v_num);
usr.bin/window/parser3.c
72
t.v_str = 0;
usr.bin/window/parser3.c
75
ret = p_assign(t.v_str, v, flag);
usr.bin/window/parser3.c
76
if (t.v_str != 0)
usr.bin/window/parser3.c
77
str_free(t.v_str);
usr.bin/window/parser3.c
87
struct value t;
usr.bin/window/ttinit.c
68
char *t;
usr.bin/window/ttinit.c
93
if (q != p && (t = malloc((unsigned) (q - p + 1))) != NULL) {
usr.bin/window/ttinit.c
94
wwterm = t;
usr.bin/window/ttinit.c
96
*t++ = *p++;
usr.bin/window/ttinit.c
97
*t = 0;
usr.bin/window/ttzapple.c
360
zz_set_token(int t, char *s, int n)
usr.bin/window/ttzapple.c
367
(void) sprintf(buf, "%02x=", t);
usr.bin/window/ttzapple.c
372
ttputc(t + 1);
usr.bin/window/ttzapple.c
379
zz_put_token(int t, const char *s __unused, int n __unused)
usr.bin/window/ttzapple.c
386
(void) sprintf(buf, "%02x>", t);
usr.bin/window/ttzapple.c
390
ttputc(t + 0x81);
usr.bin/window/ww.h
265
#define wwredrawwin(w) wwredrawwin1((w), (w)->ww_i.t, (w)->ww_i.b, 0)
usr.bin/window/ww.h
58
#define SET(t, f) (t) |= (f)
usr.bin/window/ww.h
59
#define CLR(t, f) (t) &= ~(f)
usr.bin/window/ww.h
60
#define ISSET(t, f) ((t) & (f))
usr.bin/window/ww.h
66
int t, b; /* top, bottom */
usr.bin/window/wwadd.c
55
for (i = w1->ww_i.t; i < w1->ww_i.b; i++) {
usr.bin/window/wwclose.c
48
wwfree((char **)w->ww_win, w->ww_w.t);
usr.bin/window/wwclose.c
49
wwfree((char **)w->ww_buf, w->ww_b.t);
usr.bin/window/wwclose.c
51
wwfree((char **)w->ww_fmap, w->ww_w.t);
usr.bin/window/wwclose.c
52
free((char *)(w->ww_nvis + w->ww_w.t));
usr.bin/window/wwclreol.c
62
if (row < w->ww_i.t || row >= w->ww_i.b
usr.bin/window/wwclreos.c
49
wwupdate1(w->ww_i.t, w->ww_i.b);
usr.bin/window/wwcursor.c
55
if (w->ww_cur.r < w->ww_i.t || w->ww_cur.r >= w->ww_i.b
usr.bin/window/wwdelchar.c
62
if (row < w->ww_i.t || row >= w->ww_i.b
usr.bin/window/wwdelete.c
126
if (tt > t)
usr.bin/window/wwdelete.c
127
wwdelete1(w, t, tt, l, r);
usr.bin/window/wwdelete.c
46
for (i = w->ww_i.t; i < w->ww_i.b; i++) {
usr.bin/window/wwdelete.c
71
w->ww_i.t, w->ww_i.b, w->ww_i.l, w->ww_i.r);
usr.bin/window/wwdelete.c
79
wwdelete1(struct ww *w, int t, int b, int l, int r)
usr.bin/window/wwdelete.c
87
tt = MAX(t, w->ww_i.t);
usr.bin/window/wwdelline.c
51
if ((row1 = row) < w->ww_i.t) {
usr.bin/window/wwdelline.c
52
row1 = w->ww_i.t;
usr.bin/window/wwdump.c
50
for (i = w->ww_i.t; i < w->ww_i.b; i++) {
usr.bin/window/wwdump.c
65
for (i = w->ww_i.t; i < w->ww_i.b; i++) {
usr.bin/window/wwframe.c
120
r = w->ww_i.t - 1;
usr.bin/window/wwframe.c
154
r = w->ww_i.t - 1;
usr.bin/window/wwframe.c
194
if (r < f->ww_i.t || r >= f->ww_i.b || c < f->ww_i.l || c >= f->ww_i.r)
usr.bin/window/wwframe.c
51
if (w->ww_w.t > 0) {
usr.bin/window/wwframe.c
52
r = w->ww_w.t - 1;
usr.bin/window/wwinschar.c
63
if (row < w->ww_i.t || row >= w->ww_i.b
usr.bin/window/wwinsline.c
51
if ((row1 = row) < w->ww_i.t) {
usr.bin/window/wwinsline.c
52
row1 = w->ww_i.t;
usr.bin/window/wwlabel.c
61
row = w->ww_w.t - 1;
usr.bin/window/wwlabel.c
62
if (row < f->ww_i.t || row >= f->ww_i.b)
usr.bin/window/wwmisc.c
49
for (i = w->ww_i.t; i < w->ww_i.b; i++)
usr.bin/window/wwmisc.c
52
&& w->ww_cur.r >= w->ww_i.t && w->ww_cur.r < w->ww_i.b
usr.bin/window/wwmove.c
47
dr = row - w->ww_w.t;
usr.bin/window/wwmove.c
50
w->ww_w.t += dr;
usr.bin/window/wwmove.c
55
w->ww_b.t += dr;
usr.bin/window/wwmove.c
60
w->ww_i.t = MAX(w->ww_w.t, 0);
usr.bin/window/wwmove.c
62
w->ww_i.nr = w->ww_i.b - w->ww_i.t;
usr.bin/window/wwmove.c
71
for (i = w->ww_w.t; i < w->ww_w.b; i++)
usr.bin/window/wwmove.c
75
for (i = w->ww_w.t; i < w->ww_w.b; i++)
usr.bin/window/wwmove.c
79
for (i = w->ww_i.t; i < w->ww_i.b; i++) {
usr.bin/window/wwmove.c
91
for (i = w->ww_b.t; i < w->ww_b.b; i++)
usr.bin/window/wwopen.c
125
w->ww_win = wwalloc(w->ww_w.t, w->ww_w.l,
usr.bin/window/wwopen.c
137
for (i = w->ww_w.t; i < w->ww_w.b; i++)
usr.bin/window/wwopen.c
142
w->ww_fmap = wwalloc(w->ww_w.t, w->ww_w.l,
usr.bin/window/wwopen.c
146
for (i = w->ww_w.t; i < w->ww_w.b; i++)
usr.bin/window/wwopen.c
152
wwalloc(w->ww_b.t, w->ww_b.l,
usr.bin/window/wwopen.c
156
for (i = w->ww_b.t; i < w->ww_b.b; i++)
usr.bin/window/wwopen.c
165
w->ww_nvis -= w->ww_w.t;
usr.bin/window/wwopen.c
167
for (i = w->ww_w.t; i < w->ww_w.b; i++)
usr.bin/window/wwopen.c
177
wwfree(w->ww_win, w->ww_w.t);
usr.bin/window/wwopen.c
179
wwfree(w->ww_fmap, w->ww_w.t);
usr.bin/window/wwopen.c
181
wwfree((char **)w->ww_buf, w->ww_b.t);
usr.bin/window/wwopen.c
183
free((char *)(w->ww_nvis + w->ww_w.t));
usr.bin/window/wwopen.c
70
w->ww_w.t = row;
usr.bin/window/wwopen.c
77
w->ww_b.t = row;
usr.bin/window/wwopen.c
84
w->ww_i.t = MAX(w->ww_w.t, 0);
usr.bin/window/wwopen.c
88
w->ww_i.nr = w->ww_i.b - w->ww_i.t;
usr.bin/window/wwopen.c
91
w->ww_cur.r = w->ww_w.t;
usr.bin/window/wwscroll.c
51
top = w->ww_b.t - n;
usr.bin/window/wwscroll.c
52
if (top > w->ww_w.t)
usr.bin/window/wwscroll.c
53
top = w->ww_w.t;
usr.bin/window/wwscroll.c
56
n = abs(top - w->ww_b.t);
usr.bin/window/wwscroll.c
59
(void) wwscroll1(w, w->ww_i.t, w->ww_i.b, dir, 0);
usr.bin/window/wwscroll.c
61
w->ww_b.t -= dir;
usr.bin/window/wwscroll.c
65
w->ww_buf -= top - w->ww_b.t;
usr.bin/window/wwscroll.c
66
w->ww_b.t = top;
usr.bin/window/wwsize.c
103
wwfree((char **)w->ww_win, w->ww_w.t);
usr.bin/window/wwsize.c
106
wwfree((char **)w->ww_buf, w->ww_b.t);
usr.bin/window/wwsize.c
110
wwfree((char **)w->ww_fmap, w->ww_w.t);
usr.bin/window/wwsize.c
113
free((char *)(w->ww_nvis + w->ww_w.t));
usr.bin/window/wwsize.c
119
w->ww_w.b = w->ww_w.t + nrow;
usr.bin/window/wwsize.c
125
w->ww_b.b = w->ww_b.t + nline;
usr.bin/window/wwsize.c
134
w->ww_b.t -= i;
usr.bin/window/wwsize.c
141
w->ww_i.nr = w->ww_i.b - w->ww_i.t;
usr.bin/window/wwsize.c
152
for (i = w->ww_w.t; i < w->ww_w.b; i++)
usr.bin/window/wwsize.c
157
for (i = w->ww_w.t; i < w->ww_w.b; i++)
usr.bin/window/wwsize.c
162
for (i = w->ww_w.t; i < w->ww_w.b; i++)
usr.bin/window/wwsize.c
179
wwfree(win, w->ww_w.t);
usr.bin/window/wwsize.c
181
wwfree(fmap, w->ww_w.t);
usr.bin/window/wwsize.c
183
wwfree((char **)buf, w->ww_b.t);
usr.bin/window/wwsize.c
56
win = wwalloc(w->ww_w.t, w->ww_w.l, nrow, ncol, sizeof (char));
usr.bin/window/wwsize.c
60
fmap = wwalloc(w->ww_w.t, w->ww_w.l, nrow, ncol, sizeof (char));
usr.bin/window/wwsize.c
66
buf = (union ww_char **) wwalloc(w->ww_b.t, w->ww_b.l,
usr.bin/window/wwsize.c
76
nvis -= w->ww_w.t;
usr.bin/window/wwsize.c
83
b = w->ww_b.t + nline;
usr.bin/window/wwsize.c
86
for (i = w->ww_b.t; i < w->ww_b.b; i++)
usr.bin/window/wwsize.c
90
for (i = w->ww_b.t; i < w->ww_b.b; i++) {
usr.bin/window/wwtty.c
44
wwgettty(int d, struct ww_tty *t)
usr.bin/window/wwtty.c
47
if (ioctl(d, TIOCGETP, (char *)&t->ww_sgttyb) < 0)
usr.bin/window/wwtty.c
49
if (ioctl(d, TIOCGETC, (char *)&t->ww_tchars) < 0)
usr.bin/window/wwtty.c
51
if (ioctl(d, TIOCGLTC, (char *)&t->ww_ltchars) < 0)
usr.bin/window/wwtty.c
53
if (ioctl(d, TIOCLGET, (char *)&t->ww_lmode) < 0)
usr.bin/window/wwtty.c
55
if (ioctl(d, TIOCGETD, (char *)&t->ww_ldisc) < 0)
usr.bin/window/wwtty.c
58
if (tcgetattr(d, &t->ww_termios) < 0)
usr.bin/window/wwtty.c
73
wwsettty(int d, struct ww_tty *t)
usr.bin/window/wwtty.c
81
if (ioctl(d, TIOCSETN, (char *)&t->ww_sgttyb) < 0)
usr.bin/window/wwtty.c
83
if (ioctl(d, TIOCSETC, (char *)&t->ww_tchars) < 0)
usr.bin/window/wwtty.c
85
if (ioctl(d, TIOCSLTC, (char *)&t->ww_ltchars) < 0)
usr.bin/window/wwtty.c
87
if (ioctl(d, TIOCLSET, (char *)&t->ww_lmode) < 0)
usr.bin/window/wwtty.c
91
if (t->ww_ldisc != i &&
usr.bin/window/wwtty.c
92
ioctl(d, TIOCSETD, (char *)&t->ww_ldisc) < 0)
usr.bin/window/wwtty.c
99
if (tcsetattr(d, TCSADRAIN, &t->ww_termios) < 0)
usr.bin/window/wwunframe.c
43
for (i = w->ww_i.t; i < w->ww_i.b; i++) {
usr.bin/window/wwunframe.c
70
w->ww_i.t, w->ww_i.b, w->ww_i.l, w->ww_i.r);
usr.bin/window/wwwrite.c
128
if (w->ww_cur.r >= w->ww_i.t
usr.bin/window/wwwrite.c
161
(void) wwscroll1(w, w->ww_i.t,
usr.bin/window/wwwrite.c
164
w->ww_b.t--;
usr.bin/window/wwwrite.c
167
wwdelline(w, w->ww_b.t);
usr.bin/window/wwwrite.c
196
if (--w->ww_cur.r < w->ww_w.t) {
usr.bin/window/wwwrite.c
197
w->ww_cur.r = w->ww_w.t;
usr.bin/window/wwwrite.c
198
if (w->ww_w.t > w->ww_b.t) {
usr.bin/window/wwwrite.c
199
(void) wwscroll1(w, w->ww_i.t,
usr.bin/window/wwwrite.c
202
w->ww_b.t++;
usr.bin/window/wwwrite.c
205
wwinsline(w, w->ww_b.t);
usr.bin/window/wwwrite.c
215
w->ww_buf -= w->ww_w.t - w->ww_b.t;
usr.bin/window/wwwrite.c
216
w->ww_b.t = w->ww_w.t;
usr.bin/window/wwwrite.c
217
w->ww_b.b = w->ww_b.t + w->ww_b.nr;
usr.bin/window/wwwrite.c
218
w->ww_cur.r = w->ww_w.t;
usr.bin/window/wwwrite.c
220
wwclreos(w, w->ww_w.t, w->ww_w.l);
usr.bin/window/wwwrite.c
224
w->ww_cur.r = w->ww_w.t;
usr.bin/window/wwwrite.c
269
w->ww_cur.r = w->ww_w.t +
usr.sbin/authpf/authpf.c
590
char *s, *t;
usr.sbin/authpf/authpf.c
597
if ((t = strchr(prs.name, '(')) == NULL)
usr.sbin/authpf/authpf.c
598
t = prs.name;
usr.sbin/authpf/authpf.c
600
t++;
usr.sbin/authpf/authpf.c
601
pid = strtoul(t, &s, 10);
usr.sbin/authpf/authpf.c
603
(*s && (t == prs.name || *s != ')')))
usr.sbin/cdcontrol/cdcontrol.c
1041
struct ioc_play_track t;
usr.sbin/cdcontrol/cdcontrol.c
1043
t.start_track = tstart;
usr.sbin/cdcontrol/cdcontrol.c
1044
t.start_index = istart;
usr.sbin/cdcontrol/cdcontrol.c
1045
t.end_track = tend;
usr.sbin/cdcontrol/cdcontrol.c
1046
t.end_index = iend;
usr.sbin/cdcontrol/cdcontrol.c
1048
return ioctl (fd, CDIOCPLAYTRACKS, &t);
usr.sbin/cdcontrol/cdcontrol.c
1054
struct ioc_play_blocks t;
usr.sbin/cdcontrol/cdcontrol.c
1056
t.blk = blk;
usr.sbin/cdcontrol/cdcontrol.c
1057
t.len = len;
usr.sbin/cdcontrol/cdcontrol.c
1059
return ioctl (fd, CDIOCPLAYBLOCKS, &t);
usr.sbin/cdcontrol/cdcontrol.c
1078
struct ioc_read_toc_entry t;
usr.sbin/cdcontrol/cdcontrol.c
1080
t.address_format = msf ? CD_MSF_FORMAT : CD_LBA_FORMAT;
usr.sbin/cdcontrol/cdcontrol.c
1081
t.starting_track = 0;
usr.sbin/cdcontrol/cdcontrol.c
1082
t.data_len = len;
usr.sbin/cdcontrol/cdcontrol.c
1083
t.data = toc_buffer;
usr.sbin/cdcontrol/cdcontrol.c
1085
return (ioctl (fd, CDIOREADTOCENTRYS, (char *) &t));
usr.sbin/cdcontrol/cdcontrol.c
903
t = 0,
usr.sbin/cdcontrol/cdcontrol.c
922
t += ((TC_MM(i+1) * 60) + TC_SS(i+1)) -
usr.sbin/cdcontrol/cdcontrol.c
926
return((n % 0xff) << 24 | t << 8 | ntr);
usr.sbin/cron/crontab/crontab.c
301
int ch, t, x;
usr.sbin/cron/crontab/crontab.c
320
if ((t = mkstemp(Filename)) == -1) {
usr.sbin/cron/crontab/crontab.c
327
if (fchown(t, getuid(), getgid()) < 0) {
usr.sbin/cron/crontab/crontab.c
334
if (!(NewCrontab = fdopen(t, "r+"))) {
usr.sbin/cron/crontab/crontab.c
366
if (fstat(t, &fsbuf) < 0) {
usr.sbin/cron/lib/misc.c
428
struct tm *t;
usr.sbin/cron/lib/misc.c
437
t = localtime(&now);
usr.sbin/cron/lib/misc.c
463
t->tm_mon+1, t->tm_mday, t->tm_hour, t->tm_min,
usr.sbin/cron/lib/misc.c
464
t->tm_sec, pid, event, detail);
usr.sbin/cron/lib/misc.c
524
first_word(char *s, const char *t)
usr.sbin/cron/lib/misc.c
536
while (*s && (NULL != strchr(t, *s))) {
usr.sbin/cron/lib/misc.c
541
while (*s && (NULL == strchr(t, *s)) && (rp < &rb[MAX_TEMPSTR])) {
usr.sbin/cron/lib/misc.c
601
time_t t = clock ?*clock :time(0L);
usr.sbin/cron/lib/misc.c
602
struct tm *tm = localtime(&t);
usr.sbin/dntpd/client.c
240
time_t t;
usr.sbin/dntpd/client.c
242
t = rtv.tv_sec;
usr.sbin/dntpd/client.c
243
tp = localtime(&t);
usr.sbin/dntpd/system.c
170
time_t t;
usr.sbin/dntpd/system.c
181
t = tv.tv_sec;
usr.sbin/dntpd/system.c
182
tp = localtime(&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/inetd/inetd.c
1985
time_t t = time(NULL);
usr.sbin/inetd/inetd.c
1990
unsigned int ticks = t / CHTGRAN;
usr.sbin/inetd/inetd.c
2079
chBest->ch_LTime = t;
usr.sbin/installer/dfuife_curses/curses_form.c
110
struct curses_widget *w, *t;
usr.sbin/installer/dfuife_curses/curses_form.c
114
t = w->next;
usr.sbin/installer/dfuife_curses/curses_form.c
116
w = 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
1484
#define PTQUEUE_NEW(n,s,r,t){\
usr.sbin/makefs/cd9660.c
1486
n->node = t;\
usr.sbin/makefs/cd9660.c
739
volume_descriptor *temp, *t;
usr.sbin/makefs/cd9660.c
755
t = emalloc(sizeof(*t));
usr.sbin/makefs/cd9660.c
756
t->volumeDescriptorData = ecalloc(1, 2048);
usr.sbin/makefs/cd9660.c
757
temp->next = t;
usr.sbin/makefs/cd9660.c
758
temp = t;
usr.sbin/makefs/cd9660.c
759
t->sector = 17;
usr.sbin/makefs/cd9660.c
762
cd9660_setup_boot_volume_descriptor(diskStructure, t);
usr.sbin/makefs/cd9660.c
767
t = emalloc(sizeof(*t));
usr.sbin/makefs/cd9660.c
768
t->volumeDescriptorData = ecalloc(1, 2048);
usr.sbin/makefs/cd9660.c
769
temp->next = t;
usr.sbin/makefs/cd9660.c
770
t->volumeDescriptorData[0] = ISO_VOLUME_DESCRIPTOR_TERMINATOR;
usr.sbin/makefs/cd9660.c
771
t->next = NULL;
usr.sbin/makefs/cd9660.c
772
t->volumeDescriptorData[6] = 1;
usr.sbin/makefs/cd9660.c
773
t->sector = sector;
usr.sbin/makefs/cd9660.c
774
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
139
struct ISO_SUSP_ATTRIBUTES *t;
usr.sbin/makefs/cd9660/iso9660_rrip.c
149
TAILQ_FOREACH(t, &node->head, rr_ll) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
150
if (t->susp_type != SUSP_TYPE_SUSP ||
usr.sbin/makefs/cd9660/iso9660_rrip.c
151
t->entry_type != SUSP_ENTRY_SUSP_CE)
usr.sbin/makefs/cd9660/iso9660_rrip.c
156
t->attr.su_entry.CE.ca_sector);
usr.sbin/makefs/cd9660/iso9660_rrip.c
161
t->attr.su_entry.CE.ca_sector);
usr.sbin/makefs/cd9660/iso9660_rrip.c
163
t->attr.su_entry.CE.offset);
usr.sbin/makefs/cd9660/iso9660_rrip.c
165
t->attr.su_entry.CE.length);
usr.sbin/makefs/cd9660/iso9660_rrip.c
173
struct ISO_SUSP_ATTRIBUTES *t;
usr.sbin/makefs/cd9660/iso9660_rrip.c
175
TAILQ_FOREACH(t, &node->head, rr_ll) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
176
if (t->susp_type != SUSP_TYPE_RRIP)
usr.sbin/makefs/cd9660/iso9660_rrip.c
178
switch (t->entry_type) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
186
t->attr.rr_entry.CL.dir_loc);
usr.sbin/makefs/cd9660/iso9660_rrip.c
196
t->attr.rr_entry.PL.dir_loc);
usr.sbin/makefs/ffs.c
591
time_t t;
usr.sbin/makefs/ffs.c
593
t = (time_t)((struct fs *)fsopts->superblock)->fs_time;
usr.sbin/makefs/ffs.c
595
fsopts->superblock, ctime(&t));
usr.sbin/makefs/hammer2.c
1508
time_t t;
usr.sbin/makefs/hammer2.c
1514
time(&t);
usr.sbin/makefs/hammer2.c
1515
tp = localtime(&t);
usr.sbin/makefs/walk.c
419
#define NODETEST(t, m) \
usr.sbin/makefs/walk.c
420
if (!(t)) \
usr.sbin/makefs/walk.c
491
#define ASEPRINT(t, b, o, n) \
usr.sbin/makefs/walk.c
494
t, o, n)
usr.sbin/mfiutil/mfi_evt.c
243
time_t t;
usr.sbin/mfiutil/mfi_evt.c
263
t = base + timestamp;
usr.sbin/mfiutil/mfi_evt.c
264
strftime(buffer, sizeof(buffer), "%+", localtime(&t));
usr.sbin/mfiutil/mfi_patrol.c
45
time_t t;
usr.sbin/mfiutil/mfi_patrol.c
47
t = (now - at_now) + at;
usr.sbin/mfiutil/mfi_patrol.c
48
return (ctime(&t));
usr.sbin/mixer/mixer.c
115
int ch, i, bar, baz, dev, m, n, t;
usr.sbin/mixer/mixer.c
238
if ((t = sscanf(*argv, "%d:%d", &l, &r)) > 0)
usr.sbin/mixer/mixer.c
261
switch (argc > 1 ? m : t) {
usr.sbin/moused/moused.c
1268
symtab_t *t;
usr.sbin/moused/moused.c
1334
t = pnpproto(&pnpid);
usr.sbin/moused/moused.c
1335
if (t != NULL) {
usr.sbin/moused/moused.c
1336
rodent.mode.protocol = t->val;
usr.sbin/moused/moused.c
1337
rodent.hw.model = t->val2;
usr.sbin/moused/moused.c
2916
symtab_t *t;
usr.sbin/moused/moused.c
2926
t = gettoken(pnpprod, id->eisaid, id->neisaid);
usr.sbin/moused/moused.c
2927
if (t->val != MOUSE_PROTO_UNKNOWN)
usr.sbin/moused/moused.c
2928
return t;
usr.sbin/moused/moused.c
2942
t = gettoken(pnpprod, id->compat + j, i - j);
usr.sbin/moused/moused.c
2943
if (t->val != MOUSE_PROTO_UNKNOWN)
usr.sbin/moused/moused.c
2944
return t;
usr.sbin/mtree/create.c
112
if ((t = fts_open(argv, ftsoptions, dcmp)) == NULL)
usr.sbin/mtree/create.c
114
while ((p = fts_read(t)) != NULL) {
usr.sbin/mtree/create.c
118
fts_set(t, p, FTS_SKIP);
usr.sbin/mtree/create.c
122
fts_set(t, p, FTS_SKIP);
usr.sbin/mtree/create.c
131
statd(fp, t, p, &uid, &gid, &mode, &flags);
usr.sbin/mtree/create.c
158
fts_close(t);
usr.sbin/mtree/create.c
319
statd(FILE *fp, FTS *t, FTSENT *parent, uid_t *puid, gid_t *pgid, mode_t *pmode,
usr.sbin/mtree/create.c
343
if ((p = fts_children(t, 0)) == NULL) {
usr.sbin/mtree/create.c
85
FTS *t;
usr.sbin/mtree/spec.c
528
set(char *t, NODE *ip)
usr.sbin/mtree/spec.c
536
while ((kw = strsep(&t, "= \t")) != NULL) {
usr.sbin/mtree/spec.c
545
while ((val = strsep(&t, " \t")) != NULL && *val == '\0')
usr.sbin/mtree/spec.c
689
unset(char *t, NODE *ip)
usr.sbin/mtree/spec.c
693
while ((p = strsep(&t, " \t")) != NULL) {
usr.sbin/mtree/verify.c
127
fts_set(t, p, FTS_SKIP);
usr.sbin/mtree/verify.c
152
fts_set(t, p, FTS_SKIP);
usr.sbin/mtree/verify.c
154
fts_close(t);
usr.sbin/mtree/verify.c
65
FTS *t;
usr.sbin/mtree/verify.c
74
if ((t = fts_open(argv, ftsoptions, NULL)) == NULL)
usr.sbin/mtree/verify.c
78
while ((p = fts_read(t)) != NULL) {
usr.sbin/mtree/verify.c
80
fts_set(t, p, FTS_SKIP);
usr.sbin/mtree/verify.c
84
fts_set(t, p, FTS_SKIP);
usr.sbin/ndp/ndp.c
150
static char *sec2str(time_t t);
usr.sbin/ndp/ndp.c
166
gmt2local(time_t t)
usr.sbin/ndp/ndp.c
172
if (t == 0)
usr.sbin/ndp/ndp.c
173
t = time(NULL);
usr.sbin/ndp/ndp.c
175
*gmt = *gmtime(&t);
usr.sbin/ndp/ndp.c
176
loc = localtime(&t);
usr.sbin/newsyslog/newsyslog.c
1464
if (ola->t > olb->t)
usr.sbin/newsyslog/newsyslog.c
1466
else if (ola->t < olb->t)
usr.sbin/newsyslog/newsyslog.c
1592
if ((oldlogs[logcnt].t = timegm(&tm)) == -1)
usr.sbin/newsyslog/newsyslog.c
220
time_t t; /* Parsed timestamp of the logfile */
usr.sbin/newsyslog/newsyslog.c
2386
time_t t;
usr.sbin/newsyslog/newsyslog.c
2391
t = -1;
usr.sbin/newsyslog/newsyslog.c
2395
return (t);
usr.sbin/newsyslog/newsyslog.c
2401
return (t);
usr.sbin/newsyslog/newsyslog.c
2423
if (t < sb.st_mtime)
usr.sbin/newsyslog/newsyslog.c
2424
t = sb.st_mtime;
usr.sbin/newsyslog/newsyslog.c
2431
return (t);
usr.sbin/newsyslog/ptimes.c
130
char *t;
usr.sbin/newsyslog/ptimes.c
134
l = strtol(s, &t, 10);
usr.sbin/newsyslog/ptimes.c
135
if (l < 0 || l >= INT_MAX || (*t != '\0' && *t != 'T'))
usr.sbin/newsyslog/ptimes.c
145
switch (t - s) {
usr.sbin/newsyslog/ptimes.c
176
if (*t != '\0') {
usr.sbin/newsyslog/ptimes.c
177
s = ++t;
usr.sbin/newsyslog/ptimes.c
178
l = strtol(s, &t, 10);
usr.sbin/newsyslog/ptimes.c
179
if (l < 0 || l >= INT_MAX || (*t != '\0' && !isspace(*t)))
usr.sbin/newsyslog/ptimes.c
182
switch (t - s) {
usr.sbin/pfctl/parse.y
370
int t;
usr.sbin/pfctl/parse.y
3733
$$->rport.a = $$->rport.b = $$->rport.t = 0;
usr.sbin/pfctl/parse.y
3859
$$->rport.a = $$->rport.b = $$->rport.t = 0;
usr.sbin/pfctl/parse.y
3972
if (!$9->rport.b && $9->rport.t &&
usr.sbin/pfctl/parse.y
6102
r->t = PF_OP_NONE;
usr.sbin/pfctl/parse.y
6110
r->t = PF_OP_IRG;
usr.sbin/pfctl/parse.y
6120
r->t = PF_OP_NONE;
usr.sbin/pfctl/parse.y
6122
r->t = PF_OP_RRG;
usr.sbin/pfctl/pfctl.c
1388
struct pfr_buffer *t, buf;
usr.sbin/pfctl/pfctl.c
1403
t = &buf;
usr.sbin/pfctl/pfctl.c
1406
t = trans;
usr.sbin/pfctl/pfctl.c
1407
osize = t->pfrb_size;
usr.sbin/pfctl/pfctl.c
1442
pf.trans = t;
usr.sbin/pfctl/pfctl.c
1455
pfctl_get_ticket(t, PF_RULESET_ALTQ, anchorname);
usr.sbin/pfctl/pfctl.c
1458
pfctl_get_ticket(t, PF_RULESET_TABLE, anchorname);
usr.sbin/pfctl/pfctl.c
1489
if (pfctl_load_anchors(dev, &pf, t) == -1)
usr.sbin/pfctl/pfctl.c
1496
if (pfctl_trans(dev, t, DIOCXCOMMIT, osize))
usr.sbin/pfctl/pfctl.c
1504
if (pfctl_trans(dev, t, DIOCXROLLBACK, osize))
usr.sbin/pfctl/pfctl.c
305
struct pfr_buffer t;
usr.sbin/pfctl/pfctl.c
307
memset(&t, 0, sizeof(t));
usr.sbin/pfctl/pfctl.c
308
t.pfrb_type = PFRB_TRANS;
usr.sbin/pfctl/pfctl.c
309
if (pfctl_add_trans(&t, PF_RULESET_SCRUB, anchorname) ||
usr.sbin/pfctl/pfctl.c
310
pfctl_add_trans(&t, PF_RULESET_FILTER, anchorname) ||
usr.sbin/pfctl/pfctl.c
311
pfctl_trans(dev, &t, DIOCXBEGIN, 0) ||
usr.sbin/pfctl/pfctl.c
312
pfctl_trans(dev, &t, DIOCXCOMMIT, 0))
usr.sbin/pfctl/pfctl.c
322
struct pfr_buffer t;
usr.sbin/pfctl/pfctl.c
324
memset(&t, 0, sizeof(t));
usr.sbin/pfctl/pfctl.c
325
t.pfrb_type = PFRB_TRANS;
usr.sbin/pfctl/pfctl.c
326
if (pfctl_add_trans(&t, PF_RULESET_NAT, anchorname) ||
usr.sbin/pfctl/pfctl.c
327
pfctl_add_trans(&t, PF_RULESET_BINAT, anchorname) ||
usr.sbin/pfctl/pfctl.c
328
pfctl_add_trans(&t, PF_RULESET_RDR, anchorname) ||
usr.sbin/pfctl/pfctl.c
329
pfctl_trans(dev, &t, DIOCXBEGIN, 0) ||
usr.sbin/pfctl/pfctl.c
330
pfctl_trans(dev, &t, DIOCXCOMMIT, 0))
usr.sbin/pfctl/pfctl.c
340
struct pfr_buffer t;
usr.sbin/pfctl/pfctl.c
344
memset(&t, 0, sizeof(t));
usr.sbin/pfctl/pfctl.c
345
t.pfrb_type = PFRB_TRANS;
usr.sbin/pfctl/pfctl.c
346
if (pfctl_add_trans(&t, PF_RULESET_ALTQ, "") ||
usr.sbin/pfctl/pfctl.c
347
pfctl_trans(dev, &t, DIOCXBEGIN, 0) ||
usr.sbin/pfctl/pfctl.c
348
pfctl_trans(dev, &t, DIOCXCOMMIT, 0))
usr.sbin/pfctl/pfctl.c
764
const char *t[PF_SKIP_COUNT] = { "i", "d", "f",
usr.sbin/pfctl/pfctl.c
772
printf("%s=", t[i]);
usr.sbin/pfctl/pfctl_optimize.c
1280
const struct pfr_table *t;
usr.sbin/pfctl/pfctl_optimize.c
1305
PFRB_FOREACH(t, &table_buffer) {
usr.sbin/pfctl/pfctl_optimize.c
1306
if (strcasecmp(t->pfrt_name, tbl->pt_name) == 0) {
usr.sbin/pfctl/pfctl_parser.c
328
print_ugid(u_int8_t op, unsigned u1, unsigned u2, const char *t, unsigned umax)
usr.sbin/pfctl/pfctl_parser.c
334
printf(" %s", t);
usr.sbin/pfctl/pfctl_table.c
518
const struct pfr_table *t;
usr.sbin/pfctl/pfctl_table.c
533
PFRB_FOREACH(t, &b) {
usr.sbin/pfctl/pfctl_table.c
534
if (!(t->pfrt_flags & PFR_TFLAG_ACTIVE))
usr.sbin/pfctl/pfctl_table.c
536
if (filter != NULL && strcmp(filter, t->pfrt_name))
usr.sbin/pfctl/pfctl_table.c
538
if (!t->pfrt_anchor[0])
usr.sbin/pfctl/pfctl_table.c
539
name = t->pfrt_name;
usr.sbin/pfctl/pfctl_table.c
540
else if (name != NULL && !strcmp(name, t->pfrt_name)) {
usr.sbin/powerd/powerd.c
1370
int t;
usr.sbin/powerd/powerd.c
1375
t = 0;
usr.sbin/powerd/powerd.c
1381
t = -1;
usr.sbin/powerd/powerd.c
1383
t = (int)((sensor.value - 273150000) / 1000000);
usr.sbin/powerd/powerd.c
1384
if (mt < t)
usr.sbin/powerd/powerd.c
1385
mt = t;
usr.sbin/powerd/powerd.c
1395
t = 0;
usr.sbin/powerd/powerd.c
1401
t = -1;
usr.sbin/powerd/powerd.c
1403
t = (int)((sensor.value - 273150000) / 1000000);
usr.sbin/powerd/powerd.c
1404
if (mt < t)
usr.sbin/powerd/powerd.c
1405
mt = t;
usr.sbin/ppp/bundle.c
1020
struct pppThroughput *t;
usr.sbin/ppp/bundle.c
1038
t = &arg->bundle->ncp.mp.link.stats.total;
usr.sbin/ppp/bundle.c
1039
octets = MAX(t->in.OctetsPerSecond, t->out.OctetsPerSecond);
usr.sbin/ppp/bundle.c
1040
secs = t->downtime ? 0 : throughput_uptime(t);
usr.sbin/ppp/bundle.c
1041
if (secs > t->SamplePeriod)
usr.sbin/ppp/bundle.c
1042
secs = t->SamplePeriod;
usr.sbin/ppp/command.c
2983
struct pppThroughput *t;
usr.sbin/ppp/command.c
2998
t = &cx->physical->link.stats.total;
usr.sbin/ppp/command.c
3000
t = &arg->bundle->ncp.ipcp.throughput;
usr.sbin/ppp/command.c
3003
t = &arg->bundle->ncp.ipv6cp.throughput;
usr.sbin/ppp/command.c
3022
throughput_clear(t, clear_type, arg->prompt);
usr.sbin/ppp/ether.c
229
struct timeval t;
usr.sbin/ppp/ether.c
245
t.tv_sec = t.tv_usec = 0;
usr.sbin/ppp/ether.c
246
ret = select(dev->cs + 1, r, NULL, NULL, &t);
usr.sbin/ppp/main.c
592
struct timeval t;
usr.sbin/ppp/main.c
598
t.tv_sec = t.tv_usec = 0;
usr.sbin/ppp/main.c
599
if (select(nfds, rfds, wfds, efds, &t) != -1) {
usr.sbin/ppp/main.c
607
t.tv_sec = t.tv_usec = 0;
usr.sbin/ppp/main.c
608
if (select(nfds, rfds, wfds, efds, &t) != -1) {
usr.sbin/ppp/main.c
616
t.tv_sec = t.tv_usec = 0;
usr.sbin/ppp/main.c
617
if (select(nfds, rfds, wfds, efds, &t) != -1) {
usr.sbin/ppp/main.c
667
struct timeval t;
usr.sbin/ppp/main.c
669
t.tv_sec = 0;
usr.sbin/ppp/main.c
670
t.tv_usec = 100000;
usr.sbin/ppp/main.c
671
select(0, NULL, NULL, NULL, &t);
usr.sbin/ppp/netgraph.c
183
struct timeval t;
usr.sbin/ppp/netgraph.c
196
t.tv_sec = t.tv_usec = 0;
usr.sbin/ppp/netgraph.c
197
ret = select(dev->cs + 1, r, NULL, NULL, &t);
usr.sbin/ppp/probe.c
46
struct timeval t;
usr.sbin/ppp/probe.c
48
t.tv_sec = 0;
usr.sbin/ppp/probe.c
49
t.tv_usec = 100000;
usr.sbin/ppp/probe.c
50
select(0, NULL, NULL, NULL, &t);
usr.sbin/ppp/probe.c
51
return t.tv_usec != 100000;
usr.sbin/ppp/throughput.c
102
throughput_disp(struct pppThroughput *t, struct prompt *prompt)
usr.sbin/ppp/throughput.c
106
secs_up = throughput_uptime(t);
usr.sbin/ppp/throughput.c
109
if (t->downtime)
usr.sbin/ppp/throughput.c
110
prompt_Printf(prompt, " - down at %s", ctime(&t->downtime));
usr.sbin/ppp/throughput.c
116
t->OctetsIn, t->OctetsOut);
usr.sbin/ppp/throughput.c
118
t->PacketsIn, t->PacketsOut);
usr.sbin/ppp/throughput.c
119
if (t->rolling) {
usr.sbin/ppp/throughput.c
121
(t->OctetsIn + t->OctetsOut) / divisor);
usr.sbin/ppp/throughput.c
124
t->downtime ? "average " : "currently",
usr.sbin/ppp/throughput.c
125
t->in.OctetsPerSecond, t->out.OctetsPerSecond,
usr.sbin/ppp/throughput.c
126
secs_up > t->SamplePeriod ? t->SamplePeriod : secs_up);
usr.sbin/ppp/throughput.c
128
t->BestOctetsPerSecond, ctime(&t->BestOctetsPerSecondTime));
usr.sbin/ppp/throughput.c
131
(t->OctetsIn + t->OctetsOut) / divisor);
usr.sbin/ppp/throughput.c
136
throughput_log(struct pppThroughput *t, int level, const char *title)
usr.sbin/ppp/throughput.c
138
if (t->uptime) {
usr.sbin/ppp/throughput.c
141
secs_up = throughput_uptime(t);
usr.sbin/ppp/throughput.c
145
" out\n", title, *title ? ": " : "", secs_up, t->OctetsIn,
usr.sbin/ppp/throughput.c
146
t->OctetsOut);
usr.sbin/ppp/throughput.c
148
title, *title ? ": " : "", t->PacketsIn, t->PacketsOut);
usr.sbin/ppp/throughput.c
151
if (t->rolling)
usr.sbin/ppp/throughput.c
153
(t->OctetsIn + t->OctetsOut) / secs_up, t->BestOctetsPerSecond,
usr.sbin/ppp/throughput.c
154
ctime(&t->BestOctetsPerSecondTime));
usr.sbin/ppp/throughput.c
157
(t->OctetsIn + t->OctetsOut) / secs_up);
usr.sbin/ppp/throughput.c
164
struct pppThroughput *t = (struct pppThroughput *)v;
usr.sbin/ppp/throughput.c
169
timer_Stop(&t->Timer);
usr.sbin/ppp/throughput.c
171
uptime = throughput_uptime(t);
usr.sbin/ppp/throughput.c
172
divisor = uptime < t->SamplePeriod ? uptime + 1 : t->SamplePeriod;
usr.sbin/ppp/throughput.c
174
old = t->in.SampleOctets[t->nSample];
usr.sbin/ppp/throughput.c
175
t->in.SampleOctets[t->nSample] = t->OctetsIn;
usr.sbin/ppp/throughput.c
176
t->in.OctetsPerSecond = (t->in.SampleOctets[t->nSample] - old) / divisor;
usr.sbin/ppp/throughput.c
178
old = t->out.SampleOctets[t->nSample];
usr.sbin/ppp/throughput.c
179
t->out.SampleOctets[t->nSample] = t->OctetsOut;
usr.sbin/ppp/throughput.c
180
t->out.OctetsPerSecond = (t->out.SampleOctets[t->nSample] - old) / divisor;
usr.sbin/ppp/throughput.c
182
octets = t->in.OctetsPerSecond + t->out.OctetsPerSecond;
usr.sbin/ppp/throughput.c
183
if (t->BestOctetsPerSecond < octets) {
usr.sbin/ppp/throughput.c
184
t->BestOctetsPerSecond = octets;
usr.sbin/ppp/throughput.c
185
time(&t->BestOctetsPerSecondTime);
usr.sbin/ppp/throughput.c
188
if (++t->nSample == t->SamplePeriod)
usr.sbin/ppp/throughput.c
189
t->nSample = 0;
usr.sbin/ppp/throughput.c
191
if (t->callback.fn != NULL && uptime >= t->SamplePeriod)
usr.sbin/ppp/throughput.c
192
(*t->callback.fn)(t->callback.data);
usr.sbin/ppp/throughput.c
194
timer_Start(&t->Timer);
usr.sbin/ppp/throughput.c
198
throughput_start(struct pppThroughput *t, const char *name, int rolling)
usr.sbin/ppp/throughput.c
201
timer_Stop(&t->Timer);
usr.sbin/ppp/throughput.c
203
for (i = 0; i < t->SamplePeriod; i++)
usr.sbin/ppp/throughput.c
204
t->in.SampleOctets[i] = t->out.SampleOctets[i] = 0;
usr.sbin/ppp/throughput.c
205
t->nSample = 0;
usr.sbin/ppp/throughput.c
206
t->OctetsIn = t->OctetsOut = 0;
usr.sbin/ppp/throughput.c
207
t->in.OctetsPerSecond = t->out.OctetsPerSecond = t->BestOctetsPerSecond = 0;
usr.sbin/ppp/throughput.c
208
time(&t->BestOctetsPerSecondTime);
usr.sbin/ppp/throughput.c
209
t->downtime = 0;
usr.sbin/ppp/throughput.c
210
time(&t->uptime);
usr.sbin/ppp/throughput.c
211
throughput_restart(t, name, rolling);
usr.sbin/ppp/throughput.c
215
throughput_restart(struct pppThroughput *t, const char *name, int rolling)
usr.sbin/ppp/throughput.c
217
timer_Stop(&t->Timer);
usr.sbin/ppp/throughput.c
218
t->rolling = rolling ? 1 : 0;
usr.sbin/ppp/throughput.c
219
if (t->rolling) {
usr.sbin/ppp/throughput.c
220
t->Timer.load = SECTICKS;
usr.sbin/ppp/throughput.c
221
t->Timer.func = throughput_sampler;
usr.sbin/ppp/throughput.c
222
t->Timer.name = name;
usr.sbin/ppp/throughput.c
223
t->Timer.arg = t;
usr.sbin/ppp/throughput.c
224
timer_Start(&t->Timer);
usr.sbin/ppp/throughput.c
226
t->Timer.load = 0;
usr.sbin/ppp/throughput.c
227
t->Timer.func = NULL;
usr.sbin/ppp/throughput.c
228
t->Timer.name = NULL;
usr.sbin/ppp/throughput.c
229
t->Timer.arg = NULL;
usr.sbin/ppp/throughput.c
234
throughput_stop(struct pppThroughput *t)
usr.sbin/ppp/throughput.c
236
if (t->Timer.state != TIMER_STOPPED)
usr.sbin/ppp/throughput.c
237
time(&t->downtime);
usr.sbin/ppp/throughput.c
238
timer_Stop(&t->Timer);
usr.sbin/ppp/throughput.c
242
throughput_addin(struct pppThroughput *t, long long n)
usr.sbin/ppp/throughput.c
244
t->OctetsIn += n;
usr.sbin/ppp/throughput.c
245
t->PacketsIn++;
usr.sbin/ppp/throughput.c
249
throughput_addout(struct pppThroughput *t, long long n)
usr.sbin/ppp/throughput.c
251
t->OctetsOut += n;
usr.sbin/ppp/throughput.c
252
t->PacketsOut++;
usr.sbin/ppp/throughput.c
256
throughput_clear(struct pppThroughput *t, int clear_type, struct prompt *prompt)
usr.sbin/ppp/throughput.c
261
for (i = 0; i < t->SamplePeriod; i++)
usr.sbin/ppp/throughput.c
262
t->in.SampleOctets[i] = t->out.SampleOctets[i] = 0;
usr.sbin/ppp/throughput.c
263
t->nSample = 0;
usr.sbin/ppp/throughput.c
269
if ((divisor = throughput_uptime(t)) == 0)
usr.sbin/ppp/throughput.c
272
(t->OctetsIn + t->OctetsOut) / divisor);
usr.sbin/ppp/throughput.c
273
t->OctetsIn = t->OctetsOut = 0;
usr.sbin/ppp/throughput.c
274
t->downtime = 0;
usr.sbin/ppp/throughput.c
275
time(&t->uptime);
usr.sbin/ppp/throughput.c
281
t->in.OctetsPerSecond, t->out.OctetsPerSecond);
usr.sbin/ppp/throughput.c
282
t->in.OctetsPerSecond = t->out.OctetsPerSecond = 0;
usr.sbin/ppp/throughput.c
288
time_buf = ctime(&t->BestOctetsPerSecondTime);
usr.sbin/ppp/throughput.c
293
t->BestOctetsPerSecond, time_buf);
usr.sbin/ppp/throughput.c
294
t->BestOctetsPerSecond = 0;
usr.sbin/ppp/throughput.c
295
time(&t->BestOctetsPerSecondTime);
usr.sbin/ppp/throughput.c
300
throughput_callback(struct pppThroughput *t, void (*fn)(void *), void *data)
usr.sbin/ppp/throughput.c
302
t->callback.fn = fn;
usr.sbin/ppp/throughput.c
303
t->callback.data = data;
usr.sbin/ppp/throughput.c
48
throughput_init(struct pppThroughput *t, int period)
usr.sbin/ppp/throughput.c
50
t->OctetsIn = t->OctetsOut = t->PacketsIn = t->PacketsOut = 0;
usr.sbin/ppp/throughput.c
51
t->SamplePeriod = period;
usr.sbin/ppp/throughput.c
52
t->in.SampleOctets = (long long *)
usr.sbin/ppp/throughput.c
53
calloc(period, sizeof *t->in.SampleOctets);
usr.sbin/ppp/throughput.c
54
t->in.OctetsPerSecond = 0;
usr.sbin/ppp/throughput.c
55
t->out.SampleOctets = (long long *)
usr.sbin/ppp/throughput.c
56
calloc(period, sizeof *t->out.SampleOctets);
usr.sbin/ppp/throughput.c
57
t->out.OctetsPerSecond = 0;
usr.sbin/ppp/throughput.c
58
t->BestOctetsPerSecond = 0;
usr.sbin/ppp/throughput.c
59
t->nSample = 0;
usr.sbin/ppp/throughput.c
60
time(&t->BestOctetsPerSecondTime);
usr.sbin/ppp/throughput.c
61
memset(&t->Timer, '\0', sizeof t->Timer);
usr.sbin/ppp/throughput.c
62
t->Timer.name = "throughput";
usr.sbin/ppp/throughput.c
63
t->uptime = 0;
usr.sbin/ppp/throughput.c
64
t->downtime = 0;
usr.sbin/ppp/throughput.c
65
t->rolling = 0;
usr.sbin/ppp/throughput.c
66
t->callback.data = NULL;
usr.sbin/ppp/throughput.c
67
t->callback.fn = NULL;
usr.sbin/ppp/throughput.c
68
throughput_stop(t);
usr.sbin/ppp/throughput.c
72
throughput_destroy(struct pppThroughput *t)
usr.sbin/ppp/throughput.c
74
if (t && t->in.SampleOctets) {
usr.sbin/ppp/throughput.c
75
throughput_stop(t);
usr.sbin/ppp/throughput.c
76
free(t->in.SampleOctets);
usr.sbin/ppp/throughput.c
77
free(t->out.SampleOctets);
usr.sbin/ppp/throughput.c
78
t->in.SampleOctets = NULL;
usr.sbin/ppp/throughput.c
79
t->out.SampleOctets = NULL;
usr.sbin/ppp/throughput.c
84
throughput_uptime(struct pppThroughput *t)
usr.sbin/ppp/throughput.c
88
downat = t->downtime ? t->downtime : time(NULL);
usr.sbin/ppp/throughput.c
89
if (t->uptime && downat < t->uptime) {
usr.sbin/ppp/throughput.c
93
for (i = 0; i < t->SamplePeriod; i++)
usr.sbin/ppp/throughput.c
94
t->in.SampleOctets[i] = t->out.SampleOctets[i] = 0;
usr.sbin/ppp/throughput.c
95
t->nSample = 0;
usr.sbin/ppp/throughput.c
96
t->uptime = downat;
usr.sbin/ppp/throughput.c
98
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
138
struct pppTimer *t, *pt;
usr.sbin/ppp/timer.c
150
for (t = TimerList; t != tp && t != NULL; t = t->next)
usr.sbin/ppp/timer.c
151
pt = t;
usr.sbin/ppp/timer.c
153
if (t) {
usr.sbin/ppp/timer.c
155
pt->next = t->next;
usr.sbin/ppp/timer.c
157
TimerList = t->next;
usr.sbin/ppp/timer.c
161
if (t->next) {
usr.sbin/ppp/timer.c
166
t->rest = RESTVAL(itimer);
usr.sbin/ppp/timer.c
168
t->next->rest += t->rest;
usr.sbin/ppp/timer.c
175
for (t = ExpiredList; t != tp && t != NULL; t = t->enext)
usr.sbin/ppp/timer.c
176
pt = t;
usr.sbin/ppp/timer.c
178
if (t) {
usr.sbin/ppp/timer.c
180
pt->enext = t->enext;
usr.sbin/ppp/timer.c
182
ExpiredList = t->enext;
usr.sbin/ppp/timer.c
197
static time_t t; /* Only show timers globally every second */
usr.sbin/ppp/timer.c
200
if (n > t)
usr.sbin/ppp/timer.c
202
t = n;
usr.sbin/ppp/timer.c
49
#define RESTVAL(t) \
usr.sbin/ppp/timer.c
50
((t).it_value.tv_sec * SECTICKS + (t).it_value.tv_usec / TICKUNIT + \
usr.sbin/ppp/timer.c
51
((((t).it_value.tv_usec % TICKUNIT) >= (TICKUNIT >> 1)) ? 1 : 0))
usr.sbin/ppp/timer.c
83
struct pppTimer *t, *pt;
usr.sbin/pppctl/pppctl.c
162
struct timeval t;
usr.sbin/pppctl/pppctl.c
169
t.tv_sec = t.tv_usec = 0;
usr.sbin/pppctl/pppctl.c
170
if (select(data+1, &f, NULL, NULL, &t) > 0) {
usr.sbin/pw/psdate.h
37
void print_date(char *buf, time_t t, int dotime);
usr.sbin/pw/pw_group.c
183
struct termios t;
usr.sbin/pw/pw_group.c
187
if (tcgetattr(fd, &t) == -1)
usr.sbin/pw/pw_group.c
190
struct termios n = t;
usr.sbin/pw/pw_group.c
201
tcsetattr(fd, TCSANOW, &t);
usr.sbin/pw/pw_log.c
48
struct tm *t = localtime(&now);
usr.sbin/pw/pw_log.c
55
strftime(nfmt, sizeof nfmt, "%Y-%m-%d %T ", t);
usr.sbin/pw/pw_user.c
615
struct termios t;
usr.sbin/pw/pw_user.c
619
if (tcgetattr(fd, &t) == -1)
usr.sbin/pw/pw_user.c
622
struct termios n = t;
usr.sbin/pw/pw_user.c
636
tcsetattr(fd, TCSANOW, &t);
usr.sbin/pw/pw_user.c
905
struct carg *t = LIST_NEXT(a_gid, list);
usr.sbin/pw/pw_user.c
907
a_gid = t;
usr.sbin/pwd_mkdb/pwd_mkdb.c
349
#define COMPACT(e) t = e; while ((*p++ = *t++));
usr.sbin/pwd_mkdb/pwd_mkdb.c
96
const char *t;
usr.sbin/route6d/route6d.c
1084
t = time(NULL);
usr.sbin/route6d/route6d.c
1085
t_half_lifetime = t - (RIP_LIFETIME/2);
usr.sbin/route6d/route6d.c
1191
rrt->rrt_t = t;
usr.sbin/route6d/route6d.c
1198
rrt->rrt_t = t;
usr.sbin/route6d/route6d.c
1206
rrt->rrt_t = t;
usr.sbin/route6d/route6d.c
1216
rrt->rrt_t = t;
usr.sbin/route6d/route6d.c
1248
rrt->rrt_t = t;
usr.sbin/route6d/route6d.c
2869
time_t t, age;
usr.sbin/route6d/route6d.c
2877
t = time(NULL);
usr.sbin/route6d/route6d.c
2883
age = t - rrt->rrt_t;
usr.sbin/route6d/route6d.c
3164
time_t t;
usr.sbin/route6d/route6d.c
3167
t = time(NULL);
usr.sbin/route6d/route6d.c
3168
if ((tm = localtime(&t)) == NULL) {
usr.sbin/route6d/route6d.c
999
time_t t;
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
74
char *t, *s = p;
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
88
t = buf;
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
89
#define EXPAND(e) e = t; while ((*t++ = *p++));
usr.sbin/rtadvd/config.c
120
int64_t t; \
usr.sbin/rtadvd/config.c
121
if ((t = agetnum(cap)) < 0) { \
usr.sbin/rtadvd/config.c
126
var = t; \
usr.sbin/rwhod/rwhod.c
707
time_t t = ntohl(we->we_utmp.out_time);
usr.sbin/rwhod/rwhod.c
712
ctime(&t)+4);
usr.sbin/sa/pdb.c
328
double t, c;
usr.sbin/sa/pdb.c
332
t = (cip->ci_utime + cip->ci_stime) / (double) AHZ;
usr.sbin/sa/pdb.c
333
if (t < 0.01) {
usr.sbin/sa/pdb.c
334
t = 0.01;
usr.sbin/sa/pdb.c
362
printf("%11.2fcp ", t / (double) cip->ci_calls);
usr.sbin/sa/pdb.c
364
printf("%11.2fcp ", t / 60.0);
usr.sbin/sa/pdb.c
411
printf("%8.0fk ", cip->ci_mem / t);
usr.sbin/sa/usrdb.c
227
double t;
usr.sbin/sa/usrdb.c
240
t = (double) (ui->ui_utime + ui->ui_stime) /
usr.sbin/sa/usrdb.c
242
if (t < 0.0001) /* kill divide by zero */
usr.sbin/sa/usrdb.c
243
t = 0.0001;
usr.sbin/sa/usrdb.c
245
printf("%12.2f%s ", t / 60.0, "cpu");
usr.sbin/sa/usrdb.c
256
printf("%12.0f%s", ui->ui_mem / t, "k");
usr.sbin/sensorsd/sensorsd.c
253
int h, t, i;
usr.sbin/sensorsd/sensorsd.c
258
t = -1;
usr.sbin/sensorsd/sensorsd.c
261
t = TAILQ_LAST(&sdlims, sdlimhead_t)->dev;
usr.sbin/sensorsd/sensorsd.c
268
for (i = h; i <= t + 4; i++) {
usr.sbin/sensorsd/sensorsd.c
271
if (sdlim == NULL && i <= t)
usr.sbin/sshlockout/sshlockout.c
105
static int insert_iph(const char *ips, time_t t);
usr.sbin/sshlockout/sshlockout.c
266
time_t t = time(NULL);
usr.sbin/sshlockout/sshlockout.c
306
int dt = (int)(t - iph->t);
usr.sbin/sshlockout/sshlockout.c
318
if (insert_iph(ips, t)) {
usr.sbin/sshlockout/sshlockout.c
408
insert_iph(const char *ips, time_t t)
usr.sbin/sshlockout/sshlockout.c
416
ip->t = t;
usr.sbin/sshlockout/sshlockout.c
439
int dt = (int)(t - ip->t);
usr.sbin/sshlockout/sshlockout.c
74
time_t t;
usr.sbin/traceroute/traceroute.c
1001
if (t > 18)
usr.sbin/traceroute/traceroute.c
1003
return (ttab[t]);
usr.sbin/traceroute/traceroute.c
999
pr_type(u_int8_t t)
usr.sbin/traceroute6/traceroute6.c
914
u_char t = t0 & 0xff;
usr.sbin/traceroute6/traceroute6.c
917
switch (t) {
usr.sbin/tzsetup/tzsetup.c
346
char *s, *t, *name;
usr.sbin/tzsetup/tzsetup.c
363
t = strsep(&s, "\t");
usr.sbin/tzsetup/tzsetup.c
364
if (t == NULL || strlen(t) != 2)
usr.sbin/tzsetup/tzsetup.c
366
if (t[0] < 'A' || t[0] > 'Z' || t[1] < 'A' || t[1] > 'Z')
usr.sbin/tzsetup/tzsetup.c
368
lineno, t);
usr.sbin/tzsetup/tzsetup.c
372
cp = &countries[CODE2INT(t)];
usr.sbin/tzsetup/tzsetup.c
375
path_iso3166, lineno, t, cp->name);
usr.sbin/tzsetup/tzsetup.c
379
cp->tlc = strdup(t);
usr.sbin/tzsetup/tzsetup.c
652
time_t t = time(0);
usr.sbin/tzsetup/tzsetup.c
658
tm = localtime(&t);
usr.sbin/uefisign/uefisign.c
155
ASN1_TYPE *t;
usr.sbin/uefisign/uefisign.c
197
t = ASN1_generate_nconf(str, cnf);
usr.sbin/uefisign/uefisign.c
198
if (t == NULL) {
usr.sbin/uefisign/uefisign.c
207
len = i2d_ASN1_TYPE(t, NULL);
usr.sbin/uefisign/uefisign.c
211
i2d_ASN1_TYPE(t, &tmp);
usr.sbin/uefisign/uefisign.c
217
t = NULL;
usr.sbin/uefisign/uefisign.c
233
t = ASN1_TYPE_new();
usr.sbin/uefisign/uefisign.c
236
ASN1_TYPE_set(t, V_ASN1_SEQUENCE, s);
usr.sbin/uefisign/uefisign.c
238
PKCS7_set0_type_other(pkcs7->d.sign->contents, nid, t);
usr.sbin/usbconfig/usbconfig.c
413
uint16_t t;
usr.sbin/usbconfig/usbconfig.c
422
t = actlen;
usr.sbin/usbconfig/usbconfig.c
424
for (t = 0; t != actlen; t++) {
usr.sbin/usbconfig/usbconfig.c
426
((uint8_t *)opt->buffer)[t],
usr.sbin/usbconfig/usbconfig.c
427
(t == (actlen - 1)) ? "" : " ");
usr.sbin/usbconfig/usbconfig.c
430
for (t = 0; t != actlen; t++) {
usr.sbin/usbconfig/usbconfig.c
433
c = ((uint8_t *)opt->buffer)[t];
usr.sbin/usbconfig/usbconfig.c
536
int t;
usr.sbin/usbconfig/usbconfig.c
548
t = (argc - n - 1);
usr.sbin/usbconfig/usbconfig.c
549
if (t > 255)
usr.sbin/usbconfig/usbconfig.c
550
t = 255;
usr.sbin/usbconfig/usbconfig.c
551
switch (get_token(argv[n], t)) {
usr.sbin/usbconfig/usbconfig.c
791
t = (argc - n - 1);
usr.sbin/usbconfig/usbconfig.c
792
if (t < opt->setup.wLength) {
usr.sbin/usbconfig/usbconfig.c
795
t = opt->setup.wLength;
usr.sbin/usbconfig/usbconfig.c
796
while (t--) {
usr.sbin/usbconfig/usbconfig.c
797
((uint8_t *)opt->buffer)[t] =
usr.sbin/usbconfig/usbconfig.c
798
num_id(argv[n + t + 1], "req_data");
usr.sbin/watch/watch.c
101
t = time(NULL);
usr.sbin/watch/watch.c
102
strftime(btmp, 1024, "Time: %d %b %H:%M", localtime(&t));
usr.sbin/watch/watch.c
97
time_t t;
usr.sbin/ypserv/yp_server.c
369
char g[11], t[11], p[11];
usr.sbin/ypserv/yp_server.c
373
snprintf (t, sizeof(t), "%u", argp->transid);
usr.sbin/ypserv/yp_server.c
383
"-p", yp_dir, "-C", t,
usr.sbin/ypserv/yp_server.c
391
"-C", t,
usr.sbin/zic/scheck.c
39
char *t = tp;
usr.sbin/zic/scheck.c
41
*t++ = c = *f++;
usr.sbin/zic/scheck.c
45
tp = t;
usr.sbin/zic/zdump.c
138
static void show(char *zone, time_t t, int v);
usr.sbin/zic/zdump.c
154
time_t t;
usr.sbin/zic/zdump.c
157
t = mktime(&tm);
usr.sbin/zic/zdump.c
158
if (t != *tp) {
usr.sbin/zic/zdump.c
171
fprintf(stderr, tformat(), t);
usr.sbin/zic/zdump.c
216
time_t t;
usr.sbin/zic/zdump.c
331
t = absolute_min_time;
usr.sbin/zic/zdump.c
333
show(argv[i], t, TRUE);
usr.sbin/zic/zdump.c
334
t += SECSPERDAY;
usr.sbin/zic/zdump.c
335
show(argv[i], t, TRUE);
usr.sbin/zic/zdump.c
337
if (t < cutlotime)
usr.sbin/zic/zdump.c
338
t = cutlotime;
usr.sbin/zic/zdump.c
339
tmp = my_localtime(&t);
usr.sbin/zic/zdump.c
345
newt = (t < absolute_max_time - SECSPERDAY / 2
usr.sbin/zic/zdump.c
346
? t + SECSPERDAY / 2
usr.sbin/zic/zdump.c
354
(delta(&newtm, &tm) != (newt - t) ||
usr.sbin/zic/zdump.c
357
newt = hunt(argv[i], t, newt);
usr.sbin/zic/zdump.c
366
t = newt;
usr.sbin/zic/zdump.c
371
t = absolute_max_time;
usr.sbin/zic/zdump.c
372
t -= SECSPERDAY;
usr.sbin/zic/zdump.c
373
show(argv[i], t, TRUE);
usr.sbin/zic/zdump.c
374
t += SECSPERDAY;
usr.sbin/zic/zdump.c
375
show(argv[i], t, TRUE);
usr.sbin/zic/zdump.c
396
time_t t;
usr.sbin/zic/zdump.c
399
t = 0;
usr.sbin/zic/zdump.c
412
if (t > absolute_max_time - seconds)
usr.sbin/zic/zdump.c
414
t += seconds;
usr.sbin/zic/zdump.c
428
if (t < absolute_min_time + seconds)
usr.sbin/zic/zdump.c
430
t -= seconds;
usr.sbin/zic/zdump.c
432
return t;
usr.sbin/zic/zdump.c
438
time_t t;
usr.sbin/zic/zdump.c
454
t = lot;
usr.sbin/zic/zdump.c
455
t += diff / 2;
usr.sbin/zic/zdump.c
456
if (t <= lot)
usr.sbin/zic/zdump.c
457
++t;
usr.sbin/zic/zdump.c
458
else if (t >= hit)
usr.sbin/zic/zdump.c
459
--t;
usr.sbin/zic/zdump.c
460
tmp = my_localtime(&t);
usr.sbin/zic/zdump.c
464
(delta(&tm, &lotm) == (t - lot) &&
usr.sbin/zic/zdump.c
467
lot = t;
usr.sbin/zic/zdump.c
470
} else hit = t;
usr.sbin/zic/zdump.c
503
show(char *zone, time_t t, int v)
usr.sbin/zic/zdump.c
509
tmp = gmtime(&t);
usr.sbin/zic/zdump.c
511
printf(tformat(), t);
usr.sbin/zic/zdump.c
518
tmp = my_localtime(&t);
usr.sbin/zic/zic.c
1031
zic_t t;
usr.sbin/zic/zic.c
105
static void leapadd(zic_t t, int positive, int rolling, int count);
usr.sbin/zic/zic.c
1092
t = (zic_t) dayoff * SECSPERDAY;
usr.sbin/zic/zic.c
1121
leapadd(tadd(t, tod), positive, lp->l_value, count);
usr.sbin/zic/zic.c
2358
leapadd(const zic_t t, const int positive, const int rolling, int count)
usr.sbin/zic/zic.c
2367
if (t <= trans[i]) {
usr.sbin/zic/zic.c
2368
if (t == trans[i]) {
usr.sbin/zic/zic.c
2380
trans[i] = t;
usr.sbin/zic/zic.c
2556
zic_t t, y;
usr.sbin/zic/zic.c
2628
t = (zic_t) dayoff * SECSPERDAY;
usr.sbin/zic/zic.c
2629
return tadd(t, rp->r_tod);
usr.sbin/zic/zic.c
593
const char *t;
usr.sbin/zic/zic.c
597
t = s;
usr.sbin/zic/zic.c
602
for (s = tofield + (t - fromfield);
usr.sbin/zic/zic.c
608
symlinkcontents = ecatalloc(symlinkcontents, t);