Lines Matching refs:cursor
38 unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) { in unwind_phase1() argument
39 unw_init_local(cursor, uc); in unwind_phase1()
46 int stepResult = unw_step(cursor); in unwind_phase1()
62 if (unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) { in unwind_phase1()
74 if ((unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf), in unwind_phase1()
79 unw_get_reg(cursor, UNW_REG_IP, &pc); in unwind_phase1()
97 exception_object, (struct _Unwind_Context *)(cursor)); in unwind_phase1()
103 unw_get_reg(cursor, UNW_REG_SP, &sp); in unwind_phase1()
131 unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) { in unwind_phase2() argument
132 unw_init_local(cursor, uc); in unwind_phase2()
142 int stepResult = unw_step(cursor); in unwind_phase2()
158 unw_get_reg(cursor, UNW_REG_SP, &sp); in unwind_phase2()
159 if (unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) { in unwind_phase2()
171 if ((unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf), in unwind_phase2()
194 (struct _Unwind_Context *)(cursor)); in unwind_phase2()
215 unw_get_reg(cursor, UNW_REG_IP, &pc); in unwind_phase2()
216 unw_get_reg(cursor, UNW_REG_SP, &sp); in unwind_phase2()
222 unw_resume(cursor); in unwind_phase2()
240 unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor, in unwind_phase2_forced() argument
243 unw_init_local(cursor, uc); in unwind_phase2_forced()
246 while (unw_step(cursor) > 0) { in unwind_phase2_forced()
250 if (unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) { in unwind_phase2_forced()
262 if ((unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf), in unwind_phase2_forced()
278 (struct _Unwind_Context *)(cursor), stop_parameter); in unwind_phase2_forced()
298 (struct _Unwind_Context *)(cursor)); in unwind_phase2_forced()
313 unw_resume(cursor); in unwind_phase2_forced()
334 (struct _Unwind_Context *)(cursor), stop_parameter); in unwind_phase2_forced()
348 unw_cursor_t cursor; in _Unwind_RaiseException() local
357 _Unwind_Reason_Code phase1 = unwind_phase1(&uc, &cursor, exception_object); in _Unwind_RaiseException()
362 return unwind_phase2(&uc, &cursor, exception_object); in _Unwind_RaiseException()
382 unw_cursor_t cursor; in _Unwind_Resume() local
386 unwind_phase2_forced(&uc, &cursor, exception_object, in _Unwind_Resume()
390 unwind_phase2(&uc, &cursor, exception_object); in _Unwind_Resume()
407 unw_cursor_t cursor; in _Unwind_ForcedUnwind() local
416 return unwind_phase2_forced(&uc, &cursor, exception_object, stop, stop_parameter); in _Unwind_ForcedUnwind()
423 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_GetLanguageSpecificData() local
426 if (unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS) in _Unwind_GetLanguageSpecificData()
444 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_GetRegionStart() local
447 if (unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS) in _Unwind_GetRegionStart()
470 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_GetGR() local
472 unw_get_reg(cursor, index, &result); in _Unwind_GetGR()
484 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_SetGR() local
485 unw_set_reg(cursor, index, value); in _Unwind_SetGR()
490 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_GetIP() local
492 unw_get_reg(cursor, UNW_REG_IP, &result); in _Unwind_GetIP()
505 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_SetIP() local
506 unw_set_reg(cursor, UNW_REG_IP, value); in _Unwind_SetIP()