Home | History | Annotate | Download | only in jsontestrunner

Lines Matching refs:fout

63 printValueTree(FILE* fout, Json::Value& value, const std::string& path = ".") {
65 fprintf(fout, "%s\n", value.getComment(Json::commentBefore).c_str());
69 fprintf(fout, "%s=null\n", path.c_str());
72 fprintf(fout,
78 fprintf(fout,
84 fprintf(fout,
90 fprintf(fout, "%s=\"%s\"\n", path.c_str(), value.asString().c_str());
93 fprintf(fout, "%s=%s\n", path.c_str(), value.asBool() ? "true" : "false");
96 fprintf(fout, "%s=[]\n", path.c_str());
105 printValueTree(fout, value[index], path + buffer);
109 fprintf(fout, "%s={}\n", path.c_str());
117 printValueTree(fout, value[name], path + suffix + name);
125 fprintf(fout, "%s\n", value.getComment(Json::commentAfter).c_str());
163 FILE* fout = fopen(rewritePath.c_str(), "wt");
164 if (!fout) {
168 fprintf(fout, "%s\n", rewrite.c_str());
169 fclose(fout);