Home
last modified time | relevance | path

Searched refs:linepos (Results 1 – 3 of 3) 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 Dsearch.c979 static void create_hilites(POSITION linepos, constant char *line, constant char *sp, constant char *ep, int attr, int *chpos)
987 hl.hl_startpos = linepos + chpos[start_index]; in hilite_screen()
1002 hl.hl_endpos = linepos + chpos[i-1] + 1; in chg_hilite()
1007 hl.hl_startpos = linepos + chpos[i]; in chg_hilite()
1018 static void hilite_line(POSITION linepos, constant char *line, size_t line_len, int *chpos, constant char **sp, constant char **ep, int nsp) in search_pos()
1047 create_hilites(linepos, line, lep, sp[i], in search_pos()
1049 create_hilites(linepos, line, sp[i], ep[i], in search_pos()
1054 create_hilites(linepos, line, lep, ep[0], in search_pos()
1203 static int matches_filters(POSITION pos, char *cline, size_t line_len, int *chpos, POSITION linepos, constant char **sp, constant char **ep, int nsp) in search_range()
1214 hl.hl_startpos = linepos; in search_range()
887 create_hilites(POSITION linepos,char * line,char * sp,char * ep,int attr,int * chpos) create_hilites() argument
926 hilite_line(POSITION linepos,char * line,int line_len,int * chpos,char ** sp,char ** ep,int nsp,int cvt_ops) hilite_line() argument
1111 matches_filters(POSITION pos,char * cline,int line_len,int * chpos,POSITION linepos,char ** sp,char ** ep,int nsp) matches_filters() argument
1188 POSITION linepos, oldpos; search_range() local
[all...]
H A Dtags.c378 static int curtag_match(char constant *line, POSITION linepos) in curtag_match() argument
391 curtag->tag_linenum = find_linenum(linepos); in curtag_match()
408 POSITION pos, linepos; in ctagsearch() local
428 * starting position of that line in linepos. in ctagsearch()
430 linepos = pos; in ctagsearch()
454 if (curtag_match(line, linepos)) in ctagsearch()
463 if (curtag_match(cline, linepos)) in ctagsearch()
470 return (linepos); in ctagsearch()