PN_CLOSURE 1292 core/compile.c PN_CLOSURE(cl)->data[0] = code; PN_CLOSURE 345 core/gc.c sz = sizeof(struct PNClosure) + (PN_CLOSURE(ptr)->extra * sizeof(PN)); PN_CLOSURE 144 core/internal.c vPN(Closure) c = PN_CLOSURE(cl); PN_CLOSURE 289 core/number.c PN_CLOSURE(block)->method(P, block, P->lobby, PN_NUM(i)); PN_CLOSURE 307 core/number.c PN_CLOSURE(block)->method(P, block, P->lobby, PN_NUM(i)); PN_CLOSURE 325 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 54 core/objmodel.c if (PN_CLOSURE(self)->name) PN_CLOSURE 55 core/objmodel.c pn_printf(P, out, " %s", PN_STR_PTR(PN_CLOSURE(self)->name)); PN_CLOSURE 57 core/objmodel.c potion_bytes_obj_string(P, out, potion_sig_string(P,cl,PN_CLOSURE(self)->sig)); PN_CLOSURE 66 core/objmodel.c return PN_NUM(PN_CLOSURE(self)->arity); PN_CLOSURE 73 core/objmodel.c return PN_NUM(PN_CLOSURE(self)->minargs); PN_CLOSURE 339 core/objmodel.c return potion_vm(P, PN_CLOSURE(cl)->data[0], P->lobby, args, 0, NULL); PN_CLOSURE 343 core/objmodel.c return PN_CLOSURE(cl)->data[0]; PN_CLOSURE 362 core/objmodel.c PN_CLOSURE(cl)->data[0] = method; PN_CLOSURE 363 core/objmodel.c PN_CLOSURE(cl)->name = key; PN_CLOSURE 367 core/objmodel.c PN_CLOSURE(method)->name = key; PN_CLOSURE 425 core/objmodel.c if (PN_IS_CLOSURE(cl) && PN_CLOSURE(cl)->sig == PN_NIL) PN_CLOSURE 426 core/objmodel.c return PN_CLOSURE(cl)->method(P, cl, rcv, PN_NIL); PN_CLOSURE 141 core/potion.c PN_CLOSURE(cl)->data[0] = code; PN_CLOSURE 452 core/string.c PN_CLOSURE(block)->method(P, block, P->lobby, potion_byte_str2(P, &s[i], 1)); PN_CLOSURE 478 core/syntax.y sig = PN_CLOSURE(cl)->sig; PN_CLOSURE 88 core/table.c PN_CLOSURE(block)->method(P, block, P->lobby, kh_key(PN, t, k), kh_val(PN, t, k)); PN_CLOSURE 385 core/table.c int with_index = potion_sig_arity(P, PN_CLOSURE(block)->sig) >= 2; PN_CLOSURE 388 core/table.c PN_CLOSURE(block)->method(P, block, P->lobby, v, PN_NUM(i)); PN_CLOSURE 390 core/table.c PN_CLOSURE(block)->method(P, block, P->lobby, v); PN_CLOSURE 669 core/table.c vPN(Closure) c = PN_CLOSURE(cmp); PN_CLOSURE 733 core/table.c c = PN_CLOSURE(cmp); PN_CLOSURE 482 core/vm-x86.c return potion_fwd(PN_PROTO(PN_CLOSURE(cl)->data[0])->values); PN_CLOSURE 1038 core/vm-x86.c PN p = PN_PROTO(PN_CLOSURE(cl)->data[0])->protos; PN_CLOSURE 161 core/vm.c vPN(Proto) f = (struct PNProto *)PN_CLOSURE(cl)->data[0]; PN_CLOSURE 164 core/vm.c int arity = PN_CLOSURE(cl)->arity; PN_CLOSURE 165 core/vm.c int minargs = PN_CLOSURE(cl)->minargs; PN_CLOSURE 197 core/vm.c PN_CLOSURE(cl)->extra - 1, &PN_CLOSURE(cl)->data[1]); PN_CLOSURE 205 core/vm.c vPN(Proto) proto = PN_PROTO(PN_CLOSURE(cl)->data[0]); PN_CLOSURE 808 core/vm.c vPN(Closure) cl = PN_CLOSURE(reg[op.a]); PN_CLOSURE 103 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 135 lib/aio.c (ARG)->cb = PN_CLOSURE(cb); \ PN_CLOSURE 144 lib/aio.c ((aio_##T##_t*)ARG)->cb = PN_CLOSURE(cb); \ PN_CLOSURE 202 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); \ PN_CLOSURE 209 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); \ PN_CLOSURE 218 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 658 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 710 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 724 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 735 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 746 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 755 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->cb); PN_CLOSURE 1097 lib/aio.c vPN(Closure) cb = PN_CLOSURE(wrap->r.recv_cb); PN_CLOSURE 149 test/api/potion-test.c vPN(Closure) f1 = PN_CLOSURE(potion_eval(P, potion_str(P, "(x,y):x+y."))); PN_CLOSURE 154 test/api/potion-test.c f2 = PN_CLOSURE(p2);