Home
last modified time | relevance | path

Searched refs:hash_index (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/malloc_debug/
DPointerData.cpp153 size_t hash_index; in AddBacktrace() local
158 hash_index = cur_hash_index_++; in AddBacktrace()
160 key_to_index_.emplace(key, hash_index); in AddBacktrace()
162 frames_.emplace(hash_index, FrameInfoType{.references = 1, .frames = std::move(frames)}); in AddBacktrace()
164 backtraces_info_.emplace(hash_index, std::move(frames_info)); in AddBacktrace()
167 hash_index = entry->second; in AddBacktrace()
168 FrameInfoType* frame_info = &frames_[hash_index]; in AddBacktrace()
171 return hash_index; in AddBacktrace()
174 void PointerData::RemoveBacktrace(size_t hash_index) { in RemoveBacktrace() argument
175 if (hash_index <= kBacktraceEmptyIndex) { in RemoveBacktrace()
[all …]
DPointerData.h89 size_t hash_index;
103 size_t hash_index;
138 static void RemoveBacktrace(size_t hash_index);
166 static void LogBacktrace(size_t hash_index);