Home
last modified time | relevance | path

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

12345

/mirbsd/src/usr.bin/window/
Dtth19.c81 #define ICPAD() PAD((NCOL - tt.tt_col) * 1) /* 0.1 ms per char */
82 #define ILPAD() PAD((NROW - tt.tt_row) * 10) /* 1 ms per char */
84 #define H19_SETINSERT(m) ttesc((tt.tt_insert = (m)) ? '@' : 'O')
91 diff = new ^ tt.tt_modes;
96 tt.tt_modes = new;
118 if (tt.tt_nmodes != tt.tt_modes)
119 (*tt.tt_setmodes)(tt.tt_nmodes);
120 if (tt.tt_insert)
123 if (++tt.tt_col == NCOL)
124 tt.tt_col = NCOL - 1;
[all …]
Dttzapple.c76 if ((tt.tt_modes & WWM_REV) == 0) in zz_setmodes()
79 if (tt.tt_modes & WWM_REV) in zz_setmodes()
81 tt.tt_modes = new; in zz_setmodes()
107 if (tt.tt_nmodes != tt.tt_modes)
108 zz_setmodes(tt.tt_nmodes);
110 if (++tt.tt_col == NCOL)
111 tt.tt_col = 0, tt.tt_row++;
118 if (tt.tt_nmodes != tt.tt_modes)
119 zz_setmodes(tt.tt_nmodes);
121 tt.tt_col += n;
[all …]
Dttgeneric.c137 tt.tt_insert = new;
145 diff = new ^ tt.tt_modes;
178 tt.tt_modes = new;
183 if (tt.tt_modes) /* for concept 100 */ in gen_insline()
186 ttpgoto(gen_ALn, 0, n, gen_LI - tt.tt_row); in gen_insline()
189 tttputs(gen_AL, gen_LI - tt.tt_row); in gen_insline()
194 if (tt.tt_modes) /* for concept 100 */ in gen_delline()
197 ttpgoto(gen_DLn, 0, n, gen_LI - tt.tt_row); in gen_delline()
200 tttputs(gen_DL, gen_LI - tt.tt_row); in gen_delline()
206 if (tt.tt_insert)
[all …]
Dxxflush.c57 (*tt.tt_move)(xp->arg0, xp->arg1);
63 (*tt.tt_move)(xp->arg0, xp->arg1);
64 tt.tt_nmodes = xp->arg3;
65 (*tt.tt_inschar)(xp->arg2);
68 (*tt.tt_move)(xp->arg0, xp->arg1);
69 (*tt.tt_insspace)(xp->arg2);
72 (*tt.tt_move)(xp->arg0, xp->arg1);
73 (*tt.tt_delchar)(xp->arg2);
76 (*tt.tt_clear)();
79 (*tt.tt_move)(xp->arg0, xp->arg1);
[all …]
Dwwdump.c56 tt.tt_nmodes = 0;
57 (*tt.tt_clear)();
59 (*tt.tt_move)(i, w->ww_i.l);
61 (*tt.tt_putc)(w->ww_win[i][j] & WWM_GLS ? 'G' : ' ');
71 tt.tt_nmodes = 0;
72 (*tt.tt_clear)();
74 (*tt.tt_move)(i, w->ww_i.l);
76 (*tt.tt_write)(buf, strlen(buf));
84 tt.tt_nmodes = 0; in wwdumpsmap()
85 (*tt.tt_clear)(); in wwdumpsmap()
[all …]
Dxx.c54 xxbufsize = tt.tt_nrow * tt.tt_ncol * 2; in xxinit()
56 if (tt.tt_ntoken > 0 && ccinit() < 0) in xxinit()
70 (*tt.tt_start)(); in xxstart()
71 if (tt.tt_ntoken > 0) in xxstart()
78 if (tt.tt_ntoken > 0) in xxreset()
81 (*tt.tt_reset)(); in xxreset()
98 if (tt.tt_scroll_top != 0 || tt.tt_scroll_bot != tt.tt_nrow - 1) in xxend()
100 (*tt.tt_setscroll)(0, tt.tt_nrow - 1); in xxend()
101 if (tt.tt_modes) in xxend()
102 (*tt.tt_setmodes)(0); in xxend()
[all …]
Dcompress.c112 #define put_token_score(length) ((length) - tt.tt_put_token_cost)
121 (score) -= length - tt.tt_put_token_cost; \
176 if (tt.tt_token_max > cc_token_max) in ccinit()
177 tt.tt_token_max = cc_token_max; in ccinit()
178 if (tt.tt_token_min < cc_token_min) in ccinit()
179 tt.tt_token_min = cc_token_min; in ccinit()
180 if (tt.tt_token_min > tt.tt_token_max) { in ccinit()
181 tt.tt_ntoken = 0; in ccinit()
184 if (tt.tt_ntoken > cc_ntoken / 2) /* not likely */ in ccinit()
185 tt.tt_ntoken = cc_ntoken / 2; in ccinit()
[all …]
Dwwinit.c213 wwnrow = tt.tt_nrow; in wwinit()
214 wwncol = tt.tt_ncol; in wwinit()
215 wwavailmodes = tt.tt_availmodes; in wwinit()
216 wwwrap = tt.tt_wrap; in wwinit()
248 if (tt.tt_checkpoint) { in wwinit()
292 if (tt.tt_insline && tt.tt_delline || tt.tt_setscroll) in wwinit()
295 if (tt.tt_inschar) in wwinit()
298 if (tt.tt_insspace) in wwinit()
301 if (tt.tt_delchar) in wwinit()
337 if (tt.tt_checkpoint) in wwinit()
[all …]
Dwwdelete.c90 int tt, bb, ll, rr; variable
95 tt = MAX(t, w->ww_i.t);
99 if (tt >= bb || ll >= rr) {
104 for (i = tt; i < bb; i++) {
134 if (tt > t)
135 wwdelete1(w, t, tt, l, r);
139 wwdelete1(w, tt, bb, l, ll);
141 wwdelete1(w, tt, bb, rr, r);
/mirbsd/src/sys/net/
Dradix.c327 struct radix_node *tt = nodes, *t = tt + 1; local
330 t->rn_l = tt;
332 tt->rn_b = -1;
333 tt->rn_key = (caddr_t)v;
334 tt->rn_p = t;
335 tt->rn_flags = t->rn_flags = RNF_ACTIVE;
337 tt->rn_info = rn_nodenum++;
339 tt->rn_twin = t;
340 tt->rn_ybro = rn_clist;
341 rn_clist = tt;
[all …]
/mirbsd/src/sbin/routed/
Dradix.c323 struct radix_node *tt = nodes, *t = tt + 1; local
326 t->rn_l = tt;
328 tt->rn_b = -1;
329 tt->rn_key = (caddr_t)v;
330 tt->rn_p = t;
331 tt->rn_flags = t->rn_flags = RNF_ACTIVE;
333 tt->rn_info = rn_nodenum++;
335 tt->rn_twin = t;
336 tt->rn_ybro = rn_clist;
337 rn_clist = tt;
[all …]
/mirbsd/src/lib/libpthread/thread/
Dthread_tag.c38 struct _thread_tag *tt; in _thread_tag_init() local
44 tt = malloc(sizeof *tt); in _thread_tag_init()
45 if (tt != NULL) { in _thread_tag_init()
46 result = pthread_mutex_init(&tt->m, NULL); in _thread_tag_init()
47 result |= pthread_key_create(&tt->k, free); in _thread_tag_init()
48 *tag = tt; in _thread_tag_init()
63 struct _thread_tag *tt; in _thread_tag_lock() local
68 tt = *tag; in _thread_tag_lock()
69 if (pthread_mutex_lock(&tt->m) != 0) in _thread_tag_lock()
80 struct _thread_tag *tt; in _thread_tag_unlock() local
[all …]
/mirbsd/src/sys/lib/libsa/
Dctime.c48 time_t tt = *clock; in ctime() local
50 ss = tt % 60; in ctime()
51 tt /= 60; /* minutes */ in ctime()
52 mm = tt % 60; in ctime()
53 tt /= 60; /* hours */ in ctime()
54 hh = tt % 24; in ctime()
55 tt /= 24; /* days */ in ctime()
56 wday = (4 + tt) % 7; /* weekday, 'twas thursday when time started */ in ctime()
58 for (year = 1970; tt >= 365; year++) in ctime()
59 tt -= isleap(year)? 366: 365; in ctime()
[all …]
/mirbsd/src/lib/libssl/src/crypto/des/asm/
Ddes686.pl194 local($a,$b,$tt,$shift,$mask)=@_;
196 &mov( $tt, $a );
197 &shr( $tt, $shift );
198 &xor( $tt, $b );
199 &and( $tt, $mask );
200 &xor( $b, $tt );
201 &shl( $tt, $shift );
202 &xor( $a, $tt );
207 local($l,$r,$tt)=@_;
209 &PERM_OP($r,$l,$tt, 4,"0x0f0f0f0f");
[all …]
Dcrypt586.pl141 local($a,$b,$tt,$shift,$mask,$last)=@_;
144 &mov( $tt, $a );
150 &xor( $tt, $a );
154 &xor( $tt, $a );
162 local($l,$r,$tt,$lr)=@_;
164 &R_PERM_OP($l,$r,$tt, 4,"0xf0f0f0f0",$l);
165 &R_PERM_OP($r,$tt,$l,20,"0xfff0000f",$l);
166 &R_PERM_OP($l,$tt,$r,14,"0x33333333",$r);
167 &R_PERM_OP($tt,$r,$l,22,"0x03fc03fc",$r);
168 &R_PERM_OP($l,$r,$tt, 9,"0xaaaaaaaa",$r);
[all …]
/mirbsd/src/lib/libssl/src/crypto/asn1/
Dtasn_prn.c80 const ASN1_TEMPLATE *tt; in asn1_item_print_nm() local
115 tt = it->templates + i; in asn1_item_print_nm()
116 tmpfld = asn1_get_field(fld, tt); in asn1_item_print_nm()
117 return ASN1_template_print(out, tmpfld, indent, tt); in asn1_item_print_nm()
122 for(i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_print_nm()
123 tmpfld = asn1_get_field(fld, tt); in asn1_item_print_nm()
124 ASN1_template_print(out, tmpfld, indent + 2, tt); in asn1_item_print_nm()
134 int ASN1_template_print(BIO *out, void *fld, int indent, const ASN1_TEMPLATE *tt) in ASN1_template_print() argument
140 flags = tt->flags; in ASN1_template_print()
148 BIO_printf(out, "%*s%s OF %s {\n", indent, "", tname, tt->field_name); in ASN1_template_print()
[all …]
Dtasn_new.c69 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
88 const ASN1_TEMPLATE *tt = NULL; in asn1_item_ex_combine_new() local
176 for(i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in asn1_item_ex_combine_new()
177 pseqval = asn1_get_field_ptr(pval, tt); in asn1_item_ex_combine_new()
178 if(!ASN1_template_new(pseqval, tt)) goto memerr; in asn1_item_ex_combine_new()
240 int ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in ASN1_template_new() argument
242 const ASN1_ITEM *it = ASN1_ITEM_ptr(tt->item); in ASN1_template_new()
244 if(tt->flags & ASN1_TFLG_OPTIONAL) { in ASN1_template_new()
245 asn1_template_clear(pval, tt); in ASN1_template_new()
250 if(tt->flags & ASN1_TFLG_ADB_MASK) { in ASN1_template_new()
[all …]
Dtasn_fre.c83 const ASN1_TEMPLATE *tt = NULL, *seqtt; in asn1_item_combine_free() local
113 tt = it->templates + i; in asn1_item_combine_free()
114 pchval = asn1_get_field_ptr(pval, tt); in asn1_item_combine_free()
115 ASN1_template_free(pchval, tt); in asn1_item_combine_free()
146 tt = it->templates + it->tcount - 1; in asn1_item_combine_free()
147 for(i = 0; i < it->tcount; tt--, i++) { in asn1_item_combine_free()
149 seqtt = asn1_do_adb(pval, tt, 0); in asn1_item_combine_free()
163 void ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in ASN1_template_free() argument
166 if(tt->flags & ASN1_TFLG_SK_MASK) { in ASN1_template_free()
171 asn1_item_combine_free(&vtmp, ASN1_ITEM_ptr(tt->item), 0); in ASN1_template_free()
[all …]
Dtasn_enc.c107 const ASN1_TEMPLATE *tt = NULL; in ASN1_item_ex_i2d() local
180 for(i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in ASN1_item_ex_i2d()
183 seqtt = asn1_do_adb(pval, tt, 1); in ASN1_item_ex_i2d()
194 for(i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in ASN1_item_ex_i2d()
197 seqtt = asn1_do_adb(pval, tt, 1); in ASN1_item_ex_i2d()
213 int ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt) in ASN1_template_i2d() argument
216 flags = tt->flags; in ASN1_template_i2d()
232 sktag = tt->tag; in ASN1_template_i2d()
243 skcontlen += ASN1_item_ex_i2d(&skitem, NULL, ASN1_ITEM_ptr(tt->item), -1, 0); in ASN1_template_i2d()
248 ret = ASN1_object_size(1, sklen, tt->tag); in ASN1_template_i2d()
[all …]
Dtasn_dec.c76 …_d2i(ASN1_VALUE **pval, unsigned char **in, long len, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC …
77 …p_d2i(ASN1_VALUE **val, unsigned char **in, long len, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC …
123 int ASN1_template_d2i(ASN1_VALUE **pval, unsigned char **in, long len, const ASN1_TEMPLATE *tt) in ASN1_template_d2i() argument
127 return asn1_template_ex_d2i(pval, in, len, tt, 0, &c); in ASN1_template_d2i()
138 const ASN1_TEMPLATE *tt, *errtt = NULL; in ASN1_item_ex_d2i() local
263 for(i = 0, tt=it->templates; i < it->tcount; i++, tt++) { in ASN1_item_ex_d2i()
264 pchptr = asn1_get_field_ptr(pval, tt); in ASN1_item_ex_d2i()
268 ret = asn1_template_ex_d2i(pchptr, &p, len, tt, 1, ctx); in ASN1_item_ex_d2i()
274 errtt = tt; in ASN1_item_ex_d2i()
331 for(i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in ASN1_item_ex_d2i()
[all …]
Dtasn_utl.c186 ASN1_VALUE ** asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in asn1_get_field_ptr() argument
189 if(tt->flags & ASN1_TFLG_COMBINE) return pval; in asn1_get_field_ptr()
190 pvaltmp = offset2ptr(*pval, tt->offset); in asn1_get_field_ptr()
202 const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr) in asn1_do_adb() argument
209 if(!(tt->flags & ASN1_TFLG_ADB_MASK)) return tt; in asn1_do_adb()
212 adb = ASN1_ADB_ptr(tt->item); in asn1_do_adb()
227 if(tt->flags & ASN1_TFLG_ADB_OID) in asn1_do_adb()
241 if(atbl->value == selector) return &atbl->tt; in asn1_do_adb()
/mirbsd/src/usr.sbin/tokeninit/
Dtokeninit.c87 if (tt->options & TOKEN_HEXINIT) in main()
119 tt->name, (tt->options & TOKEN_HEXINIT) ? "h" : ""); in main()
124 modes |= tt->defmode; in main()
131 printf("Adding %s to %s database\n", *argv, tt->proper); in main()
140 tt->name); in main()
147 tt->name); in main()
154 *argv, tt->proper); in main()
158 *argv, tt->proper); in main()
160 *argv, tt->proper); in main()
165 *argv, tt->proper); in main()
[all …]
/mirbsd/src/sbin/fdisk/
Dcmd.c48 Xreinit(cmd_t *cmd, disk_t *disk, mbr_t *mbr, mbr_t *tt, int offset) in Xreinit() argument
53 MBR_make(tt, buf); in Xreinit()
69 Xdisk(cmd_t *cmd, disk_t *disk, mbr_t *mbr, mbr_t *tt, int offset) in Xdisk() argument
101 Xswap(cmd_t *cmd, disk_t *disk, mbr_t *mbr, mbr_t *tt, int offset) in Xswap() argument
143 Xedit(cmd_t *cmd, disk_t *disk, mbr_t *mbr, mbr_t *tt, int offset) in Xedit() argument
227 Xsetpid(cmd_t *cmd, disk_t *disk, mbr_t *mbr, mbr_t *tt, int offset) in Xsetpid() argument
263 Xselect(cmd_t *cmd, disk_t *disk, mbr_t *mbr, mbr_t *tt, int offset) in Xselect() argument
295 USER_modify(disk, tt, off, firstoff); in Xselect()
301 Xprint(cmd_t *cmd, disk_t *disk, mbr_t *mbr, mbr_t *tt, int offset) in Xprint() argument
313 Xwrite(cmd_t *cmd, disk_t *disk, mbr_t *mbr, mbr_t *tt, int offset) in Xwrite() argument
[all …]
/mirbsd/src/sys/crypto/
Ddes_locl.h225 register u_int32_t tt; \
226 PERM_OP(r,l,tt, 4,0x0f0f0f0fL); \
227 PERM_OP(l,r,tt,16,0x0000ffffL); \
228 PERM_OP(r,l,tt, 2,0x33333333L); \
229 PERM_OP(l,r,tt, 8,0x00ff00ffL); \
230 PERM_OP(r,l,tt, 1,0x55555555L); \
235 register u_int32_t tt; \
236 PERM_OP(l,r,tt, 1,0x55555555L); \
237 PERM_OP(r,l,tt, 8,0x00ff00ffL); \
238 PERM_OP(l,r,tt, 2,0x33333333L); \
[all …]
/mirbsd/src/gnu/usr.bin/binutils/gdb/doc/
Drefcard.tex215 \font\tt=cmtt8
226 \def\ctl#1{{\tt C-#1}}
228 \def\xtra#1{\noalign{\smallskip{\tt#1}}}
233 \vtop{\hsize=\itmwid\tt
249 b \opt{\it file\tt:}{\it function}&set breakpoint at {\it function} \opt{in \it file}\cr
267 quit&exit GDB; also {\tt q} or {\tt EOF} (eg \ctl{d})\cr
285 tty {\it dev}&use {\it dev} as stdin and stdout for next {\tt run}\cr
287 {\tt run}\cr
300 make $\ldots$&call ``{\tt make}''\cr
311 break \opt{\it file\tt:}{\it line}\par
[all …]

12345