Searched refs:nodeKey (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/ |
H A D | lru_cache.cpp | 151 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()
|
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | lru_cache_disk_handler.cpp | 147 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()
|
/ohos5.0/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
H A D | selinux_map.c | 69 static HashNode *GetHashNodeByNode(HashNode *root, const HashNode *nodeKey) in GetHashNodeByNode() argument 72 int ret = GroupNodeNodeCompare(root, nodeKey); in GetHashNodeByNode()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | cjson_parser.cpp | 774 char *nodeKey = reinterpret_cast<char *>(startPos_ + node->pathIndex); in GetValueFromCache() local 775 if ((nodeKey != nullptr) && (!strcmp(key, nodeKey))) { in GetValueFromCache()
|