Searched defs:pc (Results 1 - 14 of 14) sorted by path

/system/core/debuggerd/mips/
H A Dmachine.c137 unsigned int pc = R(r.cp0_epc); variable
140 _LOG(log, !at_fault, "\ncode around pc:\n");
141 dump_memory(log, tid, (uintptr_t)pc, at_fault);
143 if (pc != ra) {
/system/core/include/private/
H A Dandroid_filesystem_config.h234 struct fs_path_config *pc; local
237 pc = dir ? android_dirs : android_files;
239 for(; pc->prefix; pc++){
240 int len = strlen(pc->prefix);
243 if(!strncmp(pc->prefix, path, len)) break;
247 if (pc->prefix[len -1] == '*') {
248 if(!strncmp(pc->prefix, path, len - 1)) break;
250 if(!strncmp(pc->prefix, path, len)) break;
253 *uid = pc
[all...]
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c106 extern _Unwind_Ptr __gnu_Unwind_Find_exidx(_Unwind_Ptr pc, int *pcount);
108 static uintptr_t find_exidx(uintptr_t pc, size_t* out_exidx_size) { argument
110 uintptr_t start = (uintptr_t)__gnu_Unwind_Find_exidx((_Unwind_Ptr)pc, &count);
122 const map_info_t* map_info_list, uintptr_t pc) {
123 if (!pc) {
124 ALOGV("get_exception_handler: pc is zero, no handler");
133 exidx_start = find_exidx(pc, &exidx_size);
135 mi = find_map_info(map_info_list, pc);
161 if (pc < entry_pc) {
173 if (pc >
121 get_exception_handler(const memory_t* memory, const map_info_t* map_info_list, uintptr_t pc) argument
441 try_get_half_word(const memory_t* memory, uint32_t pc, uint16_t* out_value) argument
450 rewind_pc_arch(const memory_t* memory, uintptr_t pc) argument
494 uintptr_t pc = index ? rewind_pc_arch(memory, state->gregs[R_PC]) local
[all...]
/system/core/libcorkscrew/arch-mips/
H A Dbacktrace-mips.c54 uint32_t pc; member in struct:ucontext
61 uint32_t pc; member in struct:__anon379
64 uintptr_t rewind_pc_arch(const memory_t* memory, uintptr_t pc) { argument
65 if (pc == 0)
66 return pc;
67 if ((pc & 1) == 0)
68 return pc-8; /* jal/bal/jalr + branch delay slot */
69 return pc;
80 uintptr_t pc = index ? rewind_pc_arch(memory, state->pc) local
[all...]
/system/core/libcorkscrew/arch-x86/
H A Dbacktrace-x86.c90 uintptr_t rewind_pc_arch(const memory_t* memory __attribute__((unused)), uintptr_t pc) { argument
92 return pc;
/system/core/libcorkscrew/
H A Dbacktrace-helper.c24 backtrace_frame_t* add_backtrace_entry(uintptr_t pc, backtrace_frame_t* backtrace, argument
35 frame->absolute_pc = pc;
H A Dbacktrace.c76 uintptr_t pc = _Unwind_GetIP(context); local
77 if (pc) {
82 add_backtrace_entry(rewind_pc_arch(&state->memory, pc), state->backtrace,
237 static void init_backtrace_symbol(backtrace_symbol_t* symbol, uintptr_t pc) { argument
238 symbol->relative_pc = pc;
316 snprintf(buffer, bufferSize, "#%02d pc %08x %.*s (%.*s+%u)",
320 snprintf(buffer, bufferSize, "#%02d pc %08x %.*s (%.*s)",
325 snprintf(buffer, bufferSize, "#%02d pc %08x %.*s",
/system/core/libpixelflinger/codeflinger/
H A DARMAssembler.cpp60 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 DARMAssembler.h43 uint32_t* pc() const;
107 virtual void B(int cc, uint32_t* pc);
108 virtual void BL(int cc, uint32_t* pc);
176 inline branch_target_t() : label(0), pc(0) { }
178 : label(l), pc(p) { }
180 uint32_t* pc; member in struct:android::ARMAssembler::branch_target_t
H A DARMAssemblerProxy.cpp189 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 DGGLAssembler.h178 uint32_t* pc() const { return 0; } // XXX function in class:android::GGLAssembler
H A DMIPSAssembler.cpp110 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();
1264 uint32_t* MIPSAssembler::pc() const function in class:android::MIPSAssembler
[all...]
H A 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) { }
419 : label(l), pc(p) { }
421 uint32_t* pc; member in struct:android::MIPSAssembler::branch_target_t
/system/core/sh/
H A Dparser.c1401 int pc; local
1412 switch (pc = pgetc()) {
1417 if ((pc = pgetc()) == '\n') {
1431 if (pc != '\\' && pc != '`' && pc != '$'
1432 && (!ISDBLQUOTE() || pc != '"'))
1449 STPUTC(pc, pout);

Completed in 96 milliseconds