Home
last modified time | relevance | path

Searched refs:LRU_INDEX (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/
H A Dlru_cache.cpp23 static constexpr const char *LRU_INDEX = "LRUIndex"; variable
155 cJSON_AddItemToObject(nodeKey, LRU_INDEX, cJSON_CreateString(std::to_string(index).c_str())); in WriteCacheToJsonValue()
183 if (m.find(LRU_INDEX) != m.end()) { in ReadCacheFromJsonValue()
188 return std::strtol(a.value[LRU_INDEX].c_str(), nullptr, DECIMAL_BASE) > in ReadCacheFromJsonValue()
189 std::strtol(b.value[LRU_INDEX].c_str(), nullptr, DECIMAL_BASE); in ReadCacheFromJsonValue()
192 node.value.erase(LRU_INDEX); in ReadCacheFromJsonValue()
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dlru_cache_disk_handler.cpp151 cJSON_AddItemToObject(nodeKey, LRU_INDEX, cJSON_CreateString(std::to_string(index).c_str())); in WriteCacheToJsonValue()
179 if (m.find(LRU_INDEX) != m.end()) { in ReadCacheFromJsonValue()
184 return std::strtol(a.value[LRU_INDEX].c_str(), nullptr, DECIMAL_BASE) > in ReadCacheFromJsonValue()
185 std::strtol(b.value[LRU_INDEX].c_str(), nullptr, DECIMAL_BASE); in ReadCacheFromJsonValue()
188 node.value.erase(LRU_INDEX); in ReadCacheFromJsonValue()
/foundation/communication/netstack/frameworks/cj/http/include/
H A Dlru_cache_disk_handler.h27 constexpr const char *LRU_INDEX = "LRUIndex"; member

Completed in 2 milliseconds