Lines Matching refs:buf
279 char buf[200]; in EnumerateTests() local
280 while (fgets(buf, sizeof(buf), fp) != NULL) { in EnumerateTests()
281 char* p = buf; in EnumerateTests()
752 char buf[1024]; in ReadChildProcOutput() local
754 read(child_proc.child_read_fd, buf, sizeof(buf) - 1)); in ReadChildProcOutput()
756 buf[bytes_read] = '\0'; in ReadChildProcOutput()
757 testcase.GetTest(test_id).AppendTestOutput(buf); in ReadChildProcOutput()
836 char buf[1024]; in CollectChildTestResult() local
837 snprintf(buf, sizeof(buf), in CollectChildTestResult()
841 testcase.GetTest(test_id).AppendTestOutput(buf); in CollectChildTestResult()
846 char buf[1024]; in CollectChildTestResult() local
847 snprintf(buf, sizeof(buf), "%s terminated by signal: %s.\n", in CollectChildTestResult()
850 testcase.GetTest(test_id).AppendTestOutput(buf); in CollectChildTestResult()
856 char buf[1024]; in CollectChildTestResult() local
857 snprintf(buf, sizeof(buf), "%s exited with exitcode %d.\n", in CollectChildTestResult()
859 testcase.GetTest(test_id).AppendTestOutput(buf); in CollectChildTestResult()