Searched refs:ttisinteger (Results 1 – 8 of 8) sorted by relevance
74 if (ttisinteger(obj)) { in luaV_tonumber_()107 else if (ttisinteger(obj)) { in luaV_tointeger()319 if (ttisinteger(l)) { in LTnum()321 if (ttisinteger(r)) in LTnum()342 if (ttisinteger(l)) { in LEnum()344 if (ttisinteger(r)) in LEnum()893 if (ttisinteger(rb) && ttisinteger(rc)) { in luaV_execute()907 if (ttisinteger(rb) && ttisinteger(rc)) { in luaV_execute()921 if (ttisinteger(rb) && ttisinteger(rc)) { in luaV_execute()995 if (ttisinteger(rb) && ttisinteger(rc)) { in luaV_execute()[all …]
144 #define ttisinteger(o) checktag((o), LUA_TNUMINT) macro163 #define ivalue(o) check_exp(ttisinteger(o), val_(o).i)166 (ttisinteger(o) ? cast_num(ivalue(o)) : fltvalue(o)))208 { TValue *io=(obj); lua_assert(ttisinteger(io)); val_(io).i=(x); }
146 if (ttisinteger(p1) && ttisinteger(p2)) { in luaO_arith()375 if (ttisinteger(obj)) in luaO_tostring()
44 (ttisinteger(o) ? (*(i) = ivalue(o), 1) : luaV_tointeger(o,i,LUA_FLOORN2I))
145 if (ttisinteger(key)) { in arrayindex()523 if (ttisinteger(gkey(n)) && ivalue(gkey(n)) == key) in luaH_getint()
234 if (ttisinteger(&obj)) { in read_numeral()
433 if (ttisinteger(idx)) { /* is there an index there? */ in addk()984 if (ttisinteger(&res)) { in constfolding()
272 return ttisinteger(o); in lua_isinteger()