Lines Matching refs:cursor

465 unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) {  in unwind_phase1()  argument
472 __unw_init_local(cursor, uc); in unwind_phase1()
479 if (__unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) { in unwind_phase1()
493 if ((__unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf), in unwind_phase1()
498 __unw_get_reg(cursor, UNW_REG_IP, &pc); in unwind_phase1()
517 struct _Unwind_Context *context = (struct _Unwind_Context *)(cursor); in unwind_phase1()
565 static _Unwind_Reason_Code unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, in unwind_phase2() argument
569 __unw_init_local(cursor, uc); in unwind_phase2()
591 __unw_set_reg(cursor, UNW_REG_IP, in unwind_phase2()
599 __unw_get_reg(cursor, UNW_REG_SP, &sp); in unwind_phase2()
600 if (__unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) { in unwind_phase2()
614 if ((__unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf), in unwind_phase2()
631 struct _Unwind_Context *context = (struct _Unwind_Context *)(cursor); in unwind_phase2()
660 __unw_get_reg(cursor, UNW_REG_IP, &pc); in unwind_phase2()
661 __unw_get_reg(cursor, UNW_REG_SP, &sp); in unwind_phase2()
672 __unw_get_reg(cursor, UNW_REG_IP, &pc); in unwind_phase2()
675 __unw_resume(cursor); in unwind_phase2()
699 unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor, in unwind_phase2_forced() argument
704 __unw_init_local(cursor, uc); in unwind_phase2_forced()
711 if (__unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) { in unwind_phase2_forced()
724 if ((__unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf), in unwind_phase2_forced()
741 (_Unwind_Context *)(cursor), stop_parameter); in unwind_phase2_forced()
756 struct _Unwind_Context *context = (struct _Unwind_Context *)(cursor); in unwind_phase2_forced()
779 __unw_resume(cursor); in unwind_phase2_forced()
808 (struct _Unwind_Context *)(cursor), stop_parameter); in unwind_phase2_forced()
821 unw_cursor_t cursor; in _Unwind_RaiseException() local
829 _Unwind_Reason_Code phase1 = unwind_phase1(&uc, &cursor, exception_object); in _Unwind_RaiseException()
834 return unwind_phase2(&uc, &cursor, exception_object, false); in _Unwind_RaiseException()
859 unw_cursor_t cursor; in _Unwind_Resume() local
864 &uc, &cursor, exception_object, in _Unwind_Resume()
868 unwind_phase2(&uc, &cursor, exception_object, true); in _Unwind_Resume()
877 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_GetLanguageSpecificData() local
880 if (__unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS) in _Unwind_GetLanguageSpecificData()
915 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_VRS_Set() local
920 return __unw_set_reg(cursor, (unw_regnum_t)(UNW_ARM_R0 + regno), in _Unwind_VRS_Set()
931 __unw_save_vfp_as_X(cursor); in _Unwind_VRS_Set()
936 return __unw_set_fpreg(cursor, (unw_regnum_t)(UNW_ARM_D0 + regno), in _Unwind_VRS_Set()
944 return __unw_set_reg(cursor, (unw_regnum_t)(UNW_ARM_WC0 + regno), in _Unwind_VRS_Set()
951 return __unw_set_fpreg(cursor, (unw_regnum_t)(UNW_ARM_WR0 + regno), in _Unwind_VRS_Set()
964 return __unw_set_reg(cursor, (unw_regnum_t)(UNW_ARM_RA_AUTH_CODE), in _Unwind_VRS_Set()
978 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_VRS_Get_Internal() local
983 return __unw_get_reg(cursor, (unw_regnum_t)(UNW_ARM_R0 + regno), in _Unwind_VRS_Get_Internal()
994 __unw_save_vfp_as_X(cursor); in _Unwind_VRS_Get_Internal()
999 return __unw_get_fpreg(cursor, (unw_regnum_t)(UNW_ARM_D0 + regno), in _Unwind_VRS_Get_Internal()
1007 return __unw_get_reg(cursor, (unw_regnum_t)(UNW_ARM_WC0 + regno), in _Unwind_VRS_Get_Internal()
1014 return __unw_get_fpreg(cursor, (unw_regnum_t)(UNW_ARM_WR0 + regno), in _Unwind_VRS_Get_Internal()
1027 return __unw_get_reg(cursor, (unw_regnum_t)(UNW_ARM_RA_AUTH_CODE), in _Unwind_VRS_Get_Internal()
1155 unw_cursor_t cursor; in _Unwind_ForcedUnwind() local
1163 return unwind_phase2_forced(&uc, &cursor, exception_object, stop, in _Unwind_ForcedUnwind()
1171 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_GetRegionStart() local
1174 if (__unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS) in _Unwind_GetRegionStart()
1197 unw_cursor_t *cursor = (unw_cursor_t *)context; in __gnu_unwind_frame() local
1198 switch (__unw_step(cursor)) { in __gnu_unwind_frame()