Lines Matching refs:MatchState

221 typedef struct MatchState {  struct
232 } MatchState; argument
236 static const char *match (MatchState *ms, const char *s, const char *p);
249 static int check_capture (MatchState *ms, int l) { in check_capture()
257 static int capture_to_close (MatchState *ms) { in capture_to_close()
265 static const char *classend (MatchState *ms, const char *p) { in classend()
339 static int singlematch (MatchState *ms, const char *s, const char *p, in singlematch()
355 static const char *matchbalance (MatchState *ms, const char *s, in matchbalance()
376 static const char *max_expand (MatchState *ms, const char *s, in max_expand()
391 static const char *min_expand (MatchState *ms, const char *s, in min_expand()
404 static const char *start_capture (MatchState *ms, const char *s, in start_capture()
418 static const char *end_capture (MatchState *ms, const char *s, in end_capture()
429 static const char *match_capture (MatchState *ms, const char *s, int l) { in match_capture()
440 static const char *match (MatchState *ms, const char *s, const char *p) { in match()
566 static void push_onecapture (MatchState *ms, int i, const char *s, in push_onecapture()
585 static int push_captures (MatchState *ms, const char *s, const char *e) { in push_captures()
628 MatchState ms; in str_find_aux()
670 MatchState ms; in gmatch_aux()
708 static void add_s (MatchState *ms, luaL_Buffer *b, const char *s, in add_s()
734 static void add_value (MatchState *ms, luaL_Buffer *b, const char *s, in add_value()
773 MatchState ms; in str_gsub()