Lines Matching refs:EncodeKey
27 static std::string EncodeKey(int k) { in EncodeKey() function
108 Cache::Handle* handle = cache->Lookup(EncodeKey(key)); in Lookup()
118 cache->Insert(EncodeKey(key), EncodeValue(value), charge, &deleter_); in Insert()
122 cache->Erase(EncodeKey(key)); in Erase()
330 Cache::Handle* h1 = cache_->Lookup(EncodeKey(100)); in TEST_P()
335 Cache::Handle* h2 = cache_->Lookup(EncodeKey(100)); in TEST_P()
373 Cache::Handle* h = cache_->Lookup(EncodeKey(100)); in TEST_P()
406 Cache::Handle* h201 = cache_->Lookup(EncodeKey(200)); in TEST_P()
407 Cache::Handle* h202 = cache_->Lookup(EncodeKey(201)); in TEST_P()
408 Cache::Handle* h203 = cache_->Lookup(EncodeKey(202)); in TEST_P()
409 Cache::Handle* h204 = cache_->Lookup(EncodeKey(203)); in TEST_P()
475 Cache::Handle* h1 = cache_->Lookup(EncodeKey(100)); in TEST_P()
476 Cache::Handle* h2 = cache_->Lookup(EncodeKey(100)); in TEST_P()
539 cache->Insert(EncodeKey(100), EncodeValue(100), 1, &deleter_, &handle); in TEST_P()
554 cache->Insert(EncodeKey(100), EncodeValue(100), 1, &deleter_, &handle); in TEST_P()
759 Cache::Handle* h1 = cache_->Lookup(EncodeKey(1)); in TEST_P()