/system/core/debuggerd/mips/ |
H A D | machine.cpp | 56 uintptr_t pc = R(r.cp0_epc); local 58 dump_memory(log, backtrace, pc, "code around pc:"); 59 if (pc != ra) {
|
/system/core/debuggerd/mips64/ |
H A D | machine.cpp | 56 uintptr_t pc = R(r.cp0_epc); local 58 dump_memory(log, backtrace, pc, "code around pc:"); 59 if (pc != ra) {
|
/system/core/libbacktrace/ |
H A D | UnwindCurrent.cpp | 31 std::string UnwindCurrent::GetFunctionNameRaw(uintptr_t pc, uintptr_t* offset) { argument 35 if (unw_get_proc_name_by_ip(unw_local_addr_space, pc, buf, sizeof(buf), 91 unw_word_t pc; local 92 ret = unw_get_reg(cursor.get(), UNW_REG_IP, &pc); 107 frame->pc = static_cast<uintptr_t>(pc); 111 FillInMap(frame->pc, &frame->map); 118 frame->func_name = GetFunctionName(frame->pc, &frame->func_offset);
|
H A D | UnwindPtrace.cpp | 92 unw_word_t pc; local 93 ret = unw_get_reg(&cursor, UNW_REG_IP, &pc); 109 frame->pc = static_cast<uintptr_t>(pc); 118 frame->func_name = GetFunctionName(frame->pc, &frame->func_offset); 120 FillInMap(frame->pc, &frame->map); 132 std::string UnwindPtrace::GetFunctionNameRaw(uintptr_t pc, uintptr_t* offset) { argument 136 if (unw_get_proc_name_by_ip(addr_space_, pc, buf, sizeof(buf), &value,
|
H A D | Backtrace.cpp | 55 std::string Backtrace::GetFunctionName(uintptr_t pc, uintptr_t* offset) { argument 56 std::string func_name = GetFunctionNameRaw(pc, offset); 80 relative_pc = BacktraceMap::GetRelativePc(frame->map, frame->pc); 92 relative_pc = frame->pc; 95 std::string line(StringPrintf("#%02zu pc %" PRIPTR " ", frame->num, relative_pc)); 113 void Backtrace::FillInMap(uintptr_t pc, backtrace_map_t* map) { argument 115 map_->FillIn(pc, map);
|
H A D | BacktraceOffline.cpp | 152 unw_word_t pc; local 153 ret = unw_get_reg(&cursor, UNW_REG_IP, &pc); 169 frame->pc = static_cast<uintptr_t>(pc); 177 frame->func_name = GetFunctionName(frame->pc, &frame->func_offset); 178 FillInMap(frame->pc, &frame->map);
|
/system/core/libpixelflinger/codeflinger/ |
H A D | ARMAssembler.h | 42 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) { } 177 : label(l), pc(p) { } 179 uint32_t* pc; member in struct:android::ARMAssembler::branch_target_t
|
H A D | Arm64Assembler.h | 55 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) { } 255 : label(l), pc(p) { } 257 uint32_t* pc; member in struct:android::ArmToArm64Assembler::branch_target_t
|
H A D | ARMAssembler.cpp | 60 uint32_t* ARMAssembler::pc() const function in class:android::ARMAssembler 91 size_t count = pc()-base(); 149 uint32_t* pc = mPC; local 152 mPC = pc; 158 uint32_t* pc = mPC; local 161 mPC = pc; 176 int32_t offset = int32_t(target_pc - (bt.pc+2)); 177 *bt.pc |= offset & 0xFFFFFF; 180 mAssembly->resize( int(pc()-base())*4 ); 185 ALOGI(format, name, int(pc() 276 B(int cc, uint32_t* pc) argument 282 BL(int cc, uint32_t* pc) argument [all...] |
H A D | ARMAssemblerProxy.cpp | 189 void ARMAssemblerProxy::B(int cc, uint32_t* pc) { argument 190 mTarget->B(cc, pc); 192 void ARMAssemblerProxy::BL(int cc, uint32_t* pc) { argument 193 mTarget->BL(cc, pc);
|
H A D | GGLAssembler.h | 184 uint32_t* pc() const { return 0; } // XXX function in class:android::GGLAssembler
|
H A D | MIPS64Assembler.cpp | 91 uint32_t* ArmToMips64Assembler::pc() const function in class:android::ArmToMips64Assembler 93 return mMips->pc(); 145 mArmPC[mInum++] = pc(); // save starting PC for this instr 158 mArmPC[mInum++] = pc(); // save starting PC for this instr 412 mArmPC[mInum++] = pc(); // save starting PC for this instr 608 mArmPC[mInum++] = pc(); // save starting PC for this instr 620 mArmPC[mInum++] = pc(); 630 mArmPC[mInum++] = pc(); 647 mArmPC[mInum++] = pc(); 663 mArmPC[mInum++] = pc(); [all...] |
H A D | Arm64Assembler.cpp | 194 uint32_t* ArmToArm64Assembler::pc() const function in class:android::ArmToArm64Assembler 232 size_t count = pc()-base(); 309 int32_t offset = int32_t(target_pc - bt.pc); 310 *bt.pc |= (offset & 0x7FFFF) << 5; 314 mAssembly->resize( int(pc()-base())*4 ); 319 ALOGI(format, name, int(pc()-base()), base(), pc(), duration); 326 printf(format, name, int(pc()-base()), base(), pc(), duration); 557 void ArmToArm64Assembler::B(int /*cc*/, uint32_t* /*pc*/){ [all...] |
H A D | MIPSAssembler.cpp | 110 uint32_t* ArmToMipsAssembler::pc() const function in class:android::ArmToMipsAssembler 112 return mMips->pc(); 164 mArmPC[mInum++] = pc(); // save starting PC for this instr 177 mArmPC[mInum++] = pc(); // save starting PC for this instr 229 // ALOGW("immediate value %08x at pc %08x\n", immediate, (int)pc()); 429 mArmPC[mInum++] = pc(); // save starting PC for this instr 616 mArmPC[mInum++] = pc(); // save starting PC for this instr 628 mArmPC[mInum++] = pc(); 638 mArmPC[mInum++] = pc(); 1270 uint32_t* MIPSAssembler::pc() const function in class:android::MIPSAssembler [all...] |
H A D | MIPSAssembler.h | 46 uint32_t* pc() const; 106 virtual void B(int cc, uint32_t* pc); 107 virtual void BL(int cc, uint32_t* pc); 249 virtual uint32_t* pc() const; 418 inline branch_target_t() : label(0), pc(0) { } 420 : label(l), pc(p) { } 422 uint32_t* pc; member in struct:android::MIPSAssembler::branch_target_t
|
/system/core/include/backtrace/ |
H A D | BacktraceMap.h | 61 int GetFlags(uintptr_t pc) { argument 63 FillIn(pc, &map); 70 bool IsReadable(uintptr_t pc) { return GetFlags(pc) & PROT_READ; } argument 71 bool IsWritable(uintptr_t pc) { return GetFlags(pc) & PROT_WRITE; } argument 72 bool IsExecutable(uintptr_t pc) { return GetFlags(pc) & PROT_EXEC; } argument 88 static uintptr_t GetRelativePc(const backtrace_map_t& map, uintptr_t pc) { argument 90 return pc [all...] |
H A D | Backtrace.h | 57 uintptr_t pc; // The absolute pc. member in struct:backtrace_frame_data_t 60 backtrace_map_t map; // The map associated with the given pc. 61 std::string func_name; // The function name associated with this pc, NULL if not found. 62 uintptr_t func_offset; // pc relative to the start of the function, only valid if func_name is not NULL. 106 // Get the function name and offset into the function given the pc. 108 virtual std::string GetFunctionName(uintptr_t pc, uintptr_t* offset); 110 // Fill in the map data associated with the given pc. 111 virtual void FillInMap(uintptr_t pc, backtrace_map_t* map); 157 virtual std::string GetFunctionNameRaw(uintptr_t pc, uintptr_ [all...] |
/system/core/libcutils/ |
H A D | fs_config.c | 210 const struct fs_path_config *pc; local 261 pc = dir ? android_dirs : android_files; 262 for(; pc->prefix; pc++){ 263 if (fs_config_cmp(dir, pc->prefix, strlen(pc->prefix), path, plen)) { 267 *uid = pc->uid; 268 *gid = pc->gid; 269 *mode = (*mode & (~07777)) | pc->mode; 270 *capabilities = pc 273 fs_config_generate(char *buffer, size_t length, const struct fs_path_config *pc) argument [all...] |
/system/extras/ksmutils/ |
H A D | lookup3.c | 213 32-bit values. pc and pb must both be nonnull, and *pc and *pb must 215 (*pc) will be the same as the return value from hashword(). 221 uint32_t *pc, /* IN: seed OUT: primary hash value */ 227 a = b = c = 0xdeadbeef + ((uint32_t)(length<<2)) + *pc; 252 *pc=c; *pb=b; 460 * the key. *pc is better mixed than *pb, so use *pc first. If you want 461 * a 64-bit value do something like "*pc + (((uint64_t)*pb)<<32)". 466 uint32_t *pc, /* I 218 hashword2( const uint32_t *k, size_t length, uint32_t *pc, uint32_t *pb) argument 463 hashlittle2( const void *key, size_t length, uint32_t *pc, uint32_t *pb) argument [all...] |