/freebsd-12-stable/contrib/lua/src/ |
H A D | lstring.h | 37 LUAI_FUNC unsigned int luaS_hashlongstr (TString *ts); 38 LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); 42 LUAI_FUNC void luaS_remove (lua_State *L, TString *ts); 44 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); 45 LUAI_FUNC TString *luaS_new (lua_State *L, const char *str); 46 LUAI_FUNC TString *luaS_createlngstrobj (lua_State *L, size_t l);
|
H A D | llex.h | 46 TString *ts; 70 TString *source; /* current source name */ 71 TString *envn; /* environment variable name */ 77 TString *source, int firstchar); 78 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
|
H A D | lstring.c | 40 int luaS_eqlngstr (TString *a, TString *b) { 58 unsigned int luaS_hashlongstr (TString *ts) { 75 luaM_reallocvector(L, tb->hash, tb->size, newsize, TString *); 80 TString *p = tb->hash[i]; 83 TString *hnext = p->u.hnext; /* save next */ 93 luaM_reallocvector(L, tb->hash, tb->size, newsize, TString *); 133 static TString *createstrobj (lua_State *L, size_t l, int tag, unsigned int h) { 134 TString *ts; 136 size_t totalsize; /* total size of TString objec [all...] |
H A D | lstate.h | 77 TString **hash; 168 TString *memerrmsg; /* memory-error message */ 169 TString *tmname[TM_N]; /* array with tag-method names */ 171 TString *strcache[STRCACHE_N][STRCACHE_M]; /* cache for strings in API */ 213 struct TString ts;
|
H A D | ltable.h | 46 LUAI_FUNC const TValue *luaH_getshortstr (Table *t, TString *key); 47 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
|
H A D | ldebug.h | 34 TString *src, int line);
|
H A D | lparser.h | 79 TString *name; /* label identifier */
|
H A D | llex.c | 72 TString *e = luaS_newliteral(L, LUA_ENV); /* create env name */ 75 TString *ts = luaS_new(L, luaX_tokens[i]); 127 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { 130 TString *ts = luaS_newlstr(L, str, l); /* create new string */ 162 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, 528 TString *ts;
|
H A D | lobject.h | 226 { TValue *io = (obj); TString *x_ = (x); \ 303 typedef struct TString { struct 310 struct TString *hnext; /* linked list for hash table */ 312 } TString; typedef in typeref:struct:TString 320 TString tsv; 325 ** Get the actual string (array of bytes) from a 'TString'. 326 ** (Access to 'extra' ensures that value is really a 'TString'.) 335 /* get string length from 'TString *s' */ 387 TString *name; /* upvalue name (for debug information) */ 398 TString *varnam [all...] |
H A D | ltm.h | 60 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
|
H A D | lundump.c | 88 static TString *LoadString (LoadState *S, Proto *p) { 91 TString *ts; 121 static void LoadFunction(LoadState *S, Proto *f, TString *psource); 209 static void LoadFunction (LoadState *S, Proto *f, TString *psource) {
|
H A D | ldump.c | 73 static void DumpString (const TString *s, DumpState *D) { 96 static void DumpFunction(const Proto *f, TString *psource, DumpState *D); 166 static void DumpFunction (const Proto *f, TString *psource, DumpState *D) {
|
H A D | lparser.c | 135 static TString *str_checkname (LexState *ls) { 136 TString *ts; 151 static void codestring (LexState *ls, expdesc *e, TString *s) { 161 static int registerlocalvar (LexState *ls, TString *varname) { 175 static void new_localvar (LexState *ls, TString *name) { 218 static int searchupvalue (FuncState *fs, TString *name) { 228 static int newupvalue (FuncState *fs, TString *name, expdesc *v) { 244 static int searchvar (FuncState *fs, TString *n) { 270 static void singlevaraux (FuncState *fs, TString *n, expdesc *var, int base) { 296 TString *varnam [all...] |
H A D | lcode.h | 59 LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s);
|
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
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 | lstring.c | 33 int luaS_eqlngstr (TString *a, TString *b) { 45 int luaS_eqstr (TString *a, TString *b) { 98 static TString *createstrobj (lua_State *L, const char *str, size_t l, 100 TString *ts; 101 size_t totalsize; /* total size of TString object */ 102 totalsize = sizeof(TString) + ((l + 1) * sizeof(char)); 116 static TString *newshrstr (lua_State *L, const char *str, size_t l, 120 TString * [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 | lparser.h | 64 TString *name; /* label identifier */
|
H A D | ltm.c | 52 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) {
|
H A D | ltm.h | 52 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
|
H A D | ltable.h | 27 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
|
H A D | lparser.c | 63 TString *ts = ls->t.seminfo.ts; 138 static TString *str_checkname (LexState *ls) { 139 TString *ts; 154 static void codestring (LexState *ls, expdesc *e, TString *s) { 164 static int registerlocalvar (LexState *ls, TString *varname) { 177 static void new_localvar (LexState *ls, TString *name) { 220 static int searchupvalue (FuncState *fs, TString *name) { 230 static int newupvalue (FuncState *fs, TString *name, expdesc *v) { 245 static int searchvar (FuncState *fs, TString *n) { 270 static int singlevaraux (FuncState *fs, TString * [all...] |
H A D | lobject.h | 206 TString *x_ = (x); \ 409 typedef union TString { union 417 } TString; typedef in typeref:union:TString 420 /* get the actual string (array of bytes) from a TString */ 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]); 122 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { 125 TString *ts = luaS_newlstr(L, str, l); /* create new string */ 157 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, 489 TString *ts;
|