Lines Matching refs:TString

271 typedef union TString{  union
279 }TString; typedef
298 TString**upvalues;
299 TString*source;
315 TString*varname;
375 static const TValue*luaT_gettm(Table*events,TMS event,TString*ename);
459 TString*tmname[TM_N];
492 union TString ts;
590 #define sizestring(s)(sizeof(union TString)+((s)->len+1)*sizeof(char))
595 static TString*luaS_newlstr(lua_State*L,const char*str,size_t l);
770 static const TValue*luaH_getstr(Table*t,TString*key);
791 static const TValue*luaT_gettm(Table*events,TMS event,TString*ename){
919 luaM_freearray(L,f->upvalues,f->sizeupvalues,TString*);
1279 luaM_freearray(L,tb->hash,tb->size,TString*);
1283 static TString*newlstr(lua_State*L,const char*str,size_t l,
1285 TString*ts;
1287 if(l+1>(((size_t)(~(size_t)0)-2)-sizeof(TString))/sizeof(char))
1289 ts=cast(TString*,luaM_malloc(L,(l+1)*sizeof(char)+sizeof(TString)));
1306 static TString*luaS_newlstr(lua_State*L,const char*str,size_t l){
1316 TString*ts=rawgco2ts(o);
1622 static const TValue*luaH_getstr(Table*t,TString*key){
1675 static TValue*luaH_setstr(lua_State*L,Table*t,TString*key){
1946 sizeof(TString*)*p->sizeupvalues;
2235 TString*ts;
2251 TString*source;
2316 luaM_freearray(L,G(L)->strt.hash,G(L)->strt.size,TString*);
2686 TString*ts=luaS_new(L,luaX_tokens[i]);
2721 static TString*luaX_newstring(LexState*ls,const char*str,size_t l){
2723 TString*ts=luaS_newlstr(L,str,l);
2739 static void luaX_setinput(lua_State*L,LexState*ls,ZIO*z,TString*source){
2962 TString*ts;
3160 static int luaK_stringK(FuncState*fs,TString*s){
3669 TString*ts=ls->t.seminfo.ts;
3711 static TString*str_checkname(LexState*ls){
3712 TString*ts;
3723 static void codestring(LexState*ls,expdesc*e,TString*s){
3729 static int registerlocalvar(LexState*ls,TString*varname){
3741 static void new_localvar(LexState*ls,TString*name,int n){
3758 static int indexupvalue(FuncState*fs,TString*name,expdesc*v){
3769 TString*,(INT_MAX-2),"");
3777 static int searchvar(FuncState*fs,TString*n){
3790 static int singlevaraux(FuncState*fs,TString*n,expdesc*var,int base){
3813 TString*varname=str_checkname(ls);
3915 luaM_reallocvector(L,f->upvalues,f->sizeupvalues,f->nups,TString*);
4459 static void fornum(LexState*ls,TString*varname,int line){
4478 static void forlist(LexState*ls,TString*indexname){
4498 TString*varname;
4814 static int l_strcmp(const TString*ls,const TString*rs){