Lines Matching defs:IF
32 if (!Parse(IS, ParseCoverage)) {
47 // STARTED 1 456 # If DONE is missing, the input crashed while processing.
55 if (!std::getline(IS, Line, '\n')) return false;
59 if (NumFiles == 0 || NumFiles > 10000000) return false;
62 if (!std::getline(IS, Line, '\n')) return false;
66 if (NumFilesInFirstCorpus > NumFiles) return false;
71 if (!std::getline(IS, Files[i].Name, '\n'))
85 if (Marker == "STARTED") {
87 if (ExpectedStartMarker != N)
93 } else if (Marker == "DONE") {
96 if (CurrentFileIdx != LastSeenStartMarker)
99 if (ParseCoverage) {
110 if (LastSeenStartMarker != kInvalidStartMarker)
153 if (a.Size != b.Size)
159 // If new features were added, add this file to NewFiles.
166 if (AllFeatures.size() > OldSize)
208 // Inner process. May crash if the target crashes.
212 std::ifstream IF(CFPath);
213 M.ParseOrExit(IF, false);
214 IF.close();
215 if (!M.LastFailure.empty())
229 if (U.size() > MaxInputLen) {
247 if (AllFeatures.insert(Feature).second)
251 if (!(TotalNumberOfRuns & (TotalNumberOfRuns - 1)))
271 if (!ControlFile) {
284 if (Corpora.size() <= 1) {
295 if (MergeControlFilePathOrNull && FileSize(MergeControlFilePathOrNull)) {
299 std::ifstream IF(MergeControlFilePathOrNull);
300 if (M.Parse(IF, /*ParseCoverage=*/false)) {
304 if (!M.LastFailure.empty())
308 if (M.FirstNotProcessedFile >= M.Files.size()) {
319 if (!NumAttempts) {
346 if (!ExitCode) {
352 if (!Success) {
358 std::ifstream IF(CFPath);
359 IF.seekg(0, IF.end);
360 Printf("MERGE-OUTER: the control file has %zd bytes\n", (size_t)IF.tellg());
361 IF.seekg(0, IF.beg);
362 M.ParseOrExit(IF, true);
363 IF.close();
366 if (CoverageSummaryOutputPathOrNull) {
374 if (CoverageSummaryInputPathOrNull) {
385 // We are done, delete the control file if it was a temporary one.
386 if (!MergeControlFilePathOrNull)