int32_t 143 host/buildvm.c ctx->reloc[ctx->nreloc].ofs = (int32_t)(addr - ctx->code); int32_t 155 host/buildvm.c static void sym_insert(BuildCtx *ctx, int32_t ofs, int32_t 206 host/buildvm.c ctx->bc_ofs = (int32_t *)malloc(ctx->npc*sizeof(int32_t)); int32_t 210 host/buildvm.c int32_t ofs = dasm_getpclabel(Dst, i); int32_t 230 host/buildvm.c sym_insert(ctx, (int32_t)((uint8_t *)(ctx->glob[i]) - ctx->code), int32_t 235 host/buildvm.c sym_insert(ctx, (int32_t)ctx->codesz, "", ""); int32_t 55 host/buildvm.h int32_t ofs; int32_t 62 host/buildvm.h int32_t ofs; int32_t 81 host/buildvm.h int32_t *bc_ofs; int32_t 241 host/buildvm_asm.c int32_t ofs = ctx->sym[i].ofs; int32_t 242 host/buildvm_asm.c int32_t next = ctx->sym[i+1].ofs; int32_t 206 lib_base.c int32_t len; int32_t 208 lib_base.c len = (int32_t)strV(o)->len; int32_t 210 lib_base.c len = (int32_t)lj_tab_len(lj_lib_checktab(L, 1)); int32_t 219 lib_base.c int32_t n, i = lj_lib_optint(L, 2, 1); int32_t 220 lib_base.c int32_t e = (L->base+3-1 < L->top && !tvisnil(L->base+3-1)) ? int32_t 221 lib_base.c lj_lib_checkint(L, 3) : (int32_t)lj_tab_len(t); int32_t 239 lib_base.c int32_t n = (int32_t)(L->top - L->base); int32_t 244 lib_base.c int32_t i = lj_lib_checkint(L, 1); int32_t 256 lib_base.c int32_t base = lj_lib_optint(L, 2, 10); int32_t 271 lib_base.c int32_t i; int32_t 293 lib_base.c setintV(L->base-1, (int32_t)ul); int32_t 320 lib_base.c s = strV(lj_lib_upvalue(L, -(int32_t)itype(o))); int32_t 338 lib_base.c int32_t level = lj_lib_optint(L, 2, 1); int32_t 451 lib_base.c int32_t data = lj_lib_optint(L, 2, 0); int32_t 55 lib_bit.c int32_t i, n = L->base+1 >= L->top ? 8 : lj_lib_checkbit(L, 2); int32_t 203 lib_debug.c int32_t n = lj_lib_checkint(L, 2); int32_t 231 lib_debug.c int32_t n = lj_lib_checkint(L, 2) - 1; int32_t 245 lib_debug.c int32_t n; int32_t 89 lib_ffi.c static int32_t ffi_checkint(lua_State *L, int narg) int32_t 93 lib_ffi.c int32_t i; int32_t 440 lib_ffi.c TValue *tv = lj_tab_setint(L, t, (int32_t)slot); int32_t 516 lib_ffi.c cTValue *tv = lj_tab_getinth(cts->miscmap, -(int32_t)id); int32_t 609 lib_ffi.c setintV(L->top-1, (int32_t)sz); int32_t 694 lib_ffi.c int32_t fill = 0; int32_t 752 lib_ffi.c tv = lj_tab_setinth(L, t, -(int32_t)id); int32_t 129 lib_io.c int32_t i = lj_num2int(d); int32_t 170 lib_jit.c static void setintfield(lua_State *L, GCtab *t, const char *name, int32_t val) int32_t 188 lib_jit.c setintfield(L, t, "bytecodes", (int32_t)pt->sizebc); int32_t 189 lib_jit.c setintfield(L, t, "gcconsts", (int32_t)pt->sizekgc); int32_t 190 lib_jit.c setintfield(L, t, "nconsts", (int32_t)pt->sizekn); int32_t 191 lib_jit.c setintfield(L, t, "upvalues", (int32_t)pt->sizeuv); int32_t 294 lib_jit.c setintfield(L, t, "nins", (int32_t)T->nins - REF_BIAS - 1); int32_t 295 lib_jit.c setintfield(L, t, "nk", REF_BIAS - (int32_t)T->nk); int32_t 313 lib_jit.c int32_t m = lj_ir_mode[ir->o]; int32_t 316 lib_jit.c setintV(L->top++, (int32_t)ir->op1 - (irm_op1(m)==IRMref ? REF_BIAS : 0)); int32_t 317 lib_jit.c setintV(L->top++, (int32_t)ir->op2 - (irm_op2(m)==IRMref ? REF_BIAS : 0)); int32_t 331 lib_jit.c int32_t slot = -1; int32_t 337 lib_jit.c setintV(L->top-1, (int32_t)irt_type(ir->t)); int32_t 358 lib_jit.c setintV(lj_tab_setint(L, t, 0), (int32_t)snap->ref - REF_BIAS); int32_t 359 lib_jit.c setintV(lj_tab_setint(L, t, 1), (int32_t)snap->nslots); int32_t 361 lib_jit.c setintV(lj_tab_setint(L, t, (int32_t)(n+2)), (int32_t)map[n]); int32_t 362 lib_jit.c setintV(lj_tab_setint(L, t, (int32_t)(nent+2)), (int32_t)SNAP(255, 0, 0)); int32_t 478 lib_jit.c int32_t n = 0; int32_t 521 lib_jit.c static const int32_t jit_param_default[JIT_P__MAX+1] = { int32_t 43 lib_string.c int32_t len = (int32_t)s->len; int32_t 44 lib_string.c int32_t start = lj_lib_optint(L, 2, 1); int32_t 45 lib_string.c int32_t stop = lj_lib_optint(L, 3, start); int32_t 46 lib_string.c int32_t n, i; int32_t 69 lib_string.c int32_t k = lj_lib_checkint(L, i); int32_t 89 lib_string.c int32_t k = lj_lib_checkint(L, 2); int32_t 91 lib_string.c int32_t len = (int32_t)s->len; int32_t 119 lib_string.c int32_t i; int32_t 127 lib_string.c int32_t i = 0; int32_t 586 lib_string.c int32_t pos = (int32_t)(e - s); int32_t 714 lib_string.c int32_t len = (int32_t)str->len; int32_t 795 lib_string.c else if ((int32_t)o->u32.hi < 0) int32_t 35 lib_table.c val = lj_tab_getint(t, (int32_t)i); int32_t 80 lib_table.c m = (lua_Number)(int32_t)i; int32_t 96 lib_table.c int32_t n, i = (int32_t)lj_tab_len(t) + 1; int32_t 125 lib_table.c int32_t e = (int32_t)lj_tab_len(t); int32_t 126 lib_table.c int32_t pos = lj_lib_optint(L, 2, e); int32_t 150 lib_table.c int32_t i = lj_lib_optint(L, 3, 1); int32_t 151 lib_table.c int32_t e = (L->base+3 < L->top && !tvisnil(L->base+3)) ? int32_t 152 lib_table.c lj_lib_checkint(L, 4) : (int32_t)lj_tab_len(t); int32_t 261 lib_table.c int32_t n = (int32_t)lj_tab_len(t); int32_t 277 lib_table.c setintV(lj_tab_setstr(L, t, strV(lj_lib_upvalue(L, 1))), (int32_t)n); int32_t 64 lj_asm.c int32_t evenspill; /* Next even spill slot. */ int32_t 65 lj_asm.c int32_t oddspill; /* Next odd spill slot (or 0). */ int32_t 81 lj_asm.c int32_t gcsteps; /* Accumulated number of GC steps (per section). */ int32_t 94 lj_asm.c int32_t krefk[RID_NUM_KREF]; int32_t 147 lj_asm.c static LJ_AINLINE void ra_setkref(ASMState *as, Reg r, int32_t k) int32_t 255 lj_asm.c p += sprintf(p, "%08x", va_arg(argp, int32_t)); int32_t 353 lj_asm.c static int32_t ra_spill(ASMState *as, IRIns *ir) int32_t 355 lj_asm.c int32_t slot = ir->s; int32_t 395 lj_asm.c int32_t ofs = ra_spill(as, ir); /* Force a spill slot. */ int32_t 515 lj_asm.c static Reg ra_allock(ASMState *as, int32_t k, RegSet allow) int32_t 546 lj_asm.c static void ra_allockreg(ASMState *as, int32_t k, Reg r) int32_t 986 lj_asm.c static int32_t asm_stack_adjust(ASMState *as) int32_t 1347 lj_asm.c int32_t spadj; int32_t 1349 lj_asm.c emit_setvmstate(as, (int32_t)as->T->traceno); int32_t 1371 lj_asm.c int32_t spadj, spdelta; int32_t 1413 lj_asm.c spdelta = spadj - (int32_t)as->parent->spadjust; int32_t 1415 lj_asm.c spadj = (int32_t)as->parent->spadjust; int32_t 1452 lj_asm.c emit_setvmstate(as, (int32_t)as->T->traceno); int32_t 1470 lj_asm.c int32_t ofs = sps_scale(regsp_spill(rs)); int32_t 1561 lj_asm.c int32_t mres; int32_t 1569 lj_asm.c mres = (int32_t)(snap->nslots - baseslot); int32_t 1572 lj_asm.c mres -= (int32_t)(1 + bc_a(*pc) + bc_c(*pc)); break; int32_t 1573 lj_asm.c case BC_RETM: mres -= (int32_t)(bc_a(*pc) + bc_d(*pc)); break; int32_t 1574 lj_asm.c case BC_TSETM: mres -= (int32_t)bc_a(*pc); break; int32_t 1582 lj_asm.c emit_addptr(as, RID_BASE, 8*(int32_t)baseslot); int32_t 145 lj_asm_arm.h static int32_t asm_fuseabase(ASMState *as, IRRef ref) int32_t 150 lj_asm_arm.h return (int32_t)sizeof(GCtab); int32_t 155 lj_asm_arm.h static Reg asm_fuseahuref(ASMState *as, IRRef ref, int32_t *ofsp, RegSet allow, int32_t 164 lj_asm_arm.h int32_t ofs = asm_fuseabase(as, tab); int32_t 175 lj_asm_arm.h int32_t ofs = (int32_t)(IR(ir->op2)->op2 * sizeof(Node)); int32_t 184 lj_asm_arm.h int32_t ofs = i32ptr(&gcref(fn->l.uvptr[(ir->op2 >> 8)])->uv.tv); int32_t 237 lj_asm_arm.h RegSet allow, int32_t ofs) int32_t 242 lj_asm_arm.h int32_t lim = (!LJ_SOFTFP && (ai & 0x08000000)) ? 1024 : int32_t 245 lj_asm_arm.h int32_t ofs2; int32_t 273 lj_asm_arm.h ofs = (int32_t)sizeof(GCstr); int32_t 342 lj_asm_arm.h int32_t ofs = 0; int32_t 493 lj_asm_arm.h int32_t delta = 1+bc_a(*((const BCIns *)pc - 1)); int32_t 495 lj_asm_arm.h if ((int32_t)as->topslot < 0) as->topslot = 0; int32_t 635 lj_asm_arm.h int32_t ofs = 0; int32_t 752 lj_asm_arm.h int32_t ofs = asm_fuseabase(as, tab); int32_t 784 lj_asm_arm.h int32_t k = 0, khi = emit_isk12(ARMI_CMP, irt_toitype(kt)); int32_t 816 lj_asm_arm.h int32_t val = (int32_t)ir_knum(irkey)->u32.lo; int32_t 822 lj_asm_arm.h val = (int32_t)ir_knum(irkey)->u32.hi; int32_t 849 lj_asm_arm.h emit_lso(as, ARMI_LDR, dest, dest, (int32_t)offsetof(Node, next)); int32_t 859 lj_asm_arm.h emit_lsox(as, ARMI_LDRD, tmp, dest, (int32_t)offsetof(Node, key)); int32_t 862 lj_asm_arm.h emit_lso(as, ARMI_LDR, tmp, dest, (int32_t)offsetof(Node, key.it)); int32_t 869 lj_asm_arm.h emit_lso(as, ARMI_LDR, dest, tab, (int32_t)offsetof(GCtab, node)); int32_t 875 lj_asm_arm.h emit_lso(as, ARMI_LDR, dest, tab, (int32_t)offsetof(GCtab, node)); int32_t 876 lj_asm_arm.h emit_lso(as, ARMI_LDR, tmp+1, key, (int32_t)offsetof(GCstr, hash)); int32_t 877 lj_asm_arm.h emit_lso(as, ARMI_LDR, RID_TMP, tab, (int32_t)offsetof(GCtab, hmask)); int32_t 879 lj_asm_arm.h emit_opk(as, ARMI_AND, tmp, RID_TMP, (int32_t)khash, int32_t 881 lj_asm_arm.h emit_lso(as, ARMI_LDR, dest, tab, (int32_t)offsetof(GCtab, node)); int32_t 882 lj_asm_arm.h emit_lso(as, ARMI_LDR, RID_TMP, tab, (int32_t)offsetof(GCtab, hmask)); int32_t 891 lj_asm_arm.h emit_lso(as, ARMI_LDR, dest, tab, (int32_t)offsetof(GCtab, node)); int32_t 894 lj_asm_arm.h emit_lso(as, ARMI_LDR, RID_TMP, tab, (int32_t)offsetof(GCtab, hmask)); int32_t 906 lj_asm_arm.h emit_opk(as, ARMI_ADD, tmp, key, (int32_t)HASH_BIAS, int32_t 917 lj_asm_arm.h int32_t ofs = (int32_t)(kslot->op2 * sizeof(Node)); int32_t 918 lj_asm_arm.h int32_t kofs = ofs + (int32_t)offsetof(Node, key); int32_t 927 lj_asm_arm.h kofs = (int32_t)offsetof(Node, key); int32_t 949 lj_asm_arm.h (int32_t)ir_knum(irkey)->u32.hi, allow); int32_t 951 lj_asm_arm.h (int32_t)ir_knum(irkey)->u32.lo, allow); int32_t 991 lj_asm_arm.h (int32_t)offsetof(GCupval, tv), RSET_GPR); int32_t 992 lj_asm_arm.h emit_lso(as, ARMI_LDRB, RID_TMP, uv, (int32_t)offsetof(GCupval, closed)); int32_t 994 lj_asm_arm.h emit_lso(as, ARMI_LDR, dest, uv, (int32_t)offsetof(GCupval, v)); int32_t 997 lj_asm_arm.h (int32_t)offsetof(GCfuncL, uvptr) + 4*(int32_t)(ir->op2 >> 8)); int32_t 1024 lj_asm_arm.h (int32_t)sizeof(GCstr) + IR(irr->op2)->i))) { int32_t 1070 lj_asm_arm.h int32_t ofs; int32_t 1091 lj_asm_arm.h int32_t ofs = field_ofs[irf->op2]; int32_t 1108 lj_asm_arm.h static void asm_xstore(ASMState *as, IRIns *ir, int32_t ofs) int32_t 1124 lj_asm_arm.h int32_t ofs = 0; int32_t 1165 lj_asm_arm.h int32_t ofs = 0; int32_t 1182 lj_asm_arm.h type = ra_allock(as, (int32_t)irt_toitype(ir->t), allow); int32_t 1192 lj_asm_arm.h int32_t ofs = 8*((int32_t)ir->op1-1) + ((ir->op2 & IRSLOAD_FRAME) ? 4 : 0); int32_t 1296 lj_asm_arm.h int32_t ofs = sizeof(GCcdata); int32_t 1320 lj_asm_arm.h ra_allockreg(as, (int32_t)(sz+sizeof(GCcdata)), int32_t 1337 lj_asm_arm.h emit_lso(as, ARMI_STR, link, tab, (int32_t)offsetof(GCtab, gclist)); int32_t 1338 lj_asm_arm.h emit_lso(as, ARMI_STRB, mark, tab, (int32_t)offsetof(GCtab, marked)); int32_t 1340 lj_asm_arm.h (int32_t)offsetof(global_State, gc.grayagain)); int32_t 1343 lj_asm_arm.h (int32_t)offsetof(global_State, gc.grayagain)); int32_t 1346 lj_asm_arm.h emit_lso(as, ARMI_LDRB, mark, tab, (int32_t)offsetof(GCtab, marked)); int32_t 1373 lj_asm_arm.h (int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv)); int32_t 1374 lj_asm_arm.h emit_lso(as, ARMI_LDRB, RID_TMP, val, (int32_t)offsetof(GChead, marked)); int32_t 1622 lj_asm_arm.h int32_t shift = (IR(ir->op2)->i & 31); int32_t 1964 lj_asm_arm.h k = emit_isk12(0, (int32_t)(8*topslot)); int32_t 1969 lj_asm_arm.h (int32_t)offsetof(lua_State, maxstack)); int32_t 1971 lj_asm_arm.h int32_t i = i32ptr(&J2G(as->J)->jit_L); int32_t 1993 lj_asm_arm.h int32_t ofs = 8*((int32_t)s-1); int32_t 2003 lj_asm_arm.h tmp = ra_allock(as, (int32_t)ir_knum(ir)->u32.lo, int32_t 2007 lj_asm_arm.h tmp = ra_allock(as, (int32_t)ir_knum(ir)->u32.hi, odd); int32_t 2024 lj_asm_arm.h type = ra_allock(as, (int32_t)(*flinks--), odd); int32_t 2030 lj_asm_arm.h type = ra_allock(as, (int32_t)irt_toitype(ir->t), odd); int32_t 2063 lj_asm_arm.h (int32_t)offsetof(global_State, gc.threshold)); int32_t 2065 lj_asm_arm.h (int32_t)offsetof(global_State, gc.total)); int32_t 2138 lj_asm_arm.h int32_t spadj = as->T->spadjust; int32_t 130 lj_asm_mips.h static int32_t asm_fuseabase(ASMState *as, IRRef ref) int32_t 135 lj_asm_mips.h return (int32_t)sizeof(GCtab); int32_t 140 lj_asm_mips.h static Reg asm_fuseahuref(ASMState *as, IRRef ref, int32_t *ofsp, RegSet allow) int32_t 148 lj_asm_mips.h int32_t ofs = asm_fuseabase(as, tab); int32_t 159 lj_asm_mips.h int32_t ofs = (int32_t)(IR(ir->op2)->op2 * sizeof(Node)); int32_t 168 lj_asm_mips.h int32_t ofs = i32ptr(&gcref(fn->l.uvptr[(ir->op2 >> 8)])->uv.tv); int32_t 169 lj_asm_mips.h int32_t jgl = (intptr_t)J2G(as->J); int32_t 186 lj_asm_mips.h RegSet allow, int32_t ofs) int32_t 192 lj_asm_mips.h int32_t ofs2; int32_t 198 lj_asm_mips.h int32_t ofs2 = 65536; int32_t 200 lj_asm_mips.h ofs = (int32_t)sizeof(GCstr); int32_t 229 lj_asm_mips.h int32_t ofs = 16; int32_t 305 lj_asm_mips.h int32_t ofs = sps_scale(ir->s); int32_t 393 lj_asm_mips.h int32_t delta = 1+bc_a(*((const BCIns *)pc - 1)); int32_t 395 lj_asm_mips.h if ((int32_t)as->topslot < 0) as->topslot = 0; int32_t 509 lj_asm_mips.h (int32_t)(st == IRT_U8 ? 0xff : 0xffff)); int32_t 606 lj_asm_mips.h int32_t ofs = asm_fuseabase(as, tab); int32_t 664 lj_asm_mips.h emit_tsi(as, MIPSI_LW, tmp1, dest, (int32_t)offsetof(Node, next)); int32_t 673 lj_asm_mips.h emit_tsi(as, MIPSI_SLTIU, tmp1, tmp1, (int32_t)LJ_TISNUM); int32_t 674 lj_asm_mips.h emit_hsi(as, MIPSI_LDC1, tmpnum, dest, (int32_t)offsetof(Node, key.n)); int32_t 680 lj_asm_mips.h emit_tsi(as, MIPSI_LW, tmp2, dest, (int32_t)offsetof(Node, key.gcr)); int32_t 684 lj_asm_mips.h emit_tsi(as, MIPSI_LW, tmp1, dest, (int32_t)offsetof(Node, key.it)); int32_t 690 lj_asm_mips.h emit_tsi(as, MIPSI_LW, dest, tab, (int32_t)offsetof(GCtab, node)); int32_t 701 lj_asm_mips.h emit_tsi(as, MIPSI_LW, dest, tab, (int32_t)offsetof(GCtab, node)); int32_t 702 lj_asm_mips.h emit_tsi(as, MIPSI_LW, tmp2, tab, (int32_t)offsetof(GCtab, hmask)); int32_t 706 lj_asm_mips.h emit_tsi(as, MIPSI_LW, tmp1, key, (int32_t)offsetof(GCstr, hash)); int32_t 738 lj_asm_mips.h int32_t ofs = (int32_t)(kslot->op2 * sizeof(Node)); int32_t 739 lj_asm_mips.h int32_t kofs = ofs + (int32_t)offsetof(Node, key); int32_t 744 lj_asm_mips.h int32_t lo, hi; int32_t 749 lj_asm_mips.h kofs = (int32_t)offsetof(Node, key); int32_t 758 lj_asm_mips.h lo = (int32_t)ir_knum(irkey)->u32.lo; int32_t 759 lj_asm_mips.h hi = (int32_t)ir_knum(irkey)->u32.hi; int32_t 801 lj_asm_mips.h emit_tsi(as, MIPSI_ADDIU, dest, uv, (int32_t)offsetof(GCupval, tv)); int32_t 802 lj_asm_mips.h emit_tsi(as, MIPSI_LBU, RID_TMP, uv, (int32_t)offsetof(GCupval, closed)); int32_t 804 lj_asm_mips.h emit_tsi(as, MIPSI_LW, dest, uv, (int32_t)offsetof(GCupval, v)); int32_t 807 lj_asm_mips.h (int32_t)offsetof(GCfuncL, uvptr) + 4*(int32_t)(ir->op2 >> 8)); int32_t 821 lj_asm_mips.h int32_t ofs = (int32_t)sizeof(GCstr); int32_t 883 lj_asm_mips.h int32_t ofs; int32_t 902 lj_asm_mips.h int32_t ofs = field_ofs[irf->op2]; int32_t 916 lj_asm_mips.h static void asm_xstore(ASMState *as, IRIns *ir, int32_t ofs) int32_t 930 lj_asm_mips.h int32_t ofs = 0; int32_t 940 lj_asm_mips.h emit_tsi(as, MIPSI_SLTIU, type, type, (int32_t)LJ_TISNUM); int32_t 954 lj_asm_mips.h int32_t ofs = 0; int32_t 964 lj_asm_mips.h type = ra_allock(as, (int32_t)irt_toitype(ir->t), allow); int32_t 979 lj_asm_mips.h int32_t ofs = 8*((int32_t)ir->op1-1) + ((ir->op2 & IRSLOAD_FRAME) ? 4 : 0); int32_t 1019 lj_asm_mips.h emit_tsi(as, MIPSI_SLTIU, RID_TMP, RID_TMP, (int32_t)LJ_TISNUM); int32_t 1061 lj_asm_mips.h int32_t ofs = sizeof(GCcdata); int32_t 1082 lj_asm_mips.h ra_allockreg(as, (int32_t)(sz+sizeof(GCcdata)), int32_t 1097 lj_asm_mips.h emit_tsi(as, MIPSI_SW, link, tab, (int32_t)offsetof(GCtab, gclist)); int32_t 1098 lj_asm_mips.h emit_tsi(as, MIPSI_SB, mark, tab, (int32_t)offsetof(GCtab, marked)); int32_t 1104 lj_asm_mips.h emit_tsi(as, MIPSI_LBU, mark, tab, (int32_t)offsetof(GCtab, marked)); int32_t 1129 lj_asm_mips.h (int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv)); int32_t 1130 lj_asm_mips.h emit_tsi(as, MIPSI_LBU, RID_TMP, val, (int32_t)offsetof(GChead, marked)); int32_t 1177 lj_asm_mips.h int32_t k = IR(ir->op2)->i; int32_t 1271 lj_asm_mips.h int32_t k = IR(ir->op2)->i; int32_t 1289 lj_asm_mips.h int32_t k = IR(ir->op2)->i; int32_t 1389 lj_asm_mips.h int32_t k = IR(ir->op2)->i; int32_t 1481 lj_asm_mips.h int32_t k = IR(ir->op2)->i; int32_t 1616 lj_asm_mips.h emit_tsi(as, MIPSI_SLTIU, RID_TMP, RID_TMP, (int32_t)(8*topslot)); int32_t 1636 lj_asm_mips.h int32_t ofs = 8*((int32_t)s-1); int32_t 1655 lj_asm_mips.h type = ra_allock(as, (int32_t)(*flinks--), allow); int32_t 1657 lj_asm_mips.h type = ra_allock(as, (int32_t)irt_toitype(ir->t), allow); int32_t 1756 lj_asm_mips.h int32_t spadj = as->T->spadjust; int32_t 55 lj_asm_ppc.h for (i = nexits-1; (int32_t)i >= 0; i--) int32_t 103 lj_asm_ppc.h static int32_t asm_fuseabase(ASMState *as, IRRef ref) int32_t 108 lj_asm_ppc.h return (int32_t)sizeof(GCtab); int32_t 113 lj_asm_ppc.h #define AHUREF_LSX ((int32_t)0x80000000) int32_t 116 lj_asm_ppc.h static Reg asm_fuseahuref(ASMState *as, IRRef ref, int32_t *ofsp, RegSet allow) int32_t 124 lj_asm_ppc.h int32_t ofs = asm_fuseabase(as, tab); int32_t 140 lj_asm_ppc.h int32_t ofs = (int32_t)(IR(ir->op2)->op2 * sizeof(Node)); int32_t 149 lj_asm_ppc.h int32_t ofs = i32ptr(&gcref(fn->l.uvptr[(ir->op2 >> 8)])->uv.tv); int32_t 150 lj_asm_ppc.h int32_t jgl = (intptr_t)J2G(as->J); int32_t 167 lj_asm_ppc.h RegSet allow, int32_t ofs) int32_t 173 lj_asm_ppc.h int32_t ofs2; int32_t 185 lj_asm_ppc.h ofs = (int32_t)sizeof(GCstr); int32_t 255 lj_asm_ppc.h int32_t ofs = 8; int32_t 314 lj_asm_ppc.h int32_t ofs = ir->s ? sps_scale(ir->s) : SPOFS_TMP; int32_t 383 lj_asm_ppc.h int32_t delta = 1+bc_a(*((const BCIns *)pc - 1)); int32_t 385 lj_asm_ppc.h if ((int32_t)as->topslot < 0) as->topslot = 0; int32_t 542 lj_asm_ppc.h int32_t ofs; int32_t 606 lj_asm_ppc.h int32_t ofs = asm_fuseabase(as, tab); int32_t 647 lj_asm_ppc.h tisnum = ra_allock(as, (int32_t)LJ_TISNUM, allow); int32_t 667 lj_asm_ppc.h emit_tai(as, PPCI_LWZ, dest, dest, (int32_t)offsetof(Node, next)); int32_t 679 lj_asm_ppc.h emit_fai(as, PPCI_LFD, tmpnum, dest, (int32_t)offsetof(Node, key.n)); int32_t 687 lj_asm_ppc.h emit_tai(as, PPCI_LWZ, tmp2, dest, (int32_t)offsetof(Node, key.gcr)); int32_t 689 lj_asm_ppc.h emit_tai(as, PPCI_LWZ, tmp1, dest, (int32_t)offsetof(Node, key.it)); int32_t 696 lj_asm_ppc.h emit_tai(as, PPCI_LWZ, dest, tab, (int32_t)offsetof(GCtab, node)); int32_t 704 lj_asm_ppc.h emit_tai(as, PPCI_LWZ, dest, tab, (int32_t)offsetof(GCtab, node)); int32_t 705 lj_asm_ppc.h emit_tai(as, PPCI_LWZ, tmp2, tab, (int32_t)offsetof(GCtab, hmask)); int32_t 709 lj_asm_ppc.h emit_tai(as, PPCI_LWZ, tmp1, key, (int32_t)offsetof(GCstr, hash)); int32_t 717 lj_asm_ppc.h int32_t ofs = ra_spill(as, irkey); int32_t 737 lj_asm_ppc.h int32_t ofs = (int32_t)(kslot->op2 * sizeof(Node)); int32_t 738 lj_asm_ppc.h int32_t kofs = ofs + (int32_t)offsetof(Node, key); int32_t 747 lj_asm_ppc.h kofs = (int32_t)offsetof(Node, key); int32_t 758 lj_asm_ppc.h emit_cmpi(as, key, (int32_t)ir_knum(irkey)->u32.lo); int32_t 760 lj_asm_ppc.h emit_cmpi(as, type, (int32_t)ir_knum(irkey)->u32.hi); int32_t 803 lj_asm_ppc.h emit_tai(as, PPCI_ADDI, dest, uv, (int32_t)offsetof(GCupval, tv)); int32_t 804 lj_asm_ppc.h emit_tai(as, PPCI_LBZ, RID_TMP, uv, (int32_t)offsetof(GCupval, closed)); int32_t 806 lj_asm_ppc.h emit_tai(as, PPCI_LWZ, dest, uv, (int32_t)offsetof(GCupval, v)); int32_t 809 lj_asm_ppc.h (int32_t)offsetof(GCfuncL, uvptr) + 4*(int32_t)(ir->op2 >> 8)); int32_t 823 lj_asm_ppc.h int32_t ofs = (int32_t)sizeof(GCstr); int32_t 885 lj_asm_ppc.h int32_t ofs; int32_t 904 lj_asm_ppc.h int32_t ofs = field_ofs[irf->op2]; int32_t 919 lj_asm_ppc.h static void asm_xstore(ASMState *as, IRIns *ir, int32_t ofs) int32_t 941 lj_asm_ppc.h int32_t ofs = AHUREF_LSX; int32_t 950 lj_asm_ppc.h Reg tisnum = ra_allock(as, (int32_t)LJ_TISNUM, rset_exclude(allow, idx)); int32_t 979 lj_asm_ppc.h int32_t ofs = AHUREF_LSX; int32_t 990 lj_asm_ppc.h type = ra_allock(as, (int32_t)irt_toitype(ir->t), allow); int32_t 1015 lj_asm_ppc.h int32_t ofs = 8*((int32_t)ir->op1-1) + ((ir->op2 & IRSLOAD_FRAME) ? 0 : 4); int32_t 1063 lj_asm_ppc.h Reg tisnum = ra_allock(as, (int32_t)LJ_TISNUM, allow); int32_t 1107 lj_asm_ppc.h int32_t ofs = sizeof(GCcdata); int32_t 1127 lj_asm_ppc.h ra_allockreg(as, (int32_t)(sz+sizeof(GCcdata)), int32_t 1142 lj_asm_ppc.h emit_tai(as, PPCI_STW, link, tab, (int32_t)offsetof(GCtab, gclist)); int32_t 1143 lj_asm_ppc.h emit_tai(as, PPCI_STB, mark, tab, (int32_t)offsetof(GCtab, marked)); int32_t 1150 lj_asm_ppc.h emit_tai(as, PPCI_LBZ, mark, tab, (int32_t)offsetof(GCtab, marked)); int32_t 1175 lj_asm_ppc.h (int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv)); int32_t 1176 lj_asm_ppc.h emit_tai(as, PPCI_LBZ, RID_TMP, val, (int32_t)offsetof(GChead, marked)); int32_t 1228 lj_asm_ppc.h int32_t k = IR(ir->op2)->i; int32_t 1270 lj_asm_ppc.h int32_t k = IR(ir->op1)->i; int32_t 1298 lj_asm_ppc.h int32_t k = IR(ir->op2)->i; int32_t 1355 lj_asm_ppc.h int32_t k = IR(ir->op2)->i; int32_t 1372 lj_asm_ppc.h int32_t k = IR(ir->op2)->i; int32_t 1388 lj_asm_ppc.h int32_t k = IR(ir->op1)->i; int32_t 1405 lj_asm_ppc.h int32_t k = IR(ir->op1)->i; int32_t 1480 lj_asm_ppc.h int32_t k = IR(ir->op2)->i; int32_t 1502 lj_asm_ppc.h static void asm_fuseandsh(ASMState *as, PPCIns pi, int32_t mask, IRRef ref) int32_t 1508 lj_asm_ppc.h int32_t sh = (IR(ir->op2)->i & 31); int32_t 1544 lj_asm_ppc.h int32_t k = IR(ir->op2)->i; int32_t 1598 lj_asm_ppc.h int32_t shift = (IR(ir->op2)->i & 31); int32_t 1666 lj_asm_ppc.h int32_t k = IR(rref)->i; int32_t 1803 lj_asm_ppc.h emit_ai(as, PPCI_CMPLWI, RID_TMP, (int32_t)(8*topslot)); int32_t 1823 lj_asm_ppc.h int32_t ofs = 8*((int32_t)s-1); int32_t 1842 lj_asm_ppc.h type = ra_allock(as, (int32_t)(*flinks--), allow); int32_t 1844 lj_asm_ppc.h type = ra_allock(as, (int32_t)irt_toitype(ir->t), allow); int32_t 1941 lj_asm_ppc.h int32_t spadj = as->T->spadjust; int32_t 29 lj_asm_x86.h *(int32_t *)mxp = ptr2addr(J2GG(as->J)->dispatch); mxp += 4; int32_t 32 lj_asm_x86.h *((int32_t *)(mxp-4)) = jmprel(mxp, (MCode *)(void *)lj_vm_exit_handler); int32_t 61 lj_asm_x86.h *(int32_t *)(p+1) = jmprel(p+5, target); int32_t 78 lj_asm_x86.h static int asm_isk32(ASMState *as, IRRef ref, int32_t *k) int32_t 86 lj_asm_x86.h *k = (int32_t)ir_kint64(ir)->u64; int32_t 122 lj_asm_x86.h as->mrm.ofs = (int32_t)sizeof(GCtab); /* Ofs to colocated array. */ int32_t 179 lj_asm_x86.h as->mrm.ofs = (int32_t)(IR(ir->op2)->op2 * sizeof(Node)); int32_t 342 lj_asm_x86.h as->mrm.ofs = 8*((int32_t)ir->op1-1) + ((ir->op2&IRSLOAD_FRAME)?4:0); int32_t 429 lj_asm_x86.h int32_t ofs = STACKARG_OFS; int32_t 506 lj_asm_x86.h emit_movmroi(as, RID_ESP, ofs, (int32_t)ir_knum(ir)->u32.lo); int32_t 507 lj_asm_x86.h emit_movmroi(as, RID_ESP, ofs+4, (int32_t)ir_knum(ir)->u32.hi); int32_t 544 lj_asm_x86.h int32_t ofs = sps_scale(ir->s); /* Use spill slot or temp slots. */ int32_t 610 lj_asm_x86.h if (p - as->mcp == (int32_t)(p - as->mcp)) int32_t 624 lj_asm_x86.h int32_t spadj = 0; int32_t 655 lj_asm_x86.h int32_t delta = 1+bc_a(*((const BCIns *)pc - 1)); int32_t 657 lj_asm_x86.h if ((int32_t)as->topslot < 0) as->topslot = 0; int32_t 751 lj_asm_x86.h emit_gri(as, XG_ARITHi(XOg_ADD), dest, (int32_t)0x80000000); int32_t 832 lj_asm_x86.h int32_t ofs = sps_scale(ir->s); /* Use spill slot or temp slots. */ int32_t 974 lj_asm_x86.h return p + *(int32_t *)(p-4); /* Return exit address. */ int32_t 1032 lj_asm_x86.h (int32_t)ir_knum(irkey)->u32.lo); int32_t 1035 lj_asm_x86.h (int32_t)ir_knum(irkey)->u32.hi); int32_t 1084 lj_asm_x86.h emit_gri(as, XG_ARITHi(XOg_AND), dest, (int32_t)khash); int32_t 1120 lj_asm_x86.h int32_t ofs = (int32_t)(kslot->op2 * sizeof(Node)); int32_t 1142 lj_asm_x86.h ofs + (int32_t)offsetof(Node, key.u64)); int32_t 1152 lj_asm_x86.h ofs + (int32_t)offsetof(Node, key.it)); int32_t 1159 lj_asm_x86.h ofs + (int32_t)offsetof(Node, key.u32.lo), int32_t 1160 lj_asm_x86.h (int32_t)ir_knum(irkey)->u32.lo); int32_t 1163 lj_asm_x86.h ofs + (int32_t)offsetof(Node, key.u32.hi), int32_t 1164 lj_asm_x86.h (int32_t)ir_knum(irkey)->u32.hi); int32_t 1169 lj_asm_x86.h ofs + (int32_t)offsetof(Node, key.gcr), int32_t 1176 lj_asm_x86.h ofs + (int32_t)offsetof(Node, key.it)); int32_t 1235 lj_asm_x86.h (int32_t)offsetof(GCfuncL, uvptr) + 4*(int32_t)(ir->op2 >> 8)); int32_t 1291 lj_asm_x86.h int32_t k = 0; int32_t 1436 lj_asm_x86.h emit_i32(as, (int32_t)irt_toitype(ir->t)); int32_t 1443 lj_asm_x86.h int32_t ofs = 8*((int32_t)ir->op1-1) + ((ir->op2 & IRSLOAD_FRAME) ? 4 : 0); int32_t 1525 lj_asm_x86.h emit_i32(as, (int32_t)k); int32_t 1536 lj_asm_x86.h int32_t ofs = sizeof(GCcdata); int32_t 1559 lj_asm_x86.h (int32_t)((~LJ_TCDATA<<8)+(ctypeid<<16))); int32_t 1564 lj_asm_x86.h emit_loadi(as, ra_releasetmp(as, ASMREF_TMP1), (int32_t)(sz+sizeof(GCcdata))); int32_t 1609 lj_asm_x86.h emit_rmro(as, XO_GROUP3b, XOg_TEST, val, (int32_t)offsetof(GChead, marked)); int32_t 1614 lj_asm_x86.h (int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv)); int32_t 1703 lj_asm_x86.h int32_t ofs = sps_scale(ir->s); /* Use spill slot or temp slots. */ int32_t 1836 lj_asm_x86.h int32_t k = 0; int32_t 2097 lj_asm_x86.h int32_t imm = 0; int32_t 2254 lj_asm_x86.h int32_t imm = IR((ir-1)->op2)->i; int32_t 2270 lj_asm_x86.h int32_t imm = IR(ir->op2)->i; int32_t 2360 lj_asm_x86.h emit_gri(as, XG_ARITHi(XOg_CMP), r, (int32_t)(8*topslot)); int32_t 2382 lj_asm_x86.h int32_t ofs = 8*((int32_t)s-1); int32_t 2401 lj_asm_x86.h emit_movmroi(as, RID_BASE, ofs+4, (int32_t)(*flinks--)); int32_t 2469 lj_asm_x86.h *(int32_t *)(p-4) = (int32_t)(target - p); /* Patch jcc. */ int32_t 2471 lj_asm_x86.h *(int32_t *)(p-10) = (int32_t)(target - p + 6); /* Patch opt. jp. */ int32_t 2475 lj_asm_x86.h *(int32_t *)(p-4) = (int32_t)(target - p); int32_t 2532 lj_asm_x86.h int32_t spadj = as->T->spadjust; int32_t 2544 lj_asm_x86.h *(int32_t *)p1 = spadj; int32_t 2563 lj_asm_x86.h *(int32_t *)(p-4) = jmprel(p, target); int32_t 2887 lj_asm_x86.h if (len > 5 && p[len-5] == XI_JMP && p+len-6 + *(int32_t *)(p+len-4) == px) int32_t 2888 lj_asm_x86.h *(int32_t *)(p+len-4) = jmprel(p+len, target); int32_t 2895 lj_asm_x86.h if ((*(uint16_t *)p & 0xf0ff) == 0x800f && p + *(int32_t *)(p+2) == px) int32_t 2896 lj_asm_x86.h *(int32_t *)(p+2) = jmprel(p+6, target); int32_t 50 lj_bc.h #define setbc_j(p, x) setbc_d(p, (BCPos)((int32_t)(x)+BCBIAS_J)) int32_t 57 lj_bc.h #define BCINS_AJ(o, a, j) BCINS_AD(o, a, (BCPos)((int32_t)(j)+BCBIAS_J)) int32_t 209 lj_bcread.c setintV(o, (int32_t)bcread_uleb128(ls)); int32_t 470 lj_bcread.c if ((int32_t)ls->n > 0 || L->top-1 != bcread_oldtop(L, ls)) int32_t 95 lj_bcwrite.c int32_t k = lj_num2int(num); int32_t 212 lj_bcwrite.c int32_t k; int32_t 113 lj_carith.c diff = ((intptr_t)pp - (intptr_t)pp2) / (int32_t)sz; int32_t 117 lj_carith.c setintptrV(L->top-1, (int32_t)diff); int32_t 145 lj_carith.c pp += idx*(int32_t)sz; /* Compute pointer + index. */ int32_t 788 lj_ccall.c *(int32_t *)dp = d->size == 1 ? (int32_t)*(int8_t *)dp : int32_t 789 lj_ccall.c (int32_t)*(int16_t *)dp; int32_t 152 lj_ccall.h int32_t align1; int32_t 123 lj_ccallback.c *(int32_t *)p = i32ptr(g); p += 4; int32_t 127 lj_ccallback.c *(int32_t *)p = (int32_t)(page-(p+4)); p += 4; int32_t 130 lj_ccallback.c *p++ = XI_JMP; *(int32_t *)p = target-(p+4); p += 4; int32_t 425 lj_ccallback.c fn = funcV(lj_tab_getint(cts->miscmap, (int32_t)slot)); int32_t 516 lj_ccallback.c *(int32_t *)dp = ctr->size == 1 ? (int32_t)*(int8_t *)dp : int32_t 517 lj_ccallback.c (int32_t)*(int16_t *)dp; int32_t 637 lj_ccallback.c setfuncV(cts->L, lj_tab_setint(cts->L, t, (int32_t)slot), fn); int32_t 194 lj_cconv.c int32_t i = (int32_t)n; int32_t 195 lj_cconv.c if (dsize == 4) *(int32_t *)dp = i; int32_t 235 lj_cconv.c int32_t i; int32_t 237 lj_cconv.c i = *(int32_t *)sp; int32_t 381 lj_cconv.c int32_t i; int32_t 442 lj_cconv.c setintV(o, (int32_t)(val << (shift-pos)) >> shift); int32_t 445 lj_cconv.c if (!LJ_DUALNUM || (int32_t)val < 0) int32_t 448 lj_cconv.c setintV(o, (int32_t)val); int32_t 463 lj_cconv.c int32_t i; int32_t 488 lj_cconv.c GCtab *t, int32_t *ip, CTInfo flags) int32_t 496 lj_cconv.c int32_t i = *ip, iz = i; int32_t 528 lj_cconv.c int32_t i = 0; int32_t 138 lj_cdata.c *pp = p + idx*(int32_t)sz; int32_t 203 lj_cdata.c if ((ctt->info & CTF_UNSIGNED) && (int32_t)ct->size < 0) int32_t 206 lj_cdata.c setintV(o, (int32_t)ct->size); int32_t 332 lj_clib.c if ((ctt->info & CTF_UNSIGNED) && (int32_t)ct->size < 0) int32_t 335 lj_clib.c setintV(tv, (int32_t)ct->size); int32_t 270 lj_cparse.c cp->val.i32 = (int32_t)(char)cp->sb.buf[0]; int32_t 995 lj_cparse.c k.u32 = (uint32_t)((int32_t)k.u32 >> 8*(4-size)); int32_t 34 lj_cparse.h int32_t i32; /* Value for CTID_INT32. */ int32_t 55 lj_crecord.c emitir(IRTG(IR_EQ, IRT_INT), trtypeid, lj_ir_kint(J, (int32_t)cd->ctypeid)); int32_t 66 lj_crecord.c emitir(IRTG(IR_EQ, IRT_INT), tr, lj_ir_kint(J, (int32_t)id)); int32_t 633 lj_crecord.c sp = lj_ir_kint(J, (int32_t)ofs); int32_t 812 lj_crecord.c J->base[0] = lj_ir_kint(J, (int32_t)fct->size); int32_t 1427 lj_crecord.c tr = lj_ir_kint(J, (int32_t)ofs); int32_t 1485 lj_crecord.c J->base[0] = lj_ir_kint(J, (int32_t)ct->size); int32_t 344 lj_ctype.c tv = lj_tab_getinth(cts->miscmap, -(int32_t)id); int32_t 603 lj_ctype.c ct->size = (CTSize)((int32_t)(info << 16) >> 26); int32_t 92 lj_def.h #define i32ptr(p) ((int32_t)(intptr_t)(void *)(p)) int32_t 95 lj_def.h #define checki8(x) ((x) == (int32_t)(int8_t)(x)) int32_t 96 lj_def.h #define checku8(x) ((x) == (int32_t)(uint8_t)(x)) int32_t 97 lj_def.h #define checki16(x) ((x) == (int32_t)(int16_t)(x)) int32_t 98 lj_def.h #define checku16(x) ((x) == (int32_t)(uint16_t)(x)) int32_t 99 lj_def.h #define checki32(x) ((x) == (int32_t)(x)) int32_t 179 lj_def.h return (uint32_t)__builtin_bswap32((int32_t)x); int32_t 75 lj_dispatch.c int32_t hotloop = G2J(g)->param[JIT_P_hotloop]; int32_t 320 lj_dispatch.c g->hookcount = g->hookcstart = (int32_t)count; int32_t 28 lj_emit_arm.h static uint32_t emit_isk12(ARMIns ai, int32_t n) int32_t 82 lj_emit_arm.h static void emit_lsox(ASMState *as, ARMIns ai, Reg rd, Reg rn, int32_t ofs) int32_t 90 lj_emit_arm.h static void emit_lso(ASMState *as, ARMIns ai, Reg rd, Reg rn, int32_t ofs) int32_t 107 lj_emit_arm.h static void emit_vlso(ASMState *as, ARMIns ai, Reg rd, Reg rn, int32_t ofs) int32_t 121 lj_emit_arm.h static int emit_kdelta1(ASMState *as, Reg d, int32_t i) int32_t 129 lj_emit_arm.h int32_t delta = i - (ra_iskref(ref) ? ra_krefk(as, ref) : IR(ref)->i); int32_t 145 lj_emit_arm.h static int emit_kdelta2(ASMState *as, Reg d, int32_t i) int32_t 153 lj_emit_arm.h int32_t other = ra_iskref(ref) ? ra_krefk(as, ref) : IR(ref)->i; int32_t 155 lj_emit_arm.h int32_t delta = i - other; int32_t 174 lj_emit_arm.h static void emit_loadi(ASMState *as, Reg r, int32_t i) int32_t 197 lj_emit_arm.h int32_t m = i & (255 << sh); int32_t 210 lj_emit_arm.h static Reg ra_allock(ASMState *as, int32_t k, RegSet allow); int32_t 215 lj_emit_arm.h int32_t i = i32ptr(p); int32_t 224 lj_emit_arm.h int32_t i; int32_t 312 lj_emit_arm.h static void emit_spload(ASMState *as, IRIns *ir, Reg r, int32_t ofs) int32_t 325 lj_emit_arm.h static void emit_spstore(ASMState *as, IRIns *ir, Reg r, int32_t ofs) int32_t 339 lj_emit_arm.h int32_t i, RegSet allow) int32_t 349 lj_emit_arm.h static void emit_addptr(ASMState *as, Reg r, int32_t ofs) int32_t 21 lj_emit_mips.h static void emit_tsi(ASMState *as, MIPSIns mi, Reg rt, Reg rs, int32_t i) int32_t 53 lj_emit_mips.h static int emit_kdelta1(ASMState *as, Reg t, int32_t i) int32_t 61 lj_emit_mips.h int32_t delta = i - (ra_iskref(ref) ? ra_krefk(as, ref) : IR(ref)->i); int32_t 73 lj_emit_mips.h static void emit_loadi(ASMState *as, Reg r, int32_t i) int32_t 79 lj_emit_mips.h int32_t jgl = i32ptr(J2G(as->J)); int32_t 97 lj_emit_mips.h static Reg ra_allock(ASMState *as, int32_t k, RegSet allow); int32_t 98 lj_emit_mips.h static void ra_allockreg(ASMState *as, int32_t k, Reg r); int32_t 103 lj_emit_mips.h int32_t jgl = i32ptr(J2G(as->J)); int32_t 104 lj_emit_mips.h int32_t i = i32ptr(p); int32_t 119 lj_emit_mips.h static void emit_lsglptr(ASMState *as, MIPSIns mi, Reg r, int32_t ofs) int32_t 125 lj_emit_mips.h emit_lsglptr(as, MIPSI_LW, (r), (int32_t)offsetof(global_State, field)) int32_t 127 lj_emit_mips.h emit_lsglptr(as, MIPSI_SW, (r), (int32_t)offsetof(global_State, field)) int32_t 182 lj_emit_mips.h static void emit_spload(ASMState *as, IRIns *ir, Reg r, int32_t ofs) int32_t 192 lj_emit_mips.h static void emit_spstore(ASMState *as, IRIns *ir, Reg r, int32_t ofs) int32_t 202 lj_emit_mips.h static void emit_addptr(ASMState *as, Reg r, int32_t ofs) int32_t 17 lj_emit_ppc.h static void emit_tai(ASMState *as, PPCIns pi, Reg rt, Reg ra, int32_t i) int32_t 36 lj_emit_ppc.h int32_t n, int32_t b, int32_t e) int32_t 42 lj_emit_ppc.h static void emit_slwi(ASMState *as, Reg ra, Reg rs, int32_t n) int32_t 48 lj_emit_ppc.h static void emit_rotlwi(ASMState *as, Reg ra, Reg rs, int32_t n) int32_t 60 lj_emit_ppc.h static int emit_kdelta1(ASMState *as, Reg t, int32_t i) int32_t 68 lj_emit_ppc.h int32_t delta = i - (ra_iskref(ref) ? ra_krefk(as, ref) : IR(ref)->i); int32_t 80 lj_emit_ppc.h static void emit_loadi(ASMState *as, Reg r, int32_t i) int32_t 86 lj_emit_ppc.h int32_t jgl = i32ptr(J2G(as->J)); int32_t 101 lj_emit_ppc.h static Reg ra_allock(ASMState *as, int32_t k, RegSet allow); int32_t 106 lj_emit_ppc.h int32_t jgl = i32ptr(J2G(as->J)); int32_t 107 lj_emit_ppc.h int32_t i = i32ptr(p); int32_t 122 lj_emit_ppc.h static void emit_lsglptr(ASMState *as, PPCIns pi, Reg r, int32_t ofs) int32_t 128 lj_emit_ppc.h emit_lsglptr(as, PPCI_LWZ, (r), (int32_t)offsetof(global_State, field)) int32_t 130 lj_emit_ppc.h emit_lsglptr(as, PPCI_STW, (r), (int32_t)offsetof(global_State, field)) int32_t 190 lj_emit_ppc.h static void emit_spload(ASMState *as, IRIns *ir, Reg r, int32_t ofs) int32_t 199 lj_emit_ppc.h static void emit_spstore(ASMState *as, IRIns *ir, Reg r, int32_t ofs) int32_t 208 lj_emit_ppc.h static void emit_cmpi(ASMState *as, Reg r, int32_t k) int32_t 221 lj_emit_ppc.h static void emit_addptr(ASMState *as, Reg r, int32_t ofs) int32_t 230 lj_emit_ppc.h static void emit_spsub(ASMState *as, int32_t ofs) int32_t 23 lj_emit_x86.h #define emit_i32(as, i) (*(int32_t *)(as->mcp-4) = (i), as->mcp -= 4) int32_t 79 lj_emit_x86.h static int32_t ptr2addr(const void *p) int32_t 92 lj_emit_x86.h *(int32_t *)(p-4) = ptr2addr(addr); int32_t 102 lj_emit_x86.h static void emit_rmro(ASMState *as, x86Op xo, Reg rr, Reg rb, int32_t ofs) int32_t 114 lj_emit_x86.h *(int32_t *)p = ofs; int32_t 120 lj_emit_x86.h *(int32_t *)(p-4) = ofs; int32_t 136 lj_emit_x86.h x86Mode scale, int32_t ofs) int32_t 148 lj_emit_x86.h *(int32_t *)p = ofs; int32_t 154 lj_emit_x86.h static void emit_gri(ASMState *as, x86Group xg, Reg rb, int32_t i) int32_t 163 lj_emit_x86.h *(int32_t *)p = i; int32_t 170 lj_emit_x86.h static void emit_gmroi(ASMState *as, x86Group xg, Reg rb, int32_t ofs, int32_t 171 lj_emit_x86.h int32_t i) int32_t 198 lj_emit_x86.h *(int32_t *)p = as->mrm.ofs; int32_t 213 lj_emit_x86.h *(int32_t *)p = as->mrm.ofs; int32_t 229 lj_emit_x86.h static void emit_gmrmi(ASMState *as, x86Group xg, Reg rb, int32_t i) int32_t 249 lj_emit_x86.h static void emit_movmroi(ASMState *as, Reg base, int32_t ofs, int32_t i) int32_t 269 lj_emit_x86.h static void emit_loadi(ASMState *as, Reg r, int32_t i) int32_t 280 lj_emit_x86.h *(int32_t *)(p-4) = i; int32_t 297 lj_emit_x86.h emit_loadi(as, r, (int32_t)u64); int32_t 300 lj_emit_x86.h *(int32_t *)(p-4) = (int32_t)u64; int32_t 371 lj_emit_x86.h static LJ_AINLINE int32_t jmprel(MCode *p, MCode *target) int32_t 374 lj_emit_x86.h lua_assert(delta == (int32_t)delta); int32_t 375 lj_emit_x86.h return (int32_t)delta; int32_t 382 lj_emit_x86.h *(int32_t *)(p-4) = jmprel(p, target); int32_t 392 lj_emit_x86.h *(int32_t *)(p-4) = jmprel(p, target); int32_t 402 lj_emit_x86.h if (target-p != (int32_t)(target-p)) { int32_t 409 lj_emit_x86.h *(int32_t *)(p-4) = jmprel(p, target); int32_t 436 lj_emit_x86.h static void emit_spload(ASMState *as, IRIns *ir, Reg r, int32_t ofs) int32_t 445 lj_emit_x86.h static void emit_spstore(ASMState *as, IRIns *ir, Reg r, int32_t ofs) int32_t 454 lj_emit_x86.h static void emit_addptr(ASMState *as, Reg r, int32_t ofs) int32_t 96 lj_err.c int32_t nres = cframe_nres(cframe_raw(cf)); int32_t 66 lj_ffrecord.c static int32_t argv2int(jit_State *J, TValue *o) int32_t 230 lj_ffrecord.c int32_t lj_ffrecord_select_mode(jit_State *J, TRef tr, TValue *tv) int32_t 242 lj_ffrecord.c int32_t start = argv2int(J, tv); int32_t 646 lj_ffrecord.c int32_t start, end; int32_t 678 lj_ffrecord.c end = end+(int32_t)str->len+1; int32_t 683 lj_ffrecord.c end = (int32_t)str->len; int32_t 689 lj_ffrecord.c start = start+(int32_t)str->len; int32_t 720 lj_ffrecord.c emitir(IRTGI(IR_EQ), trslen, lj_ir_kint(J, (int32_t)len)); int32_t 725 lj_ffrecord.c TRef tmp = emitir(IRTI(IR_ADD), trstart, lj_ir_kint(J, (int32_t)i)); int32_t 804 lj_ffrecord.c static TRef recff_io_fp(jit_State *J, TRef *udp, int32_t id) int32_t 20 lj_ffrecord.h LJ_FUNC int32_t lj_ffrecord_select_mode(jit_State *J, TRef tr, TValue *tv); int32_t 41 lj_frame.h (intptr_t)(int32_t)((f)-1)->u32.lo)) int32_t 169 lj_frame.h #define cframe_errfunc(cf) (*(int32_t *)(((char *)(cf))+CFRAME_OFS_ERRF)) int32_t 170 lj_frame.h #define cframe_nres(cf) (*(int32_t *)(((char *)(cf))+CFRAME_OFS_NRES)) int32_t 143 lj_func.c int32_t v = proto_uv(pt)[i]; int32_t 683 lj_gc.c int32_t ostate = g->vmstate; int32_t 697 lj_gc.c } while ((int32_t)lim > 0); int32_t 735 lj_gc.c int32_t ostate = g->vmstate; int32_t 442 lj_gdbjit.c static void gdbjit_sleb128(GDBJITctx *ctx, int32_t v) int32_t 537 lj_gdbjit.c DSV(-(int32_t)sizeof(uintptr_t)); /* Data alignment factor. */ int32_t 167 lj_ir.c TRef LJ_FASTCALL lj_ir_kint(jit_State *J, int32_t k) int32_t 277 lj_ir.c static int numistrueint(lua_Number n, int32_t *kp) int32_t 279 lj_ir.c int32_t k = lj_num2int(n); int32_t 296 lj_ir.c int32_t k; int32_t 526 lj_ir.h int32_t i; /* 32 bit signed integer literal (overlaps op12). */ int32_t 231 lj_ircall.h extern double softfp_i2d(int32_t a); int32_t 232 lj_ircall.h extern int32_t softfp_d2i(double a); int32_t 238 lj_ircall.h extern float softfp_i2f(int32_t a); int32_t 240 lj_ircall.h extern int32_t softfp_f2i(float a); int32_t 40 lj_iropt.h LJ_FUNC TRef LJ_FASTCALL lj_ir_kint(jit_State *J, int32_t k); int32_t 55 lj_iropt.h #define lj_ir_kintp(J, k) lj_ir_kint(J, (int32_t)(k)) int32_t 350 lj_jit.h int32_t instunroll; /* Unroll counter for instable loops. */ int32_t 351 lj_jit.h int32_t loopunroll; /* Unroll counter for loop ops in side traces. */ int32_t 352 lj_jit.h int32_t tailcalled; /* Number of successive tailcalls. */ int32_t 353 lj_jit.h int32_t framedepth; /* Current frame depth. */ int32_t 354 lj_jit.h int32_t retdepth; /* Return frame depth (count of RETF). */ int32_t 381 lj_jit.h int32_t param[JIT_P__MAX]; /* JIT engine parameters. */ int32_t 179 lj_lib.c int32_t lj_lib_checkint(lua_State *L, int narg) int32_t 187 lj_lib.c int32_t i = lj_num2int(numV(o)); int32_t 193 lj_lib.c int32_t lj_lib_optint(lua_State *L, int narg, int32_t def) int32_t 199 lj_lib.c int32_t lj_lib_checkbit(lua_State *L, int narg) int32_t 207 lj_lib.c int32_t i = lj_num2bit(numV(o)); int32_t 42 lj_lib.h LJ_FUNC int32_t lj_lib_checkint(lua_State *L, int narg); int32_t 43 lj_lib.h LJ_FUNC int32_t lj_lib_optint(lua_State *L, int narg, int32_t def); int32_t 44 lj_lib.h LJ_FUNC int32_t lj_lib_checkbit(lua_State *L, int narg); int32_t 392 lj_meta.c int32_t res = lj_str_cmp(strV(o1), strV(o2)); int32_t 445 lj_meta.c int32_t k[3]; int32_t 45 lj_obj.h #define gcrefi(r) ((int32_t)(r).gcptr32) int32_t 117 lj_obj.h typedef int32_t BCLine; /* Bytecode line number. */ int32_t 133 lj_obj.h int32_t ftsz; /* Frame type and size of previous frame. */ int32_t 145 lj_obj.h int32_t i; /* Integer value. */ int32_t 286 lj_obj.h #define SCALE_NUM_GCO ((int32_t)sizeof(lua_Number)/sizeof(GCRef)) int32_t 530 lj_obj.h int32_t hookcount; /* Instruction hook countdown. */ int32_t 531 lj_obj.h int32_t hookcstart; /* Start count for instruction hook counter. */ int32_t 535 lj_obj.h volatile int32_t vmstate; /* VM state or current JIT code trace number. */ int32_t 656 lj_obj.h #define tvislightud(o) (((int32_t)itype(o) >> 15) == -2) int32_t 714 lj_obj.h #define intV(o) check_exp(tvisint(o), (int32_t)(o)->i) int32_t 767 lj_obj.h static LJ_AINLINE void setintV(TValue *o, int32_t i) int32_t 778 lj_obj.h if (LJ_DUALNUM && LJ_LIKELY(i == (int64_t)(int32_t)i)) int32_t 779 lj_obj.h setintV(o, (int32_t)i); int32_t 799 lj_obj.h LJ_ASMF int32_t lj_vm_tobit(double x); int32_t 802 lj_obj.h static LJ_AINLINE int32_t lj_num2bit(lua_Number n) int32_t 809 lj_obj.h return (int32_t)o.u32.lo; int32_t 816 lj_obj.h #define lj_num2int(n) ((int32_t)(n)) int32_t 837 lj_obj.h static LJ_AINLINE int32_t numberVint(cTValue *o) int32_t 232 lj_opt_fold.c static int32_t kfold_intop(int32_t k1, int32_t k2, IROp op) int32_t 244 lj_opt_fold.c case IR_BSHR: k1 = (int32_t)((uint32_t)k1 >> (k2 & 31)); break; int32_t 246 lj_opt_fold.c case IR_BROL: k1 = (int32_t)lj_rol((uint32_t)k1, (k2 & 31)); break; int32_t 247 lj_opt_fold.c case IR_BROR: k1 = (int32_t)lj_ror((uint32_t)k1, (k2 & 31)); break; int32_t 282 lj_opt_fold.c int32_t k = lj_num2int(n); int32_t 297 lj_opt_fold.c return INTFOLD((int32_t)lj_bswap((uint32_t)fleft->i)); int32_t 311 lj_opt_fold.c int32_t a = fleft->i, b = fright->i; int32_t 397 lj_opt_fold.c int32_t sh = (fright->i & 63); int32_t 608 lj_opt_fold.c int32_t k = fleft->i; int32_t 644 lj_opt_fold.c return INTFOLD((int32_t)ir_kint64(fleft)->u64); int32_t 652 lj_opt_fold.c int32_t k = lj_num2int(n); int32_t 664 lj_opt_fold.c return INTFOLD((int32_t)n); int32_t 675 lj_opt_fold.c return INTFOLD((int32_t)u); int32_t 678 lj_opt_fold.c return INTFOLD((int32_t)(uint32_t)knumleft); int32_t 884 lj_opt_fold.c int32_t k = fright->i; int32_t 1202 lj_opt_fold.c static TRef simplify_intmul_k(jit_State *J, int32_t k) int32_t 1236 lj_opt_fold.c return simplify_intmul_k(J, (int32_t)ir_kint64(fright)->u64); int32_t 1244 lj_opt_fold.c int32_t k = fright->i; int32_t 1407 lj_opt_fold.c int32_t mask = irt_is64(fins->t) ? 63 : 31; int32_t 1408 lj_opt_fold.c int32_t k = (fright->i & mask); int32_t 1441 lj_opt_fold.c int32_t mask = irt_is64(fins->t) ? 63 : 31; int32_t 1442 lj_opt_fold.c int32_t k = irk->i & mask; int32_t 1488 lj_opt_fold.c int32_t k = kfold_intop(irk->i, fright->i, (IROp)fins->o); int32_t 1520 lj_opt_fold.c int32_t k = kfold_intop(irk->i, fright->i, (IROp)fins->o); int32_t 1586 lj_opt_fold.c int32_t mask = irt_is64(fins->t) ? 63 : 31; int32_t 1587 lj_opt_fold.c int32_t k = (irk->i & mask) + (fright->i & mask); int32_t 1620 lj_opt_fold.c int32_t a = irk->i; int32_t 1621 lj_opt_fold.c int32_t y = kfold_intop(a, fright->i, fins->o); int32_t 1692 lj_opt_fold.c int32_t k = IR(ir->op2)->i; int32_t 1796 lj_opt_fold.c int32_t k; int32_t 1799 lj_opt_fold.c case IRT_I8: k = (int32_t)*(int8_t *)p; break; int32_t 1800 lj_opt_fold.c case IRT_U8: k = (int32_t)*(uint8_t *)p; break; int32_t 1801 lj_opt_fold.c case IRT_I16: k = (int32_t)(int16_t)lj_getu16(p); break; int32_t 1802 lj_opt_fold.c case IRT_U16: k = (int32_t)(uint16_t)lj_getu16(p); break; int32_t 1803 lj_opt_fold.c case IRT_INT: case IRT_U32: k = (int32_t)lj_getu32(p); break; int32_t 1819 lj_opt_fold.c int32_t len = (int32_t)kstr->len; int32_t 1977 lj_opt_fold.c return INTFOLD((int32_t)ir_ktab(IR(fleft->op1))->asize); int32_t 1985 lj_opt_fold.c return INTFOLD((int32_t)ir_ktab(IR(fleft->op1))->hmask); int32_t 2005 lj_opt_fold.c return INTFOLD((int32_t)ir_kstr(fleft)->len); int32_t 2024 lj_opt_fold.c return INTFOLD((int32_t)ir_kcdata(fleft)->ctypeid); int32_t 2039 lj_opt_fold.c return INTFOLD(*(int32_t *)p); int32_t 413 lj_opt_loop.c int32_t e = numberVint(L->top-1); int32_t 99 lj_opt_mem.c int32_t ofsa = 0, ofsb = 0; int32_t 684 lj_opt_mem.c int32_t shift = 0; int32_t 293 lj_opt_narrow.c int32_t k = lj_num2int(n); int32_t 381 lj_opt_narrow.c lj_ir_kint64(J, (int64_t)(int32_t)*next++) : int32_t 592 lj_opt_narrow.c if (tref_isk(rb) && (int32_t)ir_knum(IR(tref_ref(rb)))->u32.hi >= 0) { int32_t 593 lj_opt_narrow.c int32_t k = numberVint(vc); int32_t 186 lj_opt_split.c int32_t ofs = 4; int32_t 238 lj_opt_split.c ir->prev = lj_ir_kint(J, (int32_t)tv.u32.lo); int32_t 239 lj_opt_split.c hisubst[ref] = lj_ir_kint(J, (int32_t)tv.u32.hi); int32_t 444 lj_parse.c if ((int32_t)rc < 0) { int32_t 518 lj_parse.c int32_t k = lj_num2int(n); int32_t 641 lj_parse.c if ((int32_t)rc < 0) { int32_t 688 lj_parse.c if ((int32_t)j >= (int32_t)fs->lasttarget && bc_op(*ip) == BC_UCLO) { int32_t 774 lj_parse.c int32_t k = lj_num2int(n); int32_t 962 lj_parse.c int32_t k = intV(o); int32_t 1112 lj_parse.c if ((int32_t)reg >= 0) { /* Local in this function? */ int32_t 1119 lj_parse.c if ((int32_t)vidx >= 0) { /* Yes, make it an upvalue here. */ int32_t 1352 lj_parse.c setintV(tv, (int32_t)i); int32_t 1367 lj_parse.c int32_t k = lj_num2int(nn); int32_t 1673 lj_parse.c int32_t k = intV(expr_numtv(e)); int32_t 1681 lj_parse.c int32_t k = lj_num2int(n); int32_t 2197 lj_parse.c int32_t extra = (int32_t)nvars - (int32_t)nexps; int32_t 82 lj_record.c int32_t depth = 0; int32_t 134 lj_record.c static TRef sloadt(jit_State *J, int32_t slot, IRType t, int mode) int32_t 137 lj_record.c TRef ref = emitir_raw(IRT(IR_SLOAD, t), (int32_t)J->baseslot+slot, mode); int32_t 143 lj_record.c static TRef sload(jit_State *J, int32_t slot) int32_t 146 lj_record.c TRef ref = emitir_raw(IRTG(IR_SLOAD, t), (int32_t)J->baseslot+slot, int32_t 154 lj_record.c #define getslot(J, s) (J->base[(s)] ? J->base[(s)] : sload(J, (int32_t)(s))) int32_t 279 lj_record.c int32_t k = (int32_t)(int16_t)bc_d(ins); int32_t 284 lj_record.c int32_t k = numberVint(tv); int32_t 303 lj_record.c return sloadt(J, (int32_t)slot, int32_t 328 lj_record.c return (tvisint(o) ? intV(o) : (int32_t)o->u32.hi) >= 0; int32_t 366 lj_record.c int32_t k = IR(tref_ref(stop))->i; int32_t 369 lj_record.c emitir(IRTGI(IR_LE), step, lj_ir_kint(J, (int32_t)0x7fffffff-k)); int32_t 372 lj_record.c emitir(IRTGI(IR_GE), step, lj_ir_kint(J, (int32_t)0x80000000-k)); int32_t 382 lj_record.c int32_t k = IR(tref_ref(step))->i; int32_t 383 lj_record.c k = (int32_t)(dir ? 0x7fffffff : 0x80000000) - k; int32_t 1052 lj_record.c int32_t ofs = 0; int32_t 1063 lj_record.c int32_t stop; int32_t 1092 lj_record.c int32_t k = numberVint(&ix->keyv); int32_t 1139 lj_record.c emitir(IRTGI(IR_EQ), hm, lj_ir_kint(J, (int32_t)t->hmask)); int32_t 1352 lj_record.c int32_t slot = (int32_t)(uvval(uvp) - (J->L->base - J->baseslot)); int32_t 1358 lj_record.c slot -= (int32_t)J->baseslot; /* Note: slot number may be negative! */ int32_t 1363 lj_record.c if (slot >= (int32_t)J->maxslot) J->maxslot = (BCReg)(slot+1); int32_t 1399 lj_record.c int32_t depth = J->framedepth; int32_t 1400 lj_record.c int32_t count = 0; int32_t 1513 lj_record.c int32_t numparams = J->pt->numparams; int32_t 1529 lj_record.c int32_t frofs = 8*(1+numparams)+FRAME_VARG; int32_t 1536 lj_record.c emitir(IRTGI(IR_GE), fr, lj_ir_kint(J, frofs+8*(int32_t)nresults)); int32_t 1544 lj_record.c vbase, lj_ir_kint(J, (int32_t)i)); int32_t 1566 lj_record.c fr, lj_ir_kint(J, frofs+8*(int32_t)idx)); int32_t 1916 lj_record.c rc = lj_ir_kint(J, (int32_t)(int16_t)rc); int32_t 1948 lj_record.c setintV(&ix.keyv, (int32_t)rc); int32_t 1949 lj_record.c ix.key = lj_ir_kint(J, (int32_t)rc); int32_t 2088 lj_record.c setintV(&J->errinfo, (int32_t)op); int32_t 600 lj_snap.c int32_t *sps = &ex->spill[regsp_spill(rs)]; int32_t 623 lj_snap.c setintV(o, (int32_t)ex->gpr[r-RID_MIN_GPR]); int32_t 647 lj_snap.c int32_t *src; int32_t 651 lj_snap.c src = mref(ir->ptr, int32_t); int32_t 654 lj_snap.c src = (int32_t *)&tmp; int32_t 665 lj_snap.c src = (int32_t *)&tmp; int32_t 673 lj_snap.c *(lua_Number *)dst = (lua_Number)*(int32_t *)dst; int32_t 676 lj_snap.c src = (int32_t *)&ex->gpr[r-RID_MIN_GPR]; int32_t 679 lj_snap.c src = (int32_t *)&ex->fpr[r-RID_MIN_FPR]; int32_t 693 lj_snap.c if (sz == 4) *(int32_t *)dst = *src; int32_t 795 lj_snap.c int32_t ftsz0; int32_t 837 lj_snap.c o->fr.tp.ftsz = snap_slot(sn) != 0 ? (int32_t)*flinks-- : ftsz0; int32_t 24 lj_str.c int32_t LJ_FASTCALL lj_str_cmp(GCstr *a, GCstr *b) int32_t 36 lj_str.c if ((int32_t)i >= -3) { int32_t 43 lj_str.c return (int32_t)(a->len - b->len); int32_t 57 lj_str.c return (int32_t)i >= -3 ? (v << (32+(i<<3))) : 1; int32_t 59 lj_str.c return (int32_t)i >= -3 ? (v >> (32+(i<<3))) : 1; int32_t 191 lj_str.c char * LJ_FASTCALL lj_str_bufint(char *p, int32_t k) int32_t 209 lj_str.c GCstr * LJ_FASTCALL lj_str_fromint(lua_State *L, int32_t k) int32_t 269 lj_str.c char *p = lj_str_bufint(buf, va_arg(argp, int32_t)); int32_t 14 lj_str.h LJ_FUNC int32_t LJ_FASTCALL lj_str_cmp(GCstr *a, GCstr *b); int32_t 24 lj_str.h LJ_FUNC char * LJ_FASTCALL lj_str_bufint(char *p, int32_t k); int32_t 26 lj_str.h LJ_FUNC GCstr * LJ_FASTCALL lj_str_fromint(lua_State *L, int32_t k); int32_t 70 lj_strscan.c #define DLEN(lo, hi) ((int32_t)(((lo)-(hi)) & STRSCAN_DMASK)) int32_t 75 lj_strscan.c static void strscan_double(uint64_t x, TValue *o, int32_t ex2, int32_t neg) int32_t 83 lj_strscan.c int32_t b = (int32_t)(__builtin_clzll(x)^63); int32_t 85 lj_strscan.c int32_t b = (x>>32) ? 32+(int32_t)lj_fls((uint32_t)(x>>32)) : int32_t 86 lj_strscan.c (int32_t)lj_fls((uint32_t)x); int32_t 88 lj_strscan.c if ((int32_t)b + ex2 <= -1023 && (int32_t)b + ex2 >= -1075) { int32_t 106 lj_strscan.c int32_t ex2, int32_t neg, uint32_t dig) int32_t 125 lj_strscan.c o->i = neg ? -(int32_t)x : (int32_t)x; int32_t 132 lj_strscan.c o->i = neg ? -(int32_t)x : (int32_t)x; int32_t 151 lj_strscan.c StrScanFmt fmt, int32_t neg, uint32_t dig) int32_t 169 lj_strscan.c o->i = neg ? -(int32_t)x : (int32_t)x; int32_t 183 lj_strscan.c int32_t ex10, int32_t neg, uint32_t dig) int32_t 190 lj_strscan.c ex10 += (int32_t)(i - STRSCAN_MAXDIG); int32_t 230 lj_strscan.c o->i = neg ? -(int32_t)x : (int32_t)x; int32_t 237 lj_strscan.c o->i = neg ? -(int32_t)x : (int32_t)x; int32_t 263 lj_strscan.c int32_t ex2 = 0, idig = (int32_t)lo + (ex10 >> 1); int32_t 332 lj_strscan.c int32_t neg = 0; int32_t 363 lj_strscan.c int32_t ex = 0; int32_t 399 lj_strscan.c ex = (int32_t)(dp-(p-1)); dp = p-1; int32_t 417 lj_strscan.c ex += negx ? -(int32_t)xx : (int32_t)xx; int32_t 448 lj_strscan.c int32_t y = neg ? -(int32_t)x : (int32_t)x; int32_t 469 lj_strscan.c int32_t i = lj_num2int(n); int32_t 258 lj_tab.c copyTV(L, lj_tab_setinth(L, t, (int32_t)i), &array[i]); int32_t 282 lj_tab.c int32_t k = lj_num2int(nk); int32_t 368 lj_tab.c cTValue * LJ_FASTCALL lj_tab_getinth(GCtab *t, int32_t key) int32_t 403 lj_tab.c int32_t k = lj_num2int(nk); int32_t 501 lj_tab.c TValue *lj_tab_setinth(lua_State *L, GCtab *t, int32_t key) int32_t 536 lj_tab.c int32_t k = lj_num2int(nk); int32_t 560 lj_tab.c int32_t k = intV(key); int32_t 567 lj_tab.c int32_t k = lj_num2int(nk); int32_t 615 lj_tab.c while ((tv = lj_tab_getint(t, (int32_t)j)) && !tvisnil(tv)) { int32_t 621 lj_tab.c while ((tv = lj_tab_getint(t, (int32_t)i)) && !tvisnil(tv)) i++; int32_t 628 lj_tab.c cTValue *tvb = lj_tab_getint(t, (int32_t)m); int32_t 49 lj_tab.h LJ_FUNCA cTValue * LJ_FASTCALL lj_tab_getinth(GCtab *t, int32_t key); int32_t 56 lj_tab.h LJ_FUNC TValue *lj_tab_setinth(lua_State *L, GCtab *t, int32_t key); int32_t 121 lj_target_arm.h #define sps_scale(slot) (4 * (int32_t)(slot)) int32_t 131 lj_target_arm.h int32_t gpr[RID_NUM_GPR]; /* General-purpose registers. */ int32_t 132 lj_target_arm.h int32_t spill[256]; /* Spill slots. */ int32_t 108 lj_target_mips.h #define sps_scale(slot) (4 * (int32_t)(slot)) int32_t 116 lj_target_mips.h int32_t gpr[RID_NUM_GPR]; /* General-purpose registers. */ int32_t 117 lj_target_mips.h int32_t spill[256]; /* Spill slots. */ int32_t 99 lj_target_ppc.h #define sps_scale(slot) (4 * (int32_t)(slot)) int32_t 107 lj_target_ppc.h int32_t gpr[RID_NUM_GPR]; /* General-purpose registers. */ int32_t 108 lj_target_ppc.h int32_t spill[256]; /* Spill slots. */ int32_t 144 lj_target_x86.h #define sps_scale(slot) (4 * (int32_t)(slot)) int32_t 153 lj_target_x86.h int32_t spill[256]; /* Spill slots. */ int32_t 170 lj_target_x86.h int32_t ofs; /* Offset. */ int32_t 40 lj_trace.c setintV(J->L->top++, (int32_t)e); int32_t 47 lj_trace.c setintV(J->L->top++, (int32_t)e); int32_t 591 lj_trace.c setintV(L->top++, J->pt ? (int32_t)proto_bcpos(J->pt, J->pc) : -1); int32_t 632 lj_trace.c setintV(L->top++, (int32_t)LJ_TRERR_RECERR); int32_t 713 lj_trace.c int32_t i; int32_t 717 lj_trace.c if (sizeof(ex->gpr[i]) == sizeof(int32_t)) int32_t 718 lj_trace.c setintV(L->top++, (int32_t)ex->gpr[i]); int32_t 87 lj_vm.h LJ_ASMF double lj_vm_powi(double, int32_t); int32_t 94 lj_vm.h LJ_ASMF int32_t LJ_FASTCALL lj_vm_modi(int32_t, int32_t); int32_t 65 lj_vmmath.c int32_t LJ_FASTCALL lj_vm_modi(int32_t a, int32_t b) int32_t 73 lj_vmmath.c if (((int32_t)y^b) < 0) y = (uint32_t)-(int32_t)y; int32_t 74 lj_vmmath.c return (int32_t)y; int32_t 99 lj_vmmath.c double lj_vm_powi(double x, int32_t k)