Home
last modified time | relevance | path

Searched refs:linepos (Results 1 – 8 of 8) sorted by relevance

/freebsd/usr.bin/file2c/
H A Dfile2c.c28 int c, count, linepos, maxcount, pretty, radix; in main() local
54 count = linepos = 0; in main()
58 linepos++; in main()
60 if ((maxcount == 0 && linepos > 70) || in main()
63 count = linepos = 0; in main()
68 linepos++; in main()
71 linepos += 8; in main()
76 linepos += printf("%d", c); in main()
79 linepos += printf("0x%02x", c); in main()
/freebsd/contrib/less/
H A Dposition.c253 static int pos_shift(POSITION linepos, size_t choff) in pos_shift() argument
261 pos = forw_raw_line_len(linepos, choff, &line, &line_len); in pos_shift()
299 POSITION linepos; in pos_rehead() local
303 linepos = beginning_of_line(tpos); in pos_rehead()
304 if (linepos == tpos) in pos_rehead()
306 table[TOP] = linepos; in pos_rehead()
307 hshift = pos_shift(linepos, (size_t) (tpos - linepos)); in pos_rehead()
H A Dsearch.c963 static void create_hilites(POSITION linepos, constant char *line, constant char *sp, constant char … in create_hilites() argument
971 hl.hl_startpos = linepos + chpos[start_index]; in create_hilites()
986 hl.hl_endpos = linepos + chpos[i-1] + 1; in create_hilites()
991 hl.hl_startpos = linepos + chpos[i]; in create_hilites()
1002 static void hilite_line(POSITION linepos, constant char *line, size_t line_len, int *chpos, constan… in hilite_line() argument
1029 create_hilites(linepos, line, lep, sp[i], in hilite_line()
1031 create_hilites(linepos, line, sp[i], ep[i], in hilite_line()
1036 create_hilites(linepos, line, lep, ep[0], in hilite_line()
1185 …filters(POSITION pos, char *cline, size_t line_len, int *chpos, POSITION linepos, constant char **… in matches_filters() argument
1196 hl.hl_startpos = linepos; in matches_filters()
[all …]
H A Dtags.c379 static int curtag_match(char constant *line, POSITION linepos) in curtag_match() argument
392 curtag->tag_linenum = find_linenum(linepos); in curtag_match()
409 POSITION pos, linepos; in ctagsearch() local
431 linepos = pos; in ctagsearch()
455 if (curtag_match(line, linepos)) in ctagsearch()
464 if (curtag_match(cline, linepos)) in ctagsearch()
471 return (linepos); in ctagsearch()
H A Djump.c322 POSITION linepos; in jump_loc() local
323 pos = forw_line(pos, &linepos, NULL); in jump_loc()
333 if (linepos >= tpos) in jump_loc()
H A Dforwback.c280 POSITION linepos = NULL_POSITION; in forw() local
300 pos = forw_line(pos, &linepos, &newline); in forw()
312 linepos = opos; in forw()
326 add_forw_pos(linepos, first_line); in forw()
H A Dline.c1530 static void col_vs_pos(POSITION linepos, mutable struct col_pos *cp, POSITION saved_pos, int saved_… in col_vs_pos() argument
1539 if (ch_seek(saved_pos != NULL_POSITION ? saved_pos : linepos)) in col_vs_pos()
1612 public int col_from_pos(POSITION linepos, POSITION spos, POSITION saved_pos, int saved_col) in col_from_pos() argument
1617 col_vs_pos(linepos, &cp, saved_pos, saved_col); in col_from_pos()
1621 public POSITION pos_from_col(POSITION linepos, int col, POSITION saved_pos, int saved_col) in pos_from_col() argument
1626 col_vs_pos(linepos, &cp, saved_pos, saved_col); in pos_from_col()
H A Dfuncs.h257 public int col_from_pos(POSITION linepos, POSITION spos, POSITION saved_pos, int saved_col);
258 public POSITION pos_from_col(POSITION linepos, int col, POSITION saved_pos, int saved_col);