Searched refs:sHeaderSize (Results 1 – 1 of 1) sorted by relevance
39 constexpr int32_t sHeaderSize = 4; variable40 static_assert(sizeof(sCurrentFileVersion) == sHeaderSize, "Header size is wrong");119 if (fstat(fd, &sb) || sb.st_size < sHeaderSize) { in parseFromFile()146 void* data = reinterpret_cast<uint8_t*>(addr) + sHeaderSize; in parseFromFile()147 int dataSize = sb.st_size - sHeaderSize; in parseFromFile()288 int wrote = write(outFd, &sCurrentFileVersion, sHeaderSize); in saveBuffer()289 if (wrote != sHeaderSize) { in saveBuffer()