• Home
  • Raw
  • Download

Lines Matching refs:MatchState

356 typedef struct MatchState {  struct
367 } MatchState; argument
371 static const char *match (MatchState *ms, const char *s, const char *p);
384 static int check_capture (MatchState *ms, int l) { in check_capture()
392 static int capture_to_close (MatchState *ms) { in capture_to_close()
400 static const char *classend (MatchState *ms, const char *p) { in classend()
467 static int singlematch (MatchState *ms, const char *s, const char *p, in singlematch()
483 static const char *matchbalance (MatchState *ms, const char *s, in matchbalance()
503 static const char *max_expand (MatchState *ms, const char *s, in max_expand()
518 static const char *min_expand (MatchState *ms, const char *s, in min_expand()
531 static const char *start_capture (MatchState *ms, const char *s, in start_capture()
545 static const char *end_capture (MatchState *ms, const char *s, in end_capture()
556 static const char *match_capture (MatchState *ms, const char *s, int l) { in match_capture()
567 static const char *match (MatchState *ms, const char *s, const char *p) { in match()
699 static size_t get_onecapture (MatchState *ms, int i, const char *s, in get_onecapture()
722 static void push_onecapture (MatchState *ms, int i, const char *s, in push_onecapture()
732 static int push_captures (MatchState *ms, const char *s, const char *e) { in push_captures()
754 static void prepstate (MatchState *ms, lua_State *L, in prepstate()
764 static void reprepstate (MatchState *ms) { in reprepstate()
790 MatchState ms; in str_find_aux()
831 MatchState ms; /* match state */
868 static void add_s (MatchState *ms, luaL_Buffer *b, const char *s, in add_s()
903 static int add_value (MatchState *ms, luaL_Buffer *b, const char *s, in add_value()
949 MatchState ms; in str_gsub()