Home
last modified time | relevance | path

Searched refs:tpos (Results 1 – 7 of 7) sorted by relevance

/dragonfly/usr.sbin/vidcontrol/
H A Ddecode.c39 int n, pos = 0, tpos; in decode() local
58 tpos = 0; in decode()
66 tbuffer[tpos++] = in decode()
70 tbuffer[tpos++] = in decode()
74 tbuffer[tpos++] = in decode()
78 if (tpos == 0) in decode()
80 if (tpos + pos > len) { in decode()
81 tpos = len - pos; in decode()
88 bcopy(tbuffer, bp, tpos); in decode()
89 pos += tpos; in decode()
[all …]
/dragonfly/contrib/gmp/mpz/
H A Dinp_raw.c121 mp_size_t tpos; in mpz_inp_raw() local
129 tpos = 0; in mpz_inp_raw()
137 ASSERT (tpos < abs_xsize); in mpz_inp_raw()
138 tp[tpos++] = limb & GMP_NUMB_MASK; in mpz_inp_raw()
146 ASSERT (tpos < abs_xsize); in mpz_inp_raw()
147 tp[tpos++] = limb; in mpz_inp_raw()
149 ASSERT (tpos == abs_xsize); in mpz_inp_raw()
/dragonfly/contrib/less/
H A Dlsystem.c253 POSITION mpos, tpos, bpos; in pipe_mark() local
263 tpos = position(TOP); in pipe_mark()
264 if (tpos == NULL_POSITION) in pipe_mark()
265 tpos = ch_zero(); in pipe_mark()
269 return (pipe_data(cmd, tpos, bpos)); in pipe_mark()
270 else if (mpos <= tpos) in pipe_mark()
273 return (pipe_data(cmd, tpos, bpos)); in pipe_mark()
275 return (pipe_data(cmd, tpos, mpos)); in pipe_mark()
H A Djump.c196 POSITION tpos; in jump_loc() local
236 tpos = position(TOP); in jump_loc()
238 if (tpos == NULL_POSITION || pos >= tpos) in jump_loc()
301 if (pos >= tpos) in jump_loc()
308 back(nline+1, tpos, 1, 0); in jump_loc()
H A Dscreen.c2119 struct rccoord tpos = _gettextposition(); in line_left() local
2120 row = tpos.row; in line_left()
2346 struct rccoord tpos; in clear_eol()
2352 tpos = _gettextposition(); in clear_eol()
2359 _settextwindow(tpos.row, tpos.col, tpos.row, sc_width); in clear_eol()
2365 _settextposition(tpos.row, tpos.col); in clear_eol()
2770 struct rccoord tpos; in putbs()
2771 tpos = _gettextposition(); in putbs()
2772 row = tpos.row; in putbs()
2773 col = tpos.col; in putbs()
H A Dsearch.c1138 static POSITION get_lastlinepos(POSITION pos, POSITION tpos, int sheight) in get_lastlinepos() argument
1145 if (npos > tpos) in get_lastlinepos()
1159 static int get_seg(POSITION pos, POSITION tpos) in get_seg() argument
1166 if (npos > tpos) in get_seg()
/dragonfly/usr.bin/indent/
H A Dindent.c1278 int tpos; in indent_declaration() local
1281 while ((tpos = opt.tabsize * (1 + pos / opt.tabsize)) <= cur_dec_ind) { in indent_declaration()
1283 pos = tpos; in indent_declaration()