Lines Matching refs:ptrs
45 void** ptrs = nullptr; member
60 void* ptr = trace_data->ptrs[i]; in FreePtrs()
63 trace_data->ptrs[i] = nullptr; in FreePtrs()
69 if (trace_data->ptrs == nullptr) { in FreeTraceData()
73 munmap(trace_data->ptrs, sizeof(void*) * trace_data->num_ptrs); in FreeTraceData()
147 trace_data->ptrs = reinterpret_cast<void**>(map); in GetTraceData()
156 void** ptrs = trace_data->ptrs; in RunTrace() local
170 if (ptrs[entry.ptr] != nullptr) { in RunTrace()
173 ptrs[entry.ptr] = ptr; in RunTrace()
185 if (ptrs[entry.ptr] != nullptr) { in RunTrace()
188 ptrs[entry.ptr] = ptr; in RunTrace()
200 if (ptrs[entry.ptr] != nullptr) { in RunTrace()
203 ptrs[entry.ptr] = ptr; in RunTrace()
211 ptr = realloc(ptrs[entry.u.old_ptr - 1], entry.size); in RunTrace()
212 ptrs[entry.u.old_ptr - 1] = nullptr; in RunTrace()
222 if (ptrs[entry.ptr] != nullptr) { in RunTrace()
225 ptrs[entry.ptr] = ptr; in RunTrace()
230 ptr = ptrs[entry.ptr - 1]; in RunTrace()
231 ptrs[entry.ptr - 1] = nullptr; in RunTrace()