Home
last modified time | relevance | path

Searched refs:nodeCache_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/factories/
H A Drender_node_factory.cpp24 for (auto it = nodeCache_.begin(); it != nodeCache_.end(); ++it) { in ~RenderNodeFactory()
27 nodeCache_.clear(); in ~RenderNodeFactory()
37 if (USE_CACHE && nodeCache_.size() < cacheSize_) { in Recycle()
38 nodeCache_.emplace_back(node); in Recycle()
46 if (!nodeCache_.empty()) { in GetNodeFromCache()
47 auto node = *(nodeCache_.rbegin()); in GetNodeFromCache()
48 nodeCache_.pop_back(); in GetNodeFromCache()
H A Drender_node_factory.h43 std::vector<RenderNode*> nodeCache_; variable
/ohos5.0/foundation/arkui/ui_lite/frameworks/font/
H A Dglyphs_cache.cpp24 : nodeCache_(nullptr), in GlyphsCache()
48nodeCache_ = reinterpret_cast<CacheType*>(FontRamAllocator::GetInstance().DynamicAllocate(sizeof(C… in CacheInit()
49 if (nodeCache_ == nullptr) { in CacheInit()
54 if (memset_s(nodeCache_, sizeof(CacheType), 0, sizeof(CacheType)) != EOK) { in CacheInit()
79 GlyphCacheNode* p = &((*nodeCache_)[font][uc][i]); in GetNodeFromCache()
99 GlyphCacheNode* node = &((*nodeCache_)[font][uc][i]); in GetNodeCacheSpace()
H A Dglyphs_cache.h59 CacheType* nodeCache_; variable