Home
last modified time | relevance | path

Searched refs:TString (Results 1 – 20 of 20) sorted by relevance

/redis-3.2.3/deps/lua/src/
H A Dlstring.c44 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 Dllex.h45 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 Dlstring.h16 #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 Dltable.h23 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 Dlobject.h199 typedef union TString { union
207 } TString; typedef
238 TString **upvalues; /* upvalue names */
239 TString *source;
263 TString *varname;
H A Dlundump.c76 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 Dldump.c61 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 Dllex.c67 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 Dlparser.c59 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 Dlstate.h93 TString *tmname[TM_N]; /* array with tag-method names */
138 union TString ts;
H A Dltm.h49 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
H A Dltm.c50 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm()
H A Dlcode.h51 LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s);
H A Dprint.c23 static void PrintString(const TString* ts) in PrintString()
H A Dltable.c455 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 Dlfunc.c147 luaM_freearray(L, f->upvalues, f->sizeupvalues, TString *); in luaF_freeproto()
H A Dlstate.c111 luaM_freearray(L, G(L)->strt.hash, G(L)->strt.size, TString *); in close_state()
H A Dlvm.c203 static int l_strcmp (const TString *ls, const TString *rs) { in l_strcmp()
H A Dlgc.c316 sizeof(TString *) * p->sizeupvalues; in propagatemark()
H A Dlcode.c250 int luaK_stringK (FuncState *fs, TString *s) { in luaK_stringK()