PN_TYPE 125 core/ast.c if ((PN_TYPE(t->a[i]) == PN_TSOURCE) && (t->a[i]->loc.lineno > lineno)) { PN_TYPE 1300 core/compile.c PN code = (PN_TYPE(bytes) == PN_TSOURCE) PN_TYPE 1303 core/compile.c if (PN_TYPE(code) != PN_TSOURCE) return code; PN_TYPE 133 core/file.c switch (PN_TYPE(obj)) { PN_TYPE 73 core/gc.c DBG_Gv(P,"GC mark count only %p %6x\n", x, PN_TYPE(*x)); PN_TYPE 80 core/gc.c DBG_Gv(P,"GC mark minor %p -> 0x%lx %6x\n", x, v, PN_TYPE(*x)); PN_TYPE 87 core/gc.c DBG_Gv(P,"GC mark major %p -> 0x%lx %6x\n", x, v, PN_TYPE(*x)); PN_TYPE 263 core/internal.c ? AS_STR(potion_send(PN_VTABLE(PN_TYPE(obj)), PN_string)) PN_TYPE 319 core/internal.c PN pt = potion_send(PN_VTABLE(PN_TYPE(data)), PN_string); PN_TYPE 346 core/internal.c printf(" vt=%x prot", PN_TYPE(o)); PN_TYPE 348 core/internal.c printf(" vt=%x birth", PN_TYPE(o)); PN_TYPE 350 core/internal.c printf(" vt=%x OLD", PN_TYPE(o)); PN_TYPE 286 core/number.c if (PN_TYPE(block) != PN_TCLOSURE) PN_TYPE 304 core/number.c if (PN_TYPE(block) != PN_TCLOSURE) PN_TYPE 322 core/number.c if (PN_TYPE(block) != PN_TCLOSURE) PN_TYPE 230 core/objmodel.c PN cl = ((struct PNVtable *)PN_VTABLE(PN_TYPE(obj)))->call; PN_TYPE 240 core/objmodel.c PN cl = ((struct PNVtable *)PN_VTABLE(PN_TYPE(obj)))->callset; PN_TYPE 306 core/objmodel.c PNType t = PN_TYPE(self); PN_TYPE 350 core/objmodel.c if (PN_TVTABLE != PN_TYPE(self)) return potion_type_error_want(P, "self.def_method", self, "VTable (a class)"); PN_TYPE 406 core/objmodel.c PNType t = PN_TYPE(rcv); PN_TYPE 535 core/objmodel.c PNType t = PN_TYPE(self); PN_TYPE 547 core/objmodel.c PNType t = PN_TYPE(self); PN_TYPE 588 core/objmodel.c PNType t = PN_TYPE(self); PN_TYPE 623 core/objmodel.c if (PN_TYPE(val) == PN_TVTABLE && !PN_IS_METACLASS(val)) { PN_TYPE 118 core/potion.c if (!code || PN_TYPE(code) == PN_TERROR) { PN_TYPE 156 core/potion.c if (!code || PN_TYPE(code) == PN_TERROR) PN_TYPE 176 core/potion.h #define PN_CHECK_STRB(obj) if (!PN_IS_STR(obj) || (PN_TYPE(obj) != PN_TBYTES)) return potion_type_error_want(P, ""#obj, (PN)obj, "String or Bytes") PN_TYPE 184 core/potion.h #define PN_CHECK_TYPE(obj,type) if (type != PN_TYPE(obj)) return potion_type_error(P, (PN)obj) PN_TYPE 437 core/table.c if (PN_TYPE(v) == PN_TLICK) licks++; PN_TYPE 640 core/table.c if (PN_TTUPLE != PN_TYPE(self)) potion_fatal("Invalid type"); PN_TYPE 311 core/vm-x86.c printf("STACK[%d] = 0x%lx (0x%x)\n", n++, *sp, PN_TYPE(*sp)); PN_TYPE 181 core/vm.c ? potion_type_char(PN_TYPE(PN_TUPLE_AT(s,2))) PN_TYPE 186 core/vm.c || (type && (potion_type_char(PN_TYPE(arg)) != type))) { //replace with default PN_TYPE 204 core/vm.c if (PN_TYPE(cl) == PN_TCLOSURE) { PN_TYPE 801 core/vm.c switch (PN_TYPE(reg[op.a])) { PN_TYPE 94 lib/buffile.c if ((PN_TYPE(stream) != PN_TUSER) || PN_TYPE 171 lib/buffile.c switch (PN_TYPE(buf)) { PN_TYPE 20 test/api/potion-test.c CuAssert(T, "nil isn't a nil type", PN_TYPE(PN_NIL) == PN_TNIL); PN_TYPE 27 test/api/potion-test.c CuAssert(T, "true isn't a bool type", PN_TYPE(PN_TRUE) == PN_TBOOLEAN); PN_TYPE 29 test/api/potion-test.c CuAssert(T, "false isn't a bool type", PN_TYPE(PN_FALSE) == PN_TBOOLEAN); PN_TYPE 62 test/api/potion-test.c CuAssert(T, "double not a number", PN_TYPE(dec) == PN_TNUMBER); PN_TYPE 239 test/api/potion-test.c potion_type((PN)prev), AS_STR(PN_VTABLE(PN_TYPE((PN)prev))));