Lines Matching refs:chpos
952 create_hilites(linepos, start_index, end_index, chpos)
956 int *chpos;
962 hl.hl_startpos = linepos + chpos[start_index];
974 if (chpos[i] != chpos[i-1] + 1 || i == end_index)
976 hl.hl_endpos = linepos + chpos[i-1] + 1;
981 hl.hl_startpos = linepos + chpos[i];
993 hilite_line(linepos, line, line_len, chpos, sp, ep, cvt_ops)
997 int *chpos;
1019 create_hilites(linepos, sp-line, ep-line, chpos);
1171 matches_filters(pos, cline, line_len, chpos, linepos, sp, ep)
1175 int *chpos;
1193 free(chpos);
1268 int *chpos;
1392 chpos = cvt_alloc_chpos(cvt_len);
1393 cvt_text(cline, line, chpos, &line_len, cvt_ops);
1403 if (matches_filters(pos, cline, line_len, chpos, linepos, &sp, &ep))
1430 hilite_line(linepos, cline, line_len, chpos, sp, ep, cvt_ops);
1446 hilite_line(linepos, cline, line_len, chpos, sp, ep, cvt_ops);
1464 sshift = swidth * get_seg(linepos, linepos + chpos[start_off]);
1465 eshift = swidth * get_seg(linepos, linepos + chpos[end_off]);
1490 *plastlinepos = get_lastlinepos(linepos, linepos + chpos[end_off], sheight);
1494 free(chpos);
1502 free(chpos);