Lines Matching defs:state
75 backtrace_state_t* state = (backtrace_state_t*)arg;
82 add_backtrace_entry(rewind_pc_arch(&state->memory, pc), state->backtrace,
83 state->ignore_depth, state->max_depth,
84 &state->ignored_frames, &state->returned_frames);
86 return state->returned_frames < state->max_depth ? _URC_NO_REASON : _URC_END_OF_STACK;
94 backtrace_state_t state;
95 state.backtrace = backtrace;
96 state.ignore_depth = ignore_depth;
97 state.max_depth = max_depth;
98 state.ignored_frames = 0;
99 state.returned_frames = 0;
100 init_memory(&state.memory, milist);
102 _Unwind_Reason_Code rc =_Unwind_Backtrace(unwind_backtrace_callback, &state);
106 if (state.returned_frames) {
107 return state.returned_frames;
204 // We cannot apply a timeout here because the other thread is accessing state that