40#define CISERR() VISERR(cm->v)
41#define CERR(e) VERR(cm->v, (e))
139 int middle = low + (high - low) / 2;
144 else if (
c >
cmr->cmax)
202 else if (cm->
max < cm->
ncds - 1)
205 cd = &cm->
cd[cm->
max];
240 cd = &cm->
cd[cm->
max];
274 if ((
size_t) co == cm->
max)
279 while ((
size_t) cm->
free > cm->
max)
287 if ((
size_t)
nco > cm->
max)
926 for (cd = cm->
cd,
co = 0; cd < end; cd++,
co++)
1016 aa->colorchain =
a->colorchain;
1018 if (
a->colorchain !=
NULL)
1019 a->colorchain->colorchainRev =
aa;
1020 a->colorchain =
NULL;
1021 a->colorchainRev =
NULL;
1049 for (cd = cm->
cd, co = 0; cd < end && !
CISERR(); cd++, co++)
1093 for (
a =
of->outs;
a !=
NULL;
a =
a->outchain)
1098 cd = &cm->
cd[
a->co];
1111 for (cd = cm->
cd,
co = 0; cd < end && !
CISERR(); cd++,
co++)
1137 for (cd = cm->
cd + 1, co = 1; cd < end; cd++, co++)
1143 fprintf(f,
"#%2ld(ps): ", (
long) co);
1196 else if (
c >
' ' &&
c <=
'~')
#define fprintf(file, fmt, msg)
static void subcoloronechr(struct vars *v, chr ch, struct state *lp, struct state *rp, color *lastsubcolor)
static int newhicolorrow(struct colormap *cm, int oldrow)
static void subcolorcvec(struct vars *v, struct cvec *cv, struct state *lp, struct state *rp)
static void freecolor(struct colormap *cm, color co)
static void newhicolorcols(struct colormap *cm)
static color newcolor(struct colormap *cm)
static color subcolorhi(struct colormap *cm, color *pco)
static void colorchain(struct colormap *cm, struct arc *a)
static void freecm(struct colormap *cm)
static void uncolorchain(struct colormap *cm, struct arc *a)
static void okcolors(struct nfa *nfa, struct colormap *cm)
static color maxcolor(struct colormap *cm)
static void initcm(struct vars *v, struct colormap *cm)
static color pseudocolor(struct colormap *cm)
static color subcolor(struct colormap *cm, chr c)
static void rainbow(struct nfa *nfa, struct colormap *cm, int type, color but, struct state *from, struct state *to)
static void colorcomplement(struct nfa *nfa, struct colormap *cm, int type, struct state *of, struct state *from, struct state *to)
static void subcoloronerange(struct vars *v, chr from, chr to, struct state *lp, struct state *rp, color *lastsubcolor)
static void subcoloronerow(struct vars *v, int rownum, struct state *lp, struct state *rp, color *lastsubcolor)
static color newsub(struct colormap *cm, color co)
color pg_reg_getcolor(struct colormap *cm, chr c)
static int cclass_column_index(struct colormap *cm, chr c)
static struct arc * findarc(struct state *s, int type, color co)
static void newarc(struct nfa *nfa, int t, color co, struct state *from, struct state *to)
struct arc * colorchainRev
int classbits[NUM_CCLASSES]
struct colordesc cdspace[NINLINECDS]