Lines Matching refs:cursor
439 unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) { in unwind_phase1() argument
446 unw_init_local(cursor, uc); in unwind_phase1()
453 if (unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) { in unwind_phase1()
465 if ((unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf), in unwind_phase1()
470 unw_get_reg(cursor, UNW_REG_IP, &pc); in unwind_phase1()
488 struct _Unwind_Context *context = (struct _Unwind_Context *)(cursor); in unwind_phase1()
536 static _Unwind_Reason_Code unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, in unwind_phase2() argument
540 unw_init_local(cursor, uc); in unwind_phase2()
562 unw_set_reg(cursor, UNW_REG_IP, in unwind_phase2()
570 unw_get_reg(cursor, UNW_REG_SP, &sp); in unwind_phase2()
571 if (unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) { in unwind_phase2()
583 if ((unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf), in unwind_phase2()
599 struct _Unwind_Context *context = (struct _Unwind_Context *)(cursor); in unwind_phase2()
628 unw_get_reg(cursor, UNW_REG_IP, &pc); in unwind_phase2()
629 unw_get_reg(cursor, UNW_REG_SP, &sp); in unwind_phase2()
640 unw_get_reg(cursor, UNW_REG_IP, &pc); in unwind_phase2()
643 unw_resume(cursor); in unwind_phase2()
672 unw_cursor_t cursor; in _Unwind_RaiseException() local
680 _Unwind_Reason_Code phase1 = unwind_phase1(&uc, &cursor, exception_object); in _Unwind_RaiseException()
685 return unwind_phase2(&uc, &cursor, exception_object, false); in _Unwind_RaiseException()
710 unw_cursor_t cursor; in _Unwind_Resume() local
716 unwind_phase2(&uc, &cursor, exception_object, true); in _Unwind_Resume()
725 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_GetLanguageSpecificData() local
728 if (unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS) in _Unwind_GetLanguageSpecificData()
763 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_VRS_Set() local
768 return unw_set_reg(cursor, (unw_regnum_t)(UNW_ARM_R0 + regno), in _Unwind_VRS_Set()
779 unw_save_vfp_as_X(cursor); in _Unwind_VRS_Set()
784 return unw_set_fpreg(cursor, (unw_regnum_t)(UNW_ARM_D0 + regno), in _Unwind_VRS_Set()
792 return unw_set_reg(cursor, (unw_regnum_t)(UNW_ARM_WC0 + regno), in _Unwind_VRS_Set()
799 return unw_set_fpreg(cursor, (unw_regnum_t)(UNW_ARM_WR0 + regno), in _Unwind_VRS_Set()
817 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_VRS_Get_Internal() local
822 return unw_get_reg(cursor, (unw_regnum_t)(UNW_ARM_R0 + regno), in _Unwind_VRS_Get_Internal()
833 unw_save_vfp_as_X(cursor); in _Unwind_VRS_Get_Internal()
838 return unw_get_fpreg(cursor, (unw_regnum_t)(UNW_ARM_D0 + regno), in _Unwind_VRS_Get_Internal()
846 return unw_get_reg(cursor, (unw_regnum_t)(UNW_ARM_WC0 + regno), in _Unwind_VRS_Get_Internal()
853 return unw_get_fpreg(cursor, (unw_regnum_t)(UNW_ARM_WR0 + regno), in _Unwind_VRS_Get_Internal()
960 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_GetRegionStart() local
963 if (unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS) in _Unwind_GetRegionStart()
985 unw_cursor_t *cursor = (unw_cursor_t *)context; in __gnu_unwind_frame() local
986 if (unw_step(cursor) != UNW_STEP_SUCCESS) in __gnu_unwind_frame()