vPN 36 core/ast.c vPN(Source) t = PN_ALLOC_N(PN_TSOURCE, struct PNSource, 0 * sizeof(PN)); vPN 63 core/ast.c vPN(Source) t = (struct PNSource *)potion_fwd(self); vPN 70 core/ast.c vPN(Source) t = (struct PNSource *)potion_fwd(self); vPN 78 core/ast.c vPN(Source) t = (struct PNSource *)potion_fwd(self); vPN 86 core/ast.c vPN(Source) t = (struct PNSource *)potion_fwd(self); vPN 95 core/ast.c vPN(Source) t = (struct PNSource *)potion_fwd(self); vPN 121 core/ast.c vPN(Bytes) b = (struct PNBytes *)potion_fwd(out); vPN 94 core/compile.c vPN(Proto) t = (struct PNProto *)self; vPN 228 core/compile.c vPN(Proto) up = f; \ vPN 290 core/compile.c vPN(Source) lhs = PN_SRC(PN_S(v,0)); vPN 386 core/compile.c vPN(Source) lhs = t->a[0]; vPN 495 core/compile.c vPN(Source) lhs = t->a[0]; vPN 677 core/compile.c vPN(Source) blk = PN_S_(t,2); vPN 758 core/compile.c vPN(Source) t2 = PN_S_(t,2); //typed message (MSG LIST|NIL MSG) vPN 779 core/compile.c vPN(Source) t2 = PN_S_(t,2); vPN 861 core/compile.c vPN(Source) lhs = PN_SRC(PN_S(v,0)); vPN 893 core/compile.c vPN(Source) t = SRC_TUPLE_AT(expr, 0); \ vPN 922 core/compile.c PN potion_sig_compile(Potion *P, vPN(Proto) f, PN src) { vPN 923 core/compile.c vPN(Source) t = PN_SRC(src); vPN 946 core/compile.c vPN(Source) expr = PN_SRC(v); vPN 950 core/compile.c vPN(Source) lhs = expr->a[0]; vPN 961 core/compile.c vPN(Source) lhs = expr->a[0]; vPN 962 core/compile.c vPN(Source) rhs = expr->a[1]; vPN 969 core/compile.c vPN(Source) lhs = expr->a[0]; vPN 970 core/compile.c vPN(Source) rhs = expr->a[1]; vPN 1033 core/compile.c vPN(Proto) f; vPN 1034 core/compile.c vPN(Source) t = (struct PNSource *)self; vPN 1069 core/compile.c vPN(Proto) f = (struct PNProto *)self; vPN 1070 core/compile.c vPN(Proto) n = PN_ALLOC(PN_TPROTO, struct PNProto); vPN 1134 core/compile.c vPN(Proto) f = PN_ALLOC(PN_TPROTO, struct PNProto); vPN 1163 core/compile.c vPN(BHeader) h = (struct PNBHeader *)PN_STR_PTR(buf); vPN 1212 core/compile.c vPN(Proto) f = (struct PNProto *)proto; vPN 32 core/file.c typedef vPN(File) pn_file; vPN 141 core/internal.c vPN(Closure) c = PN_CLOSURE(cl); vPN 238 core/internal.c vPN(Error) e = (struct PNError *)self; vPN 331 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 15 core/number.c vPN(Decimal) d = PN_ALLOC_N(PN_TNUMBER, struct PNDecimal, 0); vPN 19 core/objmodel.c vPN(Closure) c = PN_ALLOC_N(PN_TCLOSURE, struct PNClosure, extra * sizeof(PN)); vPN 198 core/objmodel.c void potion_add_metaclass(Potion *P, vPN(Vtable) vt) { vPN 213 core/objmodel.c vPN(Vtable) vt = PN_CALLOC_N(PN_TVTABLE, struct PNVtable, 0); vPN 225 core/objmodel.c vPN(Vtable) vt = (vPN(Vtable))potion_type_new(P, t, self); vPN 283 core/objmodel.c vPN(Vtable) vt = (struct PNVtable *)PN_FLEX_AT(P->vts, i); vPN 312 core/objmodel.c vPN(Vtable) vt = (struct PNVtable *)PN_VTABLE(t); vPN 354 core/objmodel.c vPN(Vtable) vt = (struct PNVtable *)self; vPN 396 core/objmodel.c vPN(Vtable) vt = (struct PNVtable *)self; vPN 473 core/objmodel.c vPN(WeakRef) ref = PN_ALLOC(PN_TWEAK, struct PNWeakRef); vPN 488 core/objmodel.c PN potion_object_string(Potion *P, PN cl, vPN(Object) self) { vPN 521 core/objmodel.c vPN(Vtable) vt = (struct PNVtable *)self; vPN 532 core/objmodel.c vPN(Object) obj = (struct PNObject *)self; vPN 537 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 67 core/string.c vPN(String) s = PN_ALLOC_N(PN_TSTRING, struct PNString, len+len2+1); vPN 81 core/string.c vPN(String) s; vPN 286 core/string.c vPN(Bytes) s = (struct PNBytes *)potion_bytes(P, len); vPN 294 core/string.c vPN(Bytes) s = PN_ALLOC_N(PN_TBYTES, struct PNBytes, siz); vPN 303 core/string.c vPN(Bytes) s = (struct PNBytes *)potion_fwd(bytes); vPN 332 core/string.c vPN(Bytes) s = (struct PNBytes *)potion_fwd(self); vPN 363 core/string.c vPN(String) s = PN_ALLOC_N(PN_TSTRING, struct PNString, len + 1); vPN 20 core/table.c vPN(Table) t = (struct PNTable *)potion_fwd(self); vPN 46 core/table.c vPN(Table) t = PN_ALLOC_N(PN_TTABLE, struct PNTable, 0); vPN 67 core/table.c vPN(Table) t = (struct PNTable *)potion_fwd(self); vPN 79 core/table.c vPN(Table) t = (struct PNTable *)potion_fwd(self); vPN 96 core/table.c vPN(Table) t = (struct PNTable *)potion_fwd(self); vPN 110 core/table.c vPN(Table) t = (struct PNTable *)potion_fwd(self); vPN 130 core/table.c vPN(Table) t = (struct PNTable *)potion_fwd(self); vPN 139 core/table.c vPN(Tuple) t = PN_ALLOC_N(PN_TTUPLE, struct PNTuple, size * sizeof(PN)); \ vPN 162 core/table.c vPN(Tuple) t = PN_GET_TUPLE(tuple); vPN 228 core/table.c vPN(Tuple) t1 = PN_GET_TUPLE(self); vPN 308 core/table.c vPN(Tuple) t = PN_GET_TUPLE(self); vPN 346 core/table.c vPN(Tuple) t = PN_GET_TUPLE(self); vPN 364 core/table.c vPN(Tuple) t = PN_GET_TUPLE(self); vPN 528 core/table.c vPN(Closure) c = PN_CLOSURE(cmp); vPN 578 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 346 core/vm-ppc.c void potion_ppc_mcache(Potion *P, vPN(Vtable) vt, PNAsm * volatile *asmp) { vPN 751 core/vm-x86.c vPN(Proto) c = (vPN(Proto)) PN_TUPLE_AT(f->protos, 0); vPN 787 core/vm-x86.c vPN(Closure) c = (struct PNClosure *)potion_closure_new(P, NULL, vPN 839 core/vm-x86.c void potion_x86_mcache(Potion *P, vPN(Vtable) vt, PNAsm * volatile *asmp) { vPN 153 core/vm.c vPN(Proto) f = (struct PNProto *)PN_CLOSURE(cl)->data[0]; vPN 195 core/vm.c vPN(Proto) proto = PN_PROTO(PN_CLOSURE(cl)->data[0]); vPN 215 core/vm.c vPN(Proto) f = (struct PNProto *)proto; vPN 226 core/vm.c vPN(Tuple) tp = (vPN(Tuple)) potion_fwd(f->protos); vPN 230 core/vm.c vPN(Proto) f2 = (struct PNProto *)proto2; vPN 254 core/vm.c vPN(Tuple) t = (vPN(Tuple)) potion_fwd(f->sig); vPN 417 core/vm.c vPN(Source) t = (struct PNSource*)ast; vPN 454 core/vm.c vPN(Closure) cl; vPN 455 core/vm.c vPN(Tuple) sig; vPN 456 core/vm.c vPN(Tuple) regs; vPN 502 core/vm.c vPN(Proto) f = (struct PNProto *)proto; vPN 705 core/vm.c vPN(Closure) cl = PN_CLOSURE(reg[op.a]); vPN 803 core/vm.c vPN(Closure) cl; vPN 100 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 198 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); \ vPN 207 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 310 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(value); vPN 630 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 680 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 694 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 705 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 716 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 725 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 734 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); vPN 1073 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->r.recv_cb); vPN 1495 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(value); vPN 1500 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(value); vPN 1505 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(value); //all must be numbers vPN 1532 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(v); vPN 1832 lib/aio.c vPN(Tuple) t = PN_GET_TUPLE(udp_ivars); vPN 25 lib/buffile.c typedef vPN(BufFile) pn_ffile; vPN 80 test/api/gc-test.c vPN(Data) ptr = potion_data_alloc(P, 16); vPN 147 test/api/potion-test.c vPN(Closure) f2; vPN 148 test/api/potion-test.c vPN(Closure) f1 = PN_CLOSURE(potion_eval(P, potion_str(P, "(x,y):x+y."))); vPN 225 test/api/potion-test.c vPN(Object) o = (struct PNObject *)scanptr;