Searched refs:ttisinteger (Results 1 – 8 of 8) sorted by relevance
58 (ttisinteger(o) ? ((n) = cast_num(ivalue(o)), 1) : 0))63 (ttisinteger(o) ? (*(i) = ivalue(o), 1) : luaV_tointeger(o,i,LUA_FLOORN2I))68 (ttisinteger(o) ? (*(i) = ivalue(o), 1) : luaV_tointegerns(o,i,LUA_FLOORN2I))
105 if (ttisinteger(obj)) { in luaV_tonumber_()140 else if (ttisinteger(obj)) { in luaV_tointegerns()210 if (ttisinteger(pinit) && ttisinteger(pstep)) { /* integer loop? */ in forprep()481 if (ttisinteger(l)) { in LTnum()483 if (ttisinteger(r)) in LTnum()503 if (ttisinteger(l)) { in LEnum()505 if (ttisinteger(r)) in LEnum()887 if (ttisinteger(v1)) { \931 if (ttisinteger(v1) && ttisinteger(v2)) { \989 if (ttisinteger(s2v(ra)) && ttisinteger(rb)) { \[all …]
304 #define ttisinteger(o) checktag((o), LUA_VNUMINT) macro307 (ttisinteger(o) ? cast_num(ivalue(o)) : fltvalue(o)))309 #define ivalue(o) check_exp(ttisinteger(o), val_(o).i)324 { TValue *io=(obj); lua_assert(ttisinteger(io)); val_(io).i=(x); }
112 if (ttisinteger(p1) && ttisinteger(p2)) { in luaO_rawarith()358 if (ttisinteger(obj)) in tostringbuff()
291 i = ttisinteger(key) ? arrayindex(ivalue(key)) : 0; in findindex()566 if (ttisinteger(ek)) in rehash()
244 if (ttisinteger(&obj)) { in read_numeral()
554 if (ttisinteger(idx)) { /* is there an index there? */ in addk()1321 if (ttisinteger(&res)) { in constfolding()1482 lua_assert(ttisinteger(&fs->f->k[v2])); in codebitwise()
281 return ttisinteger(o); in lua_isinteger()