Home | History | Annotate | Download | only in jsontestrunner

Lines Matching defs:fout

63 printValueTree( FILE *fout, Json::Value &value, const std::string &path = "." )
68 fprintf( fout, "%s=null\n", path.c_str() );
71 fprintf( fout, "%s=%s\n", path.c_str(), Json::valueToString( value.asLargestInt() ).c_str() );
74 fprintf( fout, "%s=%s\n", path.c_str(), Json::valueToString( value.asLargestUInt() ).c_str() );
77 fprintf( fout, "%s=%s\n", path.c_str(), normalizeFloatingPointStr(value.asDouble()).c_str() );
80 fprintf( fout, "%s=\"%s\"\n", path.c_str(), value.asString().c_str() );
83 fprintf( fout, "%s=%s\n", path.c_str(), value.asBool() ? "true" : "false" );
87 fprintf( fout, "%s=[]\n", path.c_str() );
93 printValueTree( fout, value[index], path + buffer );
99 fprintf( fout, "%s={}\n", path.c_str() );
108 printValueTree( fout, value[name], path + suffix + name );
160 FILE *fout = fopen( rewritePath.c_str(), "wt" );
161 if ( !fout )
166 fprintf( fout, "%s\n", rewrite.c_str() );
167 fclose( fout );