potion_send 209 core/compile.c PN block = potion_send(blk, PN_compile, (PN)f, sig); \ potion_send 261 core/compile.c DBG_c("debug %s :%d\n", PN_STR_PTR(potion_send(t, PN_name)), lineno); potion_send 574 core/compile.c if (use == PN_use) potion_send(class, PN_STR("import"), list); potion_send 575 core/compile.c else if (use == PN_no) potion_send(class, PN_STR("unimport"), list); potion_send 1077 core/compile.c n->protos = potion_send(PN_clone, f->protos); potion_send 1078 core/compile.c n->paths = potion_send(PN_clone, f->paths); potion_send 1079 core/compile.c n->locals = potion_send(PN_clone, f->locals); potion_send 1080 core/compile.c n->upvals = potion_send(PN_clone, f->upvals); potion_send 1081 core/compile.c n->values = potion_send(PN_clone, f->values); potion_send 1082 core/compile.c n->debugs = potion_send(PN_clone, f->debugs); potion_send 1088 core/compile.c n->sig = PN_IS_TUPLE(f->sig) ? potion_send(PN_clone, f->sig) : f->sig; potion_send 1260 core/compile.c return potion_send(self, potion_strcat(P, "dump", cb), options); potion_send 1288 core/compile.c code = potion_send(code, PN_compile, PN_NIL, PN_NIL); potion_send 141 core/file.c case PN_TBYTES: len = potion_send(obj, PN_STR("length")); ptr = PN_STR_PTR(obj); break; potion_send 161 core/file.c return potion_file_write(P, cl, self, potion_send(obj, PN_string)); potion_send 209 core/file.c potion_send(P->lobby, PN_def, PN_env, pe); potion_send 92 core/internal.c potion_send(vtable, PN_def, PN_allocate, PN_FUNC(potion_allocate, 0)); potion_send 93 core/internal.c potion_send(vtable, PN_def, PN_delegated, PN_FUNC(potion_delegated, 0)); potion_send 254 core/internal.c ? AS_STR(potion_send(PN_VTABLE(PN_TYPE(obj)), PN_string)) potion_send 295 core/internal.c potion_send(potion_send(x, PN_string), PN_print); potion_send 306 core/internal.c PN pd = potion_send(data, PN_string); potion_send 307 core/internal.c PN pt = potion_send(PN_VTABLE(PN_TYPE(data)), PN_string); potion_send 35 core/load.c result = potion_run(P, potion_send( potion_send 251 core/number.c double d2 = PN_DBL(potion_send(PN_number, n)); potion_send 256 core/number.c n2 = PN_IS_NUM(n) ? PN_INT(n) : PN_INT(potion_send(PN_number, n)); potion_send 420 core/objmodel.c : potion_send(vt, PN_lookup, msg); potion_send 435 core/objmodel.c return potion_send(a, PN_add, b); potion_send 439 core/objmodel.c return potion_send(a, PN_sub, b); potion_send 443 core/objmodel.c return potion_send(a, PN_mult, b); potion_send 447 core/objmodel.c return potion_send(a, PN_div, b); potion_send 451 core/objmodel.c return potion_send(a, PN_rem, b); potion_send 455 core/objmodel.c return potion_send(a, PN_bitn); potion_send 459 core/objmodel.c return potion_send(a, PN_bitl, b); potion_send 463 core/objmodel.c return potion_send(a, PN_bitr, b); potion_send 493 core/objmodel.c return potion_send(str, PN_string); potion_send 513 core/objmodel.c return potion_send(self, method); potion_send 576 core/objmodel.c return potion_send(potion_send(self, PN_string), PN_print); potion_send 582 core/objmodel.c potion_send(potion_send(self, PN_string), PN_print); potion_send 588 core/objmodel.c potion_send(P->lobby, PN_def, name, vt); potion_send 599 core/objmodel.c potion_send(P->lobby, PN_def, name, val); potion_send 237 core/potion.h #define AS_STR(x) PN_STR_PTR(potion_send(x, PN_string)) potion_send 755 core/potion.h potion_send(RCV, PN_def, potion_str(P, MSG), PN_FUNC(FN, SIG)) potion_send 757 core/potion.h potion_send(((struct PNVtable *)(RCV))->meta, PN_def, potion_str(P, MSG), PN_FUNC(FN, SIG)) potion_send 40 core/primitive.c return potion_send(self, PN_cmp, value); potion_send 51 core/primitive.c return potion_send(PN_ZERO, PN_cmp, value); potion_send 53 core/primitive.c return potion_send(PN_FALSE, PN_cmp, value); potion_send 55 core/primitive.c return potion_send(PN_STR(""), PN_cmp, value); potion_send 67 core/primitive.c return potion_send(PN_NUM(PN_TEST1(self)), PN_cmp, value); potion_send 94 core/primitive.c potion_send(nil_vt, PN_def, PN_STR("defined"), PN_FALSE); potion_send 95 core/primitive.c potion_send(P->lobby, PN_def, PN_STR("defined"), PN_TRUE); potion_send 99 core/primitive.c potion_send(nil_vt, PN_def, PN_STR("nil?"), PN_TRUE); potion_send 100 core/primitive.c potion_send(P->lobby, PN_def, PN_STR("nil?"), PN_FALSE); potion_send 105 core/primitive.c potion_send(nil_vt, PN_def, PN_string, potion_str(P, NIL_NAME)); potion_send 324 core/string.c potion_bytes_append(P, 0, bytes, obj ? potion_send(obj, PN_string) : PN_STR(NIL_NAME)); potion_send 420 core/string.c return strcmp(PN_STR_PTR(self), PN_STR_PTR(potion_send(PN_string, str))); potion_send 380 core/table.c potion_send(v, PN_print); potion_send 641 core/table.c if ((cmp = potion_send(potion_tuple_first(P,cl,self), PN_cmp, potion_send 649 core/table.c return potion_send(t1, PN_cmp, t2); potion_send 108 core/vm.c #define STRINGIFY(_obj) ({PN str=potion_send(_obj,PN_string);str?PN_STR_PTR(str):"";}) potion_send 403 core/vm.c code = potion_send(code, PN_compile, (PN)f, PN_NIL); potion_send 459 core/vm.c PN code = potion_parse(P, potion_send(str, PN_STR("bytes")), "-d"); potion_send 106 front/p2.c code = potion_send(code, PN_compile, potion_str(P, filename), PN_NIL); potion_send 192 front/p2.c code = potion_send(code, potion_str(P, "dump"), potion_send 402 front/p2.c code = potion_send(code, PN_compile, PN_NIL, PN_NIL); potion_send 123 front/potion.c code = potion_send(code, PN_compile, potion_str(P, filename), potion_send 165 lib/aio.c PN_IS_PTR(self)? AS_STR(potion_send(PN_VTABLE(self), PN_name)) \ potion_send 181 lib/aio.c PN_IS_PTR(stream)? AS_STR(potion_send(PN_VTABLE(stream), PN_name)) \ potion_send 636 lib/aio.c PN_IS_PTR(data)? AS_STR(potion_send(PN_VTABLE(data), PN_name)) potion_send 159 lib/buffile.c size = potion_send(buf, PN_STR("length")); potion_send 264 lib/buffile.c return fprintf(self->file, potion_send(obj, PN_string)); potion_send 58 syn/syntax-p5.y PN_STR_PTR(potion_send(yy, PN_string, 0)))); \ potion_send 50 syn/syntax.y PN_STR_PTR(potion_send(yy, PN_string))));\ potion_send 26 test/api/p2-test.c PN_FALSE == potion_send(PN_NIL, potion_str(P, "defined"))); potion_send 29 test/api/p2-test.c PN_TRUE == potion_send(num, potion_str(P, "defined"))); potion_send 39 test/api/p2-test.c 490 == PN_INT(potion_send(zero, potion_str(P, "+"), num))); potion_send 48 test/api/p2-test.c 11381 == PN_INT(potion_send(pos, potion_str(P, "+"), num))); potion_send 57 test/api/p2-test.c -3853 == PN_INT(potion_send(neg, potion_str(P, "+"), num))); potion_send 69 test/api/p2-test.c 6 == PN_INT(potion_send(PN_string, potion_str(P, "length")))); potion_send 77 test/api/p2-test.c PN_INT(potion_send(empty, potion_str(P, "length"))), 0); potion_send 88 test/api/p2-test.c PN_INT(potion_send(tup, potion_str(P, "length"))), 3); potion_send 22 test/api/potion-test.c PN_TRUE == potion_send(PN_NIL, potion_str(P, "nil?"))); potion_send 38 test/api/potion-test.c 490 == PN_INT(potion_send(zero, potion_str(P, "+"), num))); potion_send 47 test/api/potion-test.c 11381 == PN_INT(potion_send(pos, potion_str(P, "+"), num))); potion_send 56 test/api/potion-test.c -3853 == PN_INT(potion_send(neg, potion_str(P, "+"), num))); potion_send 68 test/api/potion-test.c 6 == PN_INT(potion_send(PN_string, potion_str(P, "length")))); potion_send 76 test/api/potion-test.c 0, PN_INT(potion_send(empty, potion_str(P, "length")))); potion_send 87 test/api/potion-test.c 3, PN_INT(potion_send(tup, potion_str(P, "length")))); potion_send 99 test/api/potion-test.c PN_STR_PTR(potion_send(sig, PN_string))); potion_send 101 test/api/potion-test.c PN_STR_PTR(potion_send(PN_TUPLE_AT(sig,0), PN_string))); potion_send 105 test/api/potion-test.c PN_STR_PTR(potion_send(PN_TUPLE_AT(sig,2), PN_string))); potion_send 111 test/api/potion-test.c PN_STR_PTR(potion_send(sig, PN_string))); potion_send 117 test/api/potion-test.c PN_STR_PTR(potion_send(sig, PN_string)));