PN_IS_PTR 288 core/compile.c if (!PN_IS_PTR(PN_S(lhs,0)) && PN_S(lhs,0) == op.a) { PN_IS_PTR 355 core/compile.c if (!PN_IS_PTR(a) && (PN)a == (PN)op.a) { PN_IS_PTR 357 core/compile.c } else if (a != PN_NIL && PN_IS_PTR(a) PN_IS_PTR 1111 core/compile.c if (PN_IS_PTR(val)) { \ PN_IS_PTR 1199 core/compile.c PN cval = (PN_IS_PTR(val) ? PN_NIL : val); \ PN_IS_PTR 121 core/file.c if (!PN_IS_PTR(obj)) { PN_IS_PTR 168 core/gc.c if (PN_IS_PTR(v)) PN_IS_PTR 59 core/gc.h (PN_IS_PTR(p) && IN_BIRTH_REGION(p) && !IS_GC_PROTECTED(p)) PN_IS_PTR 70 core/gc.h if (PN_IS_PTR(p)) { \ PN_IS_PTR 78 core/gc.h if (PN_IS_PTR(p)) { \ PN_IS_PTR 262 core/internal.c return PN_IS_PTR(obj) PN_IS_PTR 539 core/objmodel.c if (PN_IS_PTR(self) && !PN_TYPECHECK(t)) return potion_type_error(P, self); PN_IS_PTR 550 core/objmodel.c if (!PN_IS_PTR(self)) PN_IS_PTR 163 core/potion.h #define PN_IS_DBL(v) (PN_IS_PTR(v) && ({PNType _t = potion_qptr_type((PN)v); _t == PN_TNUMBER || _t == PN_TDOUBLE;})) PN_IS_PTR 165 core/potion.h #define PN_IS_TUPLE(v) (PN_IS_PTR(v) && (potion_ptr_type((PN)v) == PN_TTUPLE)) PN_IS_PTR 166 core/potion.h #define PN_IS_STR(v) (PN_IS_PTR(v) && (potion_ptr_type((PN)v) == PN_TSTRING)) PN_IS_PTR 167 core/potion.h #define PN_IS_TABLE(v) (PN_IS_PTR(v) && (potion_ptr_type((PN)v) == PN_TTABLE)) PN_IS_PTR 168 core/potion.h #define PN_IS_CLOSURE(v) (PN_IS_PTR(v) && (potion_ptr_type((PN)v) == PN_TCLOSURE)) PN_IS_PTR 169 core/potion.h #define PN_IS_PROTO(v) (PN_IS_PTR(v) && (potion_ptr_type((PN)v) == PN_TPROTO)) PN_IS_PTR 170 core/potion.h #define PN_IS_REF(v) (PN_IS_PTR(v) && (potion_ptr_type((PN)v) == PN_TWEAK)) PN_IS_PTR 172 core/potion.h #define PN_IS_FFIPTR(p) ((PN_IS_PTR(p) && !(p >= (_PN)P->mem && p <= (_PN)P->mem->birth_hi)) \ PN_IS_PTR 173 core/potion.h || (!PN_IS_PTR(p) && p > (_PN)P->mem->birth_hi)) PN_IS_PTR 238 core/potion.h #define PN_UNIQ(x) (PN_IS_PTR(x) ? ((struct PNObject *)(x))->uniq : PN_NUMHASH(x)) PN_IS_PTR 562 core/potion.h while (PN_IS_PTR(obj) && ((struct PNFwd *)obj)->fwd == POTION_FWD) PN_IS_PTR 50 core/syntax.y PN_IS_INT(yy)||PN_IS_PTR(yy) ? PN_STR_PTR(potion_send(yy, PN_string)) : "")); \ PN_IS_PTR 419 core/vm.c } else if (PN_IS_PTR(a)) { PN_IS_PTR 430 core/vm.c } else if (PN_IS_PTR(a)) { PN_IS_PTR 169 lib/aio.c PN_IS_PTR(self)? AS_STR(potion_send(PN_VTABLE(self), PN_name)) \ PN_IS_PTR 185 lib/aio.c PN_IS_PTR(stream)? AS_STR(potion_send(PN_VTABLE(stream), PN_name)) \ PN_IS_PTR 664 lib/aio.c PN_IS_PTR(data)? AS_STR(potion_send(PN_VTABLE(data), PN_name)) PN_IS_PTR 45 test/api/gc-test.c CuAssert(T, "couldn't allocate 16 bytes from GC", PN_IS_PTR(ptr)); PN_IS_PTR 54 test/api/gc-test.c CuAssert(T, "couldn't allocate 16 bytes from GC", PN_IS_PTR(ptr)); PN_IS_PTR 62 test/api/gc-test.c CuAssert(T, "couldn't allocate 16 bytes from GC", PN_IS_PTR(ptr)); PN_IS_PTR 71 test/api/gc-test.c CuAssert(T, "couldn't allocate 16 bytes from GC", PN_IS_PTR(ptr)); PN_IS_PTR 72 test/api/gc-test.c CuAssert(T, "couldn't allocate 16 bytes from GC", PN_IS_PTR(ptr2)); PN_IS_PTR 73 test/api/gc-test.c CuAssert(T, "couldn't allocate 16 bytes from GC", PN_IS_PTR(ptr3)); PN_IS_PTR 74 test/api/gc-test.c CuAssert(T, "couldn't allocate 16 bytes from GC", PN_IS_PTR(ptr4)); PN_IS_PTR 21 test/api/potion-test.c CuAssert(T, "nil is a ref", !PN_IS_PTR(PN_NIL)); PN_IS_PTR 28 test/api/potion-test.c CuAssert(T, "true is a ref", !PN_IS_PTR(PN_TRUE)); PN_IS_PTR 30 test/api/potion-test.c CuAssert(T, "false is a ref", !PN_IS_PTR(PN_FALSE)); PN_IS_PTR 37 test/api/potion-test.c CuAssert(T, "zero is a ref", !PN_IS_PTR(zero)); PN_IS_PTR 46 test/api/potion-test.c CuAssert(T, "positive is a ref", !PN_IS_PTR(pos)); PN_IS_PTR 55 test/api/potion-test.c CuAssert(T, "negative is a ref", !PN_IS_PTR(neg)); PN_IS_PTR 67 test/api/potion-test.c CuAssert(T, "string isn't a ref", PN_IS_PTR(PN_string)); PN_IS_PTR 75 test/api/potion-test.c CuAssert(T, "empty isn't a ref", PN_IS_PTR(empty)); PN_IS_PTR 86 test/api/potion-test.c CuAssert(T, "tuple isn't a ref", PN_IS_PTR(tup));