Searched refs:MAX_KEY_SIZE (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache_test.cpp | 39 MAX_KEY_SIZE = 6, enumerator 45 mBC.reset(new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE)); in SetUp() 126 char key[MAX_KEY_SIZE+1]; in TEST_F() 128 for (int i = 0; i < MAX_KEY_SIZE+1; i++) { in TEST_F() 131 mBC->set(key, MAX_KEY_SIZE+1, "bbbb", 4); in TEST_F() 132 ASSERT_EQ(size_t(0), mBC->get(key, MAX_KEY_SIZE+1, buf, 4)); in TEST_F() 157 ASSERT_TRUE(MAX_TOTAL_SIZE < MAX_KEY_SIZE + MAX_VALUE_SIZE); in TEST_F() 158 ASSERT_TRUE(MAX_KEY_SIZE < MAX_TOTAL_SIZE); in TEST_F() 160 enum { bufSize = MAX_TOTAL_SIZE - MAX_KEY_SIZE + 1 }; in TEST_F() 162 char key[MAX_KEY_SIZE]; in TEST_F() [all …]
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache_test.cpp | 43 MAX_KEY_SIZE = 6, enumerator 49 mBC.reset(new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE, GetParam())); in SetUp() 175 char key[MAX_KEY_SIZE+1]; in TEST_P() 177 for (int i = 0; i < MAX_KEY_SIZE+1; i++) { in TEST_P() 180 mBC->set(key, MAX_KEY_SIZE+1, "bbbb", 4); in TEST_P() 182 ASSERT_EQ(size_t(0), mBC->get(key, MAX_KEY_SIZE+1, buf, 4)); in TEST_P() 193 ASSERT_EQ(size_t(0), mBC->get(key, MAX_KEY_SIZE+1, &bufPtr, in TEST_P() 223 ASSERT_TRUE(MAX_TOTAL_SIZE < MAX_KEY_SIZE + MAX_VALUE_SIZE); in TEST_P() 224 ASSERT_TRUE(MAX_KEY_SIZE < MAX_TOTAL_SIZE); in TEST_P() 226 enum { bufSize = MAX_TOTAL_SIZE - MAX_KEY_SIZE + 1 }; in TEST_P() [all …]
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache_test.cpp | 112 MAX_KEY_SIZE = 6, in TEST_P() enumerator 117 mCache->initialize(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE, GetParam()); in TEST_P()
|