Home
last modified time | relevance | path

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

/system/core/libbacktrace/
Dbacktrace_offline_test.cpp77 std::vector<uintptr_t>* pc_values) { in OfflineBacktraceFunctionCall() argument
118 pc_values->push_back(backtrace->GetFrame(i)->pc); in OfflineBacktraceFunctionCall()
161 std::vector<uintptr_t> pc_values; in TEST() local
162 OfflineBacktraceFunctionCall(function, &pc_values); in TEST()
163 ASSERT_FALSE(pc_values.empty()); in TEST()
164 ASSERT_LE(pc_values.size(), static_cast<size_t>(MAX_BACKTRACE_FRAMES)); in TEST()
167 for (size_t i = 0; i < pc_values.size(); ++i) { in TEST()
168 if (FunctionNameForAddress(pc_values[i]) == "test_level_one") { in TEST()
175 ASSERT_EQ("test_level_one", FunctionNameForAddress(pc_values[test_one_index])); in TEST()
176 ASSERT_EQ("test_level_two", FunctionNameForAddress(pc_values[test_one_index - 1])); in TEST()
[all …]