Searched refs:ttisnumber (Results 1 - 11 of 11) sorted by relevance
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
H A D | lvm.h | 18 #define tonumber(o,n) (ttisnumber(o) || (((o) = luaV_tonumber(o,n)) != NULL))
|
H A D | lobject.h | 132 #define ttisnumber(o) checktag((o), LUA_TNUMBER) macro 152 #define nvalue(o) check_exp(ttisnumber(o), num_(o)) 336 #undef ttisnumber macro 337 #define ttisnumber(o) ((tt_(o) & NNMASK) != NNMARK) macro 342 #define rttype(o) (ttisnumber(o) ? LUA_TNUMBER : tt_(o) & 0xff) 349 { TValue *io_=(obj); num_(io_)=(x); lua_assert(ttisnumber(io_)); } 369 (ttisnumber(o1) ? ttisnumber(o2) : (tt_(o1) == tt_(o2))) 373 #define luai_checknum(L,o,c) { if (!ttisnumber(o)) c; }
|
H A D | lvm.c | 37 if (ttisnumber(obj)) return obj; 48 if (!ttisnumber(obj)) 233 if (ttisnumber(l) && ttisnumber(r)) 245 if (ttisnumber(l) && ttisnumber(r)) 298 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) { 583 if (ttisnumber(rb) && ttisnumber(rc)) { \ 700 if (ttisnumber(r [all...] |
H A D | ltable.c | 128 if (ttisnumber(key)) { 408 else if (ttisnumber(key) && luai_numisnan(L, nvalue(key))) 454 if (ttisnumber(gkey(n)) && luai_numeq(nvalue(gkey(n)), nk))
|
H A D | ldebug.c | 547 if (ttisstring(p1) || ttisnumber(p1)) p1 = p2; 548 lua_assert(!ttisstring(p1) && !ttisnumber(p1));
|
H A D | lapi.c | 305 if (ttisnumber(o1) && ttisnumber(o2)) {
|
H A D | lcode.c | 295 if (ttisnumber(idx)) {
|
/freebsd-12-stable/contrib/lua/src/ |
H A D | lvm.h | 17 #define cvt2str(o) ttisnumber(o)
|
H A D | lobject.h | 142 #define ttisnumber(o) checktype((o), LUA_TNUMBER) macro 165 #define nvalue(o) check_exp(ttisnumber(o), \
|
H A D | lobject.c | 374 lua_assert(ttisnumber(obj));
|
H A D | lvm.c | 366 if (ttisnumber(l) && ttisnumber(r)) /* both operands are numbers? */ 386 if (ttisnumber(l) && ttisnumber(r)) /* both operands are numbers? */
|
Completed in 111 milliseconds