| /src/external/bsd/less/dist/ |
| cvt.c | 37 * Allocate a chpos array for use by cvt_text. 42 int *chpos = (int *) ecalloc(sizeof(int), len); local 45 chpos[i] = -1; 46 return (chpos); 52 * odst character (when it was in osrc) is returned in the chpos array. 54 public void cvt_text(char *odst, char *osrc, int *chpos, int *lenp, int ops) 97 if (chpos != NULL) 98 chpos[dst_pos] = src_pos; 108 /* FIXME: why was this here? if (chpos != NULL) chpos[dst - odst] = src - osrc; * [all...] |
| cvt.c | 37 * Allocate a chpos array for use by cvt_text. 42 int *chpos = (int *) ecalloc(sizeof(int), len); local 45 chpos[i] = -1; 46 return (chpos); 52 * odst character (when it was in osrc) is returned in the chpos array. 54 public void cvt_text(char *odst, char *osrc, int *chpos, int *lenp, int ops) 97 if (chpos != NULL) 98 chpos[dst_pos] = src_pos; 108 /* FIXME: why was this here? if (chpos != NULL) chpos[dst - odst] = src - osrc; * [all...] |
| tags.c | 462 int *chpos = cvt_alloc_chpos(cvt_len); local 464 cvt_text(cline, line, chpos, &line_len, cvt_ops); 467 free(chpos);
|
| tags.c | 462 int *chpos = cvt_alloc_chpos(cvt_len); local 464 cvt_text(cline, line, chpos, &line_len, cvt_ops); 467 free(chpos);
|
| search.c | 889 static void create_hilites(POSITION linepos, char *line, char *sp, char *ep, int attr, int *chpos) 897 hl.hl_startpos = linepos + chpos[start_index]; 910 if (chpos[i] != chpos[i-1] + 1 || i == end_index) 912 hl.hl_endpos = linepos + chpos[i-1] + 1; 917 hl.hl_startpos = linepos + chpos[i]; 928 static void hilite_line(POSITION linepos, char *line, int line_len, int *chpos, char **sp, char **ep, int nsp, int cvt_ops) 958 AT_HILITE | AT_COLOR_SEARCH, chpos); 960 AT_HILITE | AT_COLOR_SUBSEARCH(i), chpos); 965 AT_HILITE | AT_COLOR_SEARCH, chpos); 1189 int *chpos; local [all...] |
| search.c | 889 static void create_hilites(POSITION linepos, char *line, char *sp, char *ep, int attr, int *chpos) 897 hl.hl_startpos = linepos + chpos[start_index]; 910 if (chpos[i] != chpos[i-1] + 1 || i == end_index) 912 hl.hl_endpos = linepos + chpos[i-1] + 1; 917 hl.hl_startpos = linepos + chpos[i]; 928 static void hilite_line(POSITION linepos, char *line, int line_len, int *chpos, char **sp, char **ep, int nsp, int cvt_ops) 958 AT_HILITE | AT_COLOR_SEARCH, chpos); 960 AT_HILITE | AT_COLOR_SUBSEARCH(i), chpos); 965 AT_HILITE | AT_COLOR_SEARCH, chpos); 1189 int *chpos; local [all...] |