/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A 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 …]
|
H A 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);
|
H A 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);
|
H A D | lparser.c | 63 TString *ts = ls->t.seminfo.ts; in anchor_token() 138 static TString *str_checkname (LexState *ls) { in str_checkname() 139 TString *ts; in str_checkname() 154 static void codestring (LexState *ls, expdesc *e, TString *s) { in codestring() 164 static int registerlocalvar (LexState *ls, TString *varname) { in registerlocalvar() 177 static void new_localvar (LexState *ls, TString *name) { in new_localvar() 220 static int searchupvalue (FuncState *fs, TString *name) { in searchupvalue() 230 static int newupvalue (FuncState *fs, TString *name, expdesc *v) { in newupvalue() 245 static int searchvar (FuncState *fs, TString *n) { in searchvar() 270 static int singlevaraux (FuncState *fs, TString *n, expdesc *var, int base) { in singlevaraux() [all …]
|
H A D | lstate.h | 145 TString *memerrmsg; /* memory-error message */ 146 TString *tmname[TM_N]; /* array with tag-method names */ 187 union TString ts;
|
H A D | lobject.h | 206 TString *x_ = (x); \ 409 typedef union TString { union 417 } TString; typedef 446 TString *name; /* upvalue name (for debug information) */ 457 TString *varname; 475 TString *source; /* used for debug information */
|
H A D | llex.c | 66 TString *ts = luaS_new(L, luaX_tokens[i]); in luaX_init() 122 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring() 125 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring() 157 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput() 489 TString *ts; in llex()
|
H A D | ltm.h | 52 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
|
H A D | ltm.c | 52 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm()
|
H A D | lparser.h | 64 TString *name; /* label identifier */
|
H A D | ltable.h | 27 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
|
H A D | lcode.h | 54 LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s);
|
H A D | lgc.h | 32 #define GCSTEPSIZE (cast_int(100 * sizeof(TString)))
|
H A D | ldump.c | 61 static void DumpString(const TString* s, DumpState* D) in DumpString()
|
H A D | ltable.c | 102 TString *s = rawtsvalue(key); in mainposition() 466 const TValue *luaH_getstr (Table *t, TString *key) { in luaH_getstr()
|
H A D | ldebug.c | 108 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname() 576 TString *src = ci_func(ci)->p->source; in addinfo()
|
H A D | lundump.c | 72 static TString* LoadString(LoadState* S) in LoadString()
|
H A D | lapi.c | 501 TString *ts; in lua_pushlstring() 518 TString *ts; in lua_pushstring() 1199 TString *name; in aux_upvalue()
|
H A D | lvm.c | 209 static int l_strcmp (const TString *ls, const TString *rs) { in l_strcmp()
|
H A D | lcode.c | 318 int luaK_stringK (FuncState *fs, TString *s) { in luaK_stringK()
|
H A D | lgc.c | 31 #define GCSWEEPCOST ((sizeof(TString) + 4) / 4)
|