Lines Matching refs:ucontext
101 void RegsX86::SetFromUcontext(x86_ucontext_t* ucontext) { in SetFromUcontext() argument
103 regs_[X86_REG_EDI] = ucontext->uc_mcontext.edi; in SetFromUcontext()
104 regs_[X86_REG_ESI] = ucontext->uc_mcontext.esi; in SetFromUcontext()
105 regs_[X86_REG_EBP] = ucontext->uc_mcontext.ebp; in SetFromUcontext()
106 regs_[X86_REG_ESP] = ucontext->uc_mcontext.esp; in SetFromUcontext()
107 regs_[X86_REG_EBX] = ucontext->uc_mcontext.ebx; in SetFromUcontext()
108 regs_[X86_REG_EDX] = ucontext->uc_mcontext.edx; in SetFromUcontext()
109 regs_[X86_REG_ECX] = ucontext->uc_mcontext.ecx; in SetFromUcontext()
110 regs_[X86_REG_EAX] = ucontext->uc_mcontext.eax; in SetFromUcontext()
111 regs_[X86_REG_EIP] = ucontext->uc_mcontext.eip; in SetFromUcontext()
114 Regs* RegsX86::CreateFromUcontext(void* ucontext) { in CreateFromUcontext() argument
115 x86_ucontext_t* x86_ucontext = reinterpret_cast<x86_ucontext_t*>(ucontext); in CreateFromUcontext()