ts 247 core/gui.c time_t ts = time(NULL); ts 248 core/gui.c if(ts > OPT_EXPIRE_TEST) { ts 251 core/gui.c return (OPT_EXPIRE_TEST - ts)/(60*60*24); ts 67 lib/lua/llex.c TString *ts = luaS_new(L, luaX_tokens[i]); ts 68 lib/lua/llex.c luaS_fix(ts); /* reserved words are never collected */ ts 70 lib/lua/llex.c ts->tsv.reserved = cast_byte(i+1); /* reserved word */ ts 119 lib/lua/llex.c TString *ts = luaS_newlstr(L, str, l); ts 120 lib/lua/llex.c TValue *o = luaH_setstr(L, ls->fs->h, ts); /* entry for `str' */ ts 125 lib/lua/llex.c return ts; ts 277 lib/lua/llex.c seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + (2 + sep), ts 333 lib/lua/llex.c seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + 1, ts 428 lib/lua/llex.c TString *ts; ts 432 lib/lua/llex.c ts = luaX_newstring(ls, luaZ_buffer(ls->buff), ts 434 lib/lua/llex.c if (ts->tsv.reserved > 0) /* reserved word? */ ts 435 lib/lua/llex.c return ts->tsv.reserved - 1 + FIRST_RESERVED; ts 437 lib/lua/llex.c seminfo->ts = ts; ts 45 lib/lua/llex.h TString *ts; ts 94 lib/lua/lobject.h #define rawtsvalue(o) check_exp(ttisstring(o), &(o)->value.gc->ts) ts 210 lib/lua/lobject.h #define getstr(ts) cast(const char *, (ts) + 1) ts 192 lib/lua/loslib.c struct tm ts; ts 195 lib/lua/loslib.c ts.tm_sec = getfield(L, "sec", 0); ts 196 lib/lua/loslib.c ts.tm_min = getfield(L, "min", 0); ts 197 lib/lua/loslib.c ts.tm_hour = getfield(L, "hour", 12); ts 198 lib/lua/loslib.c ts.tm_mday = getfield(L, "day", -1); ts 199 lib/lua/loslib.c ts.tm_mon = getfield(L, "month", -1) - 1; ts 200 lib/lua/loslib.c ts.tm_year = getfield(L, "year", -1) - 1900; ts 201 lib/lua/loslib.c ts.tm_isdst = getboolfield(L, "isdst"); ts 202 lib/lua/loslib.c t = mktime(&ts); ts 59 lib/lua/lparser.c TString *ts = ls->t.seminfo.ts; ts 60 lib/lua/lparser.c luaX_newstring(ls, getstr(ts), ts->tsv.len); ts 118 lib/lua/lparser.c TString *ts; ts 120 lib/lua/lparser.c ts = ls->t.seminfo.ts; ts 122 lib/lua/lparser.c return ts; ts 633 lib/lua/lparser.c codestring(ls, &args, ls->t.seminfo.ts); ts 737 lib/lua/lparser.c codestring(ls, v, ls->t.seminfo.ts); ts 138 lib/lua/lstate.h union TString ts; ts 149 lib/lua/lstate.h #define rawgco2ts(o) check_exp((o)->gch.tt == LUA_TSTRING, &((o)->ts)) ts 52 lib/lua/lstring.c TString *ts; ts 56 lib/lua/lstring.c ts = cast(TString *, luaM_malloc(L, (l+1)*sizeof(char)+sizeof(TString))); ts 57 lib/lua/lstring.c ts->tsv.len = l; ts 58 lib/lua/lstring.c ts->tsv.hash = h; ts 59 lib/lua/lstring.c ts->tsv.marked = luaC_white(G(L)); ts 60 lib/lua/lstring.c ts->tsv.tt = LUA_TSTRING; ts 61 lib/lua/lstring.c ts->tsv.reserved = 0; ts 62 lib/lua/lstring.c memcpy(ts+1, str, l*sizeof(char)); ts 63 lib/lua/lstring.c ((char *)(ts+1))[l] = '\0'; /* ending 0 */ ts 66 lib/lua/lstring.c ts->tsv.next = tb->hash[h]; /* chain new entry */ ts 67 lib/lua/lstring.c tb->hash[h] = obj2gco(ts); ts 71 lib/lua/lstring.c return ts; ts 85 lib/lua/lstring.c TString *ts = rawgco2ts(o); ts 86 lib/lua/lstring.c if (ts->tsv.len == l && (memcmp(str, getstr(ts), l) == 0)) { ts 89 lib/lua/lstring.c return ts; ts 23 lib/lua/print.c static void PrintString(const TString* ts) ts 25 lib/lua/print.c const char* s=getstr(ts); ts 26 lib/lua/print.c size_t i,n=ts->tsv.len;