Searched refs:py_int (Results 1 – 2 of 2) sorted by relevance
179 PyObject* py_int = numpy::PyNumberToPyInt(o);180 if (!py_int) {187 temps[i] = numpy::PyIntOrPyLongToLong(py_int);189 Py_DECREF(py_int);193 Py_DECREF(py_int);367 PyObject* py_int = numpy::PyNumberToPyInt($input);368 if (!py_int) {372 const long value = numpy::PyIntOrPyLongToLong(py_int);374 Py_DECREF(py_int);380 Py_DECREF(py_int);
3410 PyObject *py_int = 0; in load_int() local3427 py_int = PyLong_FromString(s, NULL, 0); in load_int()3428 if (py_int == NULL) { in load_int()3436 if (!( py_int = PyBool_FromLong(l))) goto finally; in load_int()3439 if (!( py_int = PyInt_FromLong(l))) goto finally; in load_int()3444 PDATA_PUSH(self->stack, py_int, -1); in load_int()3492 PyObject *py_int = 0; in load_binintx() local3497 if (!( py_int = PyInt_FromLong(l))) in load_binintx()3500 PDATA_PUSH(self->stack, py_int, -1); in load_binintx()