Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/tests/
Dcache_test.cpp595 int size_small = 256; in test_put_and_get_between_instances_with_eviction() local
596 size_small -= sizeof(struct cache_entry_file_data); in test_put_and_get_between_instances_with_eviction()
597 size_small -= mesa_cache_db_file_entry_size(); in test_put_and_get_between_instances_with_eviction()
598 size_small -= cache[1]->driver_keys_blob_size; in test_put_and_get_between_instances_with_eviction()
599 size_small -= 4 + 8; /* cache_item_metadata size + room for alignment */ in test_put_and_get_between_instances_with_eviction()
602 small = (uint8_t *) malloc(size_small); in test_put_and_get_between_instances_with_eviction()
603 memset(small, i, size_small); in test_put_and_get_between_instances_with_eviction()
605 disk_cache_compute_key(cache[1], small, size_small, small_key[i]); in test_put_and_get_between_instances_with_eviction()
606 disk_cache_put(cache[1], small_key[i], small, size_small, NULL); in test_put_and_get_between_instances_with_eviction()
630 EXPECT_EQ(size, size_small) << "disk_cache_get of existing item (size)"; in test_put_and_get_between_instances_with_eviction()
[all …]