t 211 core/action_stack.c unsigned t = get_tick_count(); t 219 core/action_stack.c active_stack->delay_target_ticks = t+delay; t 222 core/action_stack.c if (active_stack->delay_target_ticks <= t) t 1124 core/conf.c int t = CONF_MAGICK_VALUE; t 1125 core/conf.c memcpy(p, &t, sizeof(t)); t 1126 core/conf.c p += sizeof(t); t 1128 core/conf.c t = config_base; t 1129 core/conf.c memcpy(p, &t, sizeof(t)); t 1130 core/conf.c p += sizeof(t); t 82 core/console.c long t = get_tick_count(); t 83 core/console.c if (t <= console_last_modified + (conf.console_timeout*1000)) // Redraw if changed t 606 core/gps.c unsigned long t; t 617 core/gps.c t=time(NULL); t 618 core/gps.c ttm = localtime(&t); t 1013 core/gps.c unsigned long t; t 1015 core/gps.c t=time(NULL); t 1016 core/gps.c ttm = localtime(&t); t 1160 core/gps.c unsigned long t; t 1163 core/gps.c t=time(NULL); t 1164 core/gps.c ttm = localtime(&t); t 1437 core/gps.c unsigned long t; t 1439 core/gps.c t=time(NULL); t 1440 core/gps.c ttm = localtime(&t); t 292 core/gps_math.c rcb->t = 0.0; t 320 core/gps_math.c rcb->t = 0.0; t 331 core/gps_math.c rcb->t = 0.0; t 356 core/gps_math.c rcb->t = (rcb->sxx*rcb->sy - rcb->sx * rcb->sxy) / det; t 366 core/gps_math.c return rcb->last_x * rcb->s + rcb->t; t 375 core/gps_math.c return x * rcb->s + rcb->t; t 384 core/gps_math.c return rcb->s != 0.0 ? (y - rcb->t) / rcb->s : 1e9; t 71 core/gps_math.h double t; t 2711 core/gui.c int t=get_tick_count(); t 2713 core/gui.c if (t-lastcall <= 400) t 2716 core/gui.c lastcall=t; t 537 core/gui_draw.c int t=get_tick_count() + ms; t 539 core/gui_draw.c if(t > draw_restore_suspend_tick) { t 540 core/gui_draw.c draw_restore_suspend_tick = t; t 260 core/gui_osd.c long t; t 271 core/gui_osd.c t=(int)(shooting_get_shutter_speed_from_tv96(shooting_get_tv96())*100000); t 272 core/gui_osd.c gui_print_osd_state_string_float("TV:%d.%05d", 100000, t); t 22 core/kbd_process.c register long key, t; t 36 core/kbd_process.c t = get_tick_count(); t 37 core/kbd_process.c if (t-last_kbd_time > ((press_count) ? KBD_REPEAT_DELAY : KBD_INITIAL_DELAY)) t 40 core/kbd_process.c last_kbd_time = t; t 154 core/lib_thumb.c static int _ctype(int c,int t) { t 156 core/lib_thumb.c return ctypes[c&0xFF] & t; t 229 core/lib_thumb.c time_t t = time(NULL); t 230 core/lib_thumb.c return localtime(&t); t 682 core/ptp.c int tmp,t,total_size,r; t 735 core/ptp.c t = total_size; t 736 core/ptp.c while ( (r = fread(sb.buf,1,(t<sb.size)?t:sb.size,f)) > 0 ) t 738 core/ptp.c t -= r; t 146 core/raw.c struct utimbuf t; t 147 core/raw.c t.actime = t.modtime = raw_create_time; t 149 core/raw.c utime(fn, &t); t 610 core/shooting.c short shooting_get_tv96_from_shutter_speed(float t) t 612 core/shooting.c if (t > 0) t 614 core/shooting.c t = ((96.0 * -log(t)) * inv_log_2); t 615 core/shooting.c if (t < 0) t 616 core/shooting.c return (short)(t - 0.5); t 617 core/shooting.c return (short)(t + 0.5); t 1347 core/shooting.c int t = shooting_get_flash_mode(); t 1348 core/shooting.c if ((t != 2) && (shooting_in_progress())) t 1782 core/shooting.c int mode, t=0xFF; t 1799 core/shooting.c get_property_case(PROPCASE_SHOOTING_MODE, &t, 4); t 1801 core/shooting.c mode |= shooting_mode_canon2chdk(t & (~CAM_MASK_VID_REC_ACTIVE)); t 1803 core/shooting.c mode |= shooting_mode_canon2chdk(t); t 191 core/usb_remote.c int t = get_tick_count() - t0; t 193 core/usb_remote.c synch_delay_tick = synch_delay_tick * KBD_CALIBRATE_TIME / t; t 200 core/usb_remote.c sprintf(buf, "%d %d ", synch_delay_tick, t); t 13 include/lolevel.h extern long *_GetSystemTime(long *t); t 220 include/lolevel.h extern void _SetAutoShutdownTime(int t); t 74 include/shooting.h extern short shooting_get_tv96_from_shutter_speed(float t); t 248 lib/lua/lapi.c LUA_API const char *lua_typename (lua_State *L, int t) { t 250 lib/lua/lapi.c return (t == LUA_TNONE) ? "no value" : luaT_typenames[t]; t 268 lib/lua/lapi.c int t = lua_type(L, idx); t 269 lib/lua/lapi.c return (t == LUA_TSTRING || t == LUA_TNUMBER); t 535 lib/lua/lapi.c StkId t; t 537 lib/lua/lapi.c t = index2adr(L, idx); t 538 lib/lua/lapi.c api_checkvalidindex(L, t); t 539 lib/lua/lapi.c luaV_gettable(L, t, L->top - 1, L->top - 1); t 545 lib/lua/lapi.c StkId t; t 548 lib/lua/lapi.c t = index2adr(L, idx); t 549 lib/lua/lapi.c api_checkvalidindex(L, t); t 551 lib/lua/lapi.c luaV_gettable(L, t, &key, L->top); t 558 lib/lua/lapi.c StkId t; t 560 lib/lua/lapi.c t = index2adr(L, idx); t 561 lib/lua/lapi.c api_check(L, ttistable(t)); t 562 lib/lua/lapi.c setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1)); t 646 lib/lua/lapi.c StkId t; t 649 lib/lua/lapi.c t = index2adr(L, idx); t 650 lib/lua/lapi.c api_checkvalidindex(L, t); t 651 lib/lua/lapi.c luaV_settable(L, t, L->top - 2, L->top - 1); t 658 lib/lua/lapi.c StkId t; t 662 lib/lua/lapi.c t = index2adr(L, idx); t 663 lib/lua/lapi.c api_checkvalidindex(L, t); t 665 lib/lua/lapi.c luaV_settable(L, t, &key, L->top - 1); t 672 lib/lua/lapi.c StkId t; t 675 lib/lua/lapi.c t = index2adr(L, idx); t 676 lib/lua/lapi.c api_check(L, ttistable(t)); t 677 lib/lua/lapi.c setobj2t(L, luaH_set(L, hvalue(t), L->top-2), L->top-1); t 678 lib/lua/lapi.c luaC_barriert(L, hvalue(t), L->top-1); t 974 lib/lua/lapi.c StkId t; t 977 lib/lua/lapi.c t = index2adr(L, idx); t 978 lib/lua/lapi.c api_check(L, ttistable(t)); t 979 lib/lua/lapi.c more = luaH_next(L, hvalue(t), L->top - 1); t 146 lib/lua/lauxlib.c LUALIB_API void luaL_checktype (lua_State *L, int narg, int t) { t 147 lib/lua/lauxlib.c if (lua_type(L, narg) != t) t 148 lib/lua/lauxlib.c tag_error(L, narg, t); t 302 lib/lua/lauxlib.c LUALIB_API void luaL_setn (lua_State *L, int t, int n) { t 303 lib/lua/lauxlib.c t = abs_index(L, t); t 305 lib/lua/lauxlib.c lua_rawget(L, t); t 309 lib/lua/lauxlib.c lua_rawset(L, t); t 313 lib/lua/lauxlib.c lua_pushvalue(L, t); t 321 lib/lua/lauxlib.c LUALIB_API int luaL_getn (lua_State *L, int t) { t 323 lib/lua/lauxlib.c t = abs_index(L, t); t 325 lib/lua/lauxlib.c lua_rawget(L, t); t 328 lib/lua/lauxlib.c lua_pushvalue(L, t); t 331 lib/lua/lauxlib.c return (int)lua_objlen(L, t); t 479 lib/lua/lauxlib.c LUALIB_API int luaL_ref (lua_State *L, int t) { t 481 lib/lua/lauxlib.c t = abs_index(L, t); t 486 lib/lua/lauxlib.c lua_rawgeti(L, t, FREELIST_REF); /* get first free element */ t 490 lib/lua/lauxlib.c lua_rawgeti(L, t, ref); /* remove it from list */ t 491 lib/lua/lauxlib.c lua_rawseti(L, t, FREELIST_REF); /* (t[FREELIST_REF] = t[ref]) */ t 494 lib/lua/lauxlib.c ref = (int)lua_objlen(L, t); t 497 lib/lua/lauxlib.c lua_rawseti(L, t, ref); t 502 lib/lua/lauxlib.c LUALIB_API void luaL_unref (lua_State *L, int t, int ref) { t 504 lib/lua/lauxlib.c t = abs_index(L, t); t 505 lib/lua/lauxlib.c lua_rawgeti(L, t, FREELIST_REF); t 506 lib/lua/lauxlib.c lua_rawseti(L, t, ref); /* t[ref] = t[FREELIST_REF] */ t 508 lib/lua/lauxlib.c lua_rawseti(L, t, FREELIST_REF); /* t[FREELIST_REF] = ref */ t 19 lib/lua/lauxlib.h LUALIB_API int (luaL_getn) (lua_State *L, int t); t 20 lib/lua/lauxlib.h LUALIB_API void (luaL_setn) (lua_State *L, int t, int n); t 62 lib/lua/lauxlib.h LUALIB_API void (luaL_checktype) (lua_State *L, int narg, int t); t 74 lib/lua/lauxlib.h LUALIB_API int (luaL_ref) (lua_State *L, int t); t 75 lib/lua/lauxlib.h LUALIB_API void (luaL_unref) (lua_State *L, int t, int ref); t 138 lib/lua/lbaselib.c int t = lua_type(L, 2); t 140 lib/lua/lbaselib.c luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, t 27 lib/lua/lcode.c #define hasjumps(e) ((e)->t != (e)->f) t 31 lib/lua/lcode.c return (e->k == VKNUM && e->t == NO_JUMP && e->f == NO_JUMP); t 393 lib/lua/lcode.c luaK_concat(fs, &e->t, e->u.s.info); /* put this jump in `t' list */ t 398 lib/lua/lcode.c if (need_value(fs, e->t) || need_value(fs, e->f)) { t 406 lib/lua/lcode.c patchlistaux(fs, e->t, final, reg, p_t); t 408 lib/lua/lcode.c e->f = e->t = NO_JUMP; t 558 lib/lua/lcode.c luaK_patchtohere(fs, e->t); t 559 lib/lua/lcode.c e->t = NO_JUMP; t 580 lib/lua/lcode.c luaK_concat(fs, &e->t, pc); /* insert last jump in `t' list */ t 615 lib/lua/lcode.c { int temp = e->f; e->f = e->t; e->t = temp; } t 617 lib/lua/lcode.c removevalues(fs, e->t); t 621 lib/lua/lcode.c LUAI_FUNC void luaK_indexed (FuncState *fs, expdesc *t, expdesc *k) { t 622 lib/lua/lcode.c t->u.s.aux = luaK_exp2RK(fs, k); t 623 lib/lua/lcode.c t->k = VINDEXED; t 691 lib/lua/lcode.c e2.t = e2.f = NO_JUMP; e2.k = VKNUM; e2.u.nval = 0; t 740 lib/lua/lcode.c lua_assert(e1->t == NO_JUMP); /* list must be closed */ t 749 lib/lua/lcode.c luaK_concat(fs, &e2->t, e1->t); t 59 lib/lua/lcode.h LUAI_FUNC void luaK_indexed (FuncState *fs, expdesc *t, expdesc *k); t 38 lib/lua/ldblib.c int t = lua_type(L, 2); t 39 lib/lua/ldblib.c luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, t 182 lib/lua/ldebug.c Table *t = luaH_new(L, 0, 0); t 186 lib/lua/ldebug.c setbvalue(luaH_setnum(L, t, lineinfo[i]), 1); t 187 lib/lua/ldebug.c sethvalue(L, L->top, t); t 569 lib/lua/ldebug.c const char *t = luaT_typenames[ttype(o)]; t 575 lib/lua/ldebug.c op, kind, name, t); t 577 lib/lua/ldebug.c luaG_runerror(L, "attempt to %s a %s value", op, t); t 55 lib/lua/lgc.c #define markobject(g,t) { if (iswhite(obj2gco(t))) \ t 56 lib/lua/lgc.c reallymarkobject(g, obj2gco(t)); } t 674 lib/lua/lgc.c LUAI_FUNC void luaC_barrierback (lua_State *L, Table *t) { t 676 lib/lua/lgc.c GCObject *o = obj2gco(t); t 680 lib/lua/lgc.c t->gclist = g->grayagain; t 89 lib/lua/lgc.h #define luaC_barriert(L,t,v) { if (valiswhite(v) && isblack(obj2gco(t))) \ t 90 lib/lua/lgc.h luaC_barrierback(L,t); } t 96 lib/lua/lgc.h #define luaC_objbarriert(L,t,o) \ t 97 lib/lua/lgc.h { if (iswhite(obj2gco(o)) && isblack(obj2gco(t))) luaC_barrierback(L,t); } t 107 lib/lua/lgc.h LUAI_FUNC void luaC_barrierback (lua_State *L, Table *t); t 113 lib/lua/llex.c luaX_lexerror(ls, msg, ls->t.token); t 455 lib/lua/llex.c ls->t = ls->lookahead; /* use this one */ t 459 lib/lua/llex.c ls->t.token = llex(ls, &ls->t.seminfo); /* read next token */ t 59 lib/lua/llex.h Token t; /* current token */ t 75 lib/lua/llimits.h #define cast(t, exp) ((t)(exp)) t 26 lib/lua/lmem.h #define luaM_freearray(L, b, n, t) luaM_reallocv(L, (b), n, 0, sizeof(t)) t 28 lib/lua/lmem.h #define luaM_malloc(L,t) luaM_realloc_(L, NULL, 0, (t)) t 29 lib/lua/lmem.h #define luaM_new(L,t) cast(t *, luaM_malloc(L, sizeof(t))) t 30 lib/lua/lmem.h #define luaM_newvector(L,n,t) \ t 31 lib/lua/lmem.h cast(t *, luaM_reallocv(L, NULL, 0, n, sizeof(t))) t 33 lib/lua/lmem.h #define luaM_growvector(L,v,nelems,size,t,limit,e) \ t 35 lib/lua/lmem.h ((v)=cast(t *, luaM_growaux_(L,v,&(size),sizeof(t),limit,e))) t 37 lib/lua/lmem.h #define luaM_reallocvector(L, v,oldn,n,t) \ t 38 lib/lua/lmem.h ((v)=cast(t *, luaM_reallocv(L, v, oldn, n, sizeof(t)))) t 360 lib/lua/lobject.h #define sizenode(t) (twoto((t)->lsizenode)) t 59 lib/lua/lopcodes.c #define opmode(t,a,b,c,m) (((t)<<7) | ((a)<<6) | ((b)<<4) | ((c)<<2) | (m)) t 137 lib/lua/loslib.c time_t t = luaL_opt(L, (time_t)luaL_checknumber, 2, time(NULL)); t 144 lib/lua/loslib.c stm = gmtime(&t); t 146 lib/lua/loslib.c stm = localtime(&t); t 150 lib/lua/loslib.c stm = localtime(&t); t 188 lib/lua/loslib.c time_t t; t 190 lib/lua/loslib.c t = time(NULL); /* get current time */ t 202 lib/lua/loslib.c t = mktime(&ts); t 204 lib/lua/loslib.c if (t == (time_t)(-1)) t 207 lib/lua/loslib.c lua_pushnumber(L, (lua_Number)t); t 507 lib/lua/loslib.c struct utimbuf t; t 508 lib/lua/loslib.c t.modtime = luaL_optnumber(L, 2, time(NULL)); t 509 lib/lua/loslib.c t.actime = luaL_optnumber(L, 3, time(NULL)); t 510 lib/lua/loslib.c return os_pushresult(L, utime(name,&t) == 0, name); t 58 lib/lua/lparser.c if (ls->t.token == TK_NAME || ls->t.token == TK_STRING) { t 59 lib/lua/lparser.c TString *ts = ls->t.seminfo.ts; t 81 lib/lua/lparser.c if (ls->t.token == c) { t 90 lib/lua/lparser.c if (ls->t.token != c) t 120 lib/lua/lparser.c ts = ls->t.seminfo.ts; t 127 lib/lua/lparser.c e->f = e->t = NO_JUMP; t 436 lib/lua/lparser.c expdesc *t; /* table descriptor */ t 449 lib/lua/lparser.c if (ls->t.token == TK_NAME) { t 459 lib/lua/lparser.c luaK_codeABC(fs, OP_SETTABLE, cc->t->u.s.info, rkkey, luaK_exp2RK(fs, &val)); t 469 lib/lua/lparser.c luaK_setlist(fs, cc->t->u.s.info, cc->na, cc->tostore); /* flush */ t 479 lib/lua/lparser.c luaK_setlist(fs, cc->t->u.s.info, cc->na, LUA_MULTRET); t 485 lib/lua/lparser.c luaK_setlist(fs, cc->t->u.s.info, cc->na, cc->tostore); t 498 lib/lua/lparser.c static void constructor (LexState *ls, expdesc *t) { t 505 lib/lua/lparser.c cc.t = t; t 506 lib/lua/lparser.c init_exp(t, VRELOCABLE, pc); t 508 lib/lua/lparser.c luaK_exp2nextreg(ls->fs, t); /* fix it at stack top (for gc) */ t 512 lib/lua/lparser.c if (ls->t.token == '}') break; t 514 lib/lua/lparser.c switch(ls->t.token) { t 549 lib/lua/lparser.c if (ls->t.token != ')') { /* is `parlist' not empty? */ t 551 lib/lua/lparser.c switch (ls->t.token) { t 614 lib/lua/lparser.c switch (ls->t.token) { t 619 lib/lua/lparser.c if (ls->t.token == ')') /* arg list is empty? */ t 633 lib/lua/lparser.c codestring(ls, &args, ls->t.seminfo.ts); t 669 lib/lua/lparser.c switch (ls->t.token) { t 696 lib/lua/lparser.c switch (ls->t.token) { t 730 lib/lua/lparser.c switch (ls->t.token) { t 733 lib/lua/lparser.c v->u.nval = ls->t.seminfo.r; t 737 lib/lua/lparser.c codestring(ls, v, ls->t.seminfo.ts); t 832 lib/lua/lparser.c uop = getunopr(ls->t.token); t 840 lib/lua/lparser.c op = getbinopr(ls->t.token); t 1120 lib/lua/lparser.c switch (ls->t.token) { t 1147 lib/lua/lparser.c while (ls->t.token == TK_ELSEIF) { t 1152 lib/lua/lparser.c if (ls->t.token == TK_ELSE) { t 1202 lib/lua/lparser.c while (ls->t.token == '.') t 1204 lib/lua/lparser.c if (ls->t.token == ':') { t 1244 lib/lua/lparser.c if (block_follow(ls->t.token) || ls->t.token == ';') t 1273 lib/lua/lparser.c switch (ls->t.token) { t 1329 lib/lua/lparser.c while (!islast && !block_follow(ls->t.token)) { t 43 lib/lua/lparser.h int t; /* patch list of `exit when true' */ t 50 lib/lua/ltable.c #define hashpow2(t,n) (gnode(t, lmod((n), sizenode(t)))) t 52 lib/lua/ltable.c #define hashstr(t,str) hashpow2(t, (str)->tsv.hash) t 53 lib/lua/ltable.c #define hashboolean(t,p) hashpow2(t, p) t 60 lib/lua/ltable.c #define hashmod(t,n) (gnode(t, ((n) % ((sizenode(t)-1)|1)))) t 63 lib/lua/ltable.c #define hashpointer(t,p) hashmod(t, IntPoint(p)) t 84 lib/lua/ltable.c static Node *hashnum (const Table *t, lua_Number n) { t 88 lib/lua/ltable.c return gnode(t, 0); t 91 lib/lua/ltable.c return hashmod(t, a[0]); t 100 lib/lua/ltable.c static Node *mainposition (const Table *t, const TValue *key) { t 103 lib/lua/ltable.c return hashnum(t, nvalue(key)); t 105 lib/lua/ltable.c return hashstr(t, rawtsvalue(key)); t 107 lib/lua/ltable.c return hashboolean(t, bvalue(key)); t 109 lib/lua/ltable.c return hashpointer(t, pvalue(key)); t 111 lib/lua/ltable.c return hashpointer(t, gcvalue(key)); t 137 lib/lua/ltable.c static int findindex (lua_State *L, Table *t, StkId key) { t 141 lib/lua/ltable.c if (0 < i && i <= t->sizearray) /* is `key' inside array part? */ t 144 lib/lua/ltable.c Node *n = mainposition(t, key); t 150 lib/lua/ltable.c i = cast_int(n - gnode(t, 0)); /* key index in hash table */ t 152 lib/lua/ltable.c return i + t->sizearray; t 162 lib/lua/ltable.c LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key) { t 163 lib/lua/ltable.c int i = findindex(L, t, key); /* find original element */ t 164 lib/lua/ltable.c for (i++; i < t->sizearray; i++) { /* try first array part */ t 165 lib/lua/ltable.c if (!ttisnil(&t->array[i])) { /* a non-nil value? */ t 167 lib/lua/ltable.c setobj2s(L, key+1, &t->array[i]); t 171 lib/lua/ltable.c for (i -= t->sizearray; i < sizenode(t); i++) { /* then hash part */ t 172 lib/lua/ltable.c if (!ttisnil(gval(gnode(t, i)))) { /* a non-nil value? */ t 173 lib/lua/ltable.c setobj2s(L, key, key2tval(gnode(t, i))); t 174 lib/lua/ltable.c setobj2s(L, key+1, gval(gnode(t, i))); t 222 lib/lua/ltable.c static int numusearray (const Table *t, int *nums) { t 230 lib/lua/ltable.c if (lim > t->sizearray) { t 231 lib/lua/ltable.c lim = t->sizearray; /* adjust upper limit */ t 237 lib/lua/ltable.c if (!ttisnil(&t->array[i-1])) t 247 lib/lua/ltable.c static int numusehash (const Table *t, int *nums, int *pnasize) { t 250 lib/lua/ltable.c int i = sizenode(t); t 252 lib/lua/ltable.c Node *n = &t->node[i]; t 263 lib/lua/ltable.c static void setarrayvector (lua_State *L, Table *t, int size) { t 265 lib/lua/ltable.c luaM_reallocvector(L, t->array, t->sizearray, size, TValue); t 266 lib/lua/ltable.c for (i=t->sizearray; i<size; i++) t 267 lib/lua/ltable.c setnilvalue(&t->array[i]); t 268 lib/lua/ltable.c t->sizearray = size; t 272 lib/lua/ltable.c static void setnodevector (lua_State *L, Table *t, int size) { t 275 lib/lua/ltable.c t->node = cast(Node *, dummynode); /* use common `dummynode' */ t 284 lib/lua/ltable.c t->node = luaM_newvector(L, size, Node); t 286 lib/lua/ltable.c Node *n = gnode(t, i); t 292 lib/lua/ltable.c t->lsizenode = cast_byte(lsize); t 293 lib/lua/ltable.c t->lastfree = gnode(t, size); /* all positions are free */ t 297 lib/lua/ltable.c static void resize (lua_State *L, Table *t, int nasize, int nhsize) { t 299 lib/lua/ltable.c int oldasize = t->sizearray; t 300 lib/lua/ltable.c int oldhsize = t->lsizenode; t 301 lib/lua/ltable.c Node *nold = t->node; /* save old hash ... */ t 303 lib/lua/ltable.c setarrayvector(L, t, nasize); t 305 lib/lua/ltable.c setnodevector(L, t, nhsize); t 307 lib/lua/ltable.c t->sizearray = nasize; t 310 lib/lua/ltable.c if (!ttisnil(&t->array[i])) t 311 lib/lua/ltable.c setobjt2t(L, luaH_setnum(L, t, i+1), &t->array[i]); t 314 lib/lua/ltable.c luaM_reallocvector(L, t->array, oldasize, nasize, TValue); t 320 lib/lua/ltable.c setobjt2t(L, luaH_set(L, t, key2tval(old)), gval(old)); t 327 lib/lua/ltable.c LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int nasize) { t 328 lib/lua/ltable.c int nsize = (t->node == dummynode) ? 0 : sizenode(t); t 329 lib/lua/ltable.c resize(L, t, nasize, nsize); t 333 lib/lua/ltable.c static void rehash (lua_State *L, Table *t, const TValue *ek) { t 339 lib/lua/ltable.c nasize = numusearray(t, nums); /* count keys in array part */ t 341 lib/lua/ltable.c totaluse += numusehash(t, nums, &nasize); /* count keys in hash part */ t 348 lib/lua/ltable.c resize(L, t, nasize, totaluse - na); t 359 lib/lua/ltable.c Table *t = luaM_new(L, Table); t 360 lib/lua/ltable.c luaC_link(L, obj2gco(t), LUA_TTABLE); t 361 lib/lua/ltable.c t->metatable = NULL; t 362 lib/lua/ltable.c t->flags = cast_byte(~0); t 364 lib/lua/ltable.c t->array = NULL; t 365 lib/lua/ltable.c t->sizearray = 0; t 366 lib/lua/ltable.c t->lsizenode = 0; t 367 lib/lua/ltable.c t->node = cast(Node *, dummynode); t 368 lib/lua/ltable.c setarrayvector(L, t, narray); t 369 lib/lua/ltable.c setnodevector(L, t, nhash); t 370 lib/lua/ltable.c return t; t 374 lib/lua/ltable.c LUAI_FUNC void luaH_free (lua_State *L, Table *t) { t 375 lib/lua/ltable.c if (t->node != dummynode) t 376 lib/lua/ltable.c luaM_freearray(L, t->node, sizenode(t), Node); t 377 lib/lua/ltable.c luaM_freearray(L, t->array, t->sizearray, TValue); t 378 lib/lua/ltable.c luaM_free(L, t); t 382 lib/lua/ltable.c static Node *getfreepos (Table *t) { t 383 lib/lua/ltable.c while (t->lastfree-- > t->node) { t 384 lib/lua/ltable.c if (ttisnil(gkey(t->lastfree))) t 385 lib/lua/ltable.c return t->lastfree; t 399 lib/lua/ltable.c static TValue *newkey (lua_State *L, Table *t, const TValue *key) { t 400 lib/lua/ltable.c Node *mp = mainposition(t, key); t 403 lib/lua/ltable.c Node *n = getfreepos(t); /* get a free place */ t 405 lib/lua/ltable.c rehash(L, t, key); /* grow table */ t 406 lib/lua/ltable.c return luaH_set(L, t, key); /* re-insert key into grown table */ t 409 lib/lua/ltable.c othern = mainposition(t, key2tval(mp)); t 426 lib/lua/ltable.c luaC_barriert(L, t, key); t 435 lib/lua/ltable.c LUAI_FUNC const TValue *luaH_getnum (Table *t, int key) { t 437 lib/lua/ltable.c if (cast(unsigned int, key-1) < cast(unsigned int, t->sizearray)) t 438 lib/lua/ltable.c return &t->array[key-1]; t 441 lib/lua/ltable.c Node *n = hashnum(t, nk); t 455 lib/lua/ltable.c LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key) { t 456 lib/lua/ltable.c Node *n = hashstr(t, key); t 469 lib/lua/ltable.c LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key) { t 472 lib/lua/ltable.c case LUA_TSTRING: return luaH_getstr(t, rawtsvalue(key)); t 478 lib/lua/ltable.c return luaH_getnum(t, k); /* use specialized version */ t 482 lib/lua/ltable.c Node *n = mainposition(t, key); t 494 lib/lua/ltable.c LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key) { t 495 lib/lua/ltable.c const TValue *p = luaH_get(t, key); t 496 lib/lua/ltable.c t->flags = 0; t 503 lib/lua/ltable.c return newkey(L, t, key); t 508 lib/lua/ltable.c LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key) { t 509 lib/lua/ltable.c const TValue *p = luaH_getnum(t, key); t 515 lib/lua/ltable.c return newkey(L, t, &k); t 520 lib/lua/ltable.c LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key) { t 521 lib/lua/ltable.c const TValue *p = luaH_getstr(t, key); t 527 lib/lua/ltable.c return newkey(L, t, &k); t 532 lib/lua/ltable.c static int unbound_search (Table *t, unsigned int j) { t 536 lib/lua/ltable.c while (!ttisnil(luaH_getnum(t, j))) { t 542 lib/lua/ltable.c while (!ttisnil(luaH_getnum(t, i))) i++; t 549 lib/lua/ltable.c if (ttisnil(luaH_getnum(t, m))) j = m; t 560 lib/lua/ltable.c LUAI_FUNC int luaH_getn (Table *t) { t 561 lib/lua/ltable.c unsigned int j = t->sizearray; t 562 lib/lua/ltable.c if (j > 0 && ttisnil(&t->array[j - 1])) { t 567 lib/lua/ltable.c if (ttisnil(&t->array[m - 1])) j = m; t 573 lib/lua/ltable.c else if (t->node == dummynode) /* hash part is empty? */ t 575 lib/lua/ltable.c else return unbound_search(t, j); t 582 lib/lua/ltable.c Node *luaH_mainposition (const Table *t, const TValue *key) { t 583 lib/lua/ltable.c return mainposition(t, key); t 13 lib/lua/ltable.h #define gnode(t,i) (&(t)->node[i]) t 21 lib/lua/ltable.h LUAI_FUNC const TValue *luaH_getnum (Table *t, int key); t 22 lib/lua/ltable.h LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key); t 23 lib/lua/ltable.h LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); t 24 lib/lua/ltable.h LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key); t 25 lib/lua/ltable.h LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); t 26 lib/lua/ltable.h LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key); t 28 lib/lua/ltable.h LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int nasize); t 29 lib/lua/ltable.h LUAI_FUNC void luaH_free (lua_State *L, Table *t); t 30 lib/lua/ltable.h LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key); t 31 lib/lua/ltable.h LUAI_FUNC int luaH_getn (Table *t); t 35 lib/lua/ltable.h LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key); t 110 lib/lua/lundump.c int t=LoadChar(S); t 111 lib/lua/lundump.c switch (t) t 124 lib/lua/lvm.c LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val) { t 128 lib/lua/lvm.c if (ttistable(t)) { /* `t' is a table? */ t 129 lib/lua/lvm.c Table *h = hvalue(t); t 138 lib/lua/lvm.c else if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_INDEX))) t 139 lib/lua/lvm.c luaG_typeerror(L, t, "index"); t 141 lib/lua/lvm.c callTMres(L, val, tm, t, key); t 144 lib/lua/lvm.c t = tm; /* else repeat with `tm' */ t 150 lib/lua/lvm.c LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val) { t 155 lib/lua/lvm.c if (ttistable(t)) { /* `t' is a table? */ t 156 lib/lua/lvm.c Table *h = hvalue(t); t 167 lib/lua/lvm.c else if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_NEWINDEX))) t 168 lib/lua/lvm.c luaG_typeerror(L, t, "index"); t 170 lib/lua/lvm.c callTM(L, tm, t, key, val); t 175 lib/lua/lvm.c t = &temp; t 29 lib/lua/lvm.h LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key, t 31 lib/lua/lvm.h LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key, t 64 modules/bitvector.c int t = val & (1<<i); t 65 modules/bitvector.c bv_setbit(bm, bitpos + i, t); t 66 modules/bitvector.c bv_setbit(bm, bitpos + i + bm->nBits, t); t 78 modules/bitvector.c int t = val & (1 << i); t 79 modules/bitvector.c bv_setbit(bm, bitpos + i, t); t 80 modules/bitvector.c bv_setbit(bm, bitpos + i + bm->nBits, t); t 81 modules/bitvector.c bv_setbit(bm, bitpos + i + bm->nBits * 2, t); t 82 modules/bitvector.c bv_setbit(bm, bitpos + i + bm->nBits * 3, t); t 29 modules/cordic_math.c static void cordic(tangle t, fcordic f, fixed *x, fixed *y, fixed *z) { t 30 modules/cordic_math.c long *patan_tab = atan_tab[t]; t 87 modules/cordic_math.c static void sincosCordic(tangle t, fixed phi, fixed *sinphi, fixed *cosphi) { t 89 modules/cordic_math.c phi = (phi % FULL_CIRCLE[t] + FULL_CIRCLE[t]) % FULL_CIRCLE[t]; t 90 modules/cordic_math.c int q = phi / QUART_CIRCLE[t] + 1; t 92 modules/cordic_math.c case 2: phi = HALF_CIRCLE[t] - phi; break; t 93 modules/cordic_math.c case 3: phi = phi - HALF_CIRCLE[t]; break; t 94 modules/cordic_math.c case 4: phi = FULL_CIRCLE[t] - phi; break; t 96 modules/cordic_math.c fixed x = INV_GAIN_CIRCLE[t], y = 0, z = phi; t 97 modules/cordic_math.c cordic(t, ROTATE, &x, &y, &z); t 106 modules/cordic_math.c static void atanhypCordic(tangle t, fixed px, fixed py, fixed *phi, fixed *hyp) { t 133 modules/cordic_math.c cordic(t, VECTOR, &x, &y, &z); t 136 modules/cordic_math.c case 2: z = HALF_CIRCLE[t] - z; break; t 137 modules/cordic_math.c case 3: z = z - HALF_CIRCLE[t]; break; t 146 modules/cordic_math.c static fixed sinCordic(tangle t, fixed phi) { t 148 modules/cordic_math.c sincosCordic(t, phi, &_sin, &_cos); t 152 modules/cordic_math.c static fixed cosCordic(tangle t, fixed phi) { t 154 modules/cordic_math.c sincosCordic(t, phi, &_sin, &_cos); t 158 modules/cordic_math.c static fixed tanCordic(tangle t, fixed phi) { t 160 modules/cordic_math.c sincosCordic(t, phi, &_sin, &_cos); t 164 modules/cordic_math.c static void recCordic(tangle t, fixed r, fixed theta, fixed *px, fixed *py) { t 166 modules/cordic_math.c sincosCordic(t, theta, &_sin, &_cos); t 172 modules/cordic_math.c static fixed asinCordic(tangle t, fixed x) { t 175 modules/cordic_math.c atanhypCordic(t, _cos, x, &phi, &hyp); t 179 modules/cordic_math.c static fixed acosCordic(tangle t, fixed x) { t 182 modules/cordic_math.c atanhypCordic(t, x, _sin, &phi, &hyp); t 186 modules/cordic_math.c static fixed atanCordic(tangle t, fixed x) { t 188 modules/cordic_math.c atanhypCordic(t, CORDIC_SCALE, x, &phi, &hyp); t 192 modules/cordic_math.c static void polCordic(tangle t, fixed px, fixed py, fixed *r, fixed *theta) { t 194 modules/cordic_math.c atanhypCordic(t, px, py, &phi, &hyp); t 196 modules/cordic_math.c *r = mulScaled(hyp, INV_GAIN_CIRCLE[t]); t 363 modules/cpuinfo_v7.c char *t; t 364 modules/cpuinfo_v7.c t = (val&4)?"Shared":"Non-shared"; t 378 modules/cpuinfo_v7.c sprintf(linebuf,"%s; %s; %s",s, s2, t); t 382 modules/cpuinfo_v7.c case 0: s = "Strongly ordered, shareable"; t=""; break; t 383 modules/cpuinfo_v7.c case 1: s = "Shareable device"; t="Shareable"; break; t 388 modules/cpuinfo_v7.c case 16: s = "Non-shareable Device"; t=""; break; t 389 modules/cpuinfo_v7.c default: s = "(reserved)"; t=""; t 391 modules/cpuinfo_v7.c sprintf(linebuf,"%s; %s",s, t); t 796 modules/dng.c struct utimbuf t; t 828 modules/dng.c t.actime = t.modtime = time(NULL); t 829 modules/dng.c utime(fn, &t); t 148 modules/edgeoverlay.c static struct utimbuf t; t 185 modules/edgeoverlay.c t.actime = t.modtime = time(NULL); t 186 modules/edgeoverlay.c utime(fn, &t); t 160 modules/exmem_inspector.c time_t t; t 161 modules/exmem_inspector.c t = time(NULL); t 162 modules/exmem_inspector.c tms = localtime(&t); t 772 modules/file_shelter.c struct utimbuf t; t 773 modules/file_shelter.c t.actime = t.modtime = fh->mtime; t 774 modules/file_shelter.c utime(buf, &t); t 779 modules/file_shelter.c struct utimbuf t; t 780 modules/file_shelter.c t.actime = t.modtime = fh->mtime; t 781 modules/file_shelter.c utime(buf, &t); t 313 modules/gui_bench.c static unsigned int get_usec_diff(unsigned int t) { t 315 modules/gui_bench.c if (v<t) t 316 modules/gui_bench.c return 0x100000+v-t; t 317 modules/gui_bench.c return v-t; t 324 modules/gui_bench.c long t; t 331 modules/gui_bench.c t = get_tick_count(); t 345 modules/gui_bench.c t = get_tick_count() - t; t 346 modules/gui_bench.c bench.screen_output_bps = (t==0)?0:s*64*100 / (t/10); t 354 modules/gui_bench.c long t; t 364 modules/gui_bench.c t = get_tick_count(); t 376 modules/gui_bench.c t = get_tick_count() - t; t 377 modules/gui_bench.c bench.screen_input_bps = (t==0)?0:s*32*100 / (t/10); t 385 modules/gui_bench.c long t, m; t 395 modules/gui_bench.c t = get_tick_count(); t 408 modules/gui_bench.c t = get_tick_count() - t; t 409 modules/gui_bench.c *result[m] = (t==0)?0:0x10000*100 / (t/10) * 1024; t 418 modules/gui_bench.c long t, m; t 428 modules/gui_bench.c t = get_tick_count(); t 441 modules/gui_bench.c t = get_tick_count() - t; t 442 modules/gui_bench.c *result[m] = (t==0)?0:0x10000*100 / (t/10) * 1024; t 451 modules/gui_bench.c unsigned int t, best, d; t 457 modules/gui_bench.c t = getcurrentmachinetime(); t 463 modules/gui_bench.c t = get_usec_diff(t); t 465 modules/gui_bench.c if (t < best) best = t; t 470 modules/gui_bench.c t = getcurrentmachinetime(); t 476 modules/gui_bench.c t = get_usec_diff(t); t 478 modules/gui_bench.c if (t < best) best = t; t 509 modules/gui_bench.c unsigned int t, best, c; t 514 modules/gui_bench.c t = getcurrentmachinetime(); t 516 modules/gui_bench.c t = get_usec_diff(t); t 518 modules/gui_bench.c if (t < best) best = t; t 526 modules/gui_bench.c long t; t 570 modules/gui_bench.c t = get_tick_count(); t 572 modules/gui_bench.c t = get_tick_count() - t; t 574 modules/gui_bench.c bench.disk_write_raw_kbps = (t==0)?0:s*100 / (t/10); t 582 modules/gui_bench.c t = get_tick_count(); t 584 modules/gui_bench.c t = get_tick_count() - t; t 586 modules/gui_bench.c bench.disk_write_mem_kbps = (t==0)?0:s*100 / (t/10); t 596 modules/gui_bench.c t = get_tick_count(); t 599 modules/gui_bench.c t = get_tick_count() - t; t 602 modules/gui_bench.c bench.disk_write_buf_kbps = (t==0)?0:s*100 / (t/10); t 613 modules/gui_bench.c t = get_tick_count(); t 616 modules/gui_bench.c t = get_tick_count() - t; t 619 modules/gui_bench.c bench.disk_read_buf_kbps = (t==0)?0:s*100 / (t/10); t 437 modules/gui_fselect.c struct utimbuf t; t 438 modules/gui_fselect.c t.actime = t.modtime = selected->mtime; t 439 modules/gui_fselect.c utime(selected_file, &t); t 1351 modules/luascript.c const char *t = luaL_checkstring( L, 3 ); t 1358 modules/luascript.c draw_string(x1, y1, t, MAKE_COLOR(clb,clf)); t 1360 modules/luascript.c draw_string_scaled(x1, y1, t, MAKE_COLOR(clb,clf), xsize, ysize); t 1678 modules/luascript.c const char *t = luaL_checkstring( L, 1 ); t 1679 modules/luascript.c if (strncmp("s", t, 1)==0) r = ttm->tm_sec; t 1680 modules/luascript.c else if (strncmp("m", t, 1)==0) r = ttm->tm_min; t 1681 modules/luascript.c else if (strncmp("h", t, 1)==0) r = ttm->tm_hour; t 1682 modules/luascript.c else if (strncmp("D", t, 1)==0) r = ttm->tm_mday; t 1683 modules/luascript.c else if (strncmp("M", t, 1)==0) r = ttm->tm_mon+1; t 1684 modules/luascript.c else if (strncmp("Y", t, 1)==0) r = 1900+ttm->tm_year; t 175 modules/md5.c u32 t; t 177 modules/md5.c t = (u32) ((unsigned) buf[3] << 8 | buf[2]) << 16 | t 179 modules/md5.c *(u32 *) buf = t; t 206 modules/md5.c u32 t; t 210 modules/md5.c t = ctx->bits[0]; t 211 modules/md5.c if ((ctx->bits[0] = t + ((u32) len << 3)) < t) t 215 modules/md5.c t = (t >> 3) & 0x3f; /* Bytes already in shsInfo->data */ t 219 modules/md5.c if (t) { t 220 modules/md5.c unsigned char *p = (unsigned char *) ctx->in + t; t 222 modules/md5.c t = 64 - t; t 223 modules/md5.c if (len < t) { t 227 modules/md5.c os_memcpy(p, buf, t); t 230 modules/md5.c buf += t; t 231 modules/md5.c len -= t; t 123 modules/motion_detector.c static void time_counter_capture(time_counter *t) t 125 modules/motion_detector.c t->last = get_tick_count() - t->tick_count; t 126 modules/motion_detector.c if (t->last < t->min) t 127 modules/motion_detector.c t->min = t->last; t 128 modules/motion_detector.c if (t->last > t->max) t 129 modules/motion_detector.c t->max = t->last; t 130 modules/motion_detector.c t->sum += t->last; t 131 modules/motion_detector.c t->count++; t 350 modules/motion_detector.c static struct utimbuf t; t 392 modules/motion_detector.c t.actime = t.modtime = time(NULL); t 393 modules/motion_detector.c utime(fn, &t); t 277 modules/raw_merge.c struct utimbuf t; t 278 modules/raw_merge.c t.actime = t.modtime = time(NULL); t 279 modules/raw_merge.c utime(namebuf, &t); t 562 modules/raw_merge.c struct utimbuf t; t 563 modules/raw_merge.c t.actime = t.modtime = time(NULL); t 564 modules/raw_merge.c utime(namebuf, &t); t 434 modules/rawhookops.c unsigned t=0; t 438 modules/rawhookops.c t+=get_raw_pixel(x,y); t 441 modules/rawhookops.c lua_pushnumber(L,t/(x_count*y_count)); t 85 modules/scrdump.c struct utimbuf t; t 86 modules/scrdump.c t.actime = t.modtime = time(NULL); t 87 modules/scrdump.c utime(fn, &t); t 163 modules/scrdump.c unsigned t = (unsigned)get_tick_count(); t 164 modules/scrdump.c if(next_action_tick <= t) { t 170 modules/scrdump.c next_action_tick = t + settings.frame_time; t 410 modules/sha1.c u32 t[5], _t[5]; t 422 modules/sha1.c t[0] = 0x67452301; t 423 modules/sha1.c t[1] = 0xEFCDAB89; t 424 modules/sha1.c t[2] = 0x98BADCFE; t 425 modules/sha1.c t[3] = 0x10325476; t 426 modules/sha1.c t[4] = 0xC3D2E1F0; t 435 modules/sha1.c memcpy(_t, t, 20); t 345 platform/generic/wrappers.c long t; t 347 platform/generic/wrappers.c _GetSystemTime(&t); t 348 platform/generic/wrappers.c return t; t 350 platform/generic/wrappers.c return (int)_GetSystemTime(&t); t 428 platform/generic/wrappers.c int t = get_tick_count(); t 439 platform/generic/wrappers.c t = get_tick_count() - t; t 440 platform/generic/wrappers.c if (t > camera_info.fileio_stats.max_semaphore_timeout) t 441 platform/generic/wrappers.c camera_info.fileio_stats.max_semaphore_timeout = t; t 1739 platform/generic/wrappers.c int t; t 1741 platform/generic/wrappers.c for(t = 0; cameracon_state > 4 && t < 50; t++) { t 1749 platform/generic/wrappers.c for(t = 0; cameracon_state != 2 && t < 100; t++) { t 182 platform/sx210is/shooting.c unsigned long t; t 183 platform/sx210is/shooting.c t = time(NULL); t 184 platform/sx210is/shooting.c ttm = localtime(&t); t 39 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int * GetSystemTime(int *t); t 212 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall void SetAutoShutdownTime(int t); t 407 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int takesemaphore_low(int sem, int *t); t 470 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int _GetSystemTime(int *t); t 49 tools/ubasic_test/camera_functions.c void action_wait_for_click(int t) t 51 tools/ubasic_test/camera_functions.c printf("*** wait_click %d ***\n", t); t 648 tools/ubasic_test/camera_functions.c short shooting_get_tv96_from_shutter_speed(float t) t 650 tools/ubasic_test/camera_functions.c printf("*** shooting_get_tv96_from_shutter_speed %f ***\n",t); t 651 tools/ubasic_test/camera_functions.c if (t > 0) t 653 tools/ubasic_test/camera_functions.c t = ((96.0 * -log(t)) * inv_log_2); t 654 tools/ubasic_test/camera_functions.c if (t < 0) t 655 tools/ubasic_test/camera_functions.c return (short)(t - 0.5); t 656 tools/ubasic_test/camera_functions.c return (short)(t + 0.5); t 861 tools/ubasic_test/camera_functions.c time_t t = time(NULL); t 862 tools/ubasic_test/camera_functions.c return localtime(&t);