Searched refs:CacheItem (Results 1 – 2 of 2) sorted by relevance
155 struct CacheItem { struct in libunwind::UnwindInfoSectionsCache156 CacheItem(UnwindInfoSections &uis, uintptr_t pc) in CacheItem() argument159 CacheItem(uintptr_t pc) in CacheItem() argument166 RB_ENTRY(CacheItem) entry;171 int CacheCmp(struct CacheItem *c1, struct CacheItem *c2) { in CacheCmp()184 struct CacheItem find(key), *res; in getUnwindInfoSectionsForPC()199 CacheItem *p_item(new CacheItem(uis, key)); in setUnwindInfoSectionsForPC()204 CacheItem *m_prev_req_item = nullptr;205 RB_HEAD(CacheTree, CacheItem) m_head;206 RB_GENERATE(CacheTree, CacheItem, entry, CacheCmp);
110 for (auto &CacheItem : CacheMap) { in readBytes() local114 if (CacheItem.first == Offset) in readBytes()118 if (CacheItem.first >= Offset + Size) in readBytes()123 if (CacheItem.second.empty()) in readBytes()126 auto CachedAlloc = CacheItem.second.back(); in readBytes()130 std::make_pair(CacheItem.first, CacheItem.first + CachedAlloc.size()); in readBytes()