Lines Matching defs:cursor
48 #define __unw_phase2_resume(cursor, fn) \
51 __unw_resume((cursor)); \
55 #define __unw_phase2_resume(cursor, fn) \
58 void *cetRegContext = __libunwind_cet_get_registers((cursor)); \
67 #define __unw_phase2_resume(cursor, fn) \
70 void *cetRegContext = __libunwind_cet_get_registers((cursor)); \
77 #define __unw_phase2_resume(cursor, fn) \
80 void *cetRegContext = __libunwind_cet_get_registers((cursor)); \
91 unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) {
92 __unw_init_local(cursor, uc);
98 int stepResult = __unw_step(cursor);
116 if (__unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) {
130 if ((__unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf),
135 __unw_get_reg(cursor, UNW_REG_IP, &pc);
154 exception_object, (struct _Unwind_Context *)(cursor));
159 __unw_get_reg(cursor, UNW_REG_SP, &sp);
191 unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) {
192 __unw_init_local(cursor, uc);
212 int stepResult = __unw_step_stage2(cursor);
230 __unw_get_reg(cursor, UNW_REG_SP, &sp);
231 if (__unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) {
245 if ((__unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf),
265 __unw_get_reg(cursor, UNW_REG_IP, &retInNormalStack);
284 (struct _Unwind_Context *)(cursor));
305 __unw_get_reg(cursor, UNW_REG_IP, &pc);
306 __unw_get_reg(cursor, UNW_REG_SP, &sp);
313 __unw_phase2_resume(cursor, framesWalked);
335 unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor,
338 __unw_init_local(cursor, uc);
344 while (__unw_step_stage2(cursor) > 0) {
348 if (__unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) {
362 if ((__unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf),
379 (struct _Unwind_Context *)(cursor), stop_parameter);
400 (struct _Unwind_Context *)(cursor));
415 __unw_phase2_resume(cursor, framesWalked);
436 (struct _Unwind_Context *)(cursor), stop_parameter);
450 unw_cursor_t cursor;
459 _Unwind_Reason_Code phase1 = unwind_phase1(&uc, &cursor, exception_object);
464 return unwind_phase2(&uc, &cursor, exception_object);
484 unw_cursor_t cursor;
488 unwind_phase2_forced(&uc, &cursor, exception_object,
492 unwind_phase2(&uc, &cursor, exception_object);
509 unw_cursor_t cursor;
518 return unwind_phase2_forced(&uc, &cursor, exception_object, stop, stop_parameter);
525 unw_cursor_t *cursor = (unw_cursor_t *)context;
528 if (__unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS)
548 unw_cursor_t *cursor = (unw_cursor_t *)context;
551 if (__unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS)
574 unw_cursor_t *cursor = (unw_cursor_t *)context;
576 __unw_get_reg(cursor, index, &result);
588 unw_cursor_t *cursor = (unw_cursor_t *)context;
589 __unw_set_reg(cursor, index, value);
594 unw_cursor_t *cursor = (unw_cursor_t *)context;
596 __unw_get_reg(cursor, UNW_REG_IP, &result);
609 unw_cursor_t *cursor = (unw_cursor_t *)context;
610 __unw_set_reg(cursor, UNW_REG_IP, value);