|
static int | str_len (lua_State *L) |
|
static lua_Integer | posrelat (lua_Integer pos, size_t len) |
|
static int | str_sub (lua_State *L) |
|
static int | str_reverse (lua_State *L) |
|
static int | str_lower (lua_State *L) |
|
static int | str_upper (lua_State *L) |
|
static int | str_rep (lua_State *L) |
|
static int | str_byte (lua_State *L) |
|
static int | str_char (lua_State *L) |
|
static int | writer (lua_State *L, const void *b, size_t size, void *B) |
|
static int | str_dump (lua_State *L) |
|
static const char * | match (MatchState *ms, const char *s, const char *p) |
|
static int | check_capture (MatchState *ms, int l) |
|
static int | capture_to_close (MatchState *ms) |
|
static const char * | classend (MatchState *ms, const char *p) |
|
static int | match_class (int c, int cl) |
|
static int | matchbracketclass (int c, const char *p, const char *ec) |
|
static int | singlematch (MatchState *ms, const char *s, const char *p, const char *ep) |
|
static const char * | matchbalance (MatchState *ms, const char *s, const char *p) |
|
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 const char * | start_capture (MatchState *ms, const char *s, const char *p, int what) |
|
static const char * | end_capture (MatchState *ms, const char *s, const char *p) |
|
static const char * | match_capture (MatchState *ms, const char *s, int l) |
|
static const char * | lmemfind (const char *s1, size_t l1, const char *s2, size_t l2) |
|
static void | push_onecapture (MatchState *ms, int i, const char *s, const char *e) |
|
static int | push_captures (MatchState *ms, const char *s, const char *e) |
|
static int | nospecials (const char *p, size_t l) |
|
static void | prepstate (MatchState *ms, lua_State *L, const char *s, size_t ls, const char *p, size_t lp) |
|
static void | reprepstate (MatchState *ms) |
|
static int | str_find_aux (lua_State *L, int find) |
|
static int | str_find (lua_State *L) |
|
static int | str_match (lua_State *L) |
|
static int | gmatch_aux (lua_State *L) |
|
static int | gmatch (lua_State *L) |
|
static void | add_s (MatchState *ms, luaL_Buffer *b, const char *s, const char *e) |
|
static void | add_value (MatchState *ms, luaL_Buffer *b, const char *s, const char *e, int tr) |
|
static int | str_gsub (lua_State *L) |
|
static void | addquoted (luaL_Buffer *b, const char *s, size_t len) |
|
static void | checkdp (char *buff, int nb) |
|
static void | addliteral (lua_State *L, luaL_Buffer *b, int arg) |
|
static const char * | scanformat (lua_State *L, const char *strfrmt, char *form) |
|
static void | addlenmod (char *form, const char *lenmod) |
|
static int | str_format (lua_State *L) |
|
static int | digit (int c) |
|
static int | getnum (const char **fmt, int df) |
|
static int | getnumlimit (Header *h, const char **fmt, int df) |
|
static void | initheader (lua_State *L, Header *h) |
|
static KOption | getoption (Header *h, const char **fmt, int *size) |
|
static KOption | getdetails (Header *h, size_t totalsize, const char **fmt, int *psize, int *ntoalign) |
|
static void | packint (luaL_Buffer *b, lua_Unsigned n, int islittle, int size, int neg) |
|
static void | copywithendian (volatile char *dest, volatile const char *src, int size, int islittle) |
|
static int | str_pack (lua_State *L) |
|
static int | str_packsize (lua_State *L) |
|
static lua_Integer | unpackint (lua_State *L, const char *str, int islittle, int size, int issigned) |
|
static int | str_unpack (lua_State *L) |
|
static void | createmetatable (lua_State *L) |
|
LUAMOD_API int | luaopen_string (lua_State *L) |
|