Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlstring.h15 #define sizestring(s) (sizeof(union TString)+((s)->len+1)*sizeof(char))
38 LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b);
39 LUAI_FUNC int luaS_eqstr (TString *a, TString *b);
42 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
43 LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
Dlstring.c33 int luaS_eqlngstr (TString *a, TString *b) { in luaS_eqlngstr()
45 int luaS_eqstr (TString *a, TString *b) { in luaS_eqstr()
98 static TString *createstrobj (lua_State *L, const char *str, size_t l, in createstrobj()
100 TString *ts; in createstrobj()
102 totalsize = sizeof(TString) + ((l + 1) * sizeof(char)); in createstrobj()
116 static TString *newshrstr (lua_State *L, const char *str, size_t l, in newshrstr()
120 TString *s; in newshrstr()
133 static TString *internshrstr (lua_State *L, const char *str, size_t l) { in internshrstr()
140 TString *ts = rawgco2ts(o); in internshrstr()
156 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr()
[all …]
Dllex.h39 TString *ts;
62 TString *source; /* current source name */
63 TString *envn; /* environment variable name */
70 TString *source, int firstchar);
71 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
Dlstate.h145 TString *memerrmsg; /* memory-error message */
146 TString *tmname[TM_N]; /* array with tag-method names */
187 union TString ts;
Dlparser.c64 TString *ts = ls->t.seminfo.ts; in anchor_token()
139 static TString *str_checkname (LexState *ls) { in str_checkname()
140 TString *ts; in str_checkname()
155 static void codestring (LexState *ls, expdesc *e, TString *s) { in codestring()
165 static int registerlocalvar (LexState *ls, TString *varname) { in registerlocalvar()
178 static void new_localvar (LexState *ls, TString *name) { in new_localvar()
221 static int searchupvalue (FuncState *fs, TString *name) { in searchupvalue()
231 static int newupvalue (FuncState *fs, TString *name, expdesc *v) { in newupvalue()
246 static int searchvar (FuncState *fs, TString *n) { in searchvar()
271 static int singlevaraux (FuncState *fs, TString *n, expdesc *var, int base) { in singlevaraux()
[all …]
Dlobject.h207 TString *x_ = (x); \
410 typedef union TString { union
418 } TString; typedef
447 TString *name; /* upvalue name (for debug information) */
458 TString *varname;
476 TString *source; /* used for debug information */
Dllex.c68 TString *ts = luaS_new(L, luaX_tokens[i]); in luaX_init()
124 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring()
127 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring()
159 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput()
490 TString *ts; in llex()
Dltm.h52 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
Dltm.c52 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm()
Dlparser.h64 TString *name; /* label identifier */
Dltable.h27 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
Dlcode.h54 LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s);
Dlgc.h32 #define GCSTEPSIZE (cast_int(100 * sizeof(TString)))
Dldump.c61 static void DumpString(const TString* s, DumpState* D) in DumpString()
Dltable.c102 TString *s = rawtsvalue(key); in mainposition()
466 const TValue *luaH_getstr (Table *t, TString *key) { in luaH_getstr()
Dldebug.c101 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname()
562 TString *src = ci_func(ci)->p->source; in addinfo()
Dlundump.c72 static TString* LoadString(LoadState* S) in LoadString()
Dluac.c223 static void PrintString(const TString* ts) in PrintString()
Dlapi.c502 TString *ts; in lua_pushlstring()
519 TString *ts; in lua_pushstring()
1203 TString *name; in aux_upvalue()
Dlvm.c209 static int l_strcmp (const TString *ls, const TString *rs) { in l_strcmp()
Dlcode.c319 int luaK_stringK (FuncState *fs, TString *s) { in luaK_stringK()
Dlgc.c31 #define GCSWEEPCOST ((sizeof(TString) + 4) / 4)