Lines Matching refs:dex
29 // Collection of dex references that is more memory efficient than a vector of <dex, index> pairs.
30 // Also allows quick lookups of all of the references for a single dex.
48 void AddReference(const DexFile* dex, IndexType index) {
49 GetOrInsertVector(dex)->push_back(index);
70 ALWAYS_INLINE IndexVector* GetOrInsertVector(const DexFile* dex) {
71 // Optimize for adding to same vector in succession, the cached dex file and vector aims to
73 if (UNLIKELY(current_dex_file_ != dex)) {
76 current_vector_ = &map_.emplace(dex, IndexVector(vector_allocator_)).first->second;
77 current_dex_file_ = dex;