Home
last modified time | relevance | path

Searched refs:tt (Results 1 – 25 of 136) sorted by relevance

123456

/dragonfly/usr.bin/window/
H A Dtth19.c128 if (tt.tt_nmodes != tt.tt_modes) in h19_putc()
129 (*tt.tt_setmodes)(tt.tt_nmodes); in h19_putc()
140 if (tt.tt_nmodes != tt.tt_modes) in h19_write()
141 (*tt.tt_setmodes)(tt.tt_nmodes); in h19_write()
145 tt.tt_col += n; in h19_write()
187 tt.tt_col = col; in h19_move()
188 tt.tt_row = row; in h19_move()
198 tt.tt_col = tt.tt_row = 0; in h19_start()
200 tt.tt_nmodes = tt.tt_modes = 0; in h19_start()
234 if (tt.tt_nmodes != tt.tt_modes) in h19_inschar()
[all …]
H A Dttzapple.c127 if (tt.tt_nmodes != tt.tt_modes) in zz_putc()
131 tt.tt_col = 0, tt.tt_row++; in zz_putc()
137 if (tt.tt_nmodes != tt.tt_modes) in zz_write()
140 tt.tt_col += n; in zz_write()
142 tt.tt_col = 0, tt.tt_row++; in zz_write()
241 tt.tt_col = col; in zz_move()
268 tt.tt_col = tt.tt_row = -10; in zz_reset()
297 tt.tt_col = tt.tt_row = 0; in zz_clear()
362 if (tt.tt_nmodes != tt.tt_modes) in zz_set_token()
381 if (tt.tt_nmodes != tt.tt_modes) in zz_put_token()
[all …]
H A Dttgeneric.c229 if (tt.tt_nmodes != tt.tt_modes) in gen_putc()
234 tt.tt_col = tt.tt_row = -10; in gen_putc()
236 tt.tt_col = 0, tt.tt_row++; in gen_putc()
247 if (tt.tt_nmodes != tt.tt_modes) in gen_write()
253 tt.tt_col = tt.tt_row = -10; in gen_write()
255 tt.tt_col = 0, tt.tt_row++; in gen_write()
318 tt.tt_col = tt.tt_row = 0; in gen_start()
320 tt.tt_nmodes = tt.tt_modes = 0; in gen_start()
372 tt.tt_col = tt.tt_row = -10; in gen_inschar()
374 tt.tt_col = 0, tt.tt_row++; in gen_inschar()
[all …]
H A Dxxflush.c56 tt.tt_nmodes = xp->arg3; in xxflush()
57 (*tt.tt_inschar)(xp->arg2); in xxflush()
65 (*tt.tt_delchar)(xp->arg2); in xxflush()
68 (*tt.tt_clear)(); in xxflush()
72 (*tt.tt_clreos)(); in xxflush()
76 (*tt.tt_clreol)(); in xxflush()
80 tt.tt_nmodes = xp->arg3; in xxflush()
152 if (tt.tt_scroll_down) { in xxflush_scroll()
155 if (tt.tt_setscroll == 0) in xxflush_scroll()
173 if (tt.tt_scroll_up) { in xxflush_scroll()
[all …]
H A Dwwdump.c48 tt.tt_nmodes = 0; in wwdumpwin()
49 (*tt.tt_clear)(); in wwdumpwin()
63 tt.tt_nmodes = 0; in wwdumpnvis()
64 (*tt.tt_clear)(); in wwdumpnvis()
77 tt.tt_nmodes = 0; in wwdumpsmap()
78 (*tt.tt_clear)(); in wwdumpsmap()
80 (*tt.tt_move)(i, 0); in wwdumpsmap()
91 (*tt.tt_clear)(); in wwdumpns()
95 tt.tt_nmodes = wwns[i][j].c_m & tt.tt_availmodes; in wwdumpns()
106 (*tt.tt_clear)(); in wwdumpos()
[all …]
H A Dxx.c49 xxbufsize = tt.tt_nrow * tt.tt_ncol * 2; in xxinit()
66 (*tt.tt_start)(); in xxstart()
67 if (tt.tt_ntoken > 0) in xxstart()
75 if (tt.tt_ntoken > 0) in xxreset()
78 (*tt.tt_reset)(); in xxreset()
97 if (tt.tt_scroll_top != 0 || tt.tt_scroll_bot != tt.tt_nrow - 1) in xxend()
99 (*tt.tt_setscroll)(0, tt.tt_nrow - 1); in xxend()
100 if (tt.tt_modes) in xxend()
104 (*tt.tt_move)(tt.tt_nrow - 1, 0); in xxend()
105 if (tt.tt_ntoken > 0) in xxend()
[all …]
H A Dcompress.c183 if (tt.tt_token_min > tt.tt_token_max) { in ccinit()
184 tt.tt_ntoken = 0; in ccinit()
236 ((tt.tt_set_token_cost + tt.tt_put_token_cost) / i + in ccinit()
253 (cc_ntoken + tt.tt_token_max - tt.tt_token_min + 1) * in ccinit()
259 for (i = tt.tt_token_min; i <= tt.tt_token_max; i++) in ccinit()
303 tt.tt_flush = ccflush; in ccstart()
330 tt.tt_flush = 0; in ccend()
349 tt.tt_flush = 0; in ccflush()
350 (*tt.tt_compress)(1); in ccflush()
366 (*tt.tt_compress)(0); in ccflush()
[all …]
H A Dttinit.c41 struct tt tt; variable
110 if (wwgetttysize(0, &tt.tt_nrow, &tt.tt_ncol) < 0) in ttinit()
112 tt.tt_scroll_top = 0; in ttinit()
113 tt.tt_scroll_bot = tt.tt_nrow - 1; in ttinit()
H A Dwwinit.c207 wwnrow = tt.tt_nrow; in wwinit()
208 wwncol = tt.tt_ncol; in wwinit()
210 wwwrap = tt.tt_wrap; in wwinit()
242 if (tt.tt_checkpoint) { in wwinit()
280 if ((tt.tt_insline && tt.tt_delline) || tt.tt_setscroll) in wwinit()
282 if (tt.tt_inschar) in wwinit()
284 if (tt.tt_insspace) in wwinit()
286 if (tt.tt_delchar) in wwinit()
318 if (tt.tt_checkpoint) in wwinit()
388 if (tt.tt_checkpoint) in wwstart1()
[all …]
H A Dwwdelete.c82 int tt, bb, ll, rr; in wwdelete1() local
87 tt = MAX(t, w->ww_i.t); in wwdelete1()
91 if (tt >= bb || ll >= rr) { in wwdelete1()
96 for (i = tt; i < bb; i++) { in wwdelete1()
126 if (tt > t) in wwdelete1()
127 wwdelete1(w, t, tt, l, r); in wwdelete1()
131 wwdelete1(w, tt, bb, l, ll); in wwdelete1()
133 wwdelete1(w, tt, bb, rr, r); in wwdelete1()
H A Dwwupdate.c63 (tt.tt_clreos != 0 || tt.tt_clear != 0)) { in wwupdate1()
64 int st = tt.tt_clreos != 0 ? scan_top : 0; in wwupdate1()
83 if (tt.tt_clreol == 0 && !check_clreos) in wwupdate1()
150 if (tt.tt_clreol != 0 && u->best_gain > 4) in wwupdate1()
153 if (tt.tt_clreos == 0) { in wwupdate1()
195 if (tt.tt_clreol != 0 && upd->best_gain > 4) { in wwupdate1()
241 else if (tt.tt_inschar || tt.tt_insspace) { in wwupdate1()
249 if (tt.tt_inschar) in wwupdate1()
H A Dtth29.c76 if ((tt.tt_modes & WWM_GRP) == 0) in h29_setmodes()
79 if (tt.tt_modes & WWM_GRP) in h29_setmodes()
81 tt.tt_modes = new; in h29_setmodes()
89 tt.tt_setmodes = h29_setmodes; in tt_h29()
90 tt.tt_availmodes |= WWM_BLK|WWM_UL|WWM_DIM|WWM_USR; in tt_h29()
/dragonfly/sys/net/
H A Dradix.c532 return (tt); in rn_insert()
749 for (t = tt; tt != NULL; t = tt, tt = tt->rn_dupedkey) { in rn_addroute()
776 tt->rn_dupedkey->rn_parent = tt; /* parent */ in rn_addroute()
783 tt->rn_twin = tt + 1; in rn_addroute()
864 return (tt); in rn_addroute()
870 return (tt); in rn_addroute()
885 saved_tt = tt; in rn_delete()
901 if ((tt = tt->rn_dupedkey) == NULL) in rn_delete()
984 t = tt + 1; in rn_delete()
1047 x = tt + 1; in rn_delete()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/c-family/
H A Dc-ubsan.c42 tree t, tt; in ubsan_instrument_division() local
104 tt = build_call_expr_loc (loc, tt, 3, data, ubsan_encode_value (op0), in ubsan_instrument_division()
150 tt = fold_build2 (RSHIFT_EXPR, TREE_TYPE (tt), tt, x); in ubsan_instrument_shift()
151 tt = fold_build2 (NE_EXPR, boolean_type_node, tt, in ubsan_instrument_shift()
164 tt = fold_build2 (RSHIFT_EXPR, TREE_TYPE (tt), tt, x); in ubsan_instrument_shift()
165 tt = fold_build2 (GT_EXPR, boolean_type_node, tt, in ubsan_instrument_shift()
169 tt = fold_build2 (TRUTH_OR_EXPR, boolean_type_node, x, tt); in ubsan_instrument_shift()
174 if (integer_zerop (t) && (tt == NULL_TREE || integer_zerop (tt))) in ubsan_instrument_shift()
184 if (tt) in ubsan_instrument_shift()
199 else_t = tt; in ubsan_instrument_shift()
[all …]
/dragonfly/contrib/lvm2/dist/libdm/regex/
H A Dttree.c51 void *ttree_lookup(struct ttree *tt, unsigned *key) in ttree_lookup() argument
53 struct node **c = &tt->root; in ttree_lookup()
54 int count = tt->klen; in ttree_lookup()
76 struct node **c = &tt->root; in ttree_insert()
77 int count = tt->klen; in ttree_insert()
91 if (!(*c = _tree_node(tt->mem, k))) { in ttree_insert()
109 struct ttree *tt; in ttree_create() local
111 if (!(tt = dm_pool_zalloc(mem, sizeof(*tt)))) { in ttree_create()
116 tt->klen = klen; in ttree_create()
117 tt->mem = mem; in ttree_create()
[all …]
/dragonfly/crypto/libressl/crypto/asn1/
H A Dtasn_new.c94 const ASN1_TEMPLATE *tt = NULL; in asn1_item_ex_new() local
160 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in asn1_item_ex_new()
161 pseqval = asn1_get_field_ptr(pval, tt); in asn1_item_ex_new()
162 if (!ASN1_template_new(pseqval, tt)) in asn1_item_ex_new()
218 const ASN1_ITEM *it = tt->item; in ASN1_template_new()
221 if (tt->flags & ASN1_TFLG_OPTIONAL) { in ASN1_template_new()
222 asn1_template_clear(pval, tt); in ASN1_template_new()
227 if (tt->flags & ASN1_TFLG_ADB_MASK) { in ASN1_template_new()
232 if (tt->flags & ASN1_TFLG_SK_MASK) { in ASN1_template_new()
254 if (tt->flags & (ASN1_TFLG_ADB_MASK|ASN1_TFLG_SK_MASK)) in asn1_template_clear()
[all …]
H A Dtasn_fre.c86 const ASN1_TEMPLATE *tt = NULL, *seqtt; in asn1_item_free() local
122 tt = it->templates + i; in asn1_item_free()
123 pchval = asn1_get_field_ptr(pval, tt); in asn1_item_free()
124 ASN1_template_free(pchval, tt); in asn1_item_free()
153 tt = it->templates + it->tcount - 1; in asn1_item_free()
154 for (i = 0; i < it->tcount; tt--, i++) { in asn1_item_free()
156 seqtt = asn1_do_adb(pval, tt, 0); in asn1_item_free()
171 ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in ASN1_template_free() argument
174 if (tt->flags & ASN1_TFLG_SK_MASK) { in ASN1_template_free()
179 asn1_item_free(&vtmp, tt->item); in ASN1_template_free()
[all …]
H A Dtasn_enc.c136 const ASN1_TEMPLATE *tt = NULL; in ASN1_item_ex_i2d() local
226 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in ASN1_item_ex_i2d()
229 seqtt = asn1_do_adb(pval, tt, 1); in ASN1_item_ex_i2d()
243 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in ASN1_item_ex_i2d()
246 seqtt = asn1_do_adb(pval, tt, 1); in ASN1_item_ex_i2d()
268 const ASN1_TEMPLATE *tt) in ASN1_template_i2d() argument
278 flags = tt->flags; in asn1_template_ex_i2d()
291 ttag = tt->tag; in asn1_template_ex_i2d()
354 tt->item, -1, iclass); in asn1_template_ex_i2d()
387 i = ASN1_item_ex_i2d(pval, NULL, tt->item, in asn1_template_ex_i2d()
[all …]
H A Dtasn_prn.c170 const ASN1_TEMPLATE *tt, const ASN1_PCTX *pctx);
199 const ASN1_TEMPLATE *tt; in asn1_item_print_ctx() local
269 tt = it->templates + i; in asn1_item_print_ctx()
270 tmpfld = asn1_get_field_ptr(fld, tt); in asn1_item_print_ctx()
299 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_print_ctx()
302 seqtt = asn1_do_adb(fld, tt, 1); in asn1_item_print_ctx()
337 flags = tt->flags; in asn1_template_print_ctx()
339 sname = tt->item->sname; in asn1_template_print_ctx()
345 fname = tt->field_name; in asn1_template_print_ctx()
359 indent, "", tname, tt->field_name) <= 0) in asn1_template_print_ctx()
[all …]
H A Dtasn_utl.c225 asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in asn1_get_field_ptr() argument
229 pvaltmp = offset2ptr(*pval, tt->offset); in asn1_get_field_ptr()
242 asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr) in asn1_do_adb() argument
250 if (!(tt->flags & ASN1_TFLG_ADB_MASK)) in asn1_do_adb()
251 return tt; in asn1_do_adb()
254 adb = (const ASN1_ADB *)tt->item; in asn1_do_adb()
270 if (tt->flags & ASN1_TFLG_ADB_OID) in asn1_do_adb()
285 return &atbl->tt; in asn1_do_adb()
/dragonfly/lib/libc/isc/
H A Dev_timers.c359 idle_timer *tt; in evSetIdleTimer() local
362 OKNEW(tt); in evSetIdleTimer()
363 tt->func = func; in evSetIdleTimer()
364 tt->uap = uap; in evSetIdleTimer()
366 tt->max_idle = max_idle; in evSetIdleTimer()
371 FREE(tt); in evSetIdleTimer()
385 FREE(tt); in evClearIdleTimer()
400 tt->func = func; in evResetIdleTimer()
401 tt->uap = uap; in evResetIdleTimer()
403 tt->max_idle = max_idle; in evResetIdleTimer()
[all …]
/dragonfly/contrib/mpfr/src/
H A Dlog10.c96 mpfr_t t, tt; in mpfr_log10() local
109 mpfr_init2 (tt, Nt); in mpfr_log10()
118 mpfr_log (tt, a, MPFR_RNDN); /* log(a) */ in mpfr_log10()
119 mpfr_div (t, tt, t, MPFR_RNDN); /* log(a)/log(10) */ in mpfr_log10()
131 && !mpfr_ui_pow_ui (tt, 10, mpfr_get_ui (t, MPFR_RNDN), MPFR_RNDN) in mpfr_log10()
132 && mpfr_cmp (a, tt) == 0) in mpfr_log10()
138 mpfr_set_prec (tt, Nt); in mpfr_log10()
145 mpfr_clear (tt); in mpfr_log10()
H A Dlog2.c98 mpfr_t t, tt; in mpfr_log2() local
111 mpfr_init2 (tt, Nt); in mpfr_log2()
119 mpfr_log(tt,a,MPFR_RNDN); /* log(a) */ in mpfr_log2()
120 mpfr_div(t,tt,t,MPFR_RNDN); /* log(a)/log(2) */ in mpfr_log2()
130 mpfr_set_prec (tt, Nt); in mpfr_log2()
137 mpfr_clear (tt); in mpfr_log2()
/dragonfly/lib/libutil/
H A Dlogin_times.c109 in_ltm(const login_time_t *ltm, struct tm *tt, time_t *ends) in in_ltm() argument
113 if (tt != NULL) { in in_ltm()
115 if ((u_char)(0x01 << tt->tm_wday) & ltm->lt_dow) { in in_ltm()
117 u_short now = (u_short)((tt->tm_hour * 60) + tt->tm_min); in in_ltm()
119 if (tt->tm_sec > 30) in in_ltm()
125 tt->tm_hour = (int)(ltm->lt_end / 60); in in_ltm()
126 tt->tm_min = (int)(ltm->lt_end % 60); in in_ltm()
127 *ends = mktime(tt); in in_ltm()
/dragonfly/sys/dev/drm/ttm/
H A Dttm_page_alloc.c943 r = ttm_pool_populate(&tt->ttm, ctx); in ttm_populate_and_map_pages()
948 struct page *p = tt->ttm.pages[i]; in ttm_populate_and_map_pages()
952 if (++p != tt->ttm.pages[j]) in ttm_populate_and_map_pages()
958 tt->dma_address[i] = dma_map_page(dev, tt->ttm.pages[i], in ttm_populate_and_map_pages()
965 tt->dma_address[i] = 0; in ttm_populate_and_map_pages()
967 ttm_pool_unpopulate(&tt->ttm); in ttm_populate_and_map_pages()
972 tt->dma_address[i + 1] = tt->dma_address[i] + PAGE_SIZE; in ttm_populate_and_map_pages()
985 struct page *p = tt->ttm.pages[i]; in ttm_unmap_and_unpopulate_pages()
988 if (!tt->dma_address[i] || !tt->ttm.pages[i]) { in ttm_unmap_and_unpopulate_pages()
994 if (++p != tt->ttm.pages[j]) in ttm_unmap_and_unpopulate_pages()
[all …]

123456