| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lstring.h | 16 #define sizestring(s) (sizeof(union TString)+((s)->len+1)*sizeof(char)) 39 LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); 40 LUAI_FUNC int luaS_eqstr (TString *a, TString *b); 43 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); 44 LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
|
| H A D | lstring.c | 32 int luaS_eqlngstr (TString *a, TString *b) { in luaS_eqlngstr() 44 int luaS_eqstr (TString *a, TString *b) { in luaS_eqstr() 99 TString *ts; in createstrobj() 102 totalsize = sizeof(TString) + ((l + 1) * sizeof(char)); in createstrobj() 107 sbuf = (char *)(TString *)(ts + 1); in createstrobj() 117 static TString *newshrstr (lua_State *L, const char *str, size_t l, in newshrstr() 121 TString *s; in newshrstr() 141 TString *ts = rawgco2ts(o); in internshrstr() 157 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr() 161 if (l + 1 > (MAX_SIZET - sizeof(TString))/sizeof(char)) in luaS_newlstr() [all …]
|
| H A D | llex.h | 40 TString *ts; 66 TString *source; /* current source name */ 67 TString *envn; /* environment variable name */ 74 TString *source, int firstchar); 75 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
|
| H A D | lstate.h | 146 TString *memerrmsg; /* memory-error message */ 147 TString *tmname[TM_N]; /* array with tag-method names */ 189 union TString ts;
|
| H A D | lparser.c | 62 TString *ts = ls->t.seminfo.ts; in anchor_token() 137 static TString *str_checkname (LexState *ls) { in str_checkname() 138 TString *ts; in str_checkname() 176 static void new_localvar (LexState *ls, TString *name) { in new_localvar() 219 static int searchupvalue (FuncState *fs, TString *name) { in searchupvalue() 244 static int searchvar (FuncState *fs, TString *n) { in searchvar() 296 TString *varname = str_checkname(ls); in singlevar() 345 TString *vname = getlocvar(fs, gt->nactvar)->varname; in closegoto() 452 TString *n = luaS_new(ls->L, "break"); in breaklabel() 1185 TString *label; in gotostat() [all …]
|
| H A D | lobject.h | 205 TString *x_ = (x); \ 408 typedef union TString { union 416 } TString; typedef 445 TString *name; /* upvalue name (for debug information) */ 456 TString *varname; 474 TString *source; /* used for debug information */
|
| H A D | llex.c | 65 TString *ts = luaS_new(L, luaX_tokens[i]); in luaX_init() 121 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring() 124 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring() 156 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput() 491 TString *ts; in llex()
|
| H A D | ltm.h | 53 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
|
| H A D | ltm.c | 51 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm()
|
| H A D | lparser.h | 65 TString *name; /* label identifier */
|
| H A D | ltable.h | 28 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
|
| H A D | lcode.h | 55 LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s);
|
| /f-stack/app/redis-5.0.5/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);
|