Searched refs:linepos (Results 1 - 3 of 3) sorted by relevance

/freebsd-current/usr.bin/file2c/
H A Dfile2c.c28 int c, count, linepos, maxcount, pretty, radix; local
54 count = linepos = 0;
58 linepos++;
60 if ((maxcount == 0 && linepos > 70) ||
63 count = linepos = 0;
68 linepos++;
71 linepos += 8;
76 linepos += printf("%d", c);
79 linepos += printf("0x%02x", c);
/freebsd-current/contrib/less/
H A Dsearch.c887 static void create_hilites(POSITION linepos, char *line, char *sp, char *ep, int attr, int *chpos) argument
895 hl.hl_startpos = linepos + chpos[start_index];
910 hl.hl_endpos = linepos + chpos[i-1] + 1;
915 hl.hl_startpos = linepos + chpos[i];
926 static void hilite_line(POSITION linepos, char *line, int line_len, int *chpos, char **sp, char **ep, int nsp, int cvt_ops) argument
955 create_hilites(linepos, line, lep, sp[i],
957 create_hilites(linepos, line, sp[i], ep[i],
962 create_hilites(linepos, line, lep, ep[0],
1111 static int matches_filters(POSITION pos, char *cline, int line_len, int *chpos, POSITION linepos, char **sp, char **ep, int nsp) argument
1122 hl.hl_startpos = linepos;
1188 POSITION linepos, oldpos; local
[all...]
H A Dtags.c378 static int curtag_match(char constant *line, POSITION linepos) argument
391 curtag->tag_linenum = find_linenum(linepos);
408 POSITION pos, linepos; local
428 * starting position of that line in linepos.
430 linepos = pos;
454 if (curtag_match(line, linepos))
463 if (curtag_match(cline, linepos))
470 return (linepos);

Completed in 122 milliseconds