Searched refs:intop (Results 1 – 3 of 3) sorted by relevance
/l4re-core-master/lua/lib/contrib/src/ |
A D | lobject.c | 56 case LUA_OPADD: return intop(+, v1, v2); in intarith() 57 case LUA_OPSUB:return intop(-, v1, v2); in intarith() 58 case LUA_OPMUL:return intop(*, v1, v2); in intarith() 61 case LUA_OPBAND: return intop(&, v1, v2); in intarith() 62 case LUA_OPBOR: return intop(|, v1, v2); in intarith() 63 case LUA_OPBXOR: return intop(^, v1, v2); in intarith() 66 case LUA_OPUNM: return intop(-, 0, v1); in intarith() 67 case LUA_OPBNOT: return intop(^, ~l_castS2U(0), v1); in intarith()
|
A D | lvm.c | 774 else return intop(>>, x, -y); in luaV_shiftl() 778 else return intop(<<, x, y); in luaV_shiftl() 873 #define l_addi(L,a,b) intop(+, a, b) 874 #define l_subi(L,a,b) intop(-, a, b) 875 #define l_muli(L,a,b) intop(*, a, b) 876 #define l_band(a,b) intop(&, a, b) 877 #define l_bor(a,b) intop(|, a, b) 878 #define l_bxor(a,b) intop(^, a, b) 1500 setivalue(s2v(ra), intop(-, 0, ib)); in luaV_execute() 1513 setivalue(s2v(ra), intop(^, ~l_castS2U(0), ib)); in luaV_execute() [all …]
|
A D | lvm.h | 73 #define intop(op,v1,v2) l_castU2S(l_castS2U(v1) op l_castS2U(v2)) macro
|
Completed in 8 milliseconds