Lines Matching refs:errstr
18 PyObject *errstr = NULL; in _PyPegen_raise_tokenizer_init_error() local
24 errstr = PyObject_Str(value); in _PyPegen_raise_tokenizer_init_error()
25 if (!errstr) { in _PyPegen_raise_tokenizer_init_error()
34 tuple = PyTuple_Pack(2, errstr, tmp); in _PyPegen_raise_tokenizer_init_error()
45 Py_XDECREF(errstr); in _PyPegen_raise_tokenizer_init_error()
129 PyObject *errstr; in _Pypegen_raise_decode_error() local
131 errstr = PyObject_Str(value); in _Pypegen_raise_decode_error()
132 if (errstr) { in _Pypegen_raise_decode_error()
133 RAISE_SYNTAX_ERROR("(%s) %U", errtype, errstr); in _Pypegen_raise_decode_error()
134 Py_DECREF(errstr); in _Pypegen_raise_decode_error()
271 PyObject *errstr = NULL; in _PyPegen_raise_error_known_location() local
298 errstr = PyUnicode_FromFormatV(errmsg, va); in _PyPegen_raise_error_known_location()
299 if (!errstr) { in _PyPegen_raise_error_known_location()
362 value = PyTuple_Pack(2, errstr, tmp); in _PyPegen_raise_error_known_location()
369 Py_DECREF(errstr); in _PyPegen_raise_error_known_location()
377 Py_XDECREF(errstr); in _PyPegen_raise_error_known_location()