Lines Matching defs:error_state
91 } error_state;
145 error_state.breakpoint = ERROR_ERROR;
149 error_state.breakpoint = ERROR_FATAL;
153 error_state.breakpoint = ERROR_PANIC;
156 error_state.breakpoint = strtol(v, NiL, 0);
160 error_state.breakpoint = 0;
162 error_info.core = error_state.breakpoint;
172 error_state.count = strtol(v, NiL, 0);
174 error_state.count = 0;
192 if (error_state.match)
193 regfree(error_state.match);
196 if ((error_state.match || (error_state.match = newof(0, regex_t, 1, 0))) && regcomp(error_state.match, v, REG_EXTENDED|REG_LENIENT))
198 free(error_state.match);
199 error_state.match = 0;
202 else if (error_state.match)
204 free(error_state.match);
205 error_state.match = 0;
210 error_state.prefix = strdup(v);
211 else if (error_state.prefix)
213 free(error_state.prefix);
214 error_state.prefix = 0;
332 if (error_state.tty || (error_state.tty = sfopen(NiL, "/dev/tty", "r+")))
334 sfprintf(error_state.tty, "error breakpoint: ");
335 if (s = sfgetr(error_state.tty, '\n', 1))
438 if (error_state.prefix)
439 sfprintf(stkstd, "%s: ", error_state.prefix);
590 if (level >= error_state.breakpoint && error_state.breakpoint && (!error_state.match || !regexec(error_state.match, s ? s : format, 0, NiL, 0)) && (!error_state.count || !--error_state.count))