Home
last modified time | relevance | path

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

/freebsd/usr.sbin/vidcontrol/
H A Ddecode.c37 int n, pos = 0, tpos; in decode() local
56 tpos = 0; 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()
79 tpos = len - pos; in decode()
86 bcopy(tbuffer, bp, tpos); in decode()
87 pos += tpos; in decode()
[all …]
/freebsd/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()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_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/sys/dev/drm2/
H A Ddrm_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/usr.bin/indent/
H A Dindent.c1292 int tpos; in indent_declaration() local
1295 while ((tpos = opt.tabsize * (1 + pos / opt.tabsize)) <= cur_dec_ind) { in indent_declaration()
1297 pos = tpos; in indent_declaration()
/freebsd/sys/dev/irdma/
H A Dirdma_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()