PN_TYPE 115 core/ast.c if ((PN_TYPE(t->a[i]) == PN_TSOURCE) && (t->a[i]->loc.lineno > lineno)) { PN_TYPE 1284 core/compile.c PN code = (PN_TYPE(bytes) == PN_TSOURCE) PN_TYPE 1287 core/compile.c if (PN_TYPE(code) != PN_TSOURCE) return code; PN_TYPE 139 core/file.c switch (PN_TYPE(obj)) { PN_TYPE 77 core/gc.c DBG_Gv(P,"GC mark count only %p %6x\n", x, PN_TYPE(*x)); PN_TYPE 84 core/gc.c DBG_Gv(P,"GC mark minor %p -> 0x%lx %6x\n", x, v, PN_TYPE(*x)); PN_TYPE 91 core/gc.c DBG_Gv(P,"GC mark major %p -> 0x%lx %6x\n", x, v, PN_TYPE(*x)); PN_TYPE 254 core/internal.c ? AS_STR(potion_send(PN_VTABLE(PN_TYPE(obj)), PN_string)) PN_TYPE 307 core/internal.c PN pt = potion_send(PN_VTABLE(PN_TYPE(data)), PN_string); PN_TYPE 334 core/internal.c printf(" vt=%x gc", PN_TYPE(o)); PN_TYPE 336 core/internal.c printf(" vt=%x gc(0)", PN_TYPE(o)); PN_TYPE 338 core/internal.c printf(" vt=%x gc(1)", PN_TYPE(o)); PN_TYPE 162 core/number.c if (PN_TYPE(block) != PN_TCLOSURE) PN_TYPE 178 core/number.c if (PN_TYPE(block) != PN_TCLOSURE) PN_TYPE 235 core/objmodel.c PN cl = ((struct PNVtable *)PN_VTABLE(PN_TYPE(obj)))->call; PN_TYPE 245 core/objmodel.c PN cl = ((struct PNVtable *)PN_VTABLE(PN_TYPE(obj)))->callset; PN_TYPE 311 core/objmodel.c PNType t = PN_TYPE(self); PN_TYPE 409 core/objmodel.c PNType t = PN_TYPE(rcv); PN_TYPE 561 core/objmodel.c PNType t = PN_TYPE(self); PN_TYPE 596 core/objmodel.c if (PN_TYPE(val) == PN_TVTABLE && !PN_IS_METACLASS(val)) { PN_TYPE 173 core/potion.h #define PN_IS_TUPLE(v) (PN_TYPE(v) == PN_TTUPLE) PN_TYPE 174 core/potion.h #define PN_IS_STR(v) (PN_TYPE(v) == PN_TSTRING) PN_TYPE 175 core/potion.h #define PN_IS_TABLE(v) (PN_TYPE(v) == PN_TTABLE) PN_TYPE 176 core/potion.h #define PN_IS_CLOSURE(v) (PN_TYPE(v) == PN_TCLOSURE) PN_TYPE 177 core/potion.h #define PN_IS_DECIMAL(v) (PN_IS_PTR(v) && PN_TYPE(v) == PN_TNUMBER) PN_TYPE 178 core/potion.h #define PN_IS_PROTO(v) (PN_TYPE(v) == PN_TPROTO) PN_TYPE 179 core/potion.h #define PN_IS_REF(v) (PN_TYPE(v) == PN_TWEAK) PN_TYPE 190 core/potion.h #define PN_CHECK_TYPE(obj,type) if (type != PN_TYPE(obj)) return potion_type_error(P, obj) PN_TYPE 294 core/table.c if (PN_TYPE(v) == PN_TLICK) licks++; PN_TYPE 499 core/table.c if (PN_TTUPLE != PN_TYPE(self)) potion_fatal("Invalid type"); PN_TYPE 173 core/vm.c ? potion_type_char(PN_TYPE(PN_TUPLE_AT(s,2))) PN_TYPE 178 core/vm.c || (type && (potion_type_char(PN_TYPE(arg)) != type))) { //replace with default PN_TYPE 194 core/vm.c if (PN_TYPE(cl) == PN_TCLOSURE) { PN_TYPE 698 core/vm.c switch (PN_TYPE(reg[op.a])) { PN_TYPE 100 front/p2.c if (!code || PN_TYPE(code) == PN_TERROR) { PN_TYPE 160 front/p2.c if (!code || PN_TYPE(code) == PN_TERROR) PN_TYPE 401 front/p2.c if (PN_TYPE(code) != PN_TSOURCE) return code; PN_TYPE 117 front/potion.c if (!code || PN_TYPE(code) == PN_TERROR) { PN_TYPE 155 front/potion.c if (!code || PN_TYPE(code) == PN_TERROR) PN_TYPE 85 lib/buffile.c if ((PN_TYPE(stream) != PN_TUSER) || PN_TYPE 162 lib/buffile.c switch (PN_TYPE(buf)) { PN_TYPE 23 test/api/p2-test.c CuAssert(T, "undef isn't a nil type", PN_TYPE(PN_NIL) == PN_TNIL); PN_TYPE 62 test/api/p2-test.c CuAssert(T, "decimal not a number", PN_TYPE(dec) == PN_TNUMBER); PN_TYPE 19 test/api/potion-test.c CuAssert(T, "nil isn't a nil type", PN_TYPE(PN_NIL) == PN_TNIL); PN_TYPE 26 test/api/potion-test.c CuAssert(T, "true isn't a bool type", PN_TYPE(PN_TRUE) == PN_TBOOLEAN); PN_TYPE 28 test/api/potion-test.c CuAssert(T, "false isn't a bool type", PN_TYPE(PN_FALSE) == PN_TBOOLEAN); PN_TYPE 61 test/api/potion-test.c CuAssert(T, "decimal not a number", PN_TYPE(dec) == PN_TNUMBER); PN_TYPE 238 test/api/potion-test.c potion_type((PN)prev), AS_STR(PN_VTABLE(PN_TYPE((PN)prev))));