Home
last modified time | relevance | path

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

/freebsd/usr.sbin/vidcontrol/
H A Ddecode.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/contrib/less/
H A Dposition.c294 public POSITION beginning_of_line(POSITION tpos) in beginning_of_line() argument
296 ch_seek(tpos); in beginning_of_line()
321 POSITION tpos = table[TOP]; in pos_rehead() local
322 if (tpos == NULL_POSITION) in pos_rehead()
324 linepos = beginning_of_line(tpos); in pos_rehead()
325 if (linepos == tpos) in pos_rehead()
329 hshift = pos_shift(linepos, (size_t) (tpos - linepos)); in pos_rehead()
H A Dlsystem.c350 POSITION tpos, bpos; in pipe_pos() local
352 tpos = position(TOP); in pipe_pos()
353 if (tpos == NULL_POSITION) in pipe_pos()
354 tpos = ch_zero(); in pipe_pos()
363 } else if (mpos1 < tpos) in pipe_pos()
366 return pipe_data(cmd, tpos, mpos1); in pipe_pos()
H A Djump.c234 POSITION tpos; in jump_loc() local
284 tpos = position(TOP); in jump_loc()
286 if (tpos == NULL_POSITION || pos >= tpos) in jump_loc()
347 if (linepos >= tpos) in jump_loc()
354 back(nline, tpos, TRUE, FALSE, FALSE, FALSE); in jump_loc()
H A Dscreen.c2462 struct rccoord tpos = _gettextposition(); in line_left() local
2463 row = tpos.row; in line_left()
2668 struct rccoord tpos; in clear_eol()
2674 tpos = _gettextposition(); in clear_eol()
2681 _settextwindow(tpos.row, tpos.col, tpos.row, sc_width); in clear_eol()
2687 _settextposition(tpos.row, tpos.col); in clear_eol()
3210 struct rccoord tpos; in putbs()
3211 tpos = _gettextposition(); in putbs()
3212 row = tpos.row; in putbs()
3213 col = tpos.col; in putbs()
H A Dsearch.c1252 static POSITION get_lastlinepos(POSITION pos, POSITION tpos, int sheight) in get_lastlinepos() argument
1260 if (npos > tpos) in get_lastlinepos()
H A Dfuncs.h406 public POSITION beginning_of_line(POSITION tpos);
/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.c1286 int tpos; in indent_declaration() local
1289 while ((tpos = opt.tabsize * (1 + pos / opt.tabsize)) <= cur_dec_ind) { in indent_declaration()
1291 pos = tpos; in indent_declaration()
/freebsd/sys/dev/irdma/
H A Dirdma_cm.c1684 struct list_head *pos, *tpos; in irdma_del_multiple_qhash() local
1689 list_for_each_safe(pos, tpos, in irdma_del_multiple_qhash()