Lines Matching defs:tmp
1613 PyObject *exc, *v, *tb, *tmp;
1621 tmp = PyLong_FromLong(lineno);
1622 if (tmp == NULL)
1625 if (PyObject_SetAttr(v, &_Py_ID(lineno), tmp)) {
1628 Py_DECREF(tmp);
1630 tmp = NULL;
1632 tmp = PyLong_FromLong(col_offset);
1633 if (tmp == NULL) {
1637 if (PyObject_SetAttr(v, &_Py_ID(offset), tmp ? tmp : Py_None)) {
1640 Py_XDECREF(tmp);
1642 tmp = NULL;
1644 tmp = PyLong_FromLong(end_lineno);
1645 if (tmp == NULL) {
1649 if (PyObject_SetAttr(v, &_Py_ID(end_lineno), tmp ? tmp : Py_None)) {
1652 Py_XDECREF(tmp);
1654 tmp = NULL;
1656 tmp = PyLong_FromLong(end_col_offset);
1657 if (tmp == NULL) {
1661 if (PyObject_SetAttr(v, &_Py_ID(end_offset), tmp ? tmp : Py_None)) {
1664 Py_XDECREF(tmp);
1666 tmp = NULL;
1672 tmp = PyErr_ProgramTextObject(filename, lineno);
1673 if (tmp) {
1674 if (PyObject_SetAttr(v, &_Py_ID(text), tmp)) {
1677 Py_DECREF(tmp);
1684 if (_PyObject_LookupAttr(v, &_Py_ID(msg), &tmp) < 0) {
1687 else if (tmp) {
1688 Py_DECREF(tmp);
1691 tmp = PyObject_Str(v);
1692 if (tmp) {
1693 if (PyObject_SetAttr(v, &_Py_ID(msg), tmp)) {
1696 Py_DECREF(tmp);
1703 if (_PyObject_LookupAttr(v, &_Py_ID(print_file_and_line), &tmp) < 0) {
1706 else if (tmp) {
1707 Py_DECREF(tmp);