Home
last modified time | relevance | path

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

/l4re-core-master/lua/lib/contrib/src/
A Dlstring.c34 int luaS_eqlngstr (TString *a, TString *b) { in luaS_eqlngstr()
51 unsigned int luaS_hashlongstr (TString *ts) { in luaS_hashlongstr()
67 TString *p = vect[i]; in tablerehash()
70 TString *hnext = p->u.hnext; /* save next */ in tablerehash()
88 TString **newvect; in luaS_resize()
144 TString *ts; in createstrobj()
164 void luaS_remove (lua_State *L, TString *ts) { in luaS_remove()
189 TString *ts; in internshrstr()
193 TString **list = &tb->hash[lmod(h, tb->size)]; in internshrstr()
225 TString *ts; in luaS_newlstr()
[all …]
A Dlstring.h26 #define sizelstring(l) (offsetof(TString, contents) + ((l) + 1) * sizeof(char))
45 LUAI_FUNC unsigned int luaS_hashlongstr (TString *ts);
46 LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b);
50 LUAI_FUNC void luaS_remove (lua_State *L, TString *ts);
52 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
53 LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
54 LUAI_FUNC TString *luaS_createlngstrobj (lua_State *L, size_t l);
A Dllex.h52 TString *ts;
76 TString *source; /* current source name */
77 TString *envn; /* environment variable name */
83 TString *source, int firstchar);
84 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
A Dlparser.h73 TString *strval; /* for VKSTR */
102 TString *name; /* variable name */
111 TString *name; /* label identifier */
A Dlstate.h151 TString **hash;
292 TString *memerrmsg; /* message for memory-allocation errors */
293 TString *tmname[TM_N]; /* array with tag-method names */
295 TString *strcache[STRCACHE_N][STRCACHE_M]; /* cache for strings in API */
350 struct TString ts;
A Dlundump.c110 static TString *loadStringN (LoadState *S, Proto *p) { in loadStringN()
112 TString *ts; in loadStringN()
136 static TString *loadString (LoadState *S, Proto *p) { in loadString()
137 TString *st = loadStringN(S, p); in loadString()
152 static void loadFunction(LoadState *S, Proto *f, TString *psource);
256 static void loadFunction (LoadState *S, Proto *f, TString *psource) { in loadFunction()
A Dllex.c72 TString *e = luaS_newliteral(L, LUA_ENV); /* create env name */ in luaX_init()
75 TString *ts = luaS_new(L, luaX_tokens[i]); in luaX_init()
134 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring()
136 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring()
167 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput()
541 TString *ts; in llex()
A Dltable.h41 LUAI_FUNC const TValue *luaH_getshortstr (Table *t, TString *key);
42 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
A Dlparser.c143 static TString *str_checkname (LexState *ls) { in str_checkname()
144 TString *ts; in str_checkname()
159 static void codestring (expdesc *e, TString *s) { in codestring()
193 static int new_localvar (LexState *ls, TString *name) { in new_localvar()
342 static int searchupvalue (FuncState *fs, TString *name) { in searchupvalue()
453 TString *varname = str_checkname(ls); in singlevar()
532 static Labeldesc *findlabel (LexState *ls, TString *name) { in findlabel()
1407 TString *name = str_checkname(ls); /* label's name */ in gotostat()
1436 static void checkrepeated (LexState *ls, TString *name) { in checkrepeated()
1580 static void forlist (LexState *ls, TString *indexname) { in forlist()
[all …]
A Dlobject.h359 { TValue *io = (obj); TString *x_ = (x); \
373 typedef struct TString { struct
380 struct TString *hnext; /* linked list for hash table */ argument
383 } TString; typedef
503 TString *name; /* upvalue name (for debug information) */
515 TString *varname;
560 TString *source; /* used for debug information */
A Dldump.c88 static void dumpString (DumpState *D, const TString *s) { in dumpString()
106 static void dumpFunction(DumpState *D, const Proto *f, TString *psource);
179 static void dumpFunction (DumpState *D, const Proto *f, TString *psource) { in dumpFunction()
A Dldebug.h58 TString *src, int line);
A Dltm.h76 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
A Dltable.c152 TString *ts = tsvalueraw(*kvl); in mainposition()
156 TString *ts = tsvalueraw(*kvl); in mainposition()
747 const TValue *luaH_getshortstr (Table *t, TString *key) { in luaH_getshortstr()
763 const TValue *luaH_getstr (Table *t, TString *key) { in luaH_getstr()
A Dlvm.c375 static int l_strcmp (const TString *ls, const TString *rs) { in l_strcmp()
655 TString *ts; in luaV_concat()
1226 TString *key = tsvalue(rc); /* key must be a string */ in luaV_execute()
1266 TString *key = tsvalue(rc); /* key must be a string */ in luaV_execute()
1279 TString *key = tsvalue(rb); /* key must be a string */ in luaV_execute()
1319 TString *key = tsvalue(rb); /* key must be a string */ in luaV_execute()
1349 TString *key = tsvalue(rc); /* key must be a string */ in luaV_execute()
A Dlapi.c521 TString *ts; in lua_pushlstring()
537 TString *ts; in lua_pushstring()
635 TString *str = luaS_new(L, k); in auxgetstr()
825 TString *str = luaS_new(L, k); in auxsetstr()
1362 TString *name; in aux_upvalue()
A Dluac.c40 static TString **tmname;
221 static void PrintString(const TString* ts) in PrintString()
A Dltm.c60 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm()
A Dldebug.c178 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname()
753 const char *luaG_addinfo (lua_State *L, const char *msg, TString *src, in luaG_addinfo()
A Dlgc.c794 TString *ts = gco2ts(o); in freeobj()
800 TString *ts = gco2ts(o); in freeobj()
A Dlcode.c574 static int stringK (FuncState *fs, TString *s) { in stringK()

Completed in 74 milliseconds