potion_send 199 core/compile.c PN block = potion_send(blk, PN_compile, (PN)f, sig); \ potion_send 251 core/compile.c DBG_c("debug %s :%d\n", PN_STR_PTR(potion_send(t, PN_name)), lineno); potion_send 1086 core/compile.c n->protos = potion_send(PN_clone, f->protos); potion_send 1087 core/compile.c n->paths = potion_send(PN_clone, f->paths); potion_send 1088 core/compile.c n->locals = potion_send(PN_clone, f->locals); potion_send 1089 core/compile.c n->upvals = potion_send(PN_clone, f->upvals); potion_send 1090 core/compile.c n->values = potion_send(PN_clone, f->values); potion_send 1091 core/compile.c n->debugs = potion_send(PN_clone, f->debugs); potion_send 1096 core/compile.c n->sig = PN_IS_TUPLE(f->sig) ? potion_send(PN_clone, f->sig) : f->sig; potion_send 1273 core/compile.c return potion_send(self, potion_strcat(P, "dump", cb), options); potion_send 1304 core/compile.c code = potion_send(code, PN_compile, PN_NIL, PN_NIL); potion_send 135 core/file.c case PN_TBYTES: len = potion_send(obj, PN_STR("length")); ptr = PN_STR_PTR(obj); break; potion_send 155 core/file.c PN r = potion_file_write(P, cl, self, potion_send(obj, PN_string)); potion_send 199 core/file.c potion_send(P->lobby, PN_def, PN_STRN("Env", 3), pe); potion_send 93 core/internal.c potion_send(vtable, PN_def, PN_allocate, PN_FUNC(potion_allocate, 0)); potion_send 94 core/internal.c potion_send(vtable, PN_def, PN_delegated, PN_FUNC(potion_delegated, 0)); potion_send 263 core/internal.c ? AS_STR(potion_send(PN_VTABLE(PN_TYPE(obj)), PN_string)) potion_send 307 core/internal.c potion_send(potion_send(x, PN_string), PN_print); potion_send 318 core/internal.c PN pd = potion_send(data, PN_string); potion_send 319 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 399 core/number.c double d2 = PN_DBL(potion_send(PN_number, n)); potion_send 404 core/number.c n2 = PN_IS_INT(n) ? PN_INT(n) : PN_INT(potion_send(PN_number, n)); potion_send 416 core/objmodel.c : potion_send(vt, PN_lookup, msg); potion_send 431 core/objmodel.c return potion_send(a, PN_add, b); potion_send 435 core/objmodel.c return potion_send(a, PN_sub, b); potion_send 439 core/objmodel.c return potion_send(a, PN_mult, b); potion_send 443 core/objmodel.c return potion_send(a, PN_div, b); potion_send 447 core/objmodel.c return potion_send(a, PN_rem, b); potion_send 451 core/objmodel.c return potion_send(a, PN_bitn); potion_send 455 core/objmodel.c return potion_send(a, PN_bitl, b); potion_send 459 core/objmodel.c return potion_send(a, PN_bitr, b); potion_send 489 core/objmodel.c return potion_send(str, PN_string); potion_send 509 core/objmodel.c return potion_send(self, method); potion_send 603 core/objmodel.c return potion_send(potion_send(self, PN_string), PN_print); potion_send 609 core/objmodel.c potion_send(potion_send(self, PN_string), PN_print); potion_send 616 core/objmodel.c potion_send(P->lobby, PN_def, name, vt); potion_send 626 core/objmodel.c potion_send(P->lobby, PN_def, name, val); potion_send 124 core/potion.c code = potion_send(code, PN_compile, potion_str(P, filename), potion_send 240 core/potion.h #define AS_STR(x) PN_STR_PTR(potion_send(x, PN_string)) potion_send 781 core/potion.h potion_send(RCV, PN_def, potion_str(P, MSG), PN_FUNC(FN, SIG)) potion_send 783 core/potion.h potion_send(((struct PNVtable *)(RCV))->meta, PN_def, potion_str(P, MSG), PN_FUNC(FN, SIG)) potion_send 27 core/primitive.c return potion_send(self, PN_cmp, value); potion_send 38 core/primitive.c return potion_send(PN_ZERO, PN_cmp, value); potion_send 40 core/primitive.c return potion_send(PN_FALSE, PN_cmp, value); potion_send 42 core/primitive.c return potion_send(PN_STR(""), PN_cmp, value); potion_send 54 core/primitive.c return potion_send(PN_NUM(PN_TEST(self)), PN_cmp, value); potion_send 83 core/primitive.c potion_send(nil_vt, PN_def, PN_string, potion_str(P, NIL_NAME)); potion_send 385 core/string.c potion_bytes_append(P, 0, bytes, obj ? potion_send(obj, PN_string) : PN_STR("nil")); potion_send 483 core/string.c return strcmp(PN_STR_PTR(self), PN_STR_PTR(potion_send(PN_string, str))); potion_send 50 core/syntax.y PN_IS_INT(yy)||PN_IS_PTR(yy) ? PN_STR_PTR(potion_send(yy, PN_string)) : "")); \ potion_send 520 core/table.c potion_send(v, PN_print); potion_send 784 core/table.c if ((cmp = potion_send(potion_tuple_first(P,cl,self), PN_cmp, potion_send 792 core/table.c return potion_send(t1, PN_cmp, t2); potion_send 116 core/vm.c #define STRINGIFY(_obj) ({PN str=potion_send(_obj,PN_string);str?PN_STR_PTR(str):"";}) potion_send 488 core/vm.c code = potion_send(code, PN_compile, (PN)f, PN_NIL); potion_send 549 core/vm.c PN code = potion_parse(P, potion_send(str, PN_STR("bytes")), "-d"); potion_send 551 core/vm.c code = potion_send(code, PN_compile, (PN)f, PN_NIL); potion_send 169 lib/aio.c PN_IS_PTR(self)? AS_STR(potion_send(PN_VTABLE(self), PN_name)) \ potion_send 185 lib/aio.c PN_IS_PTR(stream)? AS_STR(potion_send(PN_VTABLE(stream), PN_name)) \ potion_send 664 lib/aio.c PN_IS_PTR(data)? AS_STR(potion_send(PN_VTABLE(data), PN_name)) potion_send 168 lib/buffile.c size = potion_send(buf, PN_STR("length")); potion_send 273 lib/buffile.c return fprintf(self->file, potion_send(obj, PN_string)); potion_send 23 test/api/potion-test.c PN_TRUE == potion_send(PN_NIL, potion_str(P, "nil?"))); potion_send 39 test/api/potion-test.c 490 == PN_INT(potion_send(zero, potion_str(P, "+"), num))); potion_send 48 test/api/potion-test.c 11381 == PN_INT(potion_send(pos, potion_str(P, "+"), num))); potion_send 57 test/api/potion-test.c -3853 == PN_INT(potion_send(neg, potion_str(P, "+"), num))); potion_send 69 test/api/potion-test.c 6 == PN_INT(potion_send(PN_string, potion_str(P, "length")))); potion_send 77 test/api/potion-test.c 0, PN_INT(potion_send(empty, potion_str(P, "length")))); potion_send 88 test/api/potion-test.c 3, PN_INT(potion_send(tup, potion_str(P, "length")))); potion_send 100 test/api/potion-test.c PN_STR_PTR(potion_send(sig, PN_string))); potion_send 102 test/api/potion-test.c PN_STR_PTR(potion_send(PN_TUPLE_AT(sig,0), PN_string))); potion_send 106 test/api/potion-test.c PN_STR_PTR(potion_send(PN_TUPLE_AT(sig,2), PN_string))); potion_send 112 test/api/potion-test.c PN_STR_PTR(potion_send(sig, PN_string))); potion_send 118 test/api/potion-test.c PN_STR_PTR(potion_send(sig, PN_string)));