Searched refs:num_frames (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/bionic/ |
D | android_unsafe_frame_pointer_chase.cpp | 73 size_t num_frames = 0; in android_unsafe_frame_pointer_chase() local 84 if (num_frames < num_entries) { in android_unsafe_frame_pointer_chase() 89 buf[num_frames] = addr; in android_unsafe_frame_pointer_chase() 91 ++num_frames; in android_unsafe_frame_pointer_chase() 99 return num_frames; in android_unsafe_frame_pointer_chase()
|
/bionic/libc/malloc_debug/ |
D | PointerData.h | 54 size_t num_frames; member 58 if (num_frames != comp.num_frames) return false; 59 for (size_t i = 0; i < num_frames; i++) { 74 size_t max_frames = (key.num_frames > 5) ? 5 : key.num_frames; 140 static size_t AddBacktrace(size_t num_frames, size_t size_bytes); 170 static std::string GetHashString(uintptr_t* frames, size_t num_frames);
|
D | PointerData.cpp | 149 size_t PointerData::AddBacktrace(size_t num_frames, size_t size_bytes) { in AddBacktrace() argument 157 if (!Unwind(&frames, &frames_info, num_frames)) { in AddBacktrace() 161 frames.resize(num_frames); in AddBacktrace() 162 num_frames = backtrace_get(frames.data(), frames.size()); in AddBacktrace() 163 if (num_frames == 0) { in AddBacktrace() 166 frames.resize(num_frames); in AddBacktrace() 169 FrameKeyType key{.num_frames = frames.size(), .frames = frames.data()}; in AddBacktrace() 203 FrameKeyType key{.num_frames = frame_info->frames.size(), .frames = frame_info->frames.data()}; in RemoveBacktrace() 355 size_t num_frames = g_debug->config().free_track_backtrace_num_frames(); in AddFreed() local 356 if (num_frames) { in AddFreed() [all …]
|
D | malloc_debug.h | 55 size_t num_frames; member
|
D | malloc_debug.cpp | 301 size_t num_frames = backtrace_get(frames.data(), frames.size()); in BacktraceAndLog() local 302 if (num_frames == 0) { in BacktraceAndLog() 305 backtrace_log(frames.data(), num_frames); in BacktraceAndLog()
|
/bionic/tests/ |
D | android_unsafe_frame_pointer_chase_test.cpp | 38 static bool CheckFrames(uintptr_t* frames, size_t num_frames) { in CheckFrames() argument 42 if (num_frames < kNumFrames + 2) { in CheckFrames() 43 printf("num_frames (0x%zu) < kNumFrames + 2", num_frames); in CheckFrames()
|
D | execinfo_test.cpp | 57 int num_frames = backtrace(frames.data(), static_cast<int>(frames.size())); in CallTwo() local 58 ASSERT_LT(0, num_frames); in CallTwo() 59 frames.resize(static_cast<size_t>(num_frames)); in CallTwo()
|