Searched defs:sp (Results 1 - 23 of 23) sorted by relevance

/system/core/libunwindstack/include/unwindstack/
H A DUserArm64.h36 uint64_t sp; member in struct:unwindstack::arm64_user_regs
H A DUnwinder.h45 uint64_t sp; member in struct:unwindstack::FrameData
/system/core/libpixelflinger/codeflinger/tinyutils/
H A Dsmartpointer.h31 inline bool operator _op_ (const sp<T>& o) const { \
38 inline bool operator _op_ (const sp<U>& o) const { \
49 class sp class in namespace:android::tinyutils
52 inline sp() : m_ptr(0) { } function in class:android::tinyutils::sp
54 sp(T* other); // NOLINT, implicit
55 sp(const sp<T>& other);
56 template<typename U> sp(U* other); // NOLINT, implicit
57 template<typename U> sp(const sp<
104 sp<T>::sp(const sp<T>& other) function in class:android::tinyutils::sp
111 sp<T>::sp(U* other) : m_ptr(other) function in class:android::tinyutils::sp
117 sp<T>::sp(const sp<U>& other) function in class:android::tinyutils::sp
[all...]
/system/core/include/utils/
H A DStrongPointer.h28 inline bool operator _op_ (const sp<T>& o) const { \
35 inline bool operator _op_ (const sp<U>& o) const { \
53 class sp { class in namespace:android
55 inline sp() : m_ptr(0) { } function in class:android::sp
57 sp(T* other); // NOLINT(implicit)
58 sp(const sp<T>& other);
59 sp(sp<T>&& other);
60 template<typename U> sp(
122 sp<T>::sp(const sp<T>& other) function in class:android::sp
129 sp<T>::sp(sp<T>&& other) function in class:android::sp
135 sp<T>::sp(U* other) function in class:android::sp
142 sp<T>::sp(const sp<U>& other) function in class:android::sp
149 sp<T>::sp(sp<U>&& other) function in class:android::sp
[all...]
/system/core/libutils/include/utils/
H A DStrongPointer.h28 inline bool operator _op_ (const sp<T>& o) const { \
35 inline bool operator _op_ (const sp<U>& o) const { \
53 class sp { class in namespace:android
55 inline sp() : m_ptr(0) { } function in class:android::sp
57 sp(T* other); // NOLINT(implicit)
58 sp(const sp<T>& other);
59 sp(sp<T>&& other);
60 template<typename U> sp(
122 sp<T>::sp(const sp<T>& other) function in class:android::sp
129 sp<T>::sp(sp<T>&& other) function in class:android::sp
135 sp<T>::sp(U* other) function in class:android::sp
142 sp<T>::sp(const sp<U>& other) function in class:android::sp
149 sp<T>::sp(sp<U>&& other) function in class:android::sp
[all...]
/system/core/libunwindstack/
H A DRegsArm64.cpp42 uint64_t RegsArm64::sp() { function in class:unwindstack::RegsArm64
50 void RegsArm64::set_sp(uint64_t sp) { argument
51 regs_[ARM64_REG_SP] = sp;
102 fn("sp", regs_[ARM64_REG_SP]);
114 reg_data[ARM64_REG_SP] = user->sp;
H A DRegsMips64.cpp42 uint64_t RegsMips64::sp() { function in class:unwindstack::RegsMips64
50 void RegsMips64::set_sp(uint64_t sp) { argument
51 regs_[MIPS64_REG_SP] = sp;
102 fn("sp", regs_[MIPS64_REG_SP]);
149 uint64_t sp = regs_[MIPS64_REG_SP]; local
150 if (!process_memory->Read(sp + 24 + 128 + 40, regs_.data(),
157 if (!process_memory->Read(sp + 24 + 128 + 40 + 576, &regs_[MIPS64_REG_PC], sizeof(uint64_t))) {
H A DRegsArm.cpp41 uint64_t RegsArm::sp() { function in class:unwindstack::RegsArm
49 void RegsArm::set_sp(uint64_t sp) { argument
50 regs_[ARM_REG_SP] = sp;
108 fn("sp", regs_[ARM_REG_SP]);
140 uint64_t sp = regs_[ARM_REG_SP]; local
154 if (!process_memory->ReadFully(sp, &data, sizeof(data))) {
159 offset = sp + 0x14 + 0xc;
162 offset = sp + 0xc;
165 uint64_t sp = regs_[ARM_REG_SP]; local
179 if (!process_memory->ReadFully(sp,
[all...]
H A DRegsMips.cpp42 uint64_t RegsMips::sp() { function in class:unwindstack::RegsMips
50 void RegsMips::set_sp(uint64_t sp) { argument
51 regs_[MIPS_REG_SP] = static_cast<uint32_t>(sp);
102 fn("sp", regs_[MIPS_REG_SP]);
H A DRegsX86.cpp41 uint64_t RegsX86::sp() { function in class:unwindstack::RegsX86
49 void RegsX86::set_sp(uint64_t sp) { argument
50 regs_[X86_REG_SP] = static_cast<uint32_t>(sp);
H A DRegsX86_64.cpp41 uint64_t RegsX86_64::sp() { function in class:unwindstack::RegsX86_64
49 void RegsX86_64::set_sp(uint64_t sp) { argument
50 regs_[X86_64_REG_SP] = sp;
161 // sp points to the ucontext data structure, read only the mcontext part.
/system/extras/simpleperf/
H A DCallChainJoiner_test.cpp42 std::vector<uint64_t> sp = {0x1}; local
43 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp));
44 ASSERT_TRUE(JoinCallChain(cache, 1, ip, sp, ip, sp));
47 ASSERT_NE(cache.FindNode(0, ip[0], sp[0]), nullptr);
48 ASSERT_NE(cache.FindNode(1, ip[0], sp[0]), nullptr);
52 ASSERT_TRUE(JoinCallChain(cache, 0, ip2, sp, ip2, sp));
55 ASSERT_EQ(cache.FindNode(0, ip[0], sp[
100 std::vector<uint64_t> sp = {1, 1}; local
112 std::vector<uint64_t> sp; local
135 std::vector<uint64_t> sp = {1, 2, 3, 4}; local
[all...]
H A DCallChainJoiner.cpp53 // 2. Check if the (tid, ip, sp) tuples of the top [matched_node_count_to_extend_callchain]
78 if (top->sp == chain.back()->sp) {
83 for (auto it = chain.rbegin(); it != chain.rend() && (*it)->sp == top->sp; ++it) {
97 sps.push_back(top->sp);
105 return n1->tid == n2->tid && n1->ip == n2->ip && n1->sp == n2->sp;
112 CacheNode* LRUCache::GetNode(uint32_t tid, uint64_t ip, uint64_t sp) { argument
113 CacheNode* node = FindNode(tid, ip, sp);
[all...]
H A DCallChainJoiner.h31 // Each node represents a function in a call chain, having a tuple info (tid, ip, sp).
35 uint64_t sp; member in struct:simpleperf::call_chain_joiner_impl::CacheNode
62 // LRUCache caches call chains in memory, and supports extending a call chain if the (tid, ip, sp)
79 CacheNode* FindNode(uint32_t tid, uint64_t ip, uint64_t sp) { argument
83 key.sp = sp;
125 CacheNode* GetNode(uint32_t tid, uint64_t ip, uint64_t sp);
139 // sample 1: (ip A, sp A) -> (ip B, sp B) -> (ip C, sp
[all...]
/system/bt/embdrv/g722/
H A Dg722_enc_dec.h71 int sp; member in struct:__anon622
/system/core/libunwindstack/tools/
H A Dunwind_for_offline.cpp209 uint64_t sp = regs->sp(); local
219 unwindstack::MapInfo* map_info = maps.Find(sp);
221 stacks.emplace_back(std::make_pair(sp, map_info->end));
226 map_info = maps.Find(frame.sp);
228 stacks.emplace_back(std::make_pair(frame.sp, map_info->end));
/system/core/include/backtrace/
H A DBacktrace.h65 // Unwind information stopped due to sp/pc repeating.
86 uint64_t sp; // The top of the stack. member in struct:backtrace_frame_data_t
/system/core/libbacktrace/include/backtrace/
H A DBacktrace.h65 // Unwind information stopped due to sp/pc repeating.
86 uint64_t sp; // The top of the stack. member in struct:backtrace_frame_data_t
/system/core/libmemunreachable/
H A DThreadCapture.cpp228 const int sp = local
236 offsetof(struct user_pt_regs, sp) / sizeof(uintptr_t)
246 thread_info.stack = std::pair<uintptr_t, uintptr_t>(regs[sp], 0);
/system/core/libunwindstack/tests/
H A DElfFake.h36 StepData(uint64_t pc, uint64_t sp, bool finished) : pc(pc), sp(sp), finished(finished) {} argument
38 uint64_t sp; member in struct:unwindstack::StepData
/system/libhidl/base/include/hidl/
H A DStatus.h215 template<typename T> class Return<sp<T>> : public details::return_status {
217 sp<T> mVal {};
219 Return(sp<T> v) : details::return_status(), mVal{v} {}
222 template<typename U> Return(sp<U> v) : details::return_status(), mVal{v} {}
234 operator sp<T>() const {
239 sp<T> withDefault(sp<T> t) {
/system/core/debuggerd/libdebuggerd/
H A Dtombstone.cpp132 uint64_t* sp, size_t words, int label) {
136 // TODO: Do we need to word align this for crashes caused by a misaligned sp?
138 size_t bytes_read = process_memory->Read(*sp, stack_data, sizeof(word_t) * words);
149 line += StringPrintf("%" PRIPTR " %" PRIPTR, *sp, static_cast<uint64_t>(stack_data[i]));
168 *sp += sizeof(word_t);
177 if (frame.sp) {
191 uint64_t sp = frames[first].sp - STACK_WORDS * sizeof(word_t); local
192 dump_stack_segment(log, backtrace_map, process_memory, &sp, STACK_WORDS, -1);
198 if (sp !
131 dump_stack_segment(log_t* log, BacktraceMap* backtrace_map, Memory* process_memory, uint64_t* sp, size_t words, int label) argument
[all...]
/system/core/libbacktrace/
H A Dbacktrace_test.cpp325 EXPECT_EQ(bt_ign2->GetFrame(i)->sp, bt_ign1->GetFrame(i+1)->sp);
329 EXPECT_EQ(bt_ign2->GetFrame(i)->sp, bt_all->GetFrame(i+2)->sp);
809 frame.sp = 0;
1500 static void SetUcontextSp(uint64_t sp, ucontext_t* ucontext) { argument
1502 ucontext->uc_mcontext.arm_sp = sp;
1504 ucontext->uc_mcontext.sp = sp;
1506 ucontext->uc_mcontext.gregs[REG_ESP] = sp;
[all...]

Completed in 3411 milliseconds