PN_CLOSURE 1276 core/compile.c PN_CLOSURE(cl)->data[0] = code; PN_CLOSURE 333 core/gc.c sz = sizeof(struct PNClosure) + (PN_CLOSURE(ptr)->extra * sizeof(PN)); PN_CLOSURE 141 core/internal.c vPN(Closure) c = PN_CLOSURE(cl); PN_CLOSURE 165 core/number.c PN_CLOSURE(block)->method(P, block, P->lobby, PN_NUM(i)); PN_CLOSURE 181 core/number.c PN_CLOSURE(block)->method(P, block, P->lobby, PN_NUM(i)); PN_CLOSURE 194 core/number.c PN_CLOSURE(block)->method(P, block, P->lobby, PN_NUM(i)); PN_CLOSURE 43 core/objmodel.c if (PN_CLOSURE(self)->extra > 0 && PN_IS_PROTO(PN_CLOSURE(self)->data[0])) PN_CLOSURE 44 core/objmodel.c return PN_CLOSURE(self)->data[0]; PN_CLOSURE 59 core/objmodel.c if (PN_CLOSURE(self)->name) PN_CLOSURE 60 core/objmodel.c pn_printf(P, out, " %s", PN_STR_PTR(PN_CLOSURE(self)->name)); PN_CLOSURE 62 core/objmodel.c potion_bytes_obj_string(P, out, potion_sig_string(P,cl,PN_CLOSURE(self)->sig)); PN_CLOSURE 71 core/objmodel.c return PN_NUM(PN_CLOSURE(self)->arity); PN_CLOSURE 78 core/objmodel.c return PN_NUM(PN_CLOSURE(self)->minargs); PN_CLOSURE 344 core/objmodel.c return potion_vm(P, PN_CLOSURE(cl)->data[0], P->lobby, args, 0, NULL); PN_CLOSURE 348 core/objmodel.c return PN_CLOSURE(cl)->data[0]; PN_CLOSURE 366 core/objmodel.c PN_CLOSURE(cl)->data[0] = method; PN_CLOSURE 367 core/objmodel.c PN_CLOSURE(cl)->name = key; PN_CLOSURE 371 core/objmodel.c PN_CLOSURE(method)->name = key; PN_CLOSURE 429 core/objmodel.c if (PN_IS_CLOSURE(cl) && PN_CLOSURE(cl)->sig == PN_NIL) PN_CLOSURE 430 core/objmodel.c return PN_CLOSURE(cl)->method(P, cl, rcv, PN_NIL); PN_CLOSURE 389 core/string.c PN_CLOSURE(block)->method(P, block, P->lobby, potion_byte_str2(P, &s[i], 1)); PN_CLOSURE 84 core/table.c PN_CLOSURE(block)->method(P, block, P->lobby, kh_key(PN, t, k), kh_val(PN, t, k)); PN_CLOSURE 242 core/table.c int with_index = potion_sig_arity(P, PN_CLOSURE(block)->sig) >= 2; PN_CLOSURE 245 core/table.c PN_CLOSURE(block)->method(P, block, P->lobby, v, PN_NUM(i)); PN_CLOSURE 247 core/table.c PN_CLOSURE(block)->method(P, block, P->lobby, v); PN_CLOSURE 528 core/table.c vPN(Closure) c = PN_CLOSURE(cmp); PN_CLOSURE 591 core/table.c c = PN_CLOSURE(cmp); PN_CLOSURE 296 core/vm-x86.c return potion_fwd(PN_PROTO(PN_CLOSURE(cl)->data[0])->values); PN_CLOSURE 785 core/vm-x86.c PN p = PN_PROTO(PN_CLOSURE(cl)->data[0])->protos; PN_CLOSURE 153 core/vm.c vPN(Proto) f = (struct PNProto *)PN_CLOSURE(cl)->data[0]; PN_CLOSURE 156 core/vm.c int arity = PN_CLOSURE(cl)->arity; PN_CLOSURE 157 core/vm.c int minargs = PN_CLOSURE(cl)->minargs; PN_CLOSURE 189 core/vm.c PN_CLOSURE(cl)->extra - 1, &PN_CLOSURE(cl)->data[1]); PN_CLOSURE 195 core/vm.c vPN(Proto) proto = PN_PROTO(PN_CLOSURE(cl)->data[0]); PN_CLOSURE 705 core/vm.c vPN(Closure) cl = PN_CLOSURE(reg[op.a]); PN_CLOSURE 121 front/p2.c PN_CLOSURE(cl)->data[0] = code; PN_CLOSURE 140 front/potion.c PN_CLOSURE(cl)->data[0] = code; PN_CLOSURE 100 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 131 lib/aio.c (ARG)->cb = PN_CLOSURE(cb); \ PN_CLOSURE 140 lib/aio.c ((aio_##T##_t*)ARG)->cb = PN_CLOSURE(cb); \ PN_CLOSURE 198 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); \ PN_CLOSURE 207 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 630 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 680 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 694 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 705 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 716 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 725 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 734 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 1073 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->r.recv_cb); PN_CLOSURE 652 syn/syntax-p5.y sig = PN_CLOSURE(cl)->sig; PN_CLOSURE 457 syn/syntax.y sig = PN_CLOSURE(cl)->sig; PN_CLOSURE 148 test/api/potion-test.c vPN(Closure) f1 = PN_CLOSURE(potion_eval(P, potion_str(P, "(x,y):x+y."))); PN_CLOSURE 153 test/api/potion-test.c f2 = PN_CLOSURE(p2);