Home
last modified time | relevance | path

Searched refs:LRUCacheDiskHandler (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/
H A Dlru_cache_disk_handler.cpp23 LRUCacheDiskHandler::LRUCacheDiskHandler(std::string fileName, size_t capacity) in LRUCacheDiskHandler() function in OHOS::NetStack::Http::LRUCacheDiskHandler
29 void LRUCacheDiskHandler::SetCapacity(size_t capacity) in SetCapacity()
35 void LRUCacheDiskHandler::Delete() in Delete()
41 cJSON* LRUCacheDiskHandler::ReadJsonValueFromFile() in ReadJsonValueFromFile()
52 void LRUCacheDiskHandler::WriteJsonValueToFile(const cJSON *root) in WriteJsonValueToFile()
64 void LRUCacheDiskHandler::WriteCacheToJsonFile() in WriteCacheToJsonFile()
77 void LRUCacheDiskHandler::ReadCacheFromJsonFile() in ReadCacheFromJsonFile()
84 std::unordered_map<std::string, std::string> LRUCacheDiskHandler::Get(const std::string &key) in Get()
100 void LRUCacheDiskHandler
[all...]
/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/include/
H A Dlru_cache_disk_handler.h28 class LRUCacheDiskHandler { class
30 LRUCacheDiskHandler() = delete;
32 LRUCacheDiskHandler(std::string fileName, size_t capacity);
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dlru_cache_disk_handler.cpp235 LRUCacheDiskHandler::LRUCacheDiskHandler(std::string fileName, size_t capacity) in LRUCacheDiskHandler() function in OHOS::NetStack::Http::LRUCacheDiskHandler
241 void LRUCacheDiskHandler::SetCapacity(size_t capacity) in SetCapacity()
247 void LRUCacheDiskHandler::Delete() in Delete()
253 cJSON* LRUCacheDiskHandler::ReadJsonValueFromFile() in ReadJsonValueFromFile()
264 void LRUCacheDiskHandler::WriteJsonValueToFile(const cJSON *root) in WriteJsonValueToFile()
276 void LRUCacheDiskHandler::WriteCacheToJsonFile() in WriteCacheToJsonFile()
289 void LRUCacheDiskHandler::ReadCacheFromJsonFile() in ReadCacheFromJsonFile()
296 std::unordered_map<std::string, std::string> LRUCacheDiskHandler::Get(const std::string &key) in Get()
312 void LRUCacheDiskHandler
[all...]
H A Dnet_http_cache_proxy.cpp37 static LRUCacheDiskHandler g_cjDiskLruCache(CACHE_FILE, 0); // NOLINT(cert-err58-cpp)
/foundation/communication/netstack/frameworks/cj/http/include/
H A Dlru_cache_disk_handler.h93 class LRUCacheDiskHandler { class
95 LRUCacheDiskHandler() = delete;
97 LRUCacheDiskHandler(std::string fileName, size_t capacity);
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_proxy/src/
H A Dcache_proxy.cpp45 static LRUCacheDiskHandler DISK_LRU_CACHE(CACHE_FILE, 0); // NOLINT(cert-err58-cpp)

Completed in 2 milliseconds