Home
last modified time | relevance | path

Searched refs:expected_num_frames (Results 1 – 4 of 4) sorted by relevance

/system/unwinding/libunwindstack/tests/
DUnwindOfflineTest.cpp83 size_t expected_num_frames; in ConsecutiveUnwindTest() local
84 if (!offline_utils_.GetExpectedNumFrames(&expected_num_frames, &error_msg, sample_name)) in ConsecutiveUnwindTest()
91 ASSERT_EQ(expected_num_frames, unwinder.NumFrames()) << "Unwind:\n" << actual_frame_info; in ConsecutiveUnwindTest()
121 size_t expected_num_frames; in TEST_F() local
122 if (!offline_utils_.GetExpectedNumFrames(&expected_num_frames, &error_msg)) FAIL() << error_msg; in TEST_F()
127 ASSERT_EQ(expected_num_frames, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
144 ASSERT_EQ(expected_num_frames, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
165 size_t expected_num_frames; in TEST_F() local
166 if (!offline_utils_.GetExpectedNumFrames(&expected_num_frames, &error_msg)) FAIL() << error_msg; in TEST_F()
171 ASSERT_EQ(expected_num_frames, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
[all …]
/system/unwinding/libunwindstack/benchmarks/
DOfflineUnwindBenchmarks.cpp147 size_t expected_num_frames; in BenchmarkOfflineUnwindMultipleSamples() local
148 if (!offline_utils_.GetExpectedNumFrames(&expected_num_frames, &error_msg, sample_name)) { in BenchmarkOfflineUnwindMultipleSamples()
152 if (unwinder.NumFrames() != expected_num_frames) { in BenchmarkOfflineUnwindMultipleSamples()
155 << expected_num_frames << " frames, but unwinder contained " in BenchmarkOfflineUnwindMultipleSamples()
/system/unwinding/libunwindstack/utils/
DOfflineUnwindUtils.h148 bool GetExpectedNumFrames(size_t* expected_num_frames, std::string* error_msg,
DOfflineUnwindUtils.cpp304 bool OfflineUnwindUtils::GetExpectedNumFrames(size_t* expected_num_frames, std::string* error_msg, in GetExpectedNumFrames() argument
325 *expected_num_frames = in GetExpectedNumFrames()