Searched refs:chpos (Results 1 – 5 of 5) sorted by relevance
/dragonfly/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 | 1000 if (chpos[i] != chpos[i-1] + 1 || i == end_index) in create_hilites() 1002 hl.hl_endpos = linepos + chpos[i-1] + 1; in create_hilites() 1007 hl.hl_startpos = linepos + chpos[i]; in create_hilites() 1048 AT_HILITE | AT_COLOR_SEARCH, chpos); in hilite_line() 1055 AT_HILITE | AT_COLOR_SEARCH, chpos); in hilite_line() 1218 free(chpos); in matches_filters() 1509 int *chpos; in search_range() local 1656 chpos = cvt_alloc_chpos(cvt_len); in search_range() 1723 shift_visible(linepos, chpos[start_off], chpos[end_off]); in search_range() 1743 free(chpos); in search_range() [all …]
|
H A D | tags.c | 460 int *chpos = cvt_alloc_chpos(cvt_len); in ctagsearch() local 462 cvt_text(cline, line, chpos, &line_len, cvt_ops); in ctagsearch() 465 free(chpos); in ctagsearch()
|
H A D | line.c | 1328 POSITION chpos; in col_vs_pos() local 1338 chpos = ch_tell(); in col_vs_pos() 1388 if (cp->pos != NULL_POSITION && chpos == cp->pos) /* found the position we want */ in col_vs_pos() 1396 cp->pos = chpos; in col_vs_pos()
|
H A D | funcs.h | 114 public void cvt_text(mutable char *odst, constant char *osrc, mutable int *chpos, mutable size_t *l…
|