Home
last modified time | relevance | path

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

/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/
H A Dlru_cache.cpp151 cJSON *nodeKey = cJSON_CreateObject(); in WriteCacheToJsonValue() local
153 cJSON_AddItemToObject(nodeKey, p.first.c_str(), cJSON_CreateString(p.second.c_str())); in WriteCacheToJsonValue()
155 cJSON_AddItemToObject(nodeKey, LRU_INDEX, cJSON_CreateString(std::to_string(index).c_str())); in WriteCacheToJsonValue()
157 cJSON_AddItemToObject(root, node.key.c_str(), nodeKey); in WriteCacheToJsonValue()
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dlru_cache_disk_handler.cpp147 cJSON *nodeKey = cJSON_CreateObject(); in WriteCacheToJsonValue() local
149 cJSON_AddItemToObject(nodeKey, p.first.c_str(), cJSON_CreateString(p.second.c_str())); in WriteCacheToJsonValue()
151 cJSON_AddItemToObject(nodeKey, LRU_INDEX, cJSON_CreateString(std::to_string(index).c_str())); in WriteCacheToJsonValue()
153 cJSON_AddItemToObject(root, node.key.c_str(), nodeKey); in WriteCacheToJsonValue()
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Dcjson_parser.cpp773 char *nodeKey = reinterpret_cast<char *>(startPos_ + node->pathIndex); in GetValueFromCache() local
774 if ((nodeKey != nullptr) && (!strcmp(key, nodeKey))) { in GetValueFromCache()

Completed in 3 milliseconds