Lines Matching refs:internal

105 { "file",		OPT_file,	(char*)&internal.makefiles,	0,
112 { "global", OPT_global, (char*)&internal.globalfiles, 0,
171 " [+i?internal value inverted]"
295 " diagnostic (and internal cleanup) with exit"
338 sfputc(internal.tmp, c);
339 op = (Option_t*)hashget(opt.table, sfstruse(internal.tmp));
357 sfputc(internal.tmp, c);
358 hashput(opt.table, strdup(sfstruse(internal.tmp)), (char*)op);
493 sfputc(internal.tmp, OPT(op->flags));
494 sfputc(internal.tmp, OPT_SEP);
495 declarestr(internal.tmp, op->name);
497 sfputc(internal.tmp, 'a');
499 sfputc(internal.tmp, 'b');
501 sfputc(internal.tmp, 'n');
503 sfputc(internal.tmp, 'o');
505 sfputc(internal.tmp, 'p');
507 sfputc(internal.tmp, 's');
509 sfputc(internal.tmp, 'v');
511 sfputc(internal.tmp, 'x');
512 sfputc(internal.tmp, OPT_SEP);
513 declarestr(internal.tmp, op->set);
514 declarestr(internal.tmp, op->description);
515 declarestr(internal.tmp, op->arg);
516 shquote(sp, fmtesc(sfstruse(internal.tmp)));
646 sfprintf(internal.tmp, "%s,", op->name);
647 sfprintf(internal.tmp, (op->flags & Of) ? "%03o," : "'%c',", op->flags & ((1<<8) - 1));
649 sfprintf(internal.tmp, "|a");
651 sfprintf(internal.tmp, "|b");
653 sfprintf(internal.tmp, "|f");
655 sfprintf(internal.tmp, "|i");
657 sfprintf(internal.tmp, "|n");
659 sfprintf(internal.tmp, "|o");
661 sfprintf(internal.tmp, "|p");
663 sfprintf(internal.tmp, "|s");
665 sfprintf(internal.tmp, "|v");
667 sfprintf(internal.tmp, "|x");
669 sfprintf(internal.tmp, "|COMPILE");
671 sfprintf(internal.tmp, "|DECLARE");
673 sfprintf(internal.tmp, "|DEFAULT");
675 sfprintf(internal.tmp, "|EXTERNAL");
677 sfprintf(internal.tmp, "|READONLY");
679 sfprintf(internal.tmp, "|SET");
680 sfputc(internal.tmp, '|');
681 return sfstruse(internal.tmp);
771 sfprintf(internal.tmp, "%s", op->name);
773 sfputc(internal.tmp, ':');
775 sfprintf(internal.tmp, "=%d", n);
777 sfprintf(internal.tmp, "=%s", s);
779 sfprintf(internal.tmp, "='%s'", s);
781 sfprintf(internal.tmp, "=\"%s\"", s);
782 n = sfstrtell(internal.tmp) + 1;
783 s = sfstruse(internal.tmp);
869 addprereq(catrule(internal.source->name, external.source, NiL, 1), makerule(s), PREREQ_APPEND);
877 sfprintf(internal.tmp, "-%c%s", OPT(op->flags), s);
878 if (!(r = getrule(sfstruse(internal.tmp))))
880 addprereq(internal.preprocess, r, PREREQ_APPEND);
895 sfprintf(internal.tmp, "%s/", state.errorid);
896 sfprintf(internal.tmp, "%s", s);
897 state.errorid = strdup(sfstruse(internal.tmp));
898 sfprintf(internal.tmp, "%s [%s]", idname, state.errorid);
899 error_info.id = strdup(sfstruse(internal.tmp));
1010 sfprintf(internal.tmp, "%05d ", state.pid);
1011 state.mam.label = strdup(sfstruse(internal.tmp));
1038 sfprintf(internal.tmp, "%s", state.mam.type);
1040 sfprintf(internal.tmp, ",dontcare");
1041 sfprintf(internal.tmp, ",%sport", state.mam.port ? null : "no");
1042 sfprintf(internal.tmp, ":");
1044 sfprintf(internal.tmp, "%s/", internal.pwd);
1045 sfprintf(internal.tmp, "%s:%d", s, state.pid);
1048 sfprintf(internal.nam, "$(\"%s\":P=A)", t);
1049 expand(tmp, sfstruse(internal.nam));
1052 sfprintf(internal.tmp, ":%s", state.mam.root);
1054 state.mam.options = strdup(sfstruse(internal.tmp));
1169 sfputc(internal.tmp, '(');
1171 edit(internal.tmp, t, DELETE, KEEP, DELETE);
1173 sfputr(internal.tmp, state.base ? "rules" : state.global ? "global" : "user", -1);
1174 sfprintf(internal.tmp, ") %s", desc);
1175 desc = strdup(sfstruse(internal.tmp));
1206 error(1, "--%s is an internal option", nop->name);
1412 sfprintf(internal.tmp, "--%s=%s", op->name, s);
1413 if (!(r = getrule(sfstruse(internal.tmp))))
1415 addprereq(internal.preprocess, r, PREREQ_APPEND);
1420 sfprintf(internal.tmp, "--no%s", op->name);
1422 sfprintf(internal.tmp, "--%s=%d", op->name, n);
1424 sfprintf(internal.tmp, "--%s", op->name);
1425 if (!(r = getrule(sfstruse(internal.tmp))))
1427 addprereq(internal.preprocess, r, PREREQ_APPEND);
1652 * '@' internal object file dump
1774 sfputc(internal.tmp, *v++);
1777 sfputc(internal.tmp, *v++);
1779 sfprintf(internal.tmp, "\"%s\"", v);
1781 sfprintf(internal.tmp, "'%s'", v);
1783 n = sfstrtell(internal.tmp);
1784 v = sfstruse(internal.tmp);
1960 expand(internal.tmp, getval(external.old, VAL_PRIMARY));
1961 putptr(vec, strdup(sfstruse(internal.tmp)));
1967 sfputc(internal.tmp, '-');
1974 sfputc(internal.tmp, 'd');
1976 sfputc(internal.tmp, 'i');
1978 sfputc(internal.tmp, 'k');
1980 sfputc(internal.tmp, 'n');
1982 sfputc(internal.tmp, 's');
1984 sfputc(internal.tmp, 't');
1991 sfputc(internal.tmp, 'p');
1993 sfputc(internal.tmp, 'u');
2001 sfputc(internal.tmp, 'b');
2003 sfputc(internal.tmp, 'e');
2005 sfputc(internal.tmp, 'r');
2006 s = sfstruse(internal.tmp);
2016 sfputc(internal.tmp, '-');
2018 sfputc(internal.tmp, 'N');
2020 sfputc(internal.tmp, 'n');
2022 sfputc(internal.tmp, 'F');
2023 sfputc(internal.tmp, 'M');
2024 sfputr(internal.tmp, state.mam.options, -1);
2025 putptr(vec, strdup(sfstruse(internal.tmp)));
2039 if (!(p = internal.makefiles->prereqs))
2081 sfprintf(internal.tmp, "--%s=%d", optflag(OPT_reread)->name, state.reread + 1);
2083 sfprintf(internal.tmp, "--%s", optflag(OPT_preprocess)->name);
2084 putptr(vec, sfstruse(internal.tmp));
2094 if (internal.openfile)
2095 close(internal.openfd);