Home
last modified time | relevance | path

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

/minix/external/mit/lua/dist/src/
H A Dlstring.c44 int luaS_eqlngstr (TString *a, TString *b) { in luaS_eqlngstr()
75 TString *p = tb->hash[i]; in luaS_resize()
78 TString *hnext = p->u.hnext; /* save next */ in luaS_resize()
128 TString *ts; in createstrobj()
142 void luaS_remove (lua_State *L, TString *ts) { in luaS_remove()
144 TString **p = &tb->hash[lmod(ts->hash, tb->size)]; in luaS_remove()
156 TString *ts; in internshrstr()
189 TString *ts; in luaS_newlstr()
205 TString *luaS_new (lua_State *L, const char *str) { in luaS_new()
207 TString **p = G(L)->strcache[i]; in luaS_new()
[all …]
H A Dlstring.h39 LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b);
43 LUAI_FUNC void luaS_remove (lua_State *L, TString *ts);
45 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
46 LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
H A Dllex.h52 TString *ts;
76 TString *source; /* current source name */
77 TString *envn; /* environment variable name */
84 TString *source, int firstchar);
85 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
H A Dlstate.h52 TString **hash;
143 TString *memerrmsg; /* memory-error message */
144 TString *tmname[TM_N]; /* array with tag-method names */
146 TString *strcache[STRCACHE_SIZE][1]; /* cache for strings in API */
187 struct TString ts;
H A Dlobject.h228 { TValue *io = (obj); TString *x_ = (x); \
321 typedef struct TString { struct
328 struct TString *hnext; /* linked list for hash table */ argument
330 } TString; typedef
338 TString tsv;
405 TString *name; /* upvalue name (for debug information) */
416 TString *varname;
445 TString *source; /* used for debug information */
H A Dlparser.c139 static TString *str_checkname (LexState *ls) { in str_checkname()
140 TString *ts; in str_checkname()
178 static void new_localvar (LexState *ls, TString *name) { in new_localvar()
221 static int searchupvalue (FuncState *fs, TString *name) { in searchupvalue()
246 static int searchvar (FuncState *fs, TString *n) { in searchvar()
298 TString *varname = str_checkname(ls); in singlevar()
347 TString *vname = getlocvar(fs, gt->nactvar)->varname; in closegoto()
454 TString *n = luaS_new(ls->L, "break"); in breaklabel()
1196 TString *label; in gotostat()
1346 static void forlist (LexState *ls, TString *indexname) { in forlist()
[all …]
H A Dldump.c77 static void DumpString (const TString *s, DumpState *D) { in DumpString()
100 static void DumpFunction(const Proto *f, TString *psource, DumpState *D);
172 static void DumpFunction (const Proto *f, TString *psource, DumpState *D) { in DumpFunction()
H A Dllex.c76 TString *e = luaS_newliteral(L, LUA_ENV); /* create env name */ in luaX_init()
79 TString *ts = luaS_new(L, luaX_tokens[i]); in luaX_init()
135 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring()
138 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring()
170 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput()
594 TString *ts; in llex()
H A Dldebug.h36 TString *src, int line);
H A Dlundump.c93 static TString *LoadString (LoadState *S) { in LoadString()
115 static void LoadFunction(LoadState *S, Proto *f, TString *psource);
204 static void LoadFunction (LoadState *S, Proto *f, TString *psource) { in LoadFunction()
H A Dlparser.h72 TString *name; /* label identifier */
H A Dltable.h34 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
H A Dltm.h63 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
H A Dltm.c68 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm()
H A Dlcode.h64 LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s);
H A Dlgc.h32 #define GCSTEPSIZE (cast_int(100 * sizeof(TString)))
H A Dltable.c136 TString *s = tsvalue(key); in mainposition()
537 const TValue *luaH_getstr (Table *t, TString *key) { in luaH_getstr()
H A Dldebug.c125 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname()
611 const char *luaG_addinfo (lua_State *L, const char *msg, TString *src, in luaG_addinfo()
H A Dluac.c228 static void PrintString(const TString* ts) in PrintString()
H A Dlapi.c483 TString *ts; in lua_pushlstring()
499 TString *ts; in lua_pushstring()
1193 TString *name; in aux_upvalue()
H A Dlvm.c247 static int l_strcmp (const TString *ls, const TString *rs) {
H A Dlcode.c346 int luaK_stringK (FuncState *fs, TString *s) { in luaK_stringK()
H A Dlgc.c43 #define GCSWEEPCOST ((sizeof(TString) + 4) / 4)
/minix/external/bsd/llvm/dist/llvm/test/CodeGen/X86/
H A Dcoalescer-cross.ll16 %struct.TString = type { %struct.anon }
21 … %struct.TValue, %struct.lua_State*, %struct.UpVal, [9 x %struct.Table*], [17 x %struct.TString*] }
/minix/external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/
H A Dbdzlr.ll10 ….lua_State.14.689*, %struct.UpVal.3.678, [9 x %struct.Table.7.682*], [17 x %union.TString.9.684*] }
19 %union.TString.9.684 = type { %struct.anon.1.8.683 }