fprintf 30 core/callcc.c fprintf(stderr, "** TODO: continuations which switch stacks must be rewritten. (%p != %p)\n", fprintf 88 core/callcc.c fprintf(stderr, "** TODO: callcc/yield does not work outside of X86 yet.\n"); fprintf 108 core/callcc.c fprintf(stderr,"P->mem->cstack=0x%lx ", (_PN)sp1); fprintf 1262 core/compile.c fprintf(stderr, "** failed loading the compile/%s module\n", cb); fprintf 1270 core/compile.c fprintf(stderr, "** potion not compiled with JIT\n"); fprintf 56 core/contrib.c fprintf(stderr, "** potion_mmap failed"); fprintf 318 core/gc.c fprintf(stderr, "** Invalid User Object 0x%lx vt: 0x%lx\n", fprintf 274 core/internal.c fprintf(stderr, "** %s\n", message); fprintf 285 core/internal.c fprintf(stderr, "** Syntax error %s\n", PN_STR_PTR(out)); fprintf 22 core/load.c fprintf(stderr, "** %s does not exist.", filename); fprintf 27 core/load.c fprintf(stderr, "** could not open %s. check permissions.", filename); fprintf 41 core/load.c fprintf(stderr, "** could not read entire file: %s.", filename); fprintf 70 core/load.c fprintf(stderr, "** error loading %s: %s\n", filename, dlerror()); fprintf 78 core/load.c fprintf(stderr, "** error loading %s: %s\n", filename, err); fprintf 170 core/load.c fprintf(stderr, "** can't find %s\n", PN_STR_PTR(file)); fprintf 183 core/load.c fprintf(stderr, "** unrecognized file extension: %s\n", file_ext); fprintf 185 core/load.c fprintf(stderr, "** no file extension: %s\n", filename); fprintf 199 core/load.c fprintf(stderr, "** can't find %s\n", PN_STR_PTR(file)); fprintf 212 core/load.c fprintf(stderr, "** unrecognized file extension: %s\n", file_ext); fprintf 214 core/load.c fprintf(stderr, "** no file extension: %s\n", filename); fprintf 818 core/vm-x86.c fprintf(stderr, "** missing an upval to proto %p\n", (void *)proto); fprintf 481 core/vm.c fprintf(stderr, "** missing an upval to proto %p\n", (void *)f); fprintf 569 core/vm.c fprintf(stderr, "%d", op.b); fprintf 570 core/vm.c if (op.code == OP_DBG) fprintf(stderr, "\n"); fprintf 817 core/vm.c fprintf(stderr, "** missing an upval to proto %p\n", (void *)proto); fprintf 834 core/vm.c fprintf(stderr, "\n"); fprintf 836 core/vm.c fprintf(stderr, "\t; %s\n", STRINGIFY(reg[op.a])); fprintf 129 front/p2.c fprintf(stderr, "** p2 built without JIT support\n"); fprintf 144 front/p2.c fprintf(stderr, "** %s does not exist.", filename); fprintf 149 front/p2.c fprintf(stderr, "** could not open %s. check permissions.", filename); fprintf 184 front/p2.c fprintf(stderr, "** could not open %s for writing. check permissions.", plcpath); fprintf 209 front/p2.c fprintf(stderr, "** could not write all %s compiled code.\n", compile ? compile : "bytecode"); fprintf 215 front/p2.c fprintf(stderr, "\n-- gc check --\n"); fprintf 218 front/p2.c fprintf(stderr, "%p.vt = %x (%u)\n", fprintf 225 front/p2.c fprintf(stderr, "** wrong type for allocated object: %p.vt = %x\n", fprintf 232 front/p2.c fprintf(stderr, "** allocated object goes beyond GC pointer\n"); fprintf 240 front/p2.c fprintf(stderr, "** could not read entire file."); fprintf 264 front/p2.c fprintf(stderr, "-I missing directory\n"); fprintf 338 front/p2.c fprintf(stderr, "** Unrecognized option: %s\n", argv[i]); fprintf 81 front/potion.c fprintf(stderr, "** %s does not exist.", filename); fprintf 86 front/potion.c fprintf(stderr, "** could not open %s. check permissions.", filename); fprintf 106 front/potion.c fprintf(stderr, "** could not read entire file."); fprintf 148 front/potion.c fprintf(stderr, "** potion built without JIT support\n"); fprintf 186 front/potion.c fprintf(stderr, "** could not open %s for writing. check permissions.\n", outpath); fprintf 208 front/potion.c fprintf(stderr, "** could not write all %s compiled code (%u/%u) to %s\n", fprintf 215 front/potion.c fprintf(stderr, "\n-- gc check --\n"); fprintf 218 front/potion.c fprintf(stderr, "%p.vt = %x (%u)\n", fprintf 225 front/potion.c fprintf(stderr, "** wrong type for allocated object: %p.vt = %x\n", fprintf 232 front/potion.c fprintf(stderr, "** allocated object goes beyond GC pointer\n"); fprintf 282 front/potion.c fprintf(stderr, "-L missing directory\n"); fprintf 366 front/potion.c fprintf(stderr, "** Unrecognized option: %s\n", argv[i]); fprintf 164 lib/aio.c fprintf(stderr, "** Invalid type %s, expected %s", \ fprintf 180 lib/aio.c fprintf(stderr, "** Invalid type %s, expected %s", \ fprintf 635 lib/aio.c fprintf(stderr, "** Invalid type %s, expected %s", fprintf 264 lib/buffile.c return fprintf(self->file, potion_send(obj, PN_string)); fprintf 431 lib/readline/linenoise.c fprintf(stderr, "\x7"); fprintf 845 lib/readline/linenoise.c fprintf(fp,"%s\n",history[j]); fprintf 180 syn/compile.c static void nl(void) { fprintf(output, "\n"); } fprintf 181 syn/compile.c static void pindent(void) { fprintf(output, "%*s", 2*indent, ""); } fprintf 182 syn/compile.c static void begin(void) { indent++; pindent(); fprintf(output, "{"); } fprintf 183 syn/compile.c static void save(int n) { nl(); pindent(); fprintf(output, " int yypos%d= G->pos, yythunkpos%d= G->thunkpos;\n", n, n); } fprintf 184 syn/compile.c static void label(int n) { nl(); pindent(); fprintf(output, " l%d:\n", n); } fprintf 185 syn/compile.c static void jump(int n) { pindent(); fprintf(output, " goto l%d;", n); } fprintf 186 syn/compile.c static void restore(int n) { pindent(); fprintf(output, " G->pos= yypos%d; G->thunkpos= yythunkpos%d;\n", n, n); } fprintf 187 syn/compile.c static void end(void) { pindent(); indent--; fprintf(output, "}\n"); } fprintf 190 syn/compile.c fprintf(output, " { YY_XTYPE YY_XVAR = (YY_XTYPE) G->data; int yyindex = G->offset + G->pos; %s; }", ((struct Any*) node)->errblock); fprintf 199 syn/compile.c fprintf(stderr, "\ninternal error #1 (%s)\n", node->rule.name); fprintf 205 syn/compile.c fprintf(output, " if (!yymatchDot(G)) goto l%d;\n", ko); fprintf 210 syn/compile.c fprintf(output, " if (!yy_%s(G)) ", node->name.rule->rule.name); fprintf 212 syn/compile.c fprintf(output, "{ "); indent++; fprintf 215 syn/compile.c fprintf(output, " goto l%d; }\n", ko); indent--; fprintf 218 syn/compile.c fprintf(output, " goto l%d;\n", ko); fprintf 222 syn/compile.c fprintf(output, " yyDo(G, yySet, %d, 0, \"yySet %s\");\n", fprintf 235 syn/compile.c fprintf(output, " if (!yymatchChar(G, '\\'')) goto l%d;\n", ko); fprintf 237 syn/compile.c fprintf(output, " if (!yymatchChar(G, '%s')) goto l%d;\n", node->string.value, ko); fprintf 241 syn/compile.c fprintf(output, " if (!yymatchChar(G, '%s')) goto l%d;\n", node->string.value, ko); fprintf 243 syn/compile.c fprintf(output, " if (!yymatchString(G, \"%s\")) goto l%d;\n", node->string.value, ko); fprintf 251 syn/compile.c fprintf(output, " if (!yymatchClass(G, (unsigned char *)\"%s\", \"%s\")) goto l%d;\n", makeCharClass(node->cclass.value), tmp, ko); fprintf 258 syn/compile.c fprintf(output, " yyDo(G, yy%s, G->begin, G->end, \"yy%s\");\n", node->action.name, node->action.name); fprintf 263 syn/compile.c fprintf(output, " yyText(G, G->begin, G->end);\n if (!(%s)) goto l%d;\n", node->action.text, ko); fprintf 327 syn/compile.c pindent(); fprintf(output, " ;\n"); fprintf 361 syn/compile.c fprintf(stderr, "\nNode_compile_c_ko: illegal node type %d\n", node->type); fprintf 384 syn/compile.c fprintf(output, " #define %s G->val[%d]\n", node->variable.name, --count); fprintf 395 syn/compile.c fprintf(output, " #undef %s\n", node->variable.name); fprintf 407 syn/compile.c fprintf(stderr, "rule '%s' used but not defined\n", node->rule.name); fprintf 413 syn/compile.c fprintf(stderr, "rule '%s' defined but not used\n", node->rule.name); fprintf 417 syn/compile.c fprintf(output, "\nYY_RULE(int) yy_%s(GREG *G)\n{", node->rule.name); fprintf 420 syn/compile.c fprintf(output, " yyDo(G, yyPush, %d, 0, \"yyPush\");\n", countVariables(node->rule.variables)); fprintf 421 syn/compile.c fprintf(output, " yyprintfv((stderr, \"%%s\\n\", \"%s\"));\n", node->rule.name); fprintf 432 syn/compile.c fprintf(output, " yyprintfvokrule(\"%s\");\n", node->rule.name); fprintf 434 syn/compile.c fprintf(output, " yyprintfokrule(\"%s\");\n", node->rule.name); fprintf 436 syn/compile.c fprintf(output, " yyDo(G, yyPop, %d, 0, \"yyPop\");\n", countVariables(node->rule.variables)); fprintf 437 syn/compile.c fprintf(output, " return 1;"); fprintf 442 syn/compile.c fprintf(output, " yyprintfvfailrule(\"%s\");\n", node->rule.name); fprintf 443 syn/compile.c fprintf(output, " return 0;"); fprintf 445 syn/compile.c fprintf(output, "\n}"); fprintf 919 syn/compile.c fprintf(output, "/* A recursive-descent parser generated by greg %d.%d.%d */\n", GREG_MAJOR, GREG_MINOR, GREG_LEVEL); fprintf 920 syn/compile.c fprintf(output, "\n"); fprintf 921 syn/compile.c fprintf(output, "%s", header); fprintf 922 syn/compile.c fprintf(output, "#define YYRULECOUNT %d\n", ruleCount); fprintf 935 syn/compile.c fprintf(stderr, "possible infinite left recursion in rule '%s'\n", node->rule.name); fprintf 979 syn/compile.c fprintf(stderr, "\nconsumesInput: illegal node type %d\n", node->type); fprintf 993 syn/compile.c fprintf(output, "%s", preamble); fprintf 995 syn/compile.c fprintf(output, "YY_RULE(int) yy_%s(GREG *G); /* %d */\n", n->rule.name, n->rule.id); fprintf 996 syn/compile.c fprintf(output, "\n"); fprintf 1001 syn/compile.c fprintf(output, "YY_ACTION(void) yy%s(GREG *G, char *yytext, int yyleng, yythunk *thunk, YY_XTYPE YY_XVAR)\n{\n", n->action.name); fprintf 1004 syn/compile.c fprintf(output, " yyprintf((stderr, \"do yy%s\"));\n", n->action.name); fprintf 1005 syn/compile.c fprintf(output, " yyprintfvTcontext(yytext);\n"); fprintf 1007 syn/compile.c fprintf(output, " yyprintf((stderr, \"\\n {%s}\\n\"));\n", tmp); fprintf 1009 syn/compile.c fprintf(output, " %s;\n", block); fprintf 1011 syn/compile.c fprintf(output, "}\n"); fprintf 1014 syn/compile.c fprintf(output, footer, start->rule.name); fprintf 67 syn/greg.y fprintf(stderr, "rule '%s' redefined\n", yytext); } fprintf 168 syn/greg.y fprintf(stderr, "usage: %s [<option>...] [<file>...]\n", name); fprintf 169 syn/greg.y fprintf(stderr, "where <option> can be\n"); fprintf 170 syn/greg.y fprintf(stderr, " -h print this help information\n"); fprintf 171 syn/greg.y fprintf(stderr, " -o <ofile> write output to <ofile>\n"); fprintf 172 syn/greg.y fprintf(stderr, " -v be verbose\n"); fprintf 174 syn/greg.y fprintf(stderr, " -vv be more verbose\n"); fprintf 176 syn/greg.y fprintf(stderr, " -V print version number and exit\n"); fprintf 177 syn/greg.y fprintf(stderr, "if no <file> is given, input is read from stdin\n"); fprintf 178 syn/greg.y fprintf(stderr, "if no <ofile> is given, output is written to stdout\n"); fprintf 216 syn/greg.y fprintf(stderr, "for usage try: %s -h\n", argv[0]); fprintf 266 syn/greg.y fprintf(output, "%s\n", headers->text); fprintf 279 syn/greg.y fprintf(output, "%s\n", trailer); fprintf 574 syn/syntax-p5.y fprintf(stderr, "%s", PN_STR_PTR(code)); fprintf 382 syn/syntax.y fprintf(stderr, "%s", PN_STR_PTR(code)); fprintf 83 syn/tree.c Node_print(node); fprintf(stderr, " [%d]<- ", node->type); Node_print(expression); fprintf(stderr, "\n"); fprintf 263 syn/tree.c fprintf(stderr, "### %ld\t", p - stack); fprintf 265 syn/tree.c fprintf(stderr, "\n"); fprintf 275 syn/tree.c dumpStack(); fprintf(stderr, " PUSH "); Node_print(node); fprintf(stderr, "\n"); fprintf 290 syn/tree.c dumpStack(); fprintf(stderr, " POP\n"); fprintf 302 syn/tree.c case Rule: fprintf(stream, " %s", node->rule.name); break; fprintf 303 syn/tree.c case Variable: fprintf(stream, " %s", node->variable.name); break; fprintf 304 syn/tree.c case Name: fprintf(stream, " %s", node->name.rule->rule.name); break; fprintf 305 syn/tree.c case Dot: fprintf(stream, " ."); break; fprintf 306 syn/tree.c case Character: fprintf(stream, " '%s'", node->character.value); break; fprintf 307 syn/tree.c case String: fprintf(stream, " \"%s\"", node->string.value); break; fprintf 308 syn/tree.c case Class: fprintf(stream, " [%s]", node->cclass.value); break; fprintf 309 syn/tree.c case Action: fprintf(stream, " { %s }", node->action.text); break; fprintf 310 syn/tree.c case Predicate: fprintf(stream, " ?{ %s }", node->action.text); break; fprintf 313 syn/tree.c fprintf(stream, " ("); fprintf 317 syn/tree.c fprintf(stream, " |"); fprintf 320 syn/tree.c fprintf(stream, " )"); fprintf 324 syn/tree.c fprintf(stream, " ("); fprintf 328 syn/tree.c fprintf(stream, " )"); fprintf 331 syn/tree.c case PeekFor: fprintf(stream, "&"); Node_fprint(stream, node->query.element); break; fprintf 332 syn/tree.c case PeekNot: fprintf(stream, "!"); Node_fprint(stream, node->query.element); break; fprintf 333 syn/tree.c case Query: Node_fprint(stream, node->query.element); fprintf(stream, "?"); break; fprintf 334 syn/tree.c case Star: Node_fprint(stream, node->query.element); fprintf(stream, "*"); break; fprintf 335 syn/tree.c case Plus: Node_fprint(stream, node->query.element); fprintf(stream, "+"); break; fprintf 337 syn/tree.c fprintf(stream, "\nunknown node type %d\n", node->type); fprintf 348 syn/tree.c fprintf(stream, "%s.%d =", node->rule.name, node->rule.id); fprintf 352 syn/tree.c fprintf(stream, " UNDEFINED"); fprintf 353 syn/tree.c fprintf(stream, " ;\n"); fprintf 368 syn/tree.c fprintf(stderr, "free Rule %s.%d\n", node->rule.name, node->rule.id); fprintf 386 syn/tree.c fprintf(stderr, "free Action %s\n", node->action.name); fprintf 394 syn/tree.c fprintf(stderr, "free Alternate %p\n", node); fprintf 408 syn/tree.c fprintf(stderr, "free Sequence %p\n", node); fprintf 424 syn/tree.c fprintf(stderr, "\nunknown node type %d\n", node->type); fprintf 226 test/api/potion-test.c fprintf(stderr, "error: scanning heap from %p to %p\n", fprintf 228 test/api/potion-test.c fprintf(stderr, "%p in %s region\n", scanptr, fprintf 233 test/api/potion-test.c fprintf(stderr, "%p { uniq:0x%08x vt:0x%08x ivars[0]:0x%08lx type:0x%x}\n", fprintf 236 test/api/potion-test.c fprintf(stderr, "prev %p: size=%d, type:0x%x (%s)\n",