Lines Matching refs:c_str

68       fprintf( fout, "%s=null\n", path.c_str() );  in printValueTree()
71 fprintf( fout, "%s=%s\n", path.c_str(), Json::valueToString( value.asLargestInt() ).c_str() ); in printValueTree()
74 … fprintf( fout, "%s=%s\n", path.c_str(), Json::valueToString( value.asLargestUInt() ).c_str() ); in printValueTree()
77 … fprintf( fout, "%s=%s\n", path.c_str(), normalizeFloatingPointStr(value.asDouble()).c_str() ); in printValueTree()
80 fprintf( fout, "%s=\"%s\"\n", path.c_str(), value.asString().c_str() ); in printValueTree()
83 fprintf( fout, "%s=%s\n", path.c_str(), value.asBool() ? "true" : "false" ); in printValueTree()
87 fprintf( fout, "%s=[]\n", path.c_str() ); in printValueTree()
99 fprintf( fout, "%s={}\n", path.c_str() ); in printValueTree()
131 kind.c_str(), in parseAndSaveValueTree()
132 reader.getFormattedErrorMessages().c_str() ); in parseAndSaveValueTree()
138 FILE *factual = fopen( actual.c_str(), "wt" ); in parseAndSaveValueTree()
141 printf( "Failed to create %s actual file.\n", kind.c_str() ); in parseAndSaveValueTree()
160 FILE *fout = fopen( rewritePath.c_str(), "wt" ); in rewriteValueTree()
163 printf( "Failed to create rewrite file: %s\n", rewritePath.c_str() ); in rewriteValueTree()
166 fprintf( fout, "%s\n", rewrite.c_str() ); in rewriteValueTree()
253 std::string input = readInputTestFile( path.c_str() ); in main()
256 printf( "Failed to read input or empty input: %s\n", path.c_str() ); in main()
263 printf( "Bad input path. Path does not end with '.expected':\n%s\n", path.c_str() ); in main()