Lines Matching defs:temp

55  * everywhere.  In just a few cases we use a temp long, where a Python
192 PyObject *temp;
194 temp = _PyLong_DivmodNear(m, n);
195 if (temp == NULL)
197 result = PyTuple_GET_ITEM(temp, 0);
199 Py_DECREF(temp);
1359 PyObject *temp;
1367 temp = PyUnicode_Substring(repr, 0, PyUnicode_GET_LENGTH(repr) - 1);
1369 if (temp == NULL)
1371 repr = PyUnicode_FromFormat("%U, tzinfo=%R)", temp, tzinfo);
1372 Py_DECREF(temp);
1384 PyObject *temp;
1391 temp = PyUnicode_Substring(repr, 0, PyUnicode_GET_LENGTH(repr) - 1);
1393 if (temp == NULL)
1395 repr = PyUnicode_FromFormat("%U, fold=%d)", temp, fold);
1396 Py_DECREF(temp);
1512 PyObject *temp;
1523 temp = call_tzname(tzinfo, tzinfoarg);
1524 if (temp == NULL)
1526 if (temp == Py_None) {
1527 Py_DECREF(temp);
1531 assert(PyUnicode_Check(temp));
1537 Zreplacement = _PyObject_CallMethodId(temp, &PyId_replace, "ss", "%", "%%");
1538 Py_DECREF(temp);
2040 PyObject *pyus_in = NULL, *temp, *pyus_out;
2050 temp = PyNumber_Multiply(pyus_in, PyTuple_GET_ITEM(ratio, op));
2053 if (temp == NULL)
2055 pyus_out = divide_nearest(temp, PyTuple_GET_ITEM(ratio, !op));
2056 Py_DECREF(temp);
2265 PyObject *temp = delta_getstate(self);
2266 if (temp != NULL) {
2267 self->hashcode = PyObject_Hash(temp);
2268 Py_DECREF(temp);
2524 PyObject *y = NULL; /* temp sum of microseconds */
2580 PyObject *temp;
2588 temp = PyNumber_And(x, _PyLong_GetOne()); /* temp <- x & 1 */
2589 if (temp == NULL) {
2593 x_is_odd = PyObject_IsTrue(temp);
2594 Py_DECREF(temp);
2602 temp = PyLong_FromLong((long)whole_us);
2604 if (temp == NULL) {
2608 y = PyNumber_Add(x, temp);
2609 Py_DECREF(temp);
6203 PyObject *temp;
6256 temp = (PyObject *)result;
6268 Py_DECREF(temp);
6274 temp = result->tzinfo;
6277 Py_DECREF(temp);
6281 temp = result->tzinfo;
6292 Py_DECREF(temp);
6294 temp = (PyObject *)result;
6296 _PyObject_CallMethodIdOneArg(tzinfo, &PyId_fromutc, temp);
6297 Py_DECREF(temp);