Searched refs:entry_file_size (Results 1 – 1 of 1) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | cache_test.cpp | 1195 unsigned int entry_file_size = entry_size; in test_multipart_eviction() local 1196 entry_file_size -= sizeof(struct cache_entry_file_data); in test_multipart_eviction() 1197 entry_file_size -= mesa_cache_db_file_entry_size(); in test_multipart_eviction() 1198 entry_file_size -= cache->driver_keys_blob_size; in test_multipart_eviction() 1199 entry_file_size -= 4 + 8; /* cache_item_metadata size + room for alignment */ in test_multipart_eviction() 1213 memset(blobs[i], i, entry_file_size); in test_multipart_eviction() 1215 disk_cache_compute_key(cache, blobs[i], entry_file_size, keys[i]); in test_multipart_eviction() 1216 disk_cache_put(cache, keys[i], blobs[i], entry_file_size, NULL); in test_multipart_eviction() 1221 EXPECT_EQ(size, entry_file_size) << "disk_cache_get with existent item (size)"; in test_multipart_eviction() 1235 EXPECT_EQ(size, entry_file_size) << "disk_cache_get with existent item (size)"; in test_multipart_eviction() [all …]
|