vPN 38 core/ast.c vPN(Source) t = PN_ALLOC_N(PN_TSOURCE, struct PNSource, 0 * sizeof(PN)); vPN 65 core/ast.c vPN(Source) t = (struct PNSource *)potion_fwd(self); vPN 72 core/ast.c vPN(Source) t = (struct PNSource *)potion_fwd(self); vPN 80 core/ast.c vPN(Source) t = (struct PNSource *)potion_fwd(self); vPN 88 core/ast.c vPN(Source) t = (struct PNSource *)potion_fwd(self); vPN 96 core/ast.c vPN(Source) t = (struct PNSource *)potion_fwd(self); vPN 105 core/ast.c vPN(Source) t = (struct PNSource *)potion_fwd(self); vPN 131 core/ast.c vPN(Bytes) b = (struct PNBytes *)potion_fwd(out); vPN 99 core/compile.c vPN(Proto) t = (struct PNProto *)self; vPN 218 core/compile.c vPN(Proto) up = f; \ vPN 280 core/compile.c vPN(Source) lhs = PN_SRC(PN_S(v,0)); vPN 353 core/compile.c vPN(Source) a = PN_S_(t,0); vPN 359 core/compile.c vPN(Source) msg = a->a[0]; vPN 424 core/compile.c vPN(Source) lhs = t->a[0]; vPN 529 core/compile.c vPN(Source) lhs = t->a[0]; vPN 636 core/compile.c vPN(Source) blk = PN_S_(t,2); vPN 778 core/compile.c vPN(Source) t2 = PN_S_(t,2); //typed message (MSG LIST|NIL TYPE) vPN 799 core/compile.c vPN(Source) t2 = PN_S_(t,2); vPN 881 core/compile.c vPN(Source) lhs = PN_SRC(PN_S(v,0)); vPN 913 core/compile.c vPN(Source) t = SRC_TUPLE_AT(expr, 0); \ vPN 942 core/compile.c PN potion_sig_compile(Potion *P, vPN(Proto) f, PN src) { vPN 944 core/compile.c vPN(Source) t = PN_SRC(src); vPN 954 core/compile.c vPN(Source) expr = PN_SRC(v); vPN 958 core/compile.c vPN(Source) lhs = expr->a[0]; vPN 969 core/compile.c vPN(Source) lhs = expr->a[0]; vPN 970 core/compile.c vPN(Source) rhs = expr->a[1]; vPN 977 core/compile.c vPN(Source) lhs = expr->a[0]; vPN 978 core/compile.c vPN(Source) rhs = expr->a[1]; vPN 1040 core/compile.c vPN(Proto) f; vPN 1041 core/compile.c vPN(Source) t = (struct PNSource *)self; vPN 1076 core/compile.c vPN(Proto) f = (struct PNProto *)self; vPN 1077 core/compile.c vPN(Proto) n = PN_ALLOC(PN_TPROTO, struct PNProto); vPN 1142 core/compile.c vPN(Proto) f = PN_ALLOC(PN_TPROTO, struct PNProto); vPN 1173 core/compile.c vPN(BHeader) h = (struct PNBHeader *)PN_STR_PTR(buf); vPN 1222 core/compile.c vPN(Proto) f = (struct PNProto *)proto; vPN 144 core/internal.c vPN(Closure) c = PN_CLOSURE(cl); vPN 242 core/internal.c vPN(Error) e = (struct PNError *)self; vPN 343 core/internal.c vPN(Object) o = (struct PNObject*)*start; vPN 77 core/khash.h vPN(Data) nft = 0; \ vPN 12 core/lick.c vPN(Lick) lk = PN_ALLOC(PN_TLICK, struct PNLick); vPN 18 core/number.c vPN(Double) d = PN_ALLOC_N(PN_TNUMBER, struct PNDouble, 0); vPN 19 core/objmodel.c vPN(Closure) c = PN_ALLOC_N(PN_TCLOSURE, struct PNClosure, extra * sizeof(PN)); vPN 193 core/objmodel.c void potion_add_metaclass(Potion *P, vPN(Vtable) vt) { vPN 208 core/objmodel.c vPN(Vtable) vt = PN_CALLOC_N(PN_TVTABLE, struct PNVtable, 0); vPN 220 core/objmodel.c vPN(Vtable) vt = (vPN(Vtable))potion_type_new(P, t, self); vPN 278 core/objmodel.c vPN(Vtable) vt = (struct PNVtable *)PN_FLEX_AT(P->vts, i); vPN 307 core/objmodel.c vPN(Vtable) vt = (struct PNVtable *)PN_VTABLE(t); vPN 349 core/objmodel.c vPN(Vtable) vt = (struct PNVtable *)self; vPN 392 core/objmodel.c vPN(Vtable) vt = (struct PNVtable *)self; vPN 469 core/objmodel.c vPN(WeakRef) ref = PN_ALLOC(PN_TWEAK, struct PNWeakRef); vPN 484 core/objmodel.c PN potion_object_string(Potion *P, PN cl, vPN(Object) self) { vPN 517 core/objmodel.c vPN(Vtable) vt = (struct PNVtable *)self; vPN 528 core/objmodel.c vPN(Object) obj = (struct PNObject *)self; vPN 534 core/objmodel.c PN potion_lobby_isa(Potion *P, PN cl, PN self, vPN(Vtable) vtable) { vPN 546 core/objmodel.c PN potion_object_subclass(Potion *P, PN cl, PN self, vPN(Vtable) vtable) { vPN 564 core/objmodel.c PN potion_get_metaclass(Potion *P, PN cl, vPN(Vtable) self) { vPN 27 core/string.c vPN(Table) t = P->strings; vPN 37 core/string.c vPN(String) s = PN_ALLOC_N(PN_TSTRING, struct PNString, len + 1); vPN 50 core/string.c vPN(String) s = PN_ALLOC_N(PN_TSTRING, struct PNString, len + 1); vPN 68 core/string.c vPN(String) s = PN_ALLOC_N(PN_TSTRING, struct PNString, len+len2+1); vPN 82 core/string.c vPN(String) s; vPN 336 core/string.c vPN(Bytes) s = (struct PNBytes *)potion_bytes(P, len); vPN 344 core/string.c vPN(Bytes) s = PN_ALLOC_N(PN_TBYTES, struct PNBytes, siz); vPN 354 core/string.c vPN(Bytes) b = (struct PNBytes *)potion_fwd(self); vPN 355 core/string.c vPN(Bytes) s = PN_ALLOC_N(PN_TBYTES, struct PNBytes, b->siz); vPN 364 core/string.c vPN(Bytes) s = (struct PNBytes *)potion_fwd(bytes); vPN 393 core/string.c vPN(Bytes) s = (struct PNBytes *)potion_fwd(self); vPN 424 core/string.c vPN(String) s = PN_ALLOC_N(PN_TSTRING, struct PNString, len + 1); vPN 399 core/syntax.y vPN(Bytes) s = (vPN(Bytes)) code; vPN 17 core/table.c vPN(Tuple) t = PN_ALLOC_N(PN_TTUPLE, struct PNTuple, size * sizeof(PN)); \ vPN 24 core/table.c vPN(Table) t = (vPN(Table))potion_fwd(self); vPN 50 core/table.c vPN(Table) t = PN_ALLOC_N(PN_TTABLE, struct PNTable, 0); vPN 71 core/table.c vPN(Table) t = (vPN(Table))potion_fwd(self); vPN 83 core/table.c vPN(Table) t = (struct PNTable *)potion_fwd(self); vPN 100 core/table.c vPN(Table) t = (vPN(Table))potion_fwd(self); vPN 114 core/table.c vPN(Table) t = (vPN(Table))potion_fwd(self); vPN 135 core/table.c vPN(Table) t = (vPN(Table))potion_fwd(self); vPN 142 core/table.c vPN(Table) t = (vPN(Table))potion_fwd(self); vPN 144 core/table.c vPN(Table) t2 = (vPN(Table))PN_ALLOC_N(PN_TTABLE, struct PNTable, 0); vPN 170 core/table.c vPN(Table) t = (vPN(Table))potion_fwd(self); vPN 177 core/table.c vPN(Table) t2 = (vPN(Table))PN_ALLOC_N(PN_TTABLE, struct PNTable, 0); vPN 201 core/table.c vPN(Table) t = (vPN(Table))potion_fwd(self); vPN 220 core/table.c vPN(Table) t = (vPN(Table))potion_fwd(self); vPN 255 core/table.c vPN(Tuple) t = PN_GET_TUPLE(tuple); vPN 322 core/table.c vPN(Tuple) t1 = PN_GET_TUPLE(self); vPN 348 core/table.c vPN(Tuple) t1 = PN_GET_TUPLE(self); vPN 451 core/table.c vPN(Tuple) t = PN_GET_TUPLE(self); vPN 486 core/table.c vPN(Tuple) t = PN_GET_TUPLE(self); vPN 504 core/table.c vPN(Tuple) t = PN_GET_TUPLE(self); vPN 669 core/table.c vPN(Closure) c = PN_CLOSURE(cmp); vPN 720 core/table.c vPN(Closure) c; vPN 31 core/table.h vPN(Table) methods;///< methods hash, PNTable: name => closures vPN 32 core/table.h vPN(Vtable) meta; /// meta PNVtable vPN 354 core/vm-arm.c void potion_arm_mcache(Potion *P, vPN(Vtable) vt, PNAsm * volatile *asmp) { vPN 353 core/vm-ppc.c void potion_ppc_mcache(Potion *P, vPN(Vtable) vt, PNAsm * volatile *asmp) { vPN 1000 core/vm-x86.c vPN(Proto) c = (vPN(Proto)) PN_TUPLE_AT(f->protos, 0); vPN 1040 core/vm-x86.c vPN(Closure) c = (struct PNClosure *)potion_closure_new(P, NULL, vPN 1096 core/vm-x86.c void potion_x86_mcache(Potion *P, vPN(Vtable) vt, PNAsm * volatile *asmp) { vPN 161 core/vm.c vPN(Proto) f = (struct PNProto *)PN_CLOSURE(cl)->data[0]; vPN 205 core/vm.c vPN(Proto) proto = PN_PROTO(PN_CLOSURE(cl)->data[0]); vPN 225 core/vm.c vPN(Proto) f = (struct PNProto *)proto; vPN 236 core/vm.c vPN(Tuple) tp = (vPN(Tuple)) potion_fwd(f->protos); vPN 240 core/vm.c vPN(Proto) f2 = (struct PNProto *)proto2; vPN 272 core/vm.c vPN(Tuple) t = (vPN(Tuple)) potion_fwd(f->sig); vPN 503 core/vm.c vPN(Source) t = (struct PNSource*)ast; vPN 541 core/vm.c vPN(Closure) cl; vPN 542 core/vm.c vPN(Tuple) sig; vPN 543 core/vm.c vPN(Tuple) regs; vPN 595 core/vm.c vPN(Proto) f = (struct PNProto *)proto; vPN 725 core/vm.c vPN(Tuple) tpl = (vPN(Tuple))potion_fwd(reg[op.a]); vPN 808 core/vm.c vPN(Closure) cl = PN_CLOSURE(reg[op.a]); vPN 904 core/vm.c vPN(Closure) cl; vPN 103 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 202 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); \ vPN 209 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); \ vPN 218 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 321 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(value); vPN 658 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 710 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 724 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 735 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 746 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 755 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 1097 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->r.recv_cb); vPN 1517 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(value); vPN 1522 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(value); vPN 1527 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(value); //all must be numbers vPN 1556 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(v); vPN 1734 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(retval); vPN 1905 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(udp_ivars); vPN 34 lib/buffile.c typedef vPN(BufFile) pn_ffile; vPN 80 test/api/gc-test.c vPN(Data) ptr = potion_data_alloc(P, 16); vPN 148 test/api/potion-test.c vPN(Closure) f2; vPN 149 test/api/potion-test.c vPN(Closure) f1 = PN_CLOSURE(potion_eval(P, potion_str(P, "(x,y):x+y."))); vPN 226 test/api/potion-test.c vPN(Object) o = (struct PNObject *)scanptr;