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