Home
last modified time | relevance | path

Searched refs:ttisnumber (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlobject.h133 #define ttisnumber(o) checktag((o), LUA_TNUMBER) macro
153 #define nvalue(o) check_exp(ttisnumber(o), num_(o))
337 #undef ttisnumber
338 #define ttisnumber(o) ((tt_(o) & NNMASK) != NNMARK) macro
343 #define rttype(o) (ttisnumber(o) ? LUA_TNUMBER : tt_(o) & 0xff)
350 { TValue *io_=(obj); num_(io_)=(x); lua_assert(ttisnumber(io_)); }
370 (ttisnumber(o1) ? ttisnumber(o2) : (tt_(o1) == tt_(o2)))
374 #define luai_checknum(L,o,c) { if (!ttisnumber(o)) c; }
Dlvm.c37 if (ttisnumber(obj)) return obj; in luaV_tonumber()
48 if (!ttisnumber(obj)) in luaV_tostring()
233 if (ttisnumber(l) && ttisnumber(r)) in luaV_lessthan()
245 if (ttisnumber(l) && ttisnumber(r)) in luaV_lessequal()
298 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) { in luaV_concat()
523 if (ttisnumber(rb) && ttisnumber(rc)) { \
637 if (ttisnumber(rb)) { in luaV_execute()
Dlvm.h18 #define tonumber(o,n) (ttisnumber(o) || (((o) = luaV_tonumber(o,n)) != NULL))
Dltable.c128 if (ttisnumber(key)) { in arrayindex()
408 else if (ttisnumber(key) && luai_numisnan(L, nvalue(key))) in luaH_newkey()
454 if (ttisnumber(gkey(n)) && luai_numeq(nvalue(gkey(n)), nk)) in luaH_getint()
Dldebug.c533 if (ttisstring(p1) || ttisnumber(p1)) p1 = p2; in luaG_concaterror()
534 lua_assert(!ttisstring(p1) && !ttisnumber(p1)); in luaG_concaterror()
Dlapi.c306 if (ttisnumber(o1) && ttisnumber(o2)) { in lua_arith()
Dlcode.c296 if (ttisnumber(idx)) { in addk()