Lines Matching defs:type

93 	if (rex->type >= elementsof(rexnames))
95 return rexnames[rex->type];
429 catcher.type = REX_REP_CATCH;
722 nestmatch(register unsigned char* s, register unsigned char* e, const unsigned short* type, register int co)
729 if (type[co] & (REX_NEST_literal|REX_NEST_quote))
731 n = (type[co] & REX_NEST_literal) ? REX_NEST_terminator : (REX_NEST_escape|REX_NEST_terminator);
737 else if (type[c] & n)
739 if (s >= e || (type[c] & REX_NEST_terminator))
747 cc = type[co] >> REX_NEST_SHIFT;
748 oc = type[co] & (REX_NEST_open|REX_NEST_close);
753 switch (type[c] & (REX_NEST_escape|REX_NEST_open|REX_NEST_close|REX_NEST_delimiter|REX_NEST_separator|REX_NEST_terminator))
780 else if (!(s = nestmatch(s, e, type, c)))
791 return (oc || !(type[UCHAR_MAX+1] & REX_NEST_terminator)) ? 0 : s;
820 switch (rex->type)
829 catcher.type = REX_ALT_CATCH;
1015 next.type = REX_CONJ_RIGHT;
1018 catcher.type = REX_CONJ_LEFT;
1188 catcher.type = REX_GROUP_CATCH;
1218 catcher.type = REX_GROUP_AHEAD_CATCH;
1237 catcher.type = REX_GROUP_BEHIND_CATCH;
1263 catcher.type = REX_GROUP_BEHIND_NOT_CATCH;
1293 catcher.type = REX_GROUP_COND_CATCH;
1310 catcher.type = REX_CAT;
1320 catcher.type = REX_CAT;
1329 catcher.type = REX_GROUP_CUT_CATCH;
1420 catcher.type = REX_NEG_CATCH;
1466 if (s >= env->end || !(s = nestmatch(s, env->end, rex->re.nest.type, c)))
1472 if (rex->re.nest.type[c] & (REX_NEST_delimiter|REX_NEST_separator|REX_NEST_terminator))
1474 if (!(s = nestmatch(s, env->end, rex->re.nest.type, c)))
1476 } while (s < env->end && !(rex->re.nest.type[*(s-1)] & (REX_NEST_delimiter|REX_NEST_separator|REX_NEST_terminator)));
1806 switch (e->type)
1895 if ((e = env->rex)->type == REX_BM)