Lines Matching full:c_str
65 fprintf(fout, "%s\n", value.getComment(Json::commentBefore).c_str());
69 fprintf(fout, "%s=null\n", path.c_str());
74 path.c_str(),
75 Json::valueToString(value.asLargestInt()).c_str());
80 path.c_str(),
81 Json::valueToString(value.asLargestUInt()).c_str());
86 path.c_str(),
87 normalizeFloatingPointStr(value.asDouble()).c_str());
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());
109 fprintf(fout, "%s={}\n", path.c_str());
125 fprintf(fout, "%s\n", value.getComment(Json::commentAfter).c_str());
139 kind.c_str(),
140 reader.getFormattedErrorMessages().c_str());
145 FILE* factual = fopen(actual.c_str(), "wt");
147 printf("Failed to create %s actual file.\n", kind.c_str());
163 FILE* fout = fopen(rewritePath.c_str(), "wt");
165 printf("Failed to create rewrite file: %s\n", rewritePath.c_str());
168 fprintf(fout, "%s\n", rewrite.c_str());
237 std::string input = readInputTestFile(path.c_str());
239 printf("Failed to read input or empty input: %s\n", path.c_str());
246 path.c_str());