|
static void | add_s (MatchState *ms, luaL_Buffer *b, const char *s, const char *e) |
|
static int | add_value (MatchState *ms, luaL_Buffer *b, const char *s, const char *e, int tr) |
|
static void | addlenmod (char *form, const char *lenmod) |
|
static void | addliteral (lua_State *L, luaL_Buffer *b, int arg) |
|
static void | addquoted (luaL_Buffer *b, const char *s, size_t len) |
|
static int | arith (lua_State *L, int op, const char *mtname) |
|
static int | arith_add (lua_State *L) |
|
static int | arith_div (lua_State *L) |
|
static int | arith_idiv (lua_State *L) |
|
static int | arith_mod (lua_State *L) |
|
static int | arith_mul (lua_State *L) |
|
static int | arith_pow (lua_State *L) |
|
static int | arith_sub (lua_State *L) |
|
static int | arith_unm (lua_State *L) |
|
static int | capture_to_close (MatchState *ms) |
|
static int | check_capture (MatchState *ms, int l) |
|
static const char * | classend (MatchState *ms, const char *p) |
|
static void | copywithendian (char *dest, const char *src, int size, int islittle) |
|
static void | createmetatable (lua_State *L) |
|
static int | digit (int c) |
|
static const char * | end_capture (MatchState *ms, const char *s, const char *p) |
|
static size_t | get_onecapture (MatchState *ms, int i, const char *s, const char *e, const char **cap) |
|
static KOption | getdetails (Header *h, size_t totalsize, const char **fmt, int *psize, int *ntoalign) |
|
static size_t | getendpos (lua_State *L, int arg, lua_Integer def, size_t len) |
|
static int | getnum (const char **fmt, int df) |
|
static int | getnumlimit (Header *h, const char **fmt, int df) |
|
static KOption | getoption (Header *h, const char **fmt, int *size) |
|
static int | gmatch (lua_State *L) |
|
static int | gmatch_aux (lua_State *L) |
|
static void | initheader (lua_State *L, Header *h) |
|
static const char * | lmemfind (const char *s1, size_t l1, const char *s2, size_t l2) |
|
LUAMOD_API int | luaopen_string (lua_State *L) |
|
static const char * | match (MatchState *ms, const char *s, const char *p) |
|
static const char * | match_capture (MatchState *ms, const char *s, int l) |
|
static int | match_class (int c, int cl) |
|
static const char * | matchbalance (MatchState *ms, const char *s, const char *p) |
|
static int | matchbracketclass (int c, const char *p, const char *ec) |
|
static const char * | max_expand (MatchState *ms, const char *s, const char *p, const char *ep) |
|
static const char * | min_expand (MatchState *ms, const char *s, const char *p, const char *ep) |
|
static int | nospecials (const char *p, size_t l) |
|
static void | packint (luaL_Buffer *b, lua_Unsigned n, int islittle, int size, int neg) |
|
static size_t | posrelatI (lua_Integer pos, size_t len) |
|
static void | prepstate (MatchState *ms, lua_State *L, const char *s, size_t ls, const char *p, size_t lp) |
|
static int | push_captures (MatchState *ms, const char *s, const char *e) |
|
static void | push_onecapture (MatchState *ms, int i, const char *s, const char *e) |
|
static int | quotefloat (lua_State *L, char *buff, lua_Number n) |
|
static void | reprepstate (MatchState *ms) |
|
static const char * | scanformat (lua_State *L, const char *strfrmt, char *form) |
|
static int | singlematch (MatchState *ms, const char *s, const char *p, const char *ep) |
|
static const char * | start_capture (MatchState *ms, const char *s, const char *p, int what) |
|
static int | str_byte (lua_State *L) |
|
static int | str_char (lua_State *L) |
|
static int | str_dump (lua_State *L) |
|
static int | str_find (lua_State *L) |
|
static int | str_find_aux (lua_State *L, int find) |
|
static int | str_format (lua_State *L) |
|
static int | str_gsub (lua_State *L) |
|
static int | str_len (lua_State *L) |
|
static int | str_lower (lua_State *L) |
|
static int | str_match (lua_State *L) |
|
static int | str_pack (lua_State *L) |
|
static int | str_packsize (lua_State *L) |
|
static int | str_rep (lua_State *L) |
|
static int | str_reverse (lua_State *L) |
|
static int | str_sub (lua_State *L) |
|
static int | str_unpack (lua_State *L) |
|
static int | str_upper (lua_State *L) |
|
static int | tonum (lua_State *L, int arg) |
|
static void | trymt (lua_State *L, const char *mtname) |
|
static lua_Integer | unpackint (lua_State *L, const char *str, int islittle, int size, int issigned) |
|
static int | writer (lua_State *L, const void *b, size_t size, void *ud) |
|