Searched refs:MultifileHeader (Results 1 – 2 of 2) sorted by relevance
108 mHotCacheLimit = mMaxKeySize + mMaxValueSize + sizeof(MultifileHeader); in MultifileBlobCache()181 MultifileHeader header; in MultifileBlobCache()182 size_t result = read(fd, static_cast<void*>(&header), sizeof(MultifileHeader)); in MultifileBlobCache()183 if (result != sizeof(MultifileHeader)) { in MultifileBlobCache()218 crc32c(mappedEntry + sizeof(MultifileHeader), in MultifileBlobCache()219 fileSize - sizeof(MultifileHeader))) { in MultifileBlobCache()321 size_t fileSize = sizeof(MultifileHeader) + keySize + valueSize; in set()334 android::MultifileHeader header = {kMultifileMagic, kCrcPlaceholder, keySize, valueSize}; in set()336 sizeof(android::MultifileHeader)); in set()338 memcpy(static_cast<void*>(buffer + sizeof(MultifileHeader)), static_cast<const void*>(key), in set()[all …]
40 struct MultifileHeader { struct