Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/
DPointerData.cpp154 size_t hash_index; in AddBacktrace() local
159 hash_index = cur_hash_index_++; in AddBacktrace()
161 key_to_index_.emplace(key, hash_index); in AddBacktrace()
163 frames_.emplace(hash_index, FrameInfoType{.references = 1, .frames = std::move(frames)}); in AddBacktrace()
165 backtraces_info_.emplace(hash_index, std::move(frames_info)); in AddBacktrace()
168 hash_index = entry->second; in AddBacktrace()
169 FrameInfoType* frame_info = &frames_[hash_index]; in AddBacktrace()
172 return hash_index; in AddBacktrace()
175 void PointerData::RemoveBacktrace(size_t hash_index) { in RemoveBacktrace() argument
176 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);