Home
last modified time | relevance | path

Searched refs:pc (Results 1 – 25 of 26) sorted by relevance

12

/system/core/include/backtrace/
DBacktraceMap.h56 int GetFlags(uintptr_t pc) { in GetFlags() argument
57 const backtrace_map_t* map = Find(pc); in GetFlags()
64 bool IsReadable(uintptr_t pc) { return GetFlags(pc) & PROT_READ; } in IsReadable() argument
65 bool IsWritable(uintptr_t pc) { return GetFlags(pc) & PROT_WRITE; } in IsWritable() argument
66 bool IsExecutable(uintptr_t pc) { return GetFlags(pc) & PROT_EXEC; } in IsExecutable() argument
DBacktrace.h39 uintptr_t pc; // The absolute pc. member
79 virtual std::string GetFunctionName(uintptr_t pc, uintptr_t* offset);
82 virtual const backtrace_map_t* FindMap(uintptr_t pc);
/system/core/include/private/
Dandroid_filesystem_config.h275 const struct fs_path_config *pc; in fs_config() local
282 pc = dir ? android_dirs : android_files; in fs_config()
284 for(; pc->prefix; pc++){ in fs_config()
285 int len = strlen(pc->prefix); in fs_config()
288 if(!strncmp(pc->prefix, path, len)) break; in fs_config()
292 if (pc->prefix[len -1] == '*') { in fs_config()
293 if(!strncmp(pc->prefix, path, len - 1)) break; in fs_config()
295 if(!strncmp(pc->prefix, path, len)) break; in fs_config()
298 *uid = pc->uid; in fs_config()
299 *gid = pc->gid; in fs_config()
[all …]
/system/core/libbacktrace/
DUnwindPtrace.cpp81 unw_word_t pc; in Unwind() local
82 ret = unw_get_reg(&cursor, UNW_REG_IP, &pc); in Unwind()
98 frame->pc = static_cast<uintptr_t>(pc); in Unwind()
107 frame->func_name = GetFunctionName(frame->pc, &frame->func_offset); in Unwind()
109 frame->map = FindMap(frame->pc); in Unwind()
121 std::string UnwindPtrace::GetFunctionNameRaw(uintptr_t pc, uintptr_t* offset) { in GetFunctionNameRaw() argument
125 if (unw_get_proc_name_by_ip(addr_space_, pc, buf, sizeof(buf), &value, in GetFunctionNameRaw()
DUnwindCurrent.cpp79 std::string UnwindCurrent::GetFunctionNameRaw(uintptr_t pc, uintptr_t* offset) { in GetFunctionNameRaw() argument
83 if (unw_get_proc_name_by_ip(unw_local_addr_space, pc, buf, sizeof(buf), in GetFunctionNameRaw()
107 unw_word_t pc; in UnwindFromContext() local
108 ret = unw_get_reg(cursor, UNW_REG_IP, &pc); in UnwindFromContext()
128 frame->pc = static_cast<uintptr_t>(pc); in UnwindFromContext()
139 frame->func_name = GetFunctionName(frame->pc, &frame->func_offset); in UnwindFromContext()
140 frame->map = FindMap(frame->pc); in UnwindFromContext()
DBacktraceImpl.cpp66 std::string Backtrace::GetFunctionName(uintptr_t pc, uintptr_t* offset) { in GetFunctionName() argument
67 std::string func_name = impl_->GetFunctionNameRaw(pc, offset); in GetFunctionName()
110 relative_pc = frame->pc - frame->map->start; in FormatFrameData()
112 relative_pc = frame->pc; in FormatFrameData()
131 const backtrace_map_t* Backtrace::FindMap(uintptr_t pc) { in FindMap() argument
132 return map_->Find(pc); in FindMap()
DBacktraceImpl.h33 virtual std::string GetFunctionNameRaw(uintptr_t pc, uintptr_t* offset) = 0;
43 inline std::string GetFunctionName(uintptr_t pc, uintptr_t* offset) { in GetFunctionName() argument
44 return backtrace_obj_->GetFunctionName(pc, offset); in GetFunctionName()
DUnwindPtrace.h33 virtual std::string GetFunctionNameRaw(uintptr_t pc, uintptr_t* offset);
DUnwindCurrent.h34 virtual std::string GetFunctionNameRaw(uintptr_t pc, uintptr_t* offset);
Dbacktrace_test.cpp214 EXPECT_EQ(bt_ign2->GetFrame(i)->pc, bt_ign1->GetFrame(i+1)->pc); in VerifyIgnoreFrames()
218 EXPECT_EQ(bt_ign2->GetFrame(i)->pc, bt_all->GetFrame(i+2)->pc); in VerifyIgnoreFrames()
697 frame.pc = 2; in TEST()
728 frame.pc = 0x12345679; in TEST()
/system/core/libpixelflinger/codeflinger/
DMIPSAssembler.cpp110 uint32_t* ArmToMipsAssembler::pc() const in pc() function in android::ArmToMipsAssembler
112 return mMips->pc(); in pc()
164 mArmPC[mInum++] = pc(); // save starting PC for this instr in prolog()
177 mArmPC[mInum++] = pc(); // save starting PC for this instr in epilog()
429 mArmPC[mInum++] = pc(); // save starting PC for this instr in dataProcessing()
616 mArmPC[mInum++] = pc(); // save starting PC for this instr in MLA()
628 mArmPC[mInum++] = pc(); in MUL()
638 mArmPC[mInum++] = pc(); in UMULL()
655 mArmPC[mInum++] = pc(); in UMUAL()
671 mArmPC[mInum++] = pc(); in SMULL()
[all …]
DARMAssembler.cpp60 uint32_t* ARMAssembler::pc() const in pc() function in android::ARMAssembler
91 size_t count = pc()-base(); in disassemble()
149 uint32_t* pc = mPC; in epilog() local
152 mPC = pc; in epilog()
158 uint32_t* pc = mPC; in epilog() local
161 mPC = pc; in epilog()
176 int32_t offset = int32_t(target_pc - (bt.pc+2)); in generate()
177 *bt.pc |= offset & 0xFFFFFF; in generate()
180 mAssembly->resize( int(pc()-base())*4 ); in generate()
185 ALOGI(format, name, int(pc()-base()), base(), pc(), duration); in generate()
[all …]
DARMAssembler.h42 uint32_t* pc() const;
106 virtual void B(int cc, uint32_t* pc);
107 virtual void BL(int cc, uint32_t* pc);
175 inline branch_target_t() : label(0), pc(0) { } in branch_target_t()
177 : label(l), pc(p) { } in branch_target_t()
179 uint32_t* pc; member
DArm64Assembler.h55 uint32_t* pc() const;
114 virtual void B(int cc, uint32_t* pc);
115 virtual void BL(int cc, uint32_t* pc);
253 inline branch_target_t() : label(0), pc(0) { } in branch_target_t()
255 : label(l), pc(p) { } in branch_target_t()
257 uint32_t* pc; member
DMIPSAssembler.h46 uint32_t* pc() const;
106 virtual void B(int cc, uint32_t* pc);
107 virtual void BL(int cc, uint32_t* pc);
248 uint32_t* pc() const;
417 inline branch_target_t() : label(0), pc(0) { } in branch_target_t()
419 : label(l), pc(p) { } in branch_target_t()
421 uint32_t* pc; member
DArm64Assembler.cpp194 uint32_t* ArmToArm64Assembler::pc() const in pc() function in android::ArmToArm64Assembler
232 size_t count = pc()-base(); in disassemble()
309 int32_t offset = int32_t(target_pc - bt.pc); in generate()
310 *bt.pc |= (offset & 0x7FFFF) << 5; in generate()
314 mAssembly->resize( int(pc()-base())*4 ); in generate()
319 ALOGI(format, name, int(pc()-base()), base(), pc(), duration); in generate()
326 printf(format, name, int(pc()-base()), base(), pc(), duration); in generate()
DARMAssemblerProxy.cpp189 void ARMAssemblerProxy::B(int cc, uint32_t* pc) { in B() argument
190 mTarget->B(cc, pc); in B()
192 void ARMAssemblerProxy::BL(int cc, uint32_t* pc) { in BL() argument
193 mTarget->BL(cc, pc); in BL()
DARMAssemblerProxy.h95 virtual void B(int cc, uint32_t* pc);
96 virtual void BL(int cc, uint32_t* pc);
DARMAssemblerInterface.h141 virtual void B(int cc, uint32_t* pc) = 0;
142 virtual void BL(int cc, uint32_t* pc) = 0;
/system/core/debuggerd/arm64/
Dmachine.cpp58 dump_memory(log, tid, (uintptr_t)regs.pc); in dump_memory_and_code()
60 if (regs.pc != regs.sp) { in dump_memory_and_code()
90 r.sp, r.pc, r.pstate); in dump_registers()
/system/core/debuggerd/mips/
Dmachine.cpp75 unsigned int pc = R(r.cp0_epc); in dump_memory_and_code() local
79 dump_memory(log, tid, (uintptr_t)pc); in dump_memory_and_code()
81 if (pc != ra) { in dump_memory_and_code()
/system/extras/ksmutils/
Dlookup3.c221 uint32_t *pc, /* IN: seed OUT: primary hash value */ in hashword2() argument
227 a = b = c = 0xdeadbeef + ((uint32_t)(length<<2)) + *pc; in hashword2()
252 *pc=c; *pb=b; in hashword2()
466 uint32_t *pc, /* IN: primary initval, OUT: primary hash */ in hashlittle2() argument
473 a = b = c = 0xdeadbeef + ((uint32_t)length) + *pc; in hashlittle2()
518 case 0 : *pc=c; *pb=b; return; /* zero length strings require no mixing */ in hashlittle2()
538 case 0 : *pc=c; *pb=b; return; /* zero length strings require no mixing */ in hashlittle2()
587 case 0 : *pc=c; *pb=b; return; /* zero length strings require no mixing */ in hashlittle2()
629 case 0 : *pc=c; *pb=b; return; /* zero length strings require no mixing */ in hashlittle2()
634 *pc=c; *pb=b; in hashlittle2()
/system/core/libpixelflinger/
Dcol32cb16blend.S74 pop {r4-r10, pc} // return
Drotate90CW_4x4_16v6.S62 ldmfd sp!, {r4,r5, r6,r7, r8,r9, r10,r11, pc}
Dcol32cb16blend_neon.S150 pop {r4-r11, pc} // return

12