Home
last modified time | relevance | path

Searched refs:chpos (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/less/
H A Dcvt.c41 int *chpos = (int *) ecalloc(len, sizeof(int)); in cvt_alloc_chpos() local
44 chpos[i] = -1; in cvt_alloc_chpos()
45 return (chpos); in cvt_alloc_chpos()
53 public void cvt_text(mutable char *odst, constant char *osrc, mutable int *chpos, mutable size_t *l… in cvt_text() argument
97 if (chpos != NULL) in cvt_text()
100 chpos[dst_pos++] = (int) src_pos; /*{{type-issue}}*/ in cvt_text()
H A Dsearch.c1000 …(POSITION linepos, constant char *line, constant char *sp, constant char *ep, int attr, int *chpos) in create_hilites() argument
1008 hl.hl_startpos = linepos + chpos[start_index]; in create_hilites()
1021 if (chpos[i] != chpos[i-1] + 1 || i == end_index) in create_hilites()
1023 hl.hl_endpos = linepos + chpos[i-1] + 1; in create_hilites()
1028 hl.hl_startpos = linepos + chpos[i]; in create_hilites()
1039 static void hilite_line(POSITION linepos, constant char *line, size_t line_len, int *chpos, constan… in hilite_line() argument
1067 AT_HILITE | AT_COLOR_SEARCH, chpos); in hilite_line()
1069 AT_HILITE | AT_COLOR_SUBSEARCH(i), chpos); in hilite_line()
1074 AT_HILITE | AT_COLOR_SEARCH, chpos); in hilite_line()
1224 static lbool matches_filters(POSITION pos, char *cline, size_t line_len, int *chpos, POSITION linep… in matches_filters() argument
[all …]
H A Dtags.c467 int *chpos = cvt_alloc_chpos(cvt_len); in ctagsearch() local
469 cvt_text(cline, line, chpos, &line_len, cvt_ops); in ctagsearch()
472 free(chpos); in ctagsearch()
H A Dline.c1577 POSITION chpos; in col_vs_pos() local
1587 chpos = ch_tell(); in col_vs_pos()
1641 if (cp->pos != NULL_POSITION && chpos == cp->pos) /* found the position we want */ in col_vs_pos()
1649 cp->pos = chpos; in col_vs_pos()
H A Dfuncs.h132 public void cvt_text(mutable char *odst, constant char *osrc, mutable int *chpos, mutable size_t *l…