Home
last modified time | relevance | path

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

/third_party/ninja/src/
Dbuild_log.cc55 const char kFileSignature[] = "# ninja log v%d\n"; variable
203 if (fprintf(log_file_, kFileSignature, kCurrentVersion) < 0) { in OpenForWriteIfNeeded()
280 sscanf(line_start, kFileSignature, &log_version); in Load()
402 if (fprintf(f, kFileSignature, kCurrentVersion) < 0) { in Recompact()
453 if (fprintf(f, kFileSignature, kCurrentVersion) < 0) { in Restat()
Ddeps_log.cc37 const char kFileSignature[] = "# ninjadeps\n"; variable
171 if (!valid_header || strcmp(buf, kFileSignature) != 0 || in Load()
439 if (fwrite(kFileSignature, sizeof(kFileSignature) - 1, 1, file_) < 1) { in OpenForWriteIfNeeded()