Lines Matching defs:cont

403 parserep(Env_t* env, Rex_t* rex, Rex_t* cont, unsigned char* s, int n)
414 i = follow(env, rex, cont, s);
433 catcher.re.rep_catch.cont = cont;
477 i = follow(env, rex, cont, s);
500 parsetrie(Env_t* env, Trie_node_t* x, Rex_t* rex, Rex_t* cont, unsigned char* s)
537 switch (follow(env, rex, cont, s))
548 switch (parsetrie(env, x->son, rex, cont, s))
568 switch (follow(env, rex, cont, s))
798 parse(Env_t* env, Rex_t* rex, Rex_t* cont, unsigned char* s)
832 catcher.re.alt_catch.cont = cont;
848 if ((r = parse(env, rex->re.group.expr.binary.left, cont, s)) == NONE)
849 r = parse(env, rex->re.group.expr.binary.right, cont, s);
857 r = follow(env, rex, rex->re.alt_catch.cont, s);
915 switch (follow(env, rex, cont, s))
936 switch (follow(env, rex, cont, s))
976 switch (follow(env, rex, cont, s))
1000 switch (follow(env, rex, cont, s))
1017 next.re.conj_right.cont = cont;
1021 catcher.re.conj_left.cont = &next;
1026 rex->re.conj_left.cont->re.conj_right.end = s;
1027 cont = rex->re.conj_left.cont;
1034 cont = rex->re.conj_right.cont;
1096 switch (follow(env, rex, cont, s))
1120 switch (follow(env, rex, cont, s))
1144 switch (follow(env, rex, cont, s))
1162 switch (follow(env, rex, cont, s))
1191 catcher.re.group_catch.cont = cont;
1202 DEBUG_TEST(0x0200,(sfprintf(sfstdout,"AHA#%04d 0x%04x parse %s=>%s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), rexname(rex->re.group_catch.cont), env->end - s, s)),(0));
1210 r = follow(env, rex, rex->re.group_catch.cont, s);
1223 catcher.re.rep_catch.cont = cont;
1227 return follow(env, rex, rex->re.rep_catch.cont, rex->re.rep_catch.beg);
1231 r = follow(env, rex, cont, s);
1243 catcher.re.behind_catch.cont = cont;
1258 return follow(env, rex, rex->re.behind_catch.cont, rex->re.behind_catch.beg);
1278 r = follow(env, rex, cont, s);
1299 catcher.re.cond_catch.cont = cont;
1314 catcher.re.group_catch.cont = cont;
1318 return follow(env, rex, cont, s);
1324 catcher.re.group_catch.cont = rex->re.cond_catch.cont;
1328 return follow(env, rex, rex->re.group_catch.cont, s);
1333 catcher.re.group_catch.cont = cont;
1337 switch (r = follow(env, rex, rex->re.group_catch.cont, s))
1368 switch (follow(env, rex, cont, t))
1399 switch (follow(env, rex, cont, t))
1435 switch (follow(env, rex, cont, s + i))
1507 switch (follow(env, rex, cont, s))
1549 switch (follow(env, rex, cont, s))
1580 switch (follow(env, rex, cont, s))
1602 switch (follow(env, rex, cont, s))
1629 switch (follow(env, rex, cont, s))
1653 switch (follow(env, rex, cont, s))
1673 r = parserep(env, rex, cont, s, 0);
1694 r = follow(env, rex, rex->re.rep_catch.cont, s);
1699 r = parserep(env, rex->re.rep_catch.ref, rex->re.rep_catch.cont, s, rex->re.rep_catch.n);
1735 return parsetrie(env, x, rex, cont, s);
1785 if (!(rex = cont))
1787 cont = 0;