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

/freebsd-10-stable/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.c945 create_hilites(linepos, start_index, end_index, chpos)
949 int *chpos;
955 hl.hl_startpos = linepos + chpos[start_index];
967 if (chpos[i] != chpos[i-1] + 1 || i == end_index)
969 hl.hl_endpos = linepos + chpos[i-1] + 1;
974 hl.hl_startpos = linepos + chpos[i];
986 hilite_line(linepos, line, line_len, chpos, sp, ep, cvt_ops)
990 int *chpos;
1012 create_hilites(linepos, sp-line, ep-line, chpos);
1179 int *chpos; local
[all...]
H A Dtags.c474 int *chpos = cvt_alloc_chpos(cvt_len); local
476 cvt_text(cline, line, chpos, &line_len, cvt_ops);
479 free(chpos);
H A Dfuncs.h93 public void cvt_text LESSPARAMS ((char *odst, char *osrc, int *chpos, int *lenp, int ops));

Completed in 156 milliseconds