/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | lstring.h | 15 #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);
|
D | lstring.c | 33 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 …]
|
D | llex.h | 39 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);
|
D | lstate.h | 145 TString *memerrmsg; /* memory-error message */ 146 TString *tmname[TM_N]; /* array with tag-method names */ 187 union TString ts;
|
D | lparser.c | 64 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 …]
|
D | lobject.h | 207 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 */
|
D | llex.c | 68 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()
|
D | ltm.h | 52 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
|
D | ltm.c | 52 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm()
|
D | lparser.h | 64 TString *name; /* label identifier */
|
D | ltable.h | 27 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
|
D | lcode.h | 54 LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s);
|
D | lgc.h | 32 #define GCSTEPSIZE (cast_int(100 * sizeof(TString)))
|
D | ldump.c | 61 static void DumpString(const TString* s, DumpState* D) in DumpString()
|
D | ltable.c | 102 TString *s = rawtsvalue(key); in mainposition() 466 const TValue *luaH_getstr (Table *t, TString *key) { in luaH_getstr()
|
D | ldebug.c | 101 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname() 562 TString *src = ci_func(ci)->p->source; in addinfo()
|
D | lundump.c | 72 static TString* LoadString(LoadState* S) in LoadString()
|
D | luac.c | 223 static void PrintString(const TString* ts) in PrintString()
|
D | lapi.c | 502 TString *ts; in lua_pushlstring() 519 TString *ts; in lua_pushstring() 1203 TString *name; in aux_upvalue()
|
D | lvm.c | 209 static int l_strcmp (const TString *ls, const TString *rs) { in l_strcmp()
|
D | lcode.c | 319 int luaK_stringK (FuncState *fs, TString *s) { in luaK_stringK()
|
D | lgc.c | 31 #define GCSWEEPCOST ((sizeof(TString) + 4) / 4)
|