| /redis-3.2.3/deps/lua/src/ |
| H A D | lstring.c | 44 luaM_freearray(L, tb->hash, tb->size, TString *); in luaS_resize() 50 static TString *newlstr (lua_State *L, const char *str, size_t l, in newlstr() 52 TString *ts; in newlstr() 54 if (l+1 > (MAX_SIZET - sizeof(TString))/sizeof(char)) in newlstr() 56 ts = cast(TString *, luaM_malloc(L, (l+1)*sizeof(char)+sizeof(TString))); in newlstr() 75 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr() 85 TString *ts = rawgco2ts(o); in luaS_newlstr()
|
| H A D | llex.h | 45 TString *ts; 65 TString *source; /* current source name */ 72 TString *source); 73 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
|
| H A D | lstring.h | 16 #define sizestring(s) (sizeof(union TString)+((s)->len+1)*sizeof(char)) 28 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
|
| H A D | ltable.h | 23 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); 24 LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key);
|
| H A D | lobject.h | 199 typedef union TString { union 207 } TString; typedef 238 TString **upvalues; /* upvalue names */ 239 TString *source; 263 TString *varname;
|
| H A D | lundump.c | 76 static TString* LoadString(LoadState* S) in LoadString() 98 static Proto* LoadFunction(LoadState* S, TString* p); 155 f->upvalues=luaM_newvector(S->L,n,TString*); in LoadDebug() 161 static Proto* LoadFunction(LoadState* S, TString* p) in LoadFunction()
|
| H A D | ldump.c | 61 static void DumpString(const TString* s, DumpState* D) in DumpString() 78 static void DumpFunction(const Proto* f, const TString* p, DumpState* D); 129 static void DumpFunction(const Proto* f, const TString* p, DumpState* D) in DumpFunction()
|
| H A D | llex.c | 67 TString *ts = luaS_new(L, luaX_tokens[i]); in luaX_init() 117 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring() 119 TString *ts = luaS_newlstr(L, str, l); in luaX_newstring() 140 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source) { in luaX_setinput() 424 TString *ts; in llex()
|
| H A D | lparser.c | 59 TString *ts = ls->t.seminfo.ts; in anchor_token() 117 static TString *str_checkname (LexState *ls) { in str_checkname() 118 TString *ts; in str_checkname() 133 static void codestring (LexState *ls, expdesc *e, TString *s) { in codestring() 143 static int registerlocalvar (LexState *ls, TString *varname) { in registerlocalvar() 160 static void new_localvar (LexState *ls, TString *name, int n) { in new_localvar() 196 TString *, MAX_INT, ""); in indexupvalue() 207 static int searchvar (FuncState *fs, TString *n) { in searchvar() 249 TString *varname = str_checkname(ls); in singlevar() 1089 static void forlist (LexState *ls, TString *indexname) { in forlist() [all …]
|
| H A D | lstate.h | 93 TString *tmname[TM_N]; /* array with tag-method names */ 138 union TString ts;
|
| H A D | ltm.h | 49 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
|
| H A D | ltm.c | 50 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm()
|
| H A D | lcode.h | 51 LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s);
|
| H A D | print.c | 23 static void PrintString(const TString* ts) in PrintString()
|
| H A D | ltable.c | 455 const TValue *luaH_getstr (Table *t, TString *key) { in luaH_getstr() 520 TValue *luaH_setstr (lua_State *L, Table *t, TString *key) { in luaH_setstr()
|
| H A D | lfunc.c | 147 luaM_freearray(L, f->upvalues, f->sizeupvalues, TString *); in luaF_freeproto()
|
| H A D | lstate.c | 111 luaM_freearray(L, G(L)->strt.hash, G(L)->strt.size, TString *); in close_state()
|
| H A D | lvm.c | 203 static int l_strcmp (const TString *ls, const TString *rs) { in l_strcmp()
|
| H A D | lgc.c | 316 sizeof(TString *) * p->sizeupvalues; in propagatemark()
|
| H A D | lcode.c | 250 int luaK_stringK (FuncState *fs, TString *s) { in luaK_stringK()
|