Searched refs:chpos (Results 1 – 5 of 5) sorted by relevance
| /src/contrib/less/ |
| H A D | cvt.c | 41 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 D | search.c | 963 …(POSITION linepos, constant char *line, constant char *sp, constant char *ep, int attr, int *chpos) in create_hilites() argument 971 hl.hl_startpos = linepos + chpos[start_index]; in create_hilites() 984 if (chpos[i] != chpos[i-1] + 1 || i == end_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 1030 AT_HILITE | AT_COLOR_SEARCH, chpos); in hilite_line() 1032 AT_HILITE | AT_COLOR_SUBSEARCH(i), chpos); in hilite_line() 1037 AT_HILITE | AT_COLOR_SEARCH, chpos); in hilite_line() 1185 static lbool matches_filters(POSITION pos, char *cline, size_t line_len, int *chpos, POSITION linep… in matches_filters() argument [all …]
|
| H A D | tags.c | 461 int *chpos = cvt_alloc_chpos(cvt_len); in ctagsearch() local 463 cvt_text(cline, line, chpos, &line_len, cvt_ops); in ctagsearch() 466 free(chpos); in ctagsearch()
|
| H A D | line.c | 1537 POSITION chpos; in col_vs_pos() local 1547 chpos = ch_tell(); in col_vs_pos() 1601 if (cp->pos != NULL_POSITION && chpos == cp->pos) /* found the position we want */ in col_vs_pos() 1609 cp->pos = chpos; in col_vs_pos()
|
| H A D | funcs.h | 129 public void cvt_text(mutable char *odst, constant char *osrc, mutable int *chpos, mutable size_t *l…
|