Lines Matching refs:c_str

100     Die(0, "%s:%zu: %s already set to '%s'", g_file, g_line, what, field->c_str());  in SetField()
152 test->exit_status = strtol(line.c_str(), &end_p, 10); in CollectTests()
154 Die(0, "%s:%zu: bad exit status: \"%s\"", g_file, g_line, line.c_str()); in CollectTests()
164 Die(0, "%s:%zu: syntax error: \"%s\"", g_file, g_line, line.c_str()); in CollectTests()
189 V("running %s \"%s\"", what, command.c_str()); in RunCommands()
190 int exit_status = system(command.c_str()); in RunCommands()
193 fprintf(stderr, "Command (%s) \"%s\" %s\n", what, command.c_str(), in RunCommands()
194 ExitStatusToString(exit_status).c_str()); in RunCommands()
207 fprintf(stderr, "Incorrect %s.\nExpected:\n%s\nActual:\n%s\n", what, expected_output.c_str(), in CheckOutput()
208 actual_output.c_str()); in CheckOutput()
221 Print(kGreen, "[ RUN ]", " %s", test.name.c_str()); in RunTests()
226 V("setenv(\"FILES\", \"%s\")", FILES.c_str()); in RunTests()
227 setenv("FILES", FILES.c_str(), 1); in RunTests()
238 V("running command \"%s\"", test.command.c_str()); in RunTests()
241 int status = system(test.command.c_str()); in RunTests()
249 ExitStatusToString(status).c_str()); in RunTests()
262 Print(kRed, "[ FAILED ]", " %s (%s)", test.name.c_str(), duration.str().c_str()); in RunTests()
264 Print(kGreen, "[ OK ]", " %s (%s)", test.name.c_str(), duration.str().c_str()); in RunTests()
272 Print(kGreen, "[==========]", " %zu tests ran. (%s total)", tests.size(), duration.str().c_str()); in RunTests()
280 Print(kRed, "[ FAILED ]", " %s", failure.c_str()); in RunTests()