Lines Matching defs:err
37 bool WriteTestData(string* err) {
41 if (!log.OpenForWrite(kTestFilename, no_dead_paths, err))
77 if (!parser.ParseTest("rule cxx\n command = " + long_rule_command, err))
90 if (!parser.ParseTest(build_rules, err))
105 string err;
107 if (!WriteTestData(&err)) {
108 fprintf(stderr, "Failed to write test data: %s\n", err.c_str());
115 if (log.Load(kTestFilename, &err) == LOAD_ERROR) {
116 fprintf(stderr, "Failed to read test data: %s\n", err.c_str());
124 if (log.Load(kTestFilename, &err) == LOAD_ERROR) {
125 fprintf(stderr, "Failed to read test data: %s\n", err.c_str());