• Home
  • Raw
  • Download

Lines Matching refs:MatchState

214 typedef struct MatchState {  struct
225 } MatchState; argument
229 static const char *match (MatchState *ms, const char *s, const char *p);
242 static int check_capture (MatchState *ms, int l) { in check_capture()
250 static int capture_to_close (MatchState *ms) { in capture_to_close()
258 static const char *classend (MatchState *ms, const char *p) { in classend()
325 static int singlematch (MatchState *ms, const char *s, const char *p, in singlematch()
341 static const char *matchbalance (MatchState *ms, const char *s, in matchbalance()
361 static const char *max_expand (MatchState *ms, const char *s, in max_expand()
376 static const char *min_expand (MatchState *ms, const char *s, in min_expand()
389 static const char *start_capture (MatchState *ms, const char *s, in start_capture()
403 static const char *end_capture (MatchState *ms, const char *s, in end_capture()
414 static const char *match_capture (MatchState *ms, const char *s, int l) { in match_capture()
425 static const char *match (MatchState *ms, const char *s, const char *p) { in match()
550 static void push_onecapture (MatchState *ms, int i, const char *s, in push_onecapture()
569 static int push_captures (MatchState *ms, const char *s, const char *e) { in push_captures()
591 static void prepstate (MatchState *ms, lua_State *L, in prepstate()
601 static void reprepstate (MatchState *ms) { in reprepstate()
628 MatchState ms; in str_find_aux()
669 MatchState ms; /* match state */
703 static void add_s (MatchState *ms, luaL_Buffer *b, const char *s, in add_s()
731 static void add_value (MatchState *ms, luaL_Buffer *b, const char *s, in add_value()
771 MatchState ms; in str_gsub()