Home
last modified time | relevance | path

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

/freebsd-14-stable/usr.sbin/vidcontrol/
HDdecode.c37 int n, pos = 0, tpos; in decode() local
56 tpos = 0; in decode()
58 tbuffer[tpos++] = DEC(p[0])<<2 | DEC(p[1])>>4; in decode()
59 tbuffer[tpos++] = DEC(p[1])<<4 | DEC(p[2])>>2; in decode()
60 tbuffer[tpos++] = DEC(p[2])<<6 | DEC(p[3]); in decode()
64 tbuffer[tpos++] = in decode()
68 tbuffer[tpos++] = in decode()
72 tbuffer[tpos++] = in decode()
76 if (tpos == 0) in decode()
78 if (tpos + pos > len) { in decode()
[all …]
/freebsd-14-stable/contrib/less/
HDlsystem.c252 POSITION mpos, tpos, bpos; in pipe_mark() local
262 tpos = position(TOP); in pipe_mark()
263 if (tpos == NULL_POSITION) in pipe_mark()
264 tpos = ch_zero(); in pipe_mark()
268 return (pipe_data(cmd, tpos, bpos)); in pipe_mark()
269 else if (mpos <= tpos) in pipe_mark()
272 return (pipe_data(cmd, tpos, bpos)); in pipe_mark()
274 return (pipe_data(cmd, tpos, mpos)); in pipe_mark()
HDposition.c269 static POSITION beginning_of_line(POSITION tpos) in beginning_of_line() argument
271 ch_seek(tpos); in beginning_of_line()
293 POSITION tpos = table[TOP]; in pos_rehead() local
294 if (tpos == NULL_POSITION) in pos_rehead()
296 linepos = beginning_of_line(tpos); in pos_rehead()
297 if (linepos == tpos) in pos_rehead()
300 hshift = pos_shift(linepos, (size_t) (tpos - linepos)); in pos_rehead()
HDjump.c228 POSITION tpos; in jump_loc() local
269 tpos = position(TOP); in jump_loc()
271 if (tpos == NULL_POSITION || pos >= tpos) in jump_loc()
334 if (pos >= tpos) in jump_loc()
341 back(nline+1, tpos, 1, 0); in jump_loc()
HDscreen.c2129 struct rccoord tpos = _gettextposition(); in line_left() local
2130 row = tpos.row; in line_left()
2356 struct rccoord tpos; in clear_eol()
2362 tpos = _gettextposition(); in clear_eol()
2369 _settextwindow(tpos.row, tpos.col, tpos.row, sc_width); in clear_eol()
2375 _settextposition(tpos.row, tpos.col); in clear_eol()
2853 struct rccoord tpos; in putbs()
2854 tpos = _gettextposition(); in putbs()
2855 row = tpos.row; in putbs()
2856 col = tpos.col; in putbs()
HDsearch.c1230 static POSITION get_lastlinepos(POSITION pos, POSITION tpos, int sheight) in get_lastlinepos() argument
1237 if (npos > tpos) in get_lastlinepos()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_common.cpp249 char *tpos = (char*)internal_strchr(templ, '*'); in TemplateMatch() local
251 if ((!tpos) || (tpos1 && tpos1 < tpos)) in TemplateMatch()
252 tpos = tpos1; in TemplateMatch()
253 if (tpos) in TemplateMatch()
254 tpos[0] = 0; in TemplateMatch()
258 templ = tpos; in TemplateMatch()
259 if (tpos) in TemplateMatch()
260 tpos[0] = tpos == tpos1 ? '$' : '*'; in TemplateMatch()
/freebsd-14-stable/sys/dev/drm2/
HDdrm_linux_list.h292 #define hlist_for_each_entry_safe(tpos, pos, n, head, member) \ argument
295 tpos = hlist_entry((pos), typeof(*(tpos)), member); 1;}); \
/freebsd-14-stable/usr.bin/indent/
HDindent.c1299 int tpos; in indent_declaration() local
1302 while ((tpos = opt.tabsize * (1 + pos / opt.tabsize)) <= cur_dec_ind) { in indent_declaration()
1304 pos = tpos; in indent_declaration()
/freebsd-14-stable/sys/dev/irdma/
HDirdma_cm.c1568 struct list_head *pos, *tpos; in irdma_del_multiple_qhash() local
1573 list_for_each_safe(pos, tpos, in irdma_del_multiple_qhash()