Searched refs:chpos (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/contrib/less/
H A Dcvt.c38 * Allocate a chpos array for use by cvt_text.
45 int *chpos = (int *) ecalloc(sizeof(int), len); local
48 chpos[i] = -1;
49 return (chpos);
55 * odst character (when it was in osrc) is returned in the chpos array.
58 cvt_text(odst, osrc, chpos, lenp, ops)
61 int *chpos;
102 if (chpos != NULL)
103 chpos[dst_pos] = src_pos;
113 /* FIXME: why was this here? if (chpos !
[all...]
H A Dsearch.c495 create_hilites(linepos, start_index, end_index, chpos)
499 int *chpos;
506 hl->hl_startpos = linepos + chpos[start_index];
518 if (chpos[i] != chpos[i-1] + 1 || i == end_index)
520 hl->hl_endpos = linepos + chpos[i-1] + 1;
526 hl->hl_startpos = linepos + chpos[i];
538 hilite_line(linepos, line, line_len, chpos, sp, ep, cvt_ops)
542 int *chpos;
564 create_hilites(linepos, sp-line, ep-line, chpos);
753 int *chpos; local
[all...]

Completed in 52 milliseconds