Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/
DPointerData.cpp170 size_t hash_index; in AddBacktrace() local
174 hash_index = cur_hash_index_++; in AddBacktrace()
176 key_to_index_.emplace(key, hash_index); in AddBacktrace()
178 frames_.emplace(hash_index, FrameInfoType{.references = 1, .frames = std::move(frames)}); in AddBacktrace()
180 backtraces_info_.emplace(hash_index, std::move(frames_info)); in AddBacktrace()
183 hash_index = entry->second; in AddBacktrace()
184 FrameInfoType* frame_info = &frames_[hash_index]; in AddBacktrace()
187 return hash_index; in AddBacktrace()
190 void PointerData::RemoveBacktrace(size_t hash_index) { in RemoveBacktrace() argument
191 if (hash_index <= kBacktraceEmptyIndex) { in RemoveBacktrace()
[all …]
DPointerData.h90 size_t hash_index;
104 size_t hash_index;
141 static void RemoveBacktrace(size_t hash_index);
171 static void LogBacktrace(size_t hash_index);