Lines Matching defs:context

300     UnwindContext context;
301 context.pid = child;
302 context.regs = regs;
303 context.maps = maps;
305 unwRet = unwinder->Unwind(&context);
329 UnwindContext context;
330 context.stackCheck = false;
331 context.stackBottom = stackBottom;
332 context.stackTop = stackTop;
339 context.pid = UNWIND_TYPE_LOCAL;
340 context.regs = regs;
341 context.maps = maps;
342 bool unwRet = unwinder->Unwind(&context);
424 UnwindContext context;
425 context.pid = child;
426 context.regs = regs;
427 context.maps = maps;
434 context.map = map;
435 unwRet = unwinder->Step(pc, sp, &context);
454 UnwindContext context;
455 context.pid = UNWIND_TYPE_LOCAL;
456 context.stackCheck = false;
457 context.stackBottom = stackBottom;
458 context.stackTop = stackTop;
464 context.regs = regs;
465 context.maps = maps;
470 bool unwRet = unwinder->Step(pc, sp, &context);
496 UnwindContext context;
497 context.pid = child;
499 unwRet = unwinder->UnwindByFp(&context);
529 UnwindContext context;
530 context.pid = UNWIND_TYPE_LOCAL;
531 context.stackCheck = false;
532 context.stackBottom = stackBottom;
533 context.stackTop = stackTop;
536 bool unwRet = unwinder->UnwindByFp(&context);
551 if (!unwinder->FpStep(fp, pc, &context) || (pc == 0)) {
576 UnwindContext context;
577 context.pid = UNWIND_TYPE_LOCAL;
578 context.stackCheck = false;
579 context.stackBottom = stackBottom;
580 context.stackTop = stackTop;
586 context.regs = regs;
587 context.maps = unwinder->GetMaps();
595 bool unwRet = unwinder->Step(pc, failSp, &context);
614 UnwindContext context;
615 context.pid = UNWIND_TYPE_LOCAL;
616 context.stackCheck = true;
617 context.stackBottom = stackBottom;
618 context.stackTop = stackTop;
624 context.regs = regs;
625 context.maps = unwinder->GetMaps();
631 bool unwRet = unwinder->Step(failPc, sp, &context);
753 ucontext_t context;
754 (void)memset_s(&context, sizeof(context), 0, sizeof(context));
756 context.uc_mcontext.arm_r0 = *(regs->GetReg(REG_ARM_R0));
757 context.uc_mcontext.arm_r1 = *(regs->GetReg(REG_ARM_R1));
758 context.uc_mcontext.arm_r2 = *(regs->GetReg(REG_ARM_R2));
759 context.uc_mcontext.arm_r3 = *(regs->GetReg(REG_ARM_R3));
760 context.uc_mcontext.arm_r4 = *(regs->GetReg(REG_ARM_R4));
761 context.uc_mcontext.arm_r5 = *(regs->GetReg(REG_ARM_R5));
762 context.uc_mcontext.arm_r6 = *(regs->GetReg(REG_ARM_R6));
763 context.uc_mcontext.arm_r7 = *(regs->GetReg(REG_ARM_R7));
764 context.uc_mcontext.arm_r8 = *(regs->GetReg(REG_ARM_R8));
765 context.uc_mcontext.arm_r9 = *(regs->GetReg(REG_ARM_R9));
766 context.uc_mcontext.arm_r10 = *(regs->GetReg(REG_ARM_R10));
767 context.uc_mcontext.arm_fp = *(regs->GetReg(REG_ARM_R11));
768 context.uc_mcontext.arm_ip = *(regs->GetReg(REG_ARM_R12));
769 context.uc_mcontext.arm_sp = *(regs->GetReg(REG_ARM_R13));
770 context.uc_mcontext.arm_lr = *(regs->GetReg(REG_ARM_R14));
771 context.uc_mcontext.arm_pc = *(regs->GetReg(REG_ARM_R15));
774 context.uc_mcontext.regs[i] = *(regs->GetReg(i));
778 ASSERT_TRUE(unwinder->UnwindLocalWithContext(context));