Searched refs:MAX_VALUE_SIZE (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache_test.cpp | 40 MAX_VALUE_SIZE = 8, enumerator 45 mBC.reset(new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE)); in SetUp() 115 unsigned char buf[MAX_VALUE_SIZE+1] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() 117 mBC->set("abcd", 4, buf, MAX_VALUE_SIZE+1); in TEST_F() 140 char buf[MAX_VALUE_SIZE+1]; in TEST_F() 141 for (int i = 0; i < MAX_VALUE_SIZE+1; i++) { in TEST_F() 144 mBC->set("abcd", 4, buf, MAX_VALUE_SIZE+1); in TEST_F() 145 for (int i = 0; i < MAX_VALUE_SIZE+1; i++) { in TEST_F() 148 ASSERT_EQ(size_t(0), mBC->get("abcd", 4, buf, MAX_VALUE_SIZE+1)); in TEST_F() 149 for (int i = 0; i < MAX_VALUE_SIZE+1; i++) { in TEST_F() [all …]
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache_test.cpp | 44 MAX_VALUE_SIZE = 8, enumerator 49 mBC.reset(new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE, GetParam())); in SetUp() 164 unsigned char buf[MAX_VALUE_SIZE+1] = { 0xee, 0xee, 0xee, 0xee }; in TEST_P() 166 mBC->set("abcd", 4, buf, MAX_VALUE_SIZE+1); in TEST_P() 206 unsigned char buf[MAX_VALUE_SIZE+1]; in TEST_P() 207 for (int i = 0; i < MAX_VALUE_SIZE+1; i++) { in TEST_P() 210 mBC->set("abcd", 4, buf, MAX_VALUE_SIZE+1); in TEST_P() 211 for (int i = 0; i < MAX_VALUE_SIZE+1; i++) { in TEST_P() 214 ASSERT_EQ(size_t(0), mBC->get("abcd", 4, buf, MAX_VALUE_SIZE+1)); in TEST_P() 215 for (int i = 0; i < MAX_VALUE_SIZE+1; i++) { in TEST_P() [all …]
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache_test.cpp | 113 MAX_VALUE_SIZE = 8, in TEST_P() enumerator 117 mCache->initialize(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE, GetParam()); in TEST_P() 126 const int bigValueSize = std::min((MAX_TOTAL_SIZE * 3) / 4 - 1, int(MAX_VALUE_SIZE)); in TEST_P() 129 unsigned char buf[MAX_VALUE_SIZE]; in TEST_P()
|