Searched defs:pc (Results 1 - 15 of 15) sorted by relevance

/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.c82 uintptr_t pc = _Unwind_GetIP(context); local
83 if (pc) {
88 add_backtrace_entry(rewind_pc_arch(&state->memory, pc), state->backtrace,
245 static void init_backtrace_symbol(backtrace_symbol_t* symbol, uintptr_t pc) { argument
246 symbol->relative_pc = pc;
322 snprintf(buffer, bufferSize, "#%02u pc %08x %.*s (%.*s+%u)",
326 snprintf(buffer, bufferSize, "#%02u pc %08x %.*s (%.*s)",
331 snprintf(buffer, bufferSize, "#%02u pc %08x %.*s",
/system/core/debuggerd/mips/
H A Dmachine.c138 unsigned int pc = R(r.cp0_epc); variable
141 _LOG(log, scopeFlags, "\ncode around pc:\n");
142 dump_memory(log, tid, (uintptr_t)pc, scopeFlags);
144 if (pc != ra) {
/system/core/libpixelflinger/codeflinger/
H A 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) { }
177 : label(l), pc(p) { }
179 uint32_t* pc; member in struct:android::ARMAssembler::branch_target_t
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 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/libcorkscrew/arch-mips/
H A Dbacktrace-mips.c54 uint32_t pc; member in struct:ucontext
61 uint32_t pc; member in struct:__anon149
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/extras/ksmutils/
H A Dlookup3.c213 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...]
/system/core/include/private/
H A Dandroid_filesystem_config.h267 const struct fs_path_config *pc; local
274 pc = dir ? android_dirs : android_files;
276 for(; pc->prefix; pc++){
277 int len = strlen(pc->prefix);
280 if(!strncmp(pc->prefix, path, len)) break;
284 if (pc->prefix[len -1] == '*') {
285 if(!strncmp(pc->prefix, path, len - 1)) break;
287 if(!strncmp(pc->prefix, path, len)) break;
290 *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-x86/
H A Dbacktrace-x86.c105 uintptr_t rewind_pc_arch(const memory_t* memory __attribute__((unused)), uintptr_t pc) { argument
107 we have to disassemble from the function entry point up to pc.
108 Returning pc-1 is probably enough for now, the only drawback is that
112 return pc-1;
113 /* TODO: We should adjust that for the signal frames and return pc for them instead of pc-1.
243 const map_info_t* map_info_list, uintptr_t pc) {
244 if (!pc) {
245 ALOGV("find_fde: pc is zero, no eh_frame");
248 const map_info_t* mi = find_map_info(map_info_list, pc);
242 find_fde(const memory_t* memory, const map_info_t* map_info_list, uintptr_t pc) argument
[all...]
/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 158 milliseconds