Home
last modified time | relevance | path

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

123

/original-bsd/usr.bin/window/
H A Dtth19.c89 if (tt.tt_nmodes != tt.tt_modes)
90 (*tt.tt_setmodes)(tt.tt_nmodes);
102 if (tt.tt_nmodes != tt.tt_modes)
103 (*tt.tt_setmodes)(tt.tt_nmodes);
107 tt.tt_col += n;
149 tt.tt_col = col;
150 tt.tt_row = row;
159 tt.tt_col = tt.tt_row = 0; in h19_start()
161 tt.tt_nmodes = tt.tt_modes = 0; in h19_start()
191 if (tt.tt_nmodes != tt.tt_modes)
[all …]
H A Dttzapple.c52 tt.tt_modes = new; in zz_setmodes()
78 if (tt.tt_nmodes != tt.tt_modes)
82 tt.tt_col = 0, tt.tt_row++;
89 if (tt.tt_nmodes != tt.tt_modes)
92 tt.tt_col += n;
94 tt.tt_col = 0, tt.tt_row++;
189 tt.tt_col = col;
214 tt.tt_col = tt.tt_row = -10; in zz_reset()
239 tt.tt_col = tt.tt_row = 0; in zz_clear()
299 if (tt.tt_nmodes != tt.tt_modes)
[all …]
H A Dttgeneric.c176 if (tt.tt_nmodes != tt.tt_modes)
181 tt.tt_col = tt.tt_row = -10;
183 tt.tt_col = 0, tt.tt_row++;
194 if (tt.tt_nmodes != tt.tt_modes)
200 tt.tt_col = tt.tt_row = -10;
202 tt.tt_col = 0, tt.tt_row++;
263 tt.tt_col = tt.tt_row = 0; in gen_start()
265 tt.tt_nmodes = tt.tt_modes = 0; in gen_start()
313 tt.tt_col = tt.tt_row = -10;
315 tt.tt_col = 0, tt.tt_row++;
[all …]
H A Dxxflush.c35 tt.tt_nmodes = xp->arg3;
36 (*tt.tt_inschar)(xp->arg2);
40 (*tt.tt_insspace)(xp->arg2);
44 (*tt.tt_delchar)(xp->arg2);
47 (*tt.tt_clear)();
51 (*tt.tt_clreos)();
55 (*tt.tt_clreol)();
59 tt.tt_nmodes = xp->arg3;
131 if (tt.tt_scroll_down) {
152 if (tt.tt_scroll_up) {
[all …]
H A Dwwdump.c25 tt.tt_nmodes = 0;
26 (*tt.tt_clear)();
40 tt.tt_nmodes = 0;
41 (*tt.tt_clear)();
53 tt.tt_nmodes = 0; in wwdumpsmap()
54 (*tt.tt_clear)(); in wwdumpsmap()
56 (*tt.tt_move)(i, 0); in wwdumpsmap()
66 (*tt.tt_clear)(); in wwdumpns()
70 tt.tt_nmodes = wwns[i][j].c_m & tt.tt_availmodes; in wwdumpns()
80 (*tt.tt_clear)(); in wwdumpos()
[all …]
H A Dxx.c23 xxbufsize = tt.tt_nrow * tt.tt_ncol * 2; in xxinit()
39 (*tt.tt_start)(); in xxstart()
40 if (tt.tt_ntoken > 0) in xxstart()
47 if (tt.tt_ntoken > 0) in xxreset()
50 (*tt.tt_reset)(); in xxreset()
67 if (tt.tt_scroll_top != 0 || tt.tt_scroll_bot != tt.tt_nrow - 1) in xxend()
69 (*tt.tt_setscroll)(0, tt.tt_nrow - 1); in xxend()
70 if (tt.tt_modes) in xxend()
74 (*tt.tt_move)(tt.tt_nrow - 1, 0); in xxend()
75 if (tt.tt_ntoken > 0) in xxend()
[all …]
H A Dtth29.c53 if ((tt.tt_modes & WWM_GRP) == 0)
56 if (tt.tt_modes & WWM_GRP)
58 tt.tt_modes = new;
65 tt.tt_setmodes = h29_setmodes; in tt_h29()
66 tt.tt_availmodes |= WWM_BLK|WWM_UL|WWM_DIM|WWM_USR; in tt_h29()
H A Dcompress.c148 if (tt.tt_token_min > tt.tt_token_max) { in ccinit()
149 tt.tt_ntoken = 0; in ccinit()
201 ((tt.tt_set_token_cost + tt.tt_put_token_cost) / i + in ccinit()
218 (cc_ntoken + tt.tt_token_max - tt.tt_token_min + 1) * in ccinit()
224 for (i = tt.tt_token_min; i <= tt.tt_token_max; i++) in ccinit()
269 tt.tt_flush = ccflush; in ccstart()
294 tt.tt_flush = 0; in ccend()
312 tt.tt_flush = 0; in ccflush()
313 (*tt.tt_compress)(1); in ccflush()
329 (*tt.tt_compress)(0); in ccflush()
[all …]
H A Dwwflush.c43 tt.tt_ack = 0; in wwcheckpoint()
45 (*tt.tt_checkpoint)(); in wwcheckpoint()
50 for (wwdocheckpoint = 0; !wwdocheckpoint && tt.tt_ack == 0;) in wwcheckpoint()
52 } while (tt.tt_ack == 0); in wwcheckpoint()
55 if (tt.tt_ack < 0) { in wwcheckpoint()
H A Dttinit.c88 if (wwgetttysize(0, &tt.tt_nrow, &tt.tt_ncol) < 0) in ttinit()
90 tt.tt_scroll_top = 0; in ttinit()
91 tt.tt_scroll_bot = tt.tt_nrow - 1; in ttinit()
H A Dwwdelete.c61 int tt, bb, ll, rr; local
66 tt = MAX(t, w->ww_i.t);
70 if (tt >= bb || ll >= rr) {
75 for (i = tt; i < bb; i++) {
105 if (tt > t)
106 wwdelete1(w, t, tt, l, r);
110 wwdelete1(w, tt, bb, l, ll);
112 wwdelete1(w, tt, bb, rr, r);
H A Dwwinit.c165 wwnrow = tt.tt_nrow; in wwinit()
166 wwncol = tt.tt_ncol; in wwinit()
168 wwwrap = tt.tt_wrap; in wwinit()
198 if (tt.tt_checkpoint) { in wwinit()
236 if (tt.tt_insline && tt.tt_delline || tt.tt_setscroll) in wwinit()
238 if (tt.tt_inschar) in wwinit()
240 if (tt.tt_insspace) in wwinit()
242 if (tt.tt_delchar) in wwinit()
274 if (tt.tt_checkpoint) in wwinit()
343 if (tt.tt_checkpoint) in wwstart1()
[all …]
H A Dwwupdate.c40 (tt.tt_clreos != 0 || tt.tt_clear != 0)) { in wwupdate1()
41 int st = tt.tt_clreos != 0 ? scan_top : 0; in wwupdate1()
60 if (tt.tt_clreol == 0 && !check_clreos) in wwupdate1()
127 if (tt.tt_clreol != 0 && u->best_gain > 4) in wwupdate1()
130 if (tt.tt_clreos == 0) { in wwupdate1()
172 if (tt.tt_clreol != 0 && upd->best_gain > 4) { in wwupdate1()
218 else if (tt.tt_inschar || tt.tt_insspace) { in wwupdate1()
226 if (tt.tt_inschar) in wwupdate1()
H A Dwwrint.c48 if (tt.tt_rint) in wwrint()
49 n = (*tt.tt_rint)(wwibq, n); in wwrint()
57 if (tt.tt_checkpoint && !wwdocheckpoint) in wwrint()
H A Dttoutput.c32 if (tt.tt_checksum) in ttflush()
33 (*tt.tt_checksum)(tt_ob, n); in ttflush()
34 if (tt.tt_flush) { in ttflush()
35 (*tt.tt_flush)(); in ttflush()
H A Dwwscroll.c93 if ((dir > 0 ? tt.tt_scroll_down == 0 : tt.tt_scroll_up == 0) ||
94 (tt.tt_scroll_top != row1x || tt.tt_scroll_bot != row2x - 1) &&
95 tt.tt_setscroll == 0)
96 if (tt.tt_delline == 0 || tt.tt_insline == 0)
H A Dtt.h16 struct tt { struct
74 struct tt tt; variable
/original-bsd/sys/net/
H A Dradix.c290 register struct radix_node *tt = nodes, *t = tt + 1; local
293 tt->rn_b = -1; tt->rn_key = (caddr_t)v; tt->rn_p = t;
297 tt->rn_twin = t; tt->rn_ybro = rn_clist; rn_clist = tt;
364 return (tt);
512 for (t = tt; tt; t = tt, tt = tt->rn_dupedkey) {
542 if (x->rn_l == t) x->rn_l = tt; else x->rn_r = tt;
549 tt->rn_dupedkey->rn_p = tt;
553 tt->rn_twin = t; tt->rn_ybro = rn_clist; rn_clist = tt;
627 return tt;
660 if ((tt = tt->rn_dupedkey) == 0)
[all …]
/original-bsd/lib/libc/gen/
H A Dtime.c19 struct timeval tt; local
21 if (gettimeofday(&tt, (struct timezone *)0) < 0)
24 *t = tt.tv_sec;
25 return(tt.tv_sec);
/original-bsd/lib/libplot/t300s/
H A Dline.c22 int maxp,tt,j,np; in iline() local
41 for (tt=0; tt<=maxp; tt++){ in iline()
42 chx= cx0+xd*tt-xnow; in iline()
45 chy = cy0+yd*tt-ynow; in iline()
/original-bsd/lib/libplot/t450/
H A Dline.c22 int maxp,tt,j,np; in iline() local
43 for (tt=0; tt<=maxp; tt++){ in iline()
44 j= cx0+xd*tt-xnow; in iline()
48 j = cy0+yd*tt-ynow; in iline()
/original-bsd/lib/libplot/t300/
H A Dline.c22 int maxp,tt,j,np; in iline() local
43 for (tt=0; tt<=maxp; tt++){ in iline()
44 j= cx0+xd*tt-xnow; in iline()
48 j = cy0+yd*tt-ynow; in iline()
/original-bsd/usr.bin/rlogin/
H A Drlogin.c326 struct termios tt; local
328 (void)tcgetattr(fd, &tt);
344 struct termios tt; local
346 (void)tcgetattr(fd, &tt);
673 struct termios tt; local
708 tcgetattr(0, &tt);
715 tcgetattr(0, &tt);
819 struct termios tt; local
826 tt = deftt;
830 tt.c_cc[VMIN] = 1;
[all …]
/original-bsd/old/implogd/
H A Dimplogd.c68 register int i, tt; in main() local
78 tt = open(_PATH_TTY, O_RDWR, 0); in main()
79 if (tt > 0) { in main()
80 ioctl(tt, TIOCNOTTY, 0); in main()
81 (void)close(tt); in main()
/original-bsd/old/berknet/
H A Dconfig.h90 static struct tt { struct
213 static struct tt { struct
487 static struct tt { struct

123