bin/date/vary.c
451
time_t tt;
bin/date/vary.c
452
tt = strtoul(arg + 1, NULL, 10);
bin/date/vary.c
453
*t = *gmtime(&tt);
crypto/libressl/crypto/asn1/asn1_locl.h
168
ASN1_VALUE ** asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
crypto/libressl/crypto/asn1/asn1_locl.h
170
const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr);
crypto/libressl/crypto/asn1/tasn_enc.c
136
const ASN1_TEMPLATE *tt = NULL;
crypto/libressl/crypto/asn1/tasn_enc.c
226
for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) {
crypto/libressl/crypto/asn1/tasn_enc.c
229
seqtt = asn1_do_adb(pval, tt, 1);
crypto/libressl/crypto/asn1/tasn_enc.c
243
for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) {
crypto/libressl/crypto/asn1/tasn_enc.c
246
seqtt = asn1_do_adb(pval, tt, 1);
crypto/libressl/crypto/asn1/tasn_enc.c
268
const ASN1_TEMPLATE *tt)
crypto/libressl/crypto/asn1/tasn_enc.c
270
return asn1_template_ex_i2d(pval, out, tt, -1, 0);
crypto/libressl/crypto/asn1/tasn_enc.c
275
const ASN1_TEMPLATE *tt, int tag, int iclass)
crypto/libressl/crypto/asn1/tasn_enc.c
278
flags = tt->flags;
crypto/libressl/crypto/asn1/tasn_enc.c
291
ttag = tt->tag;
crypto/libressl/crypto/asn1/tasn_enc.c
354
tt->item, -1, iclass);
crypto/libressl/crypto/asn1/tasn_enc.c
373
asn1_set_seq_out(sk, out, skcontlen, tt->item,
crypto/libressl/crypto/asn1/tasn_enc.c
387
i = ASN1_item_ex_i2d(pval, NULL, tt->item,
crypto/libressl/crypto/asn1/tasn_enc.c
396
ASN1_item_ex_i2d(pval, out, tt->item,
crypto/libressl/crypto/asn1/tasn_enc.c
405
return ASN1_item_ex_i2d(pval, out, tt->item,
crypto/libressl/crypto/asn1/tasn_enc.c
74
const ASN1_TEMPLATE *tt, int tag, int aclass);
crypto/libressl/crypto/asn1/tasn_fre.c
122
tt = it->templates + i;
crypto/libressl/crypto/asn1/tasn_fre.c
123
pchval = asn1_get_field_ptr(pval, tt);
crypto/libressl/crypto/asn1/tasn_fre.c
124
ASN1_template_free(pchval, tt);
crypto/libressl/crypto/asn1/tasn_fre.c
153
tt = it->templates + it->tcount - 1;
crypto/libressl/crypto/asn1/tasn_fre.c
154
for (i = 0; i < it->tcount; tt--, i++) {
crypto/libressl/crypto/asn1/tasn_fre.c
156
seqtt = asn1_do_adb(pval, tt, 0);
crypto/libressl/crypto/asn1/tasn_fre.c
171
ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
crypto/libressl/crypto/asn1/tasn_fre.c
174
if (tt->flags & ASN1_TFLG_SK_MASK) {
crypto/libressl/crypto/asn1/tasn_fre.c
179
asn1_item_free(&vtmp, tt->item);
crypto/libressl/crypto/asn1/tasn_fre.c
184
asn1_item_free(pval, tt->item);
crypto/libressl/crypto/asn1/tasn_fre.c
86
const ASN1_TEMPLATE *tt = NULL, *seqtt;
crypto/libressl/crypto/asn1/tasn_new.c
160
for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) {
crypto/libressl/crypto/asn1/tasn_new.c
161
pseqval = asn1_get_field_ptr(pval, tt);
crypto/libressl/crypto/asn1/tasn_new.c
162
if (!ASN1_template_new(pseqval, tt))
crypto/libressl/crypto/asn1/tasn_new.c
216
ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
crypto/libressl/crypto/asn1/tasn_new.c
218
const ASN1_ITEM *it = tt->item;
crypto/libressl/crypto/asn1/tasn_new.c
221
if (tt->flags & ASN1_TFLG_OPTIONAL) {
crypto/libressl/crypto/asn1/tasn_new.c
222
asn1_template_clear(pval, tt);
crypto/libressl/crypto/asn1/tasn_new.c
227
if (tt->flags & ASN1_TFLG_ADB_MASK) {
crypto/libressl/crypto/asn1/tasn_new.c
232
if (tt->flags & ASN1_TFLG_SK_MASK) {
crypto/libressl/crypto/asn1/tasn_new.c
251
asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
crypto/libressl/crypto/asn1/tasn_new.c
254
if (tt->flags & (ASN1_TFLG_ADB_MASK|ASN1_TFLG_SK_MASK))
crypto/libressl/crypto/asn1/tasn_new.c
257
asn1_item_clear(pval, tt->item);
crypto/libressl/crypto/asn1/tasn_new.c
71
static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
crypto/libressl/crypto/asn1/tasn_new.c
94
const ASN1_TEMPLATE *tt = NULL;
crypto/libressl/crypto/asn1/tasn_prn.c
170
const ASN1_TEMPLATE *tt, const ASN1_PCTX *pctx);
crypto/libressl/crypto/asn1/tasn_prn.c
199
const ASN1_TEMPLATE *tt;
crypto/libressl/crypto/asn1/tasn_prn.c
269
tt = it->templates + i;
crypto/libressl/crypto/asn1/tasn_prn.c
270
tmpfld = asn1_get_field_ptr(fld, tt);
crypto/libressl/crypto/asn1/tasn_prn.c
271
if (!asn1_template_print_ctx(out, tmpfld, indent, tt, pctx))
crypto/libressl/crypto/asn1/tasn_prn.c
299
for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) {
crypto/libressl/crypto/asn1/tasn_prn.c
302
seqtt = asn1_do_adb(fld, tt, 1);
crypto/libressl/crypto/asn1/tasn_prn.c
332
const ASN1_TEMPLATE *tt, const ASN1_PCTX *pctx)
crypto/libressl/crypto/asn1/tasn_prn.c
337
flags = tt->flags;
crypto/libressl/crypto/asn1/tasn_prn.c
339
sname = tt->item->sname;
crypto/libressl/crypto/asn1/tasn_prn.c
345
fname = tt->field_name;
crypto/libressl/crypto/asn1/tasn_prn.c
359
indent, "", tname, tt->field_name) <= 0)
crypto/libressl/crypto/asn1/tasn_prn.c
371
tt->item, NULL, NULL, 1, pctx))
crypto/libressl/crypto/asn1/tasn_prn.c
382
return asn1_item_print_ctx(out, fld, indent, tt->item,
crypto/libressl/crypto/asn1/tasn_utl.c
225
asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
crypto/libressl/crypto/asn1/tasn_utl.c
229
pvaltmp = offset2ptr(*pval, tt->offset);
crypto/libressl/crypto/asn1/tasn_utl.c
242
asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr)
crypto/libressl/crypto/asn1/tasn_utl.c
250
if (!(tt->flags & ASN1_TFLG_ADB_MASK))
crypto/libressl/crypto/asn1/tasn_utl.c
251
return tt;
crypto/libressl/crypto/asn1/tasn_utl.c
254
adb = (const ASN1_ADB *)tt->item;
crypto/libressl/crypto/asn1/tasn_utl.c
270
if (tt->flags & ASN1_TFLG_ADB_OID)
crypto/libressl/crypto/asn1/tasn_utl.c
285
return &atbl->tt;
crypto/libressl/crypto/bn/bn_asm.c
514
BN_ULLONG tt = t+c0; /* no carry */ \
crypto/libressl/crypto/bn/bn_asm.c
515
c0 = (BN_ULONG)Lw(tt); \
crypto/libressl/crypto/bn/bn_asm.c
516
hi = (BN_ULONG)Hw(tt); \
crypto/libressl/crypto/bn/bn_asm.c
551
BN_ULONG lo, hi, tt; \
crypto/libressl/crypto/bn/bn_asm.c
553
c0 += lo; tt = hi+((c0<lo)?1:0); \
crypto/libressl/crypto/bn/bn_asm.c
554
c1 += tt; c2 += (c1<tt)?1:0; \
crypto/libressl/crypto/bn/bn_asm.c
584
BN_ULONG ta = (a), tb = (b), tt; \
crypto/libressl/crypto/bn/bn_asm.c
587
c0 += lo; tt = hi + ((c0<lo)?1:0); \
crypto/libressl/crypto/bn/bn_asm.c
588
c1 += tt; c2 += (c1<tt)?1:0; \
crypto/libressl/crypto/bn/bn_asm.c
618
BN_ULONG tt; \
crypto/libressl/crypto/bn/bn_asm.c
622
tt = hi; \
crypto/libressl/crypto/bn/bn_asm.c
623
c0 = (c0+lo)&BN_MASK2; if (c0<lo) tt++; \
crypto/libressl/crypto/bn/bn_asm.c
624
c1 = (c1+tt)&BN_MASK2; if (c1<tt) c2++; \
crypto/libressl/crypto/cms/cms_asn1.c
1246
.tt = {
crypto/libressl/crypto/cms/cms_asn1.c
1257
.tt = {
crypto/libressl/crypto/cms/cms_asn1.c
1268
.tt = {
crypto/libressl/crypto/cms/cms_asn1.c
1279
.tt = {
crypto/libressl/crypto/cms/cms_asn1.c
1290
.tt = {
crypto/libressl/crypto/cms/cms_asn1.c
1301
.tt = {
crypto/libressl/crypto/cms/cms_asn1.c
1312
.tt = {
crypto/libressl/crypto/cms/cms_sd.c
431
ASN1_TIME *tt;
crypto/libressl/crypto/cms/cms_sd.c
435
tt = t;
crypto/libressl/crypto/cms/cms_sd.c
437
tt = X509_gmtime_adj(NULL, 0);
crypto/libressl/crypto/cms/cms_sd.c
439
if (!tt)
crypto/libressl/crypto/cms/cms_sd.c
443
tt->type, tt, -1) <= 0)
crypto/libressl/crypto/cms/cms_sd.c
450
ASN1_TIME_free(tt);
crypto/libressl/crypto/des/des_locl.h
368
DES_LONG tt; \
crypto/libressl/crypto/des/des_locl.h
369
PERM_OP(r,l,tt, 4,0x0f0f0f0fL); \
crypto/libressl/crypto/des/des_locl.h
370
PERM_OP(l,r,tt,16,0x0000ffffL); \
crypto/libressl/crypto/des/des_locl.h
371
PERM_OP(r,l,tt, 2,0x33333333L); \
crypto/libressl/crypto/des/des_locl.h
372
PERM_OP(l,r,tt, 8,0x00ff00ffL); \
crypto/libressl/crypto/des/des_locl.h
373
PERM_OP(r,l,tt, 1,0x55555555L); \
crypto/libressl/crypto/des/des_locl.h
378
DES_LONG tt; \
crypto/libressl/crypto/des/des_locl.h
379
PERM_OP(l,r,tt, 1,0x55555555L); \
crypto/libressl/crypto/des/des_locl.h
380
PERM_OP(r,l,tt, 8,0x00ff00ffL); \
crypto/libressl/crypto/des/des_locl.h
381
PERM_OP(l,r,tt, 2,0x33333333L); \
crypto/libressl/crypto/des/des_locl.h
382
PERM_OP(r,l,tt,16,0x0000ffffL); \
crypto/libressl/crypto/des/des_locl.h
383
PERM_OP(l,r,tt, 4,0x0f0f0f0fL); \
crypto/libressl/crypto/ec/ec_asn1.c
264
.tt = {
crypto/libressl/crypto/ec/ec_asn1.c
275
.tt = {
crypto/libressl/crypto/ec/ec_asn1.c
286
.tt = {
crypto/libressl/crypto/ec/ec_asn1.c
366
.tt = {
crypto/libressl/crypto/ec/ec_asn1.c
377
.tt = {
crypto/libressl/crypto/objects/obj_xref.c
221
sid_free(nid_triple *tt)
crypto/libressl/crypto/objects/obj_xref.c
223
free(tt);
crypto/libressl/crypto/pkcs12/p12_asn.c
199
.tt = {
crypto/libressl/crypto/pkcs12/p12_asn.c
210
.tt = {
crypto/libressl/crypto/pkcs12/p12_asn.c
221
.tt = {
crypto/libressl/crypto/pkcs12/p12_asn.c
305
.tt = {
crypto/libressl/crypto/pkcs12/p12_asn.c
316
.tt = {
crypto/libressl/crypto/pkcs12/p12_asn.c
327
.tt = {
crypto/libressl/crypto/pkcs12/p12_asn.c
337
.tt = {
crypto/libressl/crypto/pkcs12/p12_asn.c
348
.tt = {
crypto/libressl/crypto/pkcs12/p12_asn.c
359
.tt = {
crypto/libressl/crypto/pkcs7/pk7_asn1.c
102
.tt = {
crypto/libressl/crypto/pkcs7/pk7_asn1.c
113
.tt = {
crypto/libressl/crypto/pkcs7/pk7_asn1.c
124
.tt = {
crypto/libressl/crypto/pkcs7/pk7_asn1.c
135
.tt = {
crypto/libressl/crypto/pkcs7/pk7_asn1.c
80
.tt = {
crypto/libressl/crypto/pkcs7/pk7_asn1.c
91
.tt = {
crypto/libressl/crypto/x509/x509_cpols.c
211
.tt = {
crypto/libressl/crypto/x509/x509_cpols.c
222
.tt = {
crypto/libressl/include/openssl/asn1t.h
487
const ASN1_TEMPLATE tt; /* item for this value */
crypto/libressl/include/openssl/asn1t.h
899
int ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
crypto/libressl/include/openssl/asn1t.h
902
void ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
crypto/libressl/include/openssl/asn1t.h
903
int ASN1_template_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_TEMPLATE *tt);
crypto/libressl/include/openssl/asn1t.h
908
int ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt);
crypto/openssh/misc.c
2455
time_t tt;
crypto/openssh/misc.c
2499
if ((tt = timegm(&tm)) < 0)
crypto/openssh/misc.c
2502
if ((tt = mktime(&tm)) < 0)
crypto/openssh/misc.c
2506
*tp = (uint64_t)tt;
crypto/openssh/misc.c
2513
time_t tt = t > SSH_TIME_T_MAX ? SSH_TIME_T_MAX : t;
crypto/openssh/misc.c
2516
localtime_r(&tt, &tm);
games/hack/hack.mklev.c
566
coord cc, tt;
games/hack/hack.mklev.c
588
tt = finddpos(tx, troom->ly, tx, troom->hy);
games/hack/hack.mklev.c
595
tt = finddpos(troom->lx, ty, troom->hx, ty);
games/hack/hack.mklev.c
602
tt = finddpos(tx, troom->ly, tx, troom->hy);
games/hack/hack.mklev.c
609
tt = finddpos(troom->lx, ty, troom->hx, ty);
games/hack/hack.mklev.c
613
tx = tt.x - dx;
games/hack/hack.mklev.c
614
ty = tt.y - dy;
games/hack/hack.mklev.c
696
dodoor(tt.x, tt.y, troom);
games/hack/hack.mon.c
641
int tt;
games/hack/hack.mon.c
643
tt = 1 << ttmp->ttyp;
games/hack/hack.mon.c
644
if (mon->mtrapseen & tt) {
games/hack/hack.mon.c
645
if (!(flag & tt))
games/hack/hack.mon.c
647
info[cnt] |= tt;
games/hack/hack.trap.c
217
int tt = trap->ttyp;
games/hack/hack.trap.c
220
if (mtmp->mtrapseen & (1 << tt)) {
games/hack/hack.trap.c
225
mtmp->mtrapseen |= (1 << tt);
games/hack/hack.trap.c
226
switch (tt) {
games/pom/pom.c
66
time_t tt;
games/pom/pom.c
71
time(&tt);
games/pom/pom.c
72
GMT = gmtime(&tt);
lib/libc/gen/time.c
40
struct timeval tt;
lib/libc/gen/time.c
43
if (gettimeofday(&tt, NULL) < 0)
lib/libc/gen/time.c
46
retval = tt.tv_sec;
lib/libc/isc/ev_timers.c
359
idle_timer *tt;
lib/libc/isc/ev_timers.c
362
OKNEW(tt);
lib/libc/isc/ev_timers.c
363
tt->func = func;
lib/libc/isc/ev_timers.c
364
tt->uap = uap;
lib/libc/isc/ev_timers.c
365
tt->lastTouched = ctx->lastEventTime;
lib/libc/isc/ev_timers.c
366
tt->max_idle = max_idle;
lib/libc/isc/ev_timers.c
368
if (evSetTimer(opaqueCtx, idle_timeout, tt,
lib/libc/isc/ev_timers.c
371
FREE(tt);
lib/libc/isc/ev_timers.c
375
tt->timer = opaqueID->opaque;
lib/libc/isc/ev_timers.c
383
idle_timer *tt = del->uap;
lib/libc/isc/ev_timers.c
385
FREE(tt);
lib/libc/isc/ev_timers.c
398
idle_timer *tt = timer->uap;
lib/libc/isc/ev_timers.c
400
tt->func = func;
lib/libc/isc/ev_timers.c
401
tt->uap = uap;
lib/libc/isc/ev_timers.c
402
tt->lastTouched = ctx->lastEventTime;
lib/libc/isc/ev_timers.c
403
tt->max_idle = max_idle;
lib/libc/isc/ev_timers.c
405
return (evResetTimer(opaqueCtx, opaqueID, idle_timeout, tt,
lib/libc/isc/ev_timers.c
414
idle_timer *tt = t->uap;
lib/libc/isc/ev_timers.c
416
tt->lastTouched = ctx->lastEventTime;
lib/libutil/login_times.c
109
in_ltm(const login_time_t *ltm, struct tm *tt, time_t *ends)
lib/libutil/login_times.c
113
if (tt != NULL) {
lib/libutil/login_times.c
115
if ((u_char)(0x01 << tt->tm_wday) & ltm->lt_dow) {
lib/libutil/login_times.c
117
u_short now = (u_short)((tt->tm_hour * 60) + tt->tm_min);
lib/libutil/login_times.c
119
if (tt->tm_sec > 30)
lib/libutil/login_times.c
125
tt->tm_hour = (int)(ltm->lt_end / 60);
lib/libutil/login_times.c
126
tt->tm_min = (int)(ltm->lt_end % 60);
lib/libutil/login_times.c
127
*ends = mktime(tt);
sbin/nologin/nologin.c
38
const char *user, *tt;
sbin/nologin/nologin.c
40
if ((tt = ttyname(0)) == NULL)
sbin/nologin/nologin.c
41
tt = "UNKNOWN";
sbin/nologin/nologin.c
45
syslog(LOG_CRIT, "Attempted login by %s on %s", user, tt);
sys/bus/u4b/controller/xhci.c
2685
sc->sc_hw.devs[index].tt);
sys/bus/u4b/controller/xhci.c
4378
&sc->sc_hw.devs[index].tt);
sys/bus/u4b/controller/xhci.h
449
uint8_t tt;
sys/bus/u4b/usb_hub.c
1149
uint8_t tt;
sys/bus/u4b/usb_hub.c
1155
tt = 0;
sys/bus/u4b/usb_hub.c
1173
tt = (UGETW(hubdesc20.wHubCharacteristics) >> 5) & 3;
sys/bus/u4b/usb_hub.c
1197
*ptt = tt;
sys/crypto/des/des_locl.h
347
DES_LONG tt; \
sys/crypto/des/des_locl.h
348
PERM_OP(r,l,tt, 4,0x0f0f0f0fL); \
sys/crypto/des/des_locl.h
349
PERM_OP(l,r,tt,16,0x0000ffffL); \
sys/crypto/des/des_locl.h
350
PERM_OP(r,l,tt, 2,0x33333333L); \
sys/crypto/des/des_locl.h
351
PERM_OP(l,r,tt, 8,0x00ff00ffL); \
sys/crypto/des/des_locl.h
352
PERM_OP(r,l,tt, 1,0x55555555L); \
sys/crypto/des/des_locl.h
357
DES_LONG tt; \
sys/crypto/des/des_locl.h
358
PERM_OP(l,r,tt, 1,0x55555555L); \
sys/crypto/des/des_locl.h
359
PERM_OP(r,l,tt, 8,0x00ff00ffL); \
sys/crypto/des/des_locl.h
360
PERM_OP(l,r,tt, 2,0x33333333L); \
sys/crypto/des/des_locl.h
361
PERM_OP(r,l,tt,16,0x0000ffffL); \
sys/crypto/des/des_locl.h
362
PERM_OP(l,r,tt, 4,0x0f0f0f0fL); \
sys/dev/disk/iscsi/initiator/iscsi.h
270
u_int tt[2]; // must be -1
sys/dev/drm/include/drm/ttm/ttm_bo_driver.h
516
struct ttm_lru_bulk_move_pos tt[TTM_MAX_BO_PRIORITY];
sys/dev/drm/include/drm/ttm/ttm_debug.h
30
extern void ttm_trace_dma_map(struct device *dev, struct ttm_dma_tt *tt);
sys/dev/drm/include/drm/ttm/ttm_debug.h
31
extern void ttm_trace_dma_unmap(struct device *dev, struct ttm_dma_tt *tt);
sys/dev/drm/include/drm/ttm/ttm_page_alloc.h
64
int ttm_populate_and_map_pages(struct device *dev, struct ttm_dma_tt *tt,
sys/dev/drm/include/drm/ttm/ttm_page_alloc.h
70
void ttm_unmap_and_unpopulate_pages(struct device *dev, struct ttm_dma_tt *tt);
sys/dev/drm/ttm/ttm_bo.c
243
ttm_bo_bulk_move_set_pos(&bulk->tt[bo->priority], bo);
sys/dev/drm/ttm/ttm_bo.c
262
struct ttm_lru_bulk_move_pos *pos = &bulk->tt[i];
sys/dev/drm/ttm/ttm_page_alloc.c
1000
dma_unmap_page(dev, tt->dma_address[i], num_pages * PAGE_SIZE,
sys/dev/drm/ttm/ttm_page_alloc.c
1005
ttm_pool_unpopulate(&tt->ttm);
sys/dev/drm/ttm/ttm_page_alloc.c
937
int ttm_populate_and_map_pages(struct device *dev, struct ttm_dma_tt *tt,
sys/dev/drm/ttm/ttm_page_alloc.c
943
r = ttm_pool_populate(&tt->ttm, ctx);
sys/dev/drm/ttm/ttm_page_alloc.c
947
for (i = 0; i < tt->ttm.num_pages; ++i) {
sys/dev/drm/ttm/ttm_page_alloc.c
948
struct page *p = tt->ttm.pages[i];
sys/dev/drm/ttm/ttm_page_alloc.c
951
for (j = i + 1; j < tt->ttm.num_pages; ++j) {
sys/dev/drm/ttm/ttm_page_alloc.c
952
if (++p != tt->ttm.pages[j])
sys/dev/drm/ttm/ttm_page_alloc.c
958
tt->dma_address[i] = dma_map_page(dev, tt->ttm.pages[i],
sys/dev/drm/ttm/ttm_page_alloc.c
961
if (dma_mapping_error(dev, tt->dma_address[i])) {
sys/dev/drm/ttm/ttm_page_alloc.c
963
dma_unmap_page(dev, tt->dma_address[i],
sys/dev/drm/ttm/ttm_page_alloc.c
965
tt->dma_address[i] = 0;
sys/dev/drm/ttm/ttm_page_alloc.c
967
ttm_pool_unpopulate(&tt->ttm);
sys/dev/drm/ttm/ttm_page_alloc.c
972
tt->dma_address[i + 1] = tt->dma_address[i] + PAGE_SIZE;
sys/dev/drm/ttm/ttm_page_alloc.c
980
void ttm_unmap_and_unpopulate_pages(struct device *dev, struct ttm_dma_tt *tt)
sys/dev/drm/ttm/ttm_page_alloc.c
984
for (i = 0; i < tt->ttm.num_pages;) {
sys/dev/drm/ttm/ttm_page_alloc.c
985
struct page *p = tt->ttm.pages[i];
sys/dev/drm/ttm/ttm_page_alloc.c
988
if (!tt->dma_address[i] || !tt->ttm.pages[i]) {
sys/dev/drm/ttm/ttm_page_alloc.c
993
for (j = i + 1; j < tt->ttm.num_pages; ++j) {
sys/dev/drm/ttm/ttm_page_alloc.c
994
if (++p != tt->ttm.pages[j])
sys/dev/netif/ath/ath_rate/sample/sample.c
177
int rix, tt, pct;
sys/dev/netif/ath/ath_rate/sample/sample.c
192
tt = sn->stats[size_bin][rix].average_tx_time;
sys/dev/netif/ath/ath_rate/sample/sample.c
193
if (tt <= 0 ||
sys/dev/netif/ath/ath_rate/sample/sample.c
228
if (best_rate_tt == 0 || tt <= best_rate_tt) {
sys/dev/netif/ath/ath_rate/sample/sample.c
229
best_rate_tt = tt;
sys/dev/netif/ath/ath_rate/sample/sample.c
241
if (best_rate_tt == 0 || (tt * 8 <= best_rate_tt * 10)) {
sys/dev/netif/ath/ath_rate/sample/sample.c
242
best_rate_tt = tt;
sys/dev/netif/ath/ath_rate/sample/sample.c
736
int tt, tries_so_far;
sys/dev/netif/ath/ath_rate/sample/sample.c
742
tt = calc_usecs_unicast_packet(sc, size, rix0, short_tries,
sys/dev/netif/ath/ath_rate/sample/sample.c
749
tt += calc_usecs_unicast_packet(sc, size, rix1, short_tries,
sys/dev/netif/ath/ath_rate/sample/sample.c
757
tt += calc_usecs_unicast_packet(sc, size, rix2, short_tries,
sys/dev/netif/ath/ath_rate/sample/sample.c
765
tt += calc_usecs_unicast_packet(sc, size, rix3, short_tries,
sys/dev/netif/ath/ath_rate/sample/sample.c
773
sn->stats[size_bin][rix0].average_tx_time = (tt+(avg_tx*packets))/(packets+nframes);
sys/dev/netif/ath/ath_rate/sample/sample.c
778
(tt * (100 - ssc->smoothing_rate))) / 100;
sys/dev/netif/ath/ath_rate/sample/sample.c
842
short_tries, tries, tt,
sys/dev/netif/ath/ath_rate/sample/sample.c
846
sn->sample_tt[size_bin] = tt;
sys/dev/netif/ath/ath_rate/sample/sample.h
143
int tt = 0;
sys/dev/netif/ath/ath_rate/sample/sample.h
222
tt += (short_retries + 1) * ctsduration;
sys/dev/netif/ath/ath_rate/sample/sample.h
224
tt += t_difs;
sys/dev/netif/ath/ath_rate/sample/sample.h
227
tt += (long_retries+1)*ath_hal_pkt_txtime(sc->sc_ah, rt, length, rix,
sys/dev/netif/ath/ath_rate/sample/sample.h
230
tt += (long_retries+1)*(t_sifs + rt->info[rix].spAckDuration);
sys/dev/netif/ath/ath_rate/sample/sample.h
234
tt += (t_slot * cw/2);
sys/dev/netif/ath/ath_rate/sample/sample.h
236
return tt;
sys/net/radix.c
1004
if (t->rn_left == tt)
sys/net/radix.c
1047
x = tt + 1;
sys/net/radix.c
1066
tt[0].rn_flags &= ~RNF_ACTIVE;
sys/net/radix.c
1067
tt[1].rn_flags &= ~RNF_ACTIVE;
sys/net/radix.c
1068
return (tt);
sys/net/radix.c
460
struct radix_node *top, *t, *tt;
sys/net/radix.c
512
tt = t->rn_left;
sys/net/radix.c
522
t->rn_right = tt;
sys/net/radix.c
532
return (tt);
sys/net/radix.c
704
struct radix_node *top, *t, *x, *tt, *saved_tt;
sys/net/radix.c
732
saved_tt = tt = rn_insert(key, head, &keyduplicated, nodes);
sys/net/radix.c
749
for (t = tt; tt != NULL; t = tt, tt = tt->rn_dupedkey) {
sys/net/radix.c
750
if (tt->rn_mask == mask)
sys/net/radix.c
753
(tt->rn_mask != NULL &&
sys/net/radix.c
754
((bit_leaf < tt->rn_bit) /* index(mask) > node */
sys/net/radix.c
755
|| rn_refines(mask, tt->rn_mask)
sys/net/radix.c
756
|| rn_lexobetter(mask, tt->rn_mask))))
sys/net/radix.c
759
if (tt == saved_tt) {
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
767
x->rn_left = tt;
sys/net/radix.c
769
x->rn_right = tt;
sys/net/radix.c
770
saved_tt = tt; x = xx;
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
775
if (tt->rn_dupedkey != NULL) /* parent */
sys/net/radix.c
776
tt->rn_dupedkey->rn_parent = tt; /* parent */
sys/net/radix.c
778
tt->rn_key = key;
sys/net/radix.c
779
tt->rn_bit = -1;
sys/net/radix.c
780
tt->rn_flags = RNF_ACTIVE;
sys/net/radix.c
782
tt->rn_info = rn_nodenum++;
sys/net/radix.c
783
tt->rn_twin = tt + 1;
sys/net/radix.c
784
tt->rn_twin->rn_info = rn_nodenum++;
sys/net/radix.c
785
tt->rn_ybro = rn_clist;
sys/net/radix.c
786
rn_clist = tt;
sys/net/radix.c
794
tt->rn_mask = mask;
sys/net/radix.c
795
tt->rn_bit = x->rn_bit;
sys/net/radix.c
796
tt->rn_flags |= x->rn_flags & RNF_NORMAL;
sys/net/radix.c
831
return (tt); /* can't lift at all */
sys/net/radix.c
836
bit_leaf = tt->rn_bit;
sys/net/radix.c
854
if (tt->rn_flags & RNF_NORMAL) {
sys/net/radix.c
857
return (tt);
sys/net/radix.c
863
tt->rn_mklist = m;
sys/net/radix.c
864
return (tt);
sys/net/radix.c
869
*mp = rn_new_radix_mask(tt, *mp);
sys/net/radix.c
870
return (tt);
sys/net/radix.c
876
struct radix_node *top, *t, *p, *x, *tt, *saved_tt, *dupedkey;
sys/net/radix.c
882
tt = rn_search(key, x);
sys/net/radix.c
885
saved_tt = tt;
sys/net/radix.c
887
if (tt == NULL ||
sys/net/radix.c
888
bcmp((const u_char *)key + head_off, tt->rn_key + head_off,
sys/net/radix.c
900
while (tt->rn_mask != mask) {
sys/net/radix.c
901
if ((tt = tt->rn_dupedkey) == NULL)
sys/net/radix.c
905
if (tt->rn_mask == NULL || (saved_m = m = tt->rn_mklist) == NULL)
sys/net/radix.c
907
if (tt->rn_flags & RNF_NORMAL) {
sys/net/radix.c
908
if (m->rm_leaf != tt || m->rm_refs > 0) {
sys/net/radix.c
913
if (m->rm_mask != tt->rn_mask) {
sys/net/radix.c
920
bit = -1 - tt->rn_bit;
sys/net/radix.c
937
if (tt->rn_flags & RNF_NORMAL)
sys/net/radix.c
945
if (tt->rn_flags & RNF_ROOT)
sys/net/radix.c
950
for (t = rn_clist; t != NULL && t->rn_ybro != tt; t = t->rn_ybro)
sys/net/radix.c
953
t->rn_ybro = tt->rn_ybro;
sys/net/radix.c
956
t = tt->rn_parent;
sys/net/radix.c
963
if (tt == saved_tt) {
sys/net/radix.c
967
if (t->rn_left == tt)
sys/net/radix.c
973
for (x = p = saved_tt; p != NULL && p->rn_dupedkey != tt;)
sys/net/radix.c
976
p->rn_dupedkey = tt->rn_dupedkey;
sys/net/radix.c
977
if (tt->rn_dupedkey) /* parent */
sys/net/radix.c
978
tt->rn_dupedkey->rn_parent = p;
sys/net/radix.c
984
t = tt + 1;
sys/netinet/tcp_output.c
1331
int tt;
sys/netinet/tcp_output.c
1345
TCPT_RANGESET(tt, t * tcp_backoff[tp->t_rxtshift], TCPTV_PERSMIN,
sys/netinet/tcp_output.c
1347
tcp_callout_reset(tp, tp->tt_persist, tt, tcp_timer_persist);
sys/netinet/tcp_timer.c
132
int error, s, tt;
sys/netinet/tcp_timer.c
134
tt = *(int *)oidp->oid_arg1;
sys/netinet/tcp_timer.c
135
s = (int)((int64_t)tt * 1000 / hz);
sys/netinet/tcp_timer.c
141
tt = (int)((int64_t)s * hz / 1000);
sys/netinet/tcp_timer.c
142
if (tt < 1)
sys/netinet/tcp_timer.c
145
*(int *)oidp->oid_arg1 = tt;
sys/netinet/tcp_timer.c
690
const struct tcp_timer *tt;
sys/netinet/tcp_timer.c
715
for (tt = tcp_timer_handlers; tt->tt_handler != NULL; ++tt) {
sys/netinet/tcp_timer.c
716
if ((tmsg->tt_running_tasks & tt->tt_task) == 0)
sys/netinet/tcp_timer.c
719
tmsg->tt_running_tasks &= ~tt->tt_task;
sys/netinet/tcp_timer.c
720
tp = tt->tt_handler(tp);
test/pcpu/ncache-stats.c
47
#define _NCH_ENT(t, n, tt) \
test/pcpu/ncache-stats.c
52
printf("(%-9ld)\n", tt.n); \
tools/tools/net80211/wesside/wesside/wesside.c
245
time_t tt;
tools/tools/net80211/wesside/wesside/wesside.c
252
tt = time(NULL);
tools/tools/net80211/wesside/wesside/wesside.c
254
if (tt == (time_t)-1) {
tools/tools/net80211/wesside/wesside/wesside.c
259
t = localtime(&tt);
usr.bin/script/script.c
151
if (tcgetattr(STDIN_FILENO, &tt) == -1)
usr.bin/script/script.c
155
if (openpty(&master, &slave, NULL, &tt, &win) == -1)
usr.bin/script/script.c
183
rtt = tt;
usr.bin/script/script.c
318
tcsetattr(STDIN_FILENO, TCSAFLUSH, &tt);
usr.bin/script/script.c
72
static struct termios tt;
usr.bin/window/compress.c
103
#define put_token_score(length) ((length) - tt.tt_put_token_cost)
usr.bin/window/compress.c
112
(score) -= _length - tt.tt_put_token_cost; \
usr.bin/window/compress.c
179
if (tt.tt_token_max > cc_token_max)
usr.bin/window/compress.c
180
tt.tt_token_max = cc_token_max;
usr.bin/window/compress.c
181
if (tt.tt_token_min < cc_token_min)
usr.bin/window/compress.c
182
tt.tt_token_min = cc_token_min;
usr.bin/window/compress.c
183
if (tt.tt_token_min > tt.tt_token_max) {
usr.bin/window/compress.c
184
tt.tt_ntoken = 0;
usr.bin/window/compress.c
187
if (tt.tt_ntoken > cc_ntoken / 2) /* not likely */
usr.bin/window/compress.c
188
tt.tt_ntoken = cc_ntoken / 2;
usr.bin/window/compress.c
191
int h = i - tt.tt_put_token_cost;
usr.bin/window/compress.c
194
(tt.tt_set_token_cost + 1 + h - 1) / h + 1;
usr.bin/window/compress.c
203
- (i - tt.tt_put_token_cost);
usr.bin/window/compress.c
216
tt.tt_set_token_cost + i +
usr.bin/window/compress.c
217
j * tt.tt_put_token_cost -
usr.bin/window/compress.c
228
- (tt.tt_set_token_cost +
usr.bin/window/compress.c
229
(i - tt.tt_put_token_cost) -
usr.bin/window/compress.c
230
(i - tt.tt_put_token_cost) * j);
usr.bin/window/compress.c
236
((tt.tt_set_token_cost + tt.tt_put_token_cost) / i +
usr.bin/window/compress.c
253
(cc_ntoken + tt.tt_token_max - tt.tt_token_min + 1) *
usr.bin/window/compress.c
259
for (i = tt.tt_token_min; i <= tt.tt_token_max; i++)
usr.bin/window/compress.c
269
for (i = 0; i < tt.tt_ntoken; i++) {
usr.bin/window/compress.c
303
tt.tt_flush = ccflush;
usr.bin/window/compress.c
330
tt.tt_flush = 0;
usr.bin/window/compress.c
349
tt.tt_flush = 0;
usr.bin/window/compress.c
350
(*tt.tt_compress)(1);
usr.bin/window/compress.c
351
if (bufsize < tt.tt_token_min) {
usr.bin/window/compress.c
366
(*tt.tt_compress)(0);
usr.bin/window/compress.c
367
tt.tt_flush = ccflush;
usr.bin/window/compress.c
385
cc_sweep0(buffer, bufsize, tt.tt_token_min - 1);
usr.bin/window/compress.c
391
for (i = tt.tt_token_min; i <= tt.tt_token_max; i++) {
usr.bin/window/compress.c
433
short pc = tt.tt_padc;
usr.bin/window/compress.c
471
short pc = tt.tt_padc;
usr.bin/window/compress.c
778
score = - tt.tt_set_token_cost;
usr.bin/window/compress.c
869
(*tt.tt_put_token)(p->code, p->string, p->length);
usr.bin/window/compress.c
881
(*tt.tt_set_token)(p->code, p->string, p->length);
usr.bin/window/compress.c
883
wwntoksave -= tt.tt_set_token_cost;
usr.bin/window/tt.h
107
EXTERN struct tt tt;
usr.bin/window/ttf100.c
60
tt.tt_frame = f100_frame;
usr.bin/window/ttf100.c
61
tt.tt_availmodes |= WWM_GRP;
usr.bin/window/ttgeneric.c
148
tt.tt_insert = new;
usr.bin/window/ttgeneric.c
156
diff = new ^ tt.tt_modes;
usr.bin/window/ttgeneric.c
197
tt.tt_modes = new;
usr.bin/window/ttgeneric.c
203
if (tt.tt_modes) /* for concept 100 */
usr.bin/window/ttgeneric.c
206
ttpgoto(gen_ALn, 0, n, gen_LI - tt.tt_row);
usr.bin/window/ttgeneric.c
209
tttputs(gen_AL, gen_LI - tt.tt_row);
usr.bin/window/ttgeneric.c
215
if (tt.tt_modes) /* for concept 100 */
usr.bin/window/ttgeneric.c
218
ttpgoto(gen_DLn, 0, n, gen_LI - tt.tt_row);
usr.bin/window/ttgeneric.c
221
tttputs(gen_DL, gen_LI - tt.tt_row);
usr.bin/window/ttgeneric.c
227
if (tt.tt_insert)
usr.bin/window/ttgeneric.c
229
if (tt.tt_nmodes != tt.tt_modes)
usr.bin/window/ttgeneric.c
230
gen_setmodes(tt.tt_nmodes);
usr.bin/window/ttgeneric.c
232
if (++tt.tt_col == gen_CO) {
usr.bin/window/ttgeneric.c
234
tt.tt_col = tt.tt_row = -10;
usr.bin/window/ttgeneric.c
236
tt.tt_col = 0, tt.tt_row++;
usr.bin/window/ttgeneric.c
238
tt.tt_col--;
usr.bin/window/ttgeneric.c
245
if (tt.tt_insert)
usr.bin/window/ttgeneric.c
247
if (tt.tt_nmodes != tt.tt_modes)
usr.bin/window/ttgeneric.c
248
gen_setmodes(tt.tt_nmodes);
usr.bin/window/ttgeneric.c
250
tt.tt_col += n;
usr.bin/window/ttgeneric.c
251
if (tt.tt_col == gen_CO) {
usr.bin/window/ttgeneric.c
253
tt.tt_col = tt.tt_row = -10;
usr.bin/window/ttgeneric.c
255
tt.tt_col = 0, tt.tt_row++;
usr.bin/window/ttgeneric.c
257
tt.tt_col--;
usr.bin/window/ttgeneric.c
264
if (tt.tt_row == row && tt.tt_col == col)
usr.bin/window/ttgeneric.c
266
if (!gen_MI && tt.tt_insert)
usr.bin/window/ttgeneric.c
268
if (!gen_MS && tt.tt_modes)
usr.bin/window/ttgeneric.c
270
if (row < tt.tt_scroll_top || row > tt.tt_scroll_bot)
usr.bin/window/ttgeneric.c
271
gen_setscroll(0, tt.tt_nrow - 1);
usr.bin/window/ttgeneric.c
272
if (tt.tt_row == row) {
usr.bin/window/ttgeneric.c
277
if (tt.tt_col == col - 1) {
usr.bin/window/ttgeneric.c
282
} else if (tt.tt_col == col + 1) {
usr.bin/window/ttgeneric.c
289
if (tt.tt_col == col) {
usr.bin/window/ttgeneric.c
290
if (tt.tt_row == row + 1) {
usr.bin/window/ttgeneric.c
295
} else if (tt.tt_row == row - 1) {
usr.bin/window/ttgeneric.c
306
tt.tt_col = col;
usr.bin/window/ttgeneric.c
307
tt.tt_row = row;
usr.bin/window/ttgeneric.c
318
tt.tt_col = tt.tt_row = 0;
usr.bin/window/ttgeneric.c
319
tt.tt_insert = 0;
usr.bin/window/ttgeneric.c
320
tt.tt_nmodes = tt.tt_modes = 0;
usr.bin/window/ttgeneric.c
326
if (tt.tt_insert)
usr.bin/window/ttgeneric.c
337
if (tt.tt_modes) /* for concept 100 */
usr.bin/window/ttgeneric.c
339
tttputs(gen_CE, gen_CO - tt.tt_col);
usr.bin/window/ttgeneric.c
345
if (tt.tt_modes) /* for concept 100 */
usr.bin/window/ttgeneric.c
347
tttputs(gen_CD, gen_LI - tt.tt_row);
usr.bin/window/ttgeneric.c
353
if (tt.tt_modes) /* for concept 100 */
usr.bin/window/ttgeneric.c
361
if (!tt.tt_insert)
usr.bin/window/ttgeneric.c
363
if (tt.tt_nmodes != tt.tt_modes)
usr.bin/window/ttgeneric.c
364
gen_setmodes(tt.tt_nmodes);
usr.bin/window/ttgeneric.c
366
tttputs(gen_IC, gen_CO - tt.tt_col);
usr.bin/window/ttgeneric.c
369
tttputs(gen_IP, gen_CO - tt.tt_col);
usr.bin/window/ttgeneric.c
370
if (++tt.tt_col == gen_CO) {
usr.bin/window/ttgeneric.c
372
tt.tt_col = tt.tt_row = -10;
usr.bin/window/ttgeneric.c
374
tt.tt_col = 0, tt.tt_row++;
usr.bin/window/ttgeneric.c
376
tt.tt_col--;
usr.bin/window/ttgeneric.c
384
ttpgoto(gen_ICn, 0, n, gen_CO - tt.tt_col);
usr.bin/window/ttgeneric.c
387
tttputs(gen_IC, gen_CO - tt.tt_col);
usr.bin/window/ttgeneric.c
394
ttpgoto(gen_DCn, 0, n, gen_CO - tt.tt_col);
usr.bin/window/ttgeneric.c
397
tttputs(gen_DC, gen_CO - tt.tt_col);
usr.bin/window/ttgeneric.c
403
gen_move(tt.tt_scroll_bot, 0);
usr.bin/window/ttgeneric.c
414
gen_move(tt.tt_scroll_top, 0);
usr.bin/window/ttgeneric.c
426
tt.tt_scroll_top = top;
usr.bin/window/ttgeneric.c
427
tt.tt_scroll_bot = bot;
usr.bin/window/ttgeneric.c
428
tt.tt_row = tt.tt_col = -10;
usr.bin/window/ttgeneric.c
545
tt.tt_inschar = gen_inschar;
usr.bin/window/ttgeneric.c
547
tt.tt_insspace = gen_insspace;
usr.bin/window/ttgeneric.c
549
tt.tt_delchar = gen_delchar;
usr.bin/window/ttgeneric.c
551
tt.tt_insline = gen_insline;
usr.bin/window/ttgeneric.c
553
tt.tt_delline = gen_delline;
usr.bin/window/ttgeneric.c
555
tt.tt_clreol = gen_clreol;
usr.bin/window/ttgeneric.c
557
tt.tt_clreos = gen_clreos;
usr.bin/window/ttgeneric.c
559
tt.tt_scroll_down = gen_scroll_down;
usr.bin/window/ttgeneric.c
565
tt.tt_scroll_up = gen_scroll_up;
usr.bin/window/ttgeneric.c
567
tt.tt_setscroll = gen_setscroll;
usr.bin/window/ttgeneric.c
569
tt.tt_availmodes |= WWM_REV;
usr.bin/window/ttgeneric.c
571
tt.tt_availmodes |= WWM_UL;
usr.bin/window/ttgeneric.c
573
tt.tt_availmodes |= WWM_GRP;
usr.bin/window/ttgeneric.c
575
tt.tt_availmodes |= WWM_USR;
usr.bin/window/ttgeneric.c
576
tt.tt_wrap = gen_AM;
usr.bin/window/ttgeneric.c
577
tt.tt_retain = gen_DB;
usr.bin/window/ttgeneric.c
578
tt.tt_ncol = gen_CO;
usr.bin/window/ttgeneric.c
579
tt.tt_nrow = gen_LI;
usr.bin/window/ttgeneric.c
580
tt.tt_start = gen_start;
usr.bin/window/ttgeneric.c
581
tt.tt_end = gen_end;
usr.bin/window/ttgeneric.c
582
tt.tt_write = gen_write;
usr.bin/window/ttgeneric.c
583
tt.tt_putc = gen_putc;
usr.bin/window/ttgeneric.c
584
tt.tt_move = gen_move;
usr.bin/window/ttgeneric.c
585
tt.tt_clear = gen_clear;
usr.bin/window/ttgeneric.c
586
tt.tt_setmodes = gen_setmodes;
usr.bin/window/ttgeneric.c
587
tt.tt_frame = gen_AS && ttstrcmp(gen_AS, &ansi_AS) == 0 ?
usr.bin/window/tth19.c
104
tt.tt_modes = new;
usr.bin/window/tth19.c
128
if (tt.tt_nmodes != tt.tt_modes)
usr.bin/window/tth19.c
129
(*tt.tt_setmodes)(tt.tt_nmodes);
usr.bin/window/tth19.c
130
if (tt.tt_insert)
usr.bin/window/tth19.c
133
if (++tt.tt_col == NCOL)
usr.bin/window/tth19.c
134
tt.tt_col = NCOL - 1;
usr.bin/window/tth19.c
140
if (tt.tt_nmodes != tt.tt_modes)
usr.bin/window/tth19.c
141
(*tt.tt_setmodes)(tt.tt_nmodes);
usr.bin/window/tth19.c
142
if (tt.tt_insert)
usr.bin/window/tth19.c
145
tt.tt_col += n;
usr.bin/window/tth19.c
146
if (tt.tt_col == NCOL)
usr.bin/window/tth19.c
147
tt.tt_col = NCOL - 1;
usr.bin/window/tth19.c
153
if (tt.tt_row == row) {
usr.bin/window/tth19.c
154
if (tt.tt_col == col)
usr.bin/window/tth19.c
160
if (tt.tt_col == col - 1) {
usr.bin/window/tth19.c
164
if (tt.tt_col == col + 1) {
usr.bin/window/tth19.c
169
if (tt.tt_col == col) {
usr.bin/window/tth19.c
170
if (tt.tt_row == row + 1) {
usr.bin/window/tth19.c
174
if (tt.tt_row == row - 1) {
usr.bin/window/tth19.c
187
tt.tt_col = col;
usr.bin/window/tth19.c
188
tt.tt_row = row;
usr.bin/window/tth19.c
198
tt.tt_col = tt.tt_row = 0;
usr.bin/window/tth19.c
199
tt.tt_insert = 0;
usr.bin/window/tth19.c
200
tt.tt_nmodes = tt.tt_modes = 0;
usr.bin/window/tth19.c
206
if (tt.tt_insert)
usr.bin/window/tth19.c
234
if (tt.tt_nmodes != tt.tt_modes)
usr.bin/window/tth19.c
235
(*tt.tt_setmodes)(tt.tt_nmodes);
usr.bin/window/tth19.c
236
if (!tt.tt_insert)
usr.bin/window/tth19.c
239
if (tt.tt_insert)
usr.bin/window/tth19.c
241
if (++tt.tt_col == NCOL)
usr.bin/window/tth19.c
242
tt.tt_col = NCOL - 1;
usr.bin/window/tth19.c
277
tt.tt_start = h19_start;
usr.bin/window/tth19.c
278
tt.tt_end = h19_end;
usr.bin/window/tth19.c
280
tt.tt_insline = h19_insline;
usr.bin/window/tth19.c
281
tt.tt_delline = h19_delline;
usr.bin/window/tth19.c
282
tt.tt_inschar = h19_inschar;
usr.bin/window/tth19.c
283
tt.tt_delchar = h19_delchar;
usr.bin/window/tth19.c
284
tt.tt_clreol = h19_clreol;
usr.bin/window/tth19.c
285
tt.tt_clreos = h19_clreos;
usr.bin/window/tth19.c
286
tt.tt_clear = h19_clear;
usr.bin/window/tth19.c
287
tt.tt_move = h19_move;
usr.bin/window/tth19.c
288
tt.tt_write = h19_write;
usr.bin/window/tth19.c
289
tt.tt_putc = h19_putc;
usr.bin/window/tth19.c
290
tt.tt_scroll_down = h19_scroll_down;
usr.bin/window/tth19.c
291
tt.tt_scroll_up = h19_scroll_up;
usr.bin/window/tth19.c
292
tt.tt_setmodes = h19_setmodes;
usr.bin/window/tth19.c
294
tt.tt_ncol = NCOL;
usr.bin/window/tth19.c
295
tt.tt_nrow = NROW;
usr.bin/window/tth19.c
296
tt.tt_availmodes = WWM_REV|WWM_GRP;
usr.bin/window/tth19.c
297
tt.tt_frame = h19_frame;
usr.bin/window/tth19.c
73
#define ICPAD() PAD((NCOL - tt.tt_col) * 1) /* 0.1 ms per char */
usr.bin/window/tth19.c
74
#define ILPAD() PAD((NROW - tt.tt_row) * 10) /* 1 ms per char */
usr.bin/window/tth19.c
76
#define H19_SETINSERT(m) ttesc((tt.tt_insert = (m)) ? '@' : 'O')
usr.bin/window/tth19.c
99
diff = new ^ tt.tt_modes;
usr.bin/window/tth29.c
76
if ((tt.tt_modes & WWM_GRP) == 0)
usr.bin/window/tth29.c
79
if (tt.tt_modes & WWM_GRP)
usr.bin/window/tth29.c
81
tt.tt_modes = new;
usr.bin/window/tth29.c
89
tt.tt_setmodes = h29_setmodes;
usr.bin/window/tth29.c
90
tt.tt_availmodes |= WWM_BLK|WWM_UL|WWM_DIM|WWM_USR;
usr.bin/window/ttinit.c
110
if (wwgetttysize(0, &tt.tt_nrow, &tt.tt_ncol) < 0)
usr.bin/window/ttinit.c
112
tt.tt_scroll_top = 0;
usr.bin/window/ttinit.c
113
tt.tt_scroll_bot = tt.tt_nrow - 1;
usr.bin/window/ttinit.c
41
struct tt tt;
usr.bin/window/ttoutput.c
55
if (tt.tt_checksum)
usr.bin/window/ttoutput.c
56
(*tt.tt_checksum)(tt_ob, n);
usr.bin/window/ttoutput.c
57
if (tt.tt_flush) {
usr.bin/window/ttoutput.c
58
(*tt.tt_flush)();
usr.bin/window/tttvi925.c
57
tt.tt_availmodes |= WWM_GRP;
usr.bin/window/tttvi925.c
58
tt.tt_frame = tvi925_frame;
usr.bin/window/ttwyse60.c
65
tt.tt_availmodes |= WWM_GRP;
usr.bin/window/ttwyse60.c
66
tt.tt_frame = wyse60_frame;
usr.bin/window/ttwyse75.c
65
tt.tt_availmodes |= WWM_GRP;
usr.bin/window/ttwyse75.c
66
tt.tt_frame = wyse75_frame;
usr.bin/window/ttzapple.c
127
if (tt.tt_nmodes != tt.tt_modes)
usr.bin/window/ttzapple.c
128
zz_setmodes(tt.tt_nmodes);
usr.bin/window/ttzapple.c
130
if (++tt.tt_col == NCOL)
usr.bin/window/ttzapple.c
131
tt.tt_col = 0, tt.tt_row++;
usr.bin/window/ttzapple.c
137
if (tt.tt_nmodes != tt.tt_modes)
usr.bin/window/ttzapple.c
138
zz_setmodes(tt.tt_nmodes);
usr.bin/window/ttzapple.c
140
tt.tt_col += n;
usr.bin/window/ttzapple.c
141
if (tt.tt_col == NCOL)
usr.bin/window/ttzapple.c
142
tt.tt_col = 0, tt.tt_row++;
usr.bin/window/ttzapple.c
150
if (tt.tt_row == row) {
usr.bin/window/ttzapple.c
152
if ((x = col - tt.tt_col) == 0)
usr.bin/window/ttzapple.c
182
if (tt.tt_col == col) {
usr.bin/window/ttzapple.c
183
switch (row - tt.tt_row) {
usr.bin/window/ttzapple.c
213
if (row == tt.tt_row + 1) {
usr.bin/window/ttzapple.c
229
if (row == tt.tt_row + 1) {
usr.bin/window/ttzapple.c
233
if (row == tt.tt_row - 1) {
usr.bin/window/ttzapple.c
241
tt.tt_col = col;
usr.bin/window/ttzapple.c
242
tt.tt_row = row;
usr.bin/window/ttzapple.c
266
tt.tt_modes = WWM_REV;
usr.bin/window/ttzapple.c
268
tt.tt_col = tt.tt_row = -10;
usr.bin/window/ttzapple.c
297
tt.tt_col = tt.tt_row = 0;
usr.bin/window/ttzapple.c
326
if (tt.tt_row == NROW - 1)
usr.bin/window/ttzapple.c
353
tt.tt_scroll_top = top;
usr.bin/window/ttzapple.c
354
tt.tt_scroll_bot = bot;
usr.bin/window/ttzapple.c
362
if (tt.tt_nmodes != tt.tt_modes)
usr.bin/window/ttzapple.c
363
zz_setmodes(tt.tt_nmodes);
usr.bin/window/ttzapple.c
369
tt.tt_col += 3;
usr.bin/window/ttzapple.c
381
if (tt.tt_nmodes != tt.tt_modes)
usr.bin/window/ttzapple.c
382
zz_setmodes(tt.tt_nmodes);
usr.bin/window/ttzapple.c
388
tt.tt_col += 3;
usr.bin/window/ttzapple.c
416
tt.tt_ack = 1;
usr.bin/window/ttzapple.c
421
tt.tt_ack = -1;
usr.bin/window/ttzapple.c
463
tt.tt_checksum = 0;
usr.bin/window/ttzapple.c
465
tt.tt_checksum = zz_checksum;
usr.bin/window/ttzapple.c
484
tt.tt_insspace = zz_insspace;
usr.bin/window/ttzapple.c
485
tt.tt_delchar = zz_delchar;
usr.bin/window/ttzapple.c
486
tt.tt_insline = zz_insline;
usr.bin/window/ttzapple.c
487
tt.tt_delline = zz_delline;
usr.bin/window/ttzapple.c
488
tt.tt_clreol = zz_clreol;
usr.bin/window/ttzapple.c
489
tt.tt_clreos = zz_clreos;
usr.bin/window/ttzapple.c
490
tt.tt_scroll_down = zz_scroll_down;
usr.bin/window/ttzapple.c
491
tt.tt_scroll_up = zz_scroll_up;
usr.bin/window/ttzapple.c
492
tt.tt_setscroll = zz_setscroll;
usr.bin/window/ttzapple.c
493
tt.tt_availmodes = WWM_REV;
usr.bin/window/ttzapple.c
494
tt.tt_wrap = 1;
usr.bin/window/ttzapple.c
495
tt.tt_retain = 0;
usr.bin/window/ttzapple.c
496
tt.tt_ncol = NCOL;
usr.bin/window/ttzapple.c
497
tt.tt_nrow = NROW;
usr.bin/window/ttzapple.c
498
tt.tt_start = zz_start;
usr.bin/window/ttzapple.c
499
tt.tt_reset = zz_reset;
usr.bin/window/ttzapple.c
500
tt.tt_end = zz_end;
usr.bin/window/ttzapple.c
501
tt.tt_write = zz_write;
usr.bin/window/ttzapple.c
502
tt.tt_putc = zz_putc;
usr.bin/window/ttzapple.c
503
tt.tt_move = zz_move;
usr.bin/window/ttzapple.c
504
tt.tt_clear = zz_clear;
usr.bin/window/ttzapple.c
505
tt.tt_setmodes = zz_setmodes;
usr.bin/window/ttzapple.c
506
tt.tt_frame = gen_frame;
usr.bin/window/ttzapple.c
507
tt.tt_padc = TT_PADC_NONE;
usr.bin/window/ttzapple.c
508
tt.tt_ntoken = 127;
usr.bin/window/ttzapple.c
509
tt.tt_set_token = zz_set_token;
usr.bin/window/ttzapple.c
510
tt.tt_put_token = zz_put_token;
usr.bin/window/ttzapple.c
511
tt.tt_token_min = 1;
usr.bin/window/ttzapple.c
512
tt.tt_token_max = TOKEN_MAX;
usr.bin/window/ttzapple.c
513
tt.tt_set_token_cost = 2;
usr.bin/window/ttzapple.c
514
tt.tt_put_token_cost = 1;
usr.bin/window/ttzapple.c
515
tt.tt_compress = zz_compress;
usr.bin/window/ttzapple.c
516
tt.tt_checksum = zz_checksum;
usr.bin/window/ttzapple.c
517
tt.tt_checkpoint = zz_checkpoint;
usr.bin/window/ttzapple.c
518
tt.tt_reset = zz_reset;
usr.bin/window/ttzapple.c
519
tt.tt_rint = zz_rint;
usr.bin/window/ttzapple.c
94
if ((tt.tt_modes & WWM_REV) == 0)
usr.bin/window/ttzapple.c
97
if (tt.tt_modes & WWM_REV)
usr.bin/window/ttzapple.c
99
tt.tt_modes = new;
usr.bin/window/ttzentec.c
59
if (tt.tt_availmodes & WWM_GRP)
usr.bin/window/ttzentec.c
60
tt.tt_frame = zentec_frame;
usr.bin/window/wwdelchar.c
109
if (tt.tt_delchar != 0 && nvis > (wwncol - col) / 2) {
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
131
wwdelete1(w, tt, bb, l, ll);
usr.bin/window/wwdelete.c
133
wwdelete1(w, tt, bb, rr, r);
usr.bin/window/wwdelete.c
82
int tt, bb, ll, rr;
usr.bin/window/wwdelete.c
87
tt = MAX(t, w->ww_i.t);
usr.bin/window/wwdelete.c
91
if (tt >= bb || ll >= rr) {
usr.bin/window/wwdelete.c
96
for (i = tt; i < bb; i++) {
usr.bin/window/wwdump.c
106
(*tt.tt_clear)();
usr.bin/window/wwdump.c
108
(*tt.tt_move)(i, 0);
usr.bin/window/wwdump.c
110
tt.tt_nmodes = wwos[i][j].c_m & tt.tt_availmodes;
usr.bin/window/wwdump.c
111
(*tt.tt_putc)(wwns[i][j].c_c);
usr.bin/window/wwdump.c
48
tt.tt_nmodes = 0;
usr.bin/window/wwdump.c
49
(*tt.tt_clear)();
usr.bin/window/wwdump.c
51
(*tt.tt_move)(i, w->ww_i.l);
usr.bin/window/wwdump.c
53
(*tt.tt_putc)(w->ww_win[i][j] & WWM_GLS ? 'G' : ' ');
usr.bin/window/wwdump.c
63
tt.tt_nmodes = 0;
usr.bin/window/wwdump.c
64
(*tt.tt_clear)();
usr.bin/window/wwdump.c
66
(*tt.tt_move)(i, w->ww_i.l);
usr.bin/window/wwdump.c
68
(*tt.tt_write)(buf, strlen(buf));
usr.bin/window/wwdump.c
77
tt.tt_nmodes = 0;
usr.bin/window/wwdump.c
78
(*tt.tt_clear)();
usr.bin/window/wwdump.c
80
(*tt.tt_move)(i, 0);
usr.bin/window/wwdump.c
82
(*tt.tt_putc)(cmap[wwsmap[i][j]]);
usr.bin/window/wwdump.c
91
(*tt.tt_clear)();
usr.bin/window/wwdump.c
93
(*tt.tt_move)(i, 0);
usr.bin/window/wwdump.c
95
tt.tt_nmodes = wwns[i][j].c_m & tt.tt_availmodes;
usr.bin/window/wwdump.c
96
(*tt.tt_putc)(wwns[i][j].c_c);
usr.bin/window/wwend.c
45
if (tt.tt_checkpoint) {
usr.bin/window/wwflush.c
73
tt.tt_ack = 0;
usr.bin/window/wwflush.c
75
(*tt.tt_checkpoint)();
usr.bin/window/wwflush.c
80
for (wwdocheckpoint = 0; !wwdocheckpoint && tt.tt_ack == 0;)
usr.bin/window/wwflush.c
82
} while (tt.tt_ack == 0);
usr.bin/window/wwflush.c
85
if (tt.tt_ack < 0) {
usr.bin/window/wwframe.c
231
frame = tt.tt_frame[code & WWF_MASK];
usr.bin/window/wwinit.c
207
wwnrow = tt.tt_nrow;
usr.bin/window/wwinit.c
208
wwncol = tt.tt_ncol;
usr.bin/window/wwinit.c
209
wwavailmodes = tt.tt_availmodes;
usr.bin/window/wwinit.c
210
wwwrap = tt.tt_wrap;
usr.bin/window/wwinit.c
242
if (tt.tt_checkpoint) {
usr.bin/window/wwinit.c
280
if ((tt.tt_insline && tt.tt_delline) || tt.tt_setscroll)
usr.bin/window/wwinit.c
282
if (tt.tt_inschar)
usr.bin/window/wwinit.c
284
if (tt.tt_insspace)
usr.bin/window/wwinit.c
286
if (tt.tt_delchar)
usr.bin/window/wwinit.c
318
if (tt.tt_checkpoint)
usr.bin/window/wwinit.c
388
if (tt.tt_checkpoint)
usr.bin/window/wwinit.c
392
if (tt.tt_checkpoint)
usr.bin/window/wwinschar.c
110
if ((tt.tt_inschar || tt.tt_insspace) && nvis > (wwncol - col) / 2) {
usr.bin/window/wwinschar.c
113
if (tt.tt_inschar)
usr.bin/window/wwrint.c
58
if (tt.tt_rint)
usr.bin/window/wwrint.c
59
n = (*tt.tt_rint)(wwibq, n);
usr.bin/window/wwrint.c
67
if (tt.tt_checkpoint && !wwdocheckpoint)
usr.bin/window/wwscroll.c
114
if ((dir > 0 ? tt.tt_scroll_down == 0 : tt.tt_scroll_up == 0) ||
usr.bin/window/wwscroll.c
115
((tt.tt_scroll_top != row1x || tt.tt_scroll_bot != row2x - 1) &&
usr.bin/window/wwscroll.c
116
tt.tt_setscroll == 0))
usr.bin/window/wwscroll.c
117
if (tt.tt_delline == 0 || tt.tt_insline == 0)
usr.bin/window/wwupdate.c
150
if (tt.tt_clreol != 0 && u->best_gain > 4)
usr.bin/window/wwupdate.c
153
if (tt.tt_clreos == 0) {
usr.bin/window/wwupdate.c
195
if (tt.tt_clreol != 0 && upd->best_gain > 4) {
usr.bin/window/wwupdate.c
241
else if (tt.tt_inschar || tt.tt_insspace) {
usr.bin/window/wwupdate.c
249
if (tt.tt_inschar)
usr.bin/window/wwupdate.c
63
(tt.tt_clreos != 0 || tt.tt_clear != 0)) {
usr.bin/window/wwupdate.c
64
int st = tt.tt_clreos != 0 ? scan_top : 0;
usr.bin/window/wwupdate.c
83
if (tt.tt_clreol == 0 && !check_clreos)
usr.bin/window/xx.c
100
if (tt.tt_modes)
usr.bin/window/xx.c
101
(*tt.tt_setmodes)(0);
usr.bin/window/xx.c
102
if (tt.tt_scroll_down)
usr.bin/window/xx.c
103
(*tt.tt_scroll_down)(1);
usr.bin/window/xx.c
104
(*tt.tt_move)(tt.tt_nrow - 1, 0);
usr.bin/window/xx.c
105
if (tt.tt_ntoken > 0)
usr.bin/window/xx.c
107
(*tt.tt_end)();
usr.bin/window/xx.c
49
xxbufsize = tt.tt_nrow * tt.tt_ncol * 2;
usr.bin/window/xx.c
51
if (tt.tt_ntoken > 0 && ccinit() < 0)
usr.bin/window/xx.c
66
(*tt.tt_start)();
usr.bin/window/xx.c
67
if (tt.tt_ntoken > 0)
usr.bin/window/xx.c
75
if (tt.tt_ntoken > 0)
usr.bin/window/xx.c
78
(*tt.tt_reset)();
usr.bin/window/xx.c
97
if (tt.tt_scroll_top != 0 || tt.tt_scroll_bot != tt.tt_nrow - 1)
usr.bin/window/xx.c
99
(*tt.tt_setscroll)(0, tt.tt_nrow - 1);
usr.bin/window/xxflush.c
152
if (tt.tt_scroll_down) {
usr.bin/window/xxflush.c
153
if (tt.tt_scroll_top != xp->arg1 ||
usr.bin/window/xxflush.c
154
tt.tt_scroll_bot != xp->arg2 - 1) {
usr.bin/window/xxflush.c
155
if (tt.tt_setscroll == 0)
usr.bin/window/xxflush.c
157
(*tt.tt_setscroll)(xp->arg1, xp->arg2 - 1);
usr.bin/window/xxflush.c
159
tt.tt_scroll_down(xp->arg0);
usr.bin/window/xxflush.c
162
(*tt.tt_move)(xp->arg1, 0);
usr.bin/window/xxflush.c
163
(*tt.tt_delline)(xp->arg0);
usr.bin/window/xxflush.c
164
if (xp->arg2 < tt.tt_nrow) {
usr.bin/window/xxflush.c
165
(*tt.tt_move)(xp->arg2 - xp->arg0, 0);
usr.bin/window/xxflush.c
166
(*tt.tt_insline)(xp->arg0);
usr.bin/window/xxflush.c
173
if (tt.tt_scroll_up) {
usr.bin/window/xxflush.c
174
if (tt.tt_scroll_top != xp->arg1 ||
usr.bin/window/xxflush.c
175
tt.tt_scroll_bot != xp->arg2 - 1) {
usr.bin/window/xxflush.c
176
if (tt.tt_setscroll == 0)
usr.bin/window/xxflush.c
178
(*tt.tt_setscroll)(xp->arg1, xp->arg2 - 1);
usr.bin/window/xxflush.c
180
tt.tt_scroll_up(xp->arg0);
usr.bin/window/xxflush.c
183
if (tt.tt_retain || xp->arg2 != tt.tt_nrow) {
usr.bin/window/xxflush.c
184
(*tt.tt_move)(xp->arg2 - xp->arg0, 0);
usr.bin/window/xxflush.c
185
(*tt.tt_delline)(xp->arg0);
usr.bin/window/xxflush.c
187
(*tt.tt_move)(xp->arg1, 0);
usr.bin/window/xxflush.c
188
(*tt.tt_insline)(xp->arg0);
usr.bin/window/xxflush.c
49
(*tt.tt_move)(xp->arg0, xp->arg1);
usr.bin/window/xxflush.c
55
(*tt.tt_move)(xp->arg0, xp->arg1);
usr.bin/window/xxflush.c
56
tt.tt_nmodes = xp->arg3;
usr.bin/window/xxflush.c
57
(*tt.tt_inschar)(xp->arg2);
usr.bin/window/xxflush.c
60
(*tt.tt_move)(xp->arg0, xp->arg1);
usr.bin/window/xxflush.c
61
(*tt.tt_insspace)(xp->arg2);
usr.bin/window/xxflush.c
64
(*tt.tt_move)(xp->arg0, xp->arg1);
usr.bin/window/xxflush.c
65
(*tt.tt_delchar)(xp->arg2);
usr.bin/window/xxflush.c
68
(*tt.tt_clear)();
usr.bin/window/xxflush.c
71
(*tt.tt_move)(xp->arg0, xp->arg1);
usr.bin/window/xxflush.c
72
(*tt.tt_clreos)();
usr.bin/window/xxflush.c
75
(*tt.tt_move)(xp->arg0, xp->arg1);
usr.bin/window/xxflush.c
76
(*tt.tt_clreol)();
usr.bin/window/xxflush.c
79
(*tt.tt_move)(xp->arg0, xp->arg1);
usr.bin/window/xxflush.c
80
tt.tt_nmodes = xp->arg3;
usr.bin/window/xxflush.c
81
(*tt.tt_write)(xp->buf, xp->arg2);