Home
last modified time | relevance | path

Searched refs:kFileSignature (Results 1 – 2 of 2) sorted by relevance

/third_party/ninja/src/
Dbuild_log.cc53 const char kFileSignature[] = "# ninja log v%d\n"; variable
199 if (fprintf(log_file_, kFileSignature, kCurrentVersion) < 0) { in OpenForWriteIfNeeded()
277 sscanf(line_start, kFileSignature, &log_version); in Load()
399 if (fprintf(f, kFileSignature, kCurrentVersion) < 0) { in Recompact()
450 if (fprintf(f, kFileSignature, kCurrentVersion) < 0) { in Restat()
Ddeps_log.cc35 const char kFileSignature[] = "# ninjadeps\n"; variable
169 if (!valid_header || strcmp(buf, kFileSignature) != 0 || in Load()
422 if (fwrite(kFileSignature, sizeof(kFileSignature) - 1, 1, file_) < 1) { in OpenForWriteIfNeeded()