Home
last modified time | relevance | path

Searched refs:ttisinteger (Results 1 – 8 of 8) sorted by relevance

/external/lua/src/
Dlvm.c74 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 …]
Dlobject.h144 #define ttisinteger(o) checktag((o), LUA_TNUMINT) macro
163 #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); }
Dlobject.c146 if (ttisinteger(p1) && ttisinteger(p2)) { in luaO_arith()
375 if (ttisinteger(obj)) in luaO_tostring()
Dlvm.h44 (ttisinteger(o) ? (*(i) = ivalue(o), 1) : luaV_tointeger(o,i,LUA_FLOORN2I))
Dltable.c145 if (ttisinteger(key)) { in arrayindex()
523 if (ttisinteger(gkey(n)) && ivalue(gkey(n)) == key) in luaH_getint()
Dllex.c234 if (ttisinteger(&obj)) { in read_numeral()
Dlcode.c433 if (ttisinteger(idx)) { /* is there an index there? */ in addk()
984 if (ttisinteger(&res)) { in constfolding()
Dlapi.c272 return ttisinteger(o); in lua_isinteger()