Home
last modified time | relevance | path

Searched refs:num_frames (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/bionic/
Dandroid_unsafe_frame_pointer_chase.cpp73 size_t num_frames = 0; in android_unsafe_frame_pointer_chase() local
76 if (num_frames < num_entries) { in android_unsafe_frame_pointer_chase()
77 buf[num_frames] = __bionic_clear_pac_bits(frame->return_addr); in android_unsafe_frame_pointer_chase()
79 ++num_frames; in android_unsafe_frame_pointer_chase()
87 return num_frames; in android_unsafe_frame_pointer_chase()
/bionic/libc/malloc_debug/
DPointerData.h53 size_t num_frames; member
57 if (num_frames != comp.num_frames) return false;
58 for (size_t i = 0; i < num_frames; i++) {
73 size_t max_frames = (key.num_frames > 5) ? 5 : key.num_frames;
137 static size_t AddBacktrace(size_t num_frames);
165 static std::string GetHashString(uintptr_t* frames, size_t num_frames);
DPointerData.cpp137 size_t PointerData::AddBacktrace(size_t num_frames) { in AddBacktrace() argument
141 if (!Unwind(&frames, &frames_info, num_frames)) { in AddBacktrace()
145 frames.resize(num_frames); in AddBacktrace()
146 num_frames = backtrace_get(frames.data(), frames.size()); in AddBacktrace()
147 if (num_frames == 0) { in AddBacktrace()
152 FrameKeyType key{.num_frames = num_frames, .frames = frames.data()}; in AddBacktrace()
157 frames.resize(num_frames); in AddBacktrace()
187 FrameKeyType key{.num_frames = frame_info->frames.size(), .frames = frame_info->frames.data()}; in RemoveBacktrace()
338 size_t num_frames = g_debug->config().free_track_backtrace_num_frames(); in AddFreed() local
339 if (num_frames) { in AddFreed()
[all …]
Dmalloc_debug.h55 size_t num_frames; member
/bionic/tests/
Dandroid_unsafe_frame_pointer_chase_test.cpp38 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()