PN_VTABLE 146 core/ast.c PN src_vt = PN_VTABLE(PN_TSOURCE); PN_VTABLE 170 core/callcc.c PN cnt_vt = PN_VTABLE(PN_TCONT); PN_VTABLE 1293 core/compile.c PN pro_vt = PN_VTABLE(PN_TPROTO); PN_VTABLE 1294 core/compile.c PN src_vt = PN_VTABLE(PN_TSOURCE); PN_VTABLE 77 core/file.c struct PNFile *file = (struct PNFile *)potion_object_new(P, PN_NIL, PN_VTABLE(PN_TFILE)); PN_VTABLE 195 core/file.c PN file_vt = PN_VTABLE(PN_TFILE); PN_VTABLE 308 core/gc.c if (P->vts && PN_VTABLE(ptr->vt) && PN_TYPECHECK(ptr->vt)) { PN_VTABLE 310 core/gc.c (((struct PNVtable *)PN_VTABLE(ptr->vt))->ivlen * sizeof(PN)); PN_VTABLE 410 core/gc.c GC_MINOR_UPDATE(PN_VTABLE(ptr->vt)); PN_VTABLE 411 core/gc.c int ivars = ((struct PNVtable *)PN_VTABLE(ptr->vt))->ivlen; PN_VTABLE 450 core/gc.c GC_MINOR_UPDATE(PN_VTABLE(((struct PNVtable *)ptr)->parent)); PN_VTABLE 514 core/gc.c GC_MAJOR_UPDATE(PN_VTABLE(ptr->vt)); PN_VTABLE 515 core/gc.c int ivars = ((struct PNVtable *)PN_VTABLE(ptr->vt))->ivlen; PN_VTABLE 554 core/gc.c GC_MINOR_UPDATE(PN_VTABLE(((struct PNVtable *)ptr)->parent)); PN_VTABLE 247 core/internal.c PN err_vt = PN_VTABLE(PN_TERROR); PN_VTABLE 254 core/internal.c ? AS_STR(potion_send(PN_VTABLE(PN_TYPE(obj)), PN_string)) PN_VTABLE 307 core/internal.c PN pt = potion_send(PN_VTABLE(PN_TYPE(data)), PN_string); PN_VTABLE 69 core/lick.c PN lk_vt = PN_VTABLE(PN_TLICK); PN_VTABLE 262 core/number.c PN num_vt = PN_VTABLE(PN_TNUMBER); PN_VTABLE 263 core/number.c PN dbl_vt = PN_VTABLE(PN_TDECIMAL); PN_VTABLE 207 core/objmodel.c PN_VTABLE(meta->type) = (PN)meta; PN_VTABLE 219 core/objmodel.c PN_VTABLE(t) = (PN)vt; PN_VTABLE 235 core/objmodel.c PN cl = ((struct PNVtable *)PN_VTABLE(PN_TYPE(obj)))->call; PN_VTABLE 245 core/objmodel.c PN cl = ((struct PNVtable *)PN_VTABLE(PN_TYPE(obj)))->callset; PN_VTABLE 258 core/objmodel.c PN parent = ((!self || self == P->lobby) ? PN_VTABLE(PN_TOBJECT) : self); PN_VTABLE 312 core/objmodel.c vPN(Vtable) vt = (struct PNVtable *)PN_VTABLE(t); PN_VTABLE 317 core/objmodel.c PN ivars = ((struct PNVtable *)PN_VTABLE(t))->ivars; PN_VTABLE 414 core/objmodel.c vt = PN_VTABLE(t); PN_VTABLE 422 core/objmodel.c vt = PN_VTABLE(((struct PNVtable *)vt)->parent); PN_VTABLE 489 core/objmodel.c struct PNVtable *vt = (struct PNVtable *)PN_VTABLE(self->vt); PN_VTABLE 533 core/objmodel.c return sizeof(struct PNObject) + (((struct PNVtable *)PN_VTABLE(obj->vt))->ivlen * sizeof(PN)); PN_VTABLE 563 core/objmodel.c return PN_VTABLE(t); PN_VTABLE 637 core/objmodel.c PN clo_vt = PN_VTABLE(PN_TCLOSURE); PN_VTABLE 638 core/objmodel.c PN ref_vt = PN_VTABLE(PN_TWEAK); PN_VTABLE 639 core/objmodel.c PN obj_vt = PN_VTABLE(PN_TOBJECT); PN_VTABLE 667 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Mixin"), PN_VTABLE(PN_TVTABLE)); PN_VTABLE 668 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Object"), PN_VTABLE(PN_TOBJECT)); PN_VTABLE 669 core/objmodel.c potion_init_class_reference(P, potion_str(P, NILKIND_NAME), PN_VTABLE(PN_TNIL)); PN_VTABLE 670 core/objmodel.c potion_init_class_reference(P, potion_str(P, NUMBER_NAME), PN_VTABLE(PN_TNUMBER)); PN_VTABLE 671 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Boolean"), PN_VTABLE(PN_TBOOLEAN)); PN_VTABLE 672 core/objmodel.c potion_init_class_reference(P, potion_str(P, STRING_NAME), PN_VTABLE(PN_TSTRING)); PN_VTABLE 673 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Table"), PN_VTABLE(PN_TTABLE)); PN_VTABLE 674 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Function"), PN_VTABLE(PN_TCLOSURE)); PN_VTABLE 675 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Tuple"), PN_VTABLE(PN_TTUPLE)); PN_VTABLE 676 core/objmodel.c potion_init_class_reference(P, potion_str(P, "File"), PN_VTABLE(PN_TFILE)); PN_VTABLE 677 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Potion"), PN_VTABLE(PN_TSTATE)); PN_VTABLE 678 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Source"), PN_VTABLE(PN_TSOURCE)); PN_VTABLE 679 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Bytes"), PN_VTABLE(PN_TBYTES)); PN_VTABLE 680 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Compiled"), PN_VTABLE(PN_TPROTO)); PN_VTABLE 681 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Ref"), PN_VTABLE(PN_TWEAK)); PN_VTABLE 682 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Lick"), PN_VTABLE(PN_TLICK)); PN_VTABLE 683 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Error"), PN_VTABLE(PN_TERROR)); PN_VTABLE 684 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Continuation"), PN_VTABLE(PN_TCONT)); PN_VTABLE 685 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Num"), PN_VTABLE(PN_TDECIMAL)); PN_VTABLE 689 core/objmodel.c PN mixin_vt = PN_VTABLE(PN_TVTABLE); PN_VTABLE 91 core/primitive.c PN nil_vt = PN_VTABLE(PN_TNIL); PN_VTABLE 92 core/primitive.c PN boo_vt = PN_VTABLE(PN_TBOOLEAN); PN_VTABLE 429 core/string.c PN str_vt = PN_VTABLE(PN_TSTRING); PN_VTABLE 430 core/string.c PN byt_vt = PN_VTABLE(PN_TBYTES); PN_VTABLE 679 core/table.c PN tbl_vt = PN_VTABLE(PN_TTABLE); PN_VTABLE 680 core/table.c PN tpl_vt = PN_VTABLE(PN_TTUPLE); PN_VTABLE 165 lib/aio.c PN_IS_PTR(self)? AS_STR(potion_send(PN_VTABLE(self), PN_name)) \ PN_VTABLE 181 lib/aio.c PN_IS_PTR(stream)? AS_STR(potion_send(PN_VTABLE(stream), PN_name)) \ PN_VTABLE 636 lib/aio.c PN_IS_PTR(data)? AS_STR(potion_send(PN_VTABLE(data), PN_name)) PN_VTABLE 287 lib/buffile.c PN ffile_vt = potion_type_new2(P, PN_TUSER, PN_VTABLE(PN_TFILE), PN_STR("BufFile")); PN_VTABLE 294 lib/buffile.c potion_method(PN_VTABLE(PN_TBYTES), "fmemopen", potion_buffile_fmemopen, "mode=S"); PN_VTABLE 55 lib/pcre/pcre.c PN str_vt = PN_VTABLE(PN_TSTRING); PN_VTABLE 56 lib/pcre/pcre.c PN byt_vt = PN_VTABLE(PN_TBYTES); PN_VTABLE 58 lib/pcre/pcre.c PN mat_vt = potion_type_new2(P, PN_TUSER, PN_VTABLE(PN_TLICK), potion_str(P, "Match")); PN_VTABLE 238 test/api/potion-test.c potion_type((PN)prev), AS_STR(PN_VTABLE(PN_TYPE((PN)prev))));