Home | History | Annotate | Download | only in EGL

Lines Matching full:blobcache

19 #include "BlobCache.h"
29 // BlobCache::Header::mMagicNumber value
32 // BlobCache::Header::mBlobCacheVersion value
35 // BlobCache::Header::mDeviceVersion value
38 BlobCache::BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize):
54 void BlobCache::set(const void* key, size_t keySize, const void* value,
133 size_t BlobCache::get(const void* key, size_t keySize, void* value,
166 size_t BlobCache::getFlattenedSize() const {
176 int BlobCache::flatten(void* buffer, size_t size) const {
226 int BlobCache::unflatten(void const* buffer, size_t size) {
227 // All errors should result in the BlobCache being in an empty state.
283 long int BlobCache::blob_random() {
291 void BlobCache::clean() {
302 bool BlobCache::isCleanable() const {
306 BlobCache::Blob::Blob(const void* data, size_t size, bool copyData) :
315 BlobCache::Blob::~Blob() {
321 bool BlobCache::Blob::operator<(const Blob& rhs) const {
329 const void* BlobCache::Blob::getData() const {
333 size_t BlobCache::Blob::getSize() const {
337 BlobCache::CacheEntry::CacheEntry() {
340 BlobCache::CacheEntry::CacheEntry(
346 BlobCache::CacheEntry::CacheEntry(const CacheEntry& ce):
351 bool BlobCache::CacheEntry::operator<(const CacheEntry& rhs) const {
355 const BlobCache::CacheEntry& BlobCache::CacheEntry::operator=(const CacheEntry& rhs) {
361 std::shared_ptr<BlobCache::Blob> BlobCache::CacheEntry::getKey() const {
365 std::shared_ptr<BlobCache::Blob> BlobCache::CacheEntry::getValue() const {
369 void BlobCache::CacheEntry::setValue(const std::shared_ptr<Blob>& value) {