Home
last modified time | relevance | path

Searched refs:py_exponent (Results 1 – 18 of 18) sorted by relevance

/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/arrow/python/
H A Ddecimal.cc69 OwnedRef py_exponent(PyObject_GetAttrString(as_tuple.obj(), "exponent")); in InferDecimalPrecisionAndScale() local
71 DCHECK(IsPyInteger(py_exponent.obj())); in InferDecimalPrecisionAndScale()
73 const auto exponent = static_cast<int32_t>(PyLong_AsLong(py_exponent.obj())); in InferDecimalPrecisionAndScale()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/arrow/python/
H A Ddecimal.cc68 OwnedRef py_exponent(PyObject_GetAttrString(as_tuple.obj(), "exponent")); in InferDecimalPrecisionAndScale() local
70 DCHECK(IsPyInteger(py_exponent.obj())); in InferDecimalPrecisionAndScale()
72 const auto exponent = static_cast<int32_t>(PyLong_AsLong(py_exponent.obj())); in InferDecimalPrecisionAndScale()
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/arrow/python/
H A Ddecimal.cc68 OwnedRef py_exponent(PyObject_GetAttrString(as_tuple.obj(), "exponent")); in InferDecimalPrecisionAndScale() local
70 DCHECK(IsPyInteger(py_exponent.obj())); in InferDecimalPrecisionAndScale()
72 const auto exponent = static_cast<int32_t>(PyLong_AsLong(py_exponent.obj())); in InferDecimalPrecisionAndScale()
/dports/lang/python-legacy/Python-2.7.18/Objects/
H A Dfloatobject.c1717 PyObject *py_exponent = NULL; in float_as_integer_ratio() local
1760 py_exponent = PyLong_FromLong(labs((long)exponent)); in float_as_integer_ratio()
1761 if (py_exponent == NULL) goto error; in float_as_integer_ratio()
1762 INPLACE_UPDATE(py_exponent, in float_as_integer_ratio()
1763 long_methods->nb_lshift(denominator, py_exponent)); in float_as_integer_ratio()
1764 if (py_exponent == NULL) goto error; in float_as_integer_ratio()
1767 long_methods->nb_multiply(numerator, py_exponent)); in float_as_integer_ratio()
1772 denominator = py_exponent; in float_as_integer_ratio()
1773 py_exponent = NULL; in float_as_integer_ratio()
1786 Py_XDECREF(py_exponent); in float_as_integer_ratio()
/dports/lang/python27/Python-2.7.18/Objects/
H A Dfloatobject.c1717 PyObject *py_exponent = NULL; in float_as_integer_ratio() local
1760 py_exponent = PyLong_FromLong(labs((long)exponent)); in float_as_integer_ratio()
1761 if (py_exponent == NULL) goto error; in float_as_integer_ratio()
1762 INPLACE_UPDATE(py_exponent, in float_as_integer_ratio()
1763 long_methods->nb_lshift(denominator, py_exponent)); in float_as_integer_ratio()
1764 if (py_exponent == NULL) goto error; in float_as_integer_ratio()
1767 long_methods->nb_multiply(numerator, py_exponent)); in float_as_integer_ratio()
1772 denominator = py_exponent; in float_as_integer_ratio()
1773 py_exponent = NULL; in float_as_integer_ratio()
1786 Py_XDECREF(py_exponent); in float_as_integer_ratio()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dfloatobject.c1694 PyObject *py_exponent = NULL; in float_as_integer_ratio() local
1737 py_exponent = PyLong_FromLong(labs((long)exponent)); in float_as_integer_ratio()
1738 if (py_exponent == NULL) goto error; in float_as_integer_ratio()
1739 INPLACE_UPDATE(py_exponent, in float_as_integer_ratio()
1740 long_methods->nb_lshift(denominator, py_exponent)); in float_as_integer_ratio()
1741 if (py_exponent == NULL) goto error; in float_as_integer_ratio()
1744 long_methods->nb_multiply(numerator, py_exponent)); in float_as_integer_ratio()
1749 denominator = py_exponent; in float_as_integer_ratio()
1750 py_exponent = NULL; in float_as_integer_ratio()
1763 Py_XDECREF(py_exponent); in float_as_integer_ratio()
/dports/databases/py-sqlite3/Python-3.8.12/Objects/
H A Dfloatobject.c1522 PyObject *py_exponent = NULL; in float_as_integer_ratio_impl() local
1559 py_exponent = PyLong_FromLong(Py_ABS(exponent)); in float_as_integer_ratio_impl()
1560 if (py_exponent == NULL) in float_as_integer_ratio_impl()
1566 long_methods->nb_lshift(numerator, py_exponent)); in float_as_integer_ratio_impl()
1572 long_methods->nb_lshift(denominator, py_exponent)); in float_as_integer_ratio_impl()
1580 Py_XDECREF(py_exponent); in float_as_integer_ratio_impl()
/dports/databases/py-gdbm/Python-3.8.12/Objects/
H A Dfloatobject.c1522 PyObject *py_exponent = NULL; in float_as_integer_ratio_impl() local
1559 py_exponent = PyLong_FromLong(Py_ABS(exponent)); in float_as_integer_ratio_impl()
1560 if (py_exponent == NULL) in float_as_integer_ratio_impl()
1566 long_methods->nb_lshift(numerator, py_exponent)); in float_as_integer_ratio_impl()
1572 long_methods->nb_lshift(denominator, py_exponent)); in float_as_integer_ratio_impl()
1580 Py_XDECREF(py_exponent); in float_as_integer_ratio_impl()
/dports/lang/python-tools/Python-3.8.12/Objects/
H A Dfloatobject.c1522 PyObject *py_exponent = NULL; in float_as_integer_ratio_impl() local
1559 py_exponent = PyLong_FromLong(Py_ABS(exponent)); in float_as_integer_ratio_impl()
1560 if (py_exponent == NULL) in float_as_integer_ratio_impl()
1566 long_methods->nb_lshift(numerator, py_exponent)); in float_as_integer_ratio_impl()
1572 long_methods->nb_lshift(denominator, py_exponent)); in float_as_integer_ratio_impl()
1580 Py_XDECREF(py_exponent); in float_as_integer_ratio_impl()
/dports/lang/python39/Python-3.9.9/Objects/
H A Dfloatobject.c1521 PyObject *py_exponent = NULL; in float_as_integer_ratio_impl() local
1556 py_exponent = PyLong_FromLong(Py_ABS(exponent)); in float_as_integer_ratio_impl()
1557 if (py_exponent == NULL) in float_as_integer_ratio_impl()
1563 long_methods->nb_lshift(numerator, py_exponent)); in float_as_integer_ratio_impl()
1569 long_methods->nb_lshift(denominator, py_exponent)); in float_as_integer_ratio_impl()
1577 Py_XDECREF(py_exponent); in float_as_integer_ratio_impl()
/dports/lang/python38/Python-3.8.12/Objects/
H A Dfloatobject.c1522 PyObject *py_exponent = NULL; in float_as_integer_ratio_impl() local
1559 py_exponent = PyLong_FromLong(Py_ABS(exponent)); in float_as_integer_ratio_impl()
1560 if (py_exponent == NULL) in float_as_integer_ratio_impl()
1566 long_methods->nb_lshift(numerator, py_exponent)); in float_as_integer_ratio_impl()
1572 long_methods->nb_lshift(denominator, py_exponent)); in float_as_integer_ratio_impl()
1580 Py_XDECREF(py_exponent); in float_as_integer_ratio_impl()
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Objects/
H A Dfloatobject.c1522 PyObject *py_exponent = NULL; in float_as_integer_ratio_impl() local
1559 py_exponent = PyLong_FromLong(Py_ABS(exponent)); in float_as_integer_ratio_impl()
1560 if (py_exponent == NULL) in float_as_integer_ratio_impl()
1566 long_methods->nb_lshift(numerator, py_exponent)); in float_as_integer_ratio_impl()
1572 long_methods->nb_lshift(denominator, py_exponent)); in float_as_integer_ratio_impl()
1580 Py_XDECREF(py_exponent); in float_as_integer_ratio_impl()
/dports/lang/python37/Python-3.7.12/Objects/
H A Dfloatobject.c1542 PyObject *py_exponent = NULL; in float_as_integer_ratio_impl() local
1579 py_exponent = PyLong_FromLong(Py_ABS(exponent)); in float_as_integer_ratio_impl()
1580 if (py_exponent == NULL) in float_as_integer_ratio_impl()
1586 long_methods->nb_lshift(numerator, py_exponent)); in float_as_integer_ratio_impl()
1592 long_methods->nb_lshift(denominator, py_exponent)); in float_as_integer_ratio_impl()
1600 Py_XDECREF(py_exponent); in float_as_integer_ratio_impl()
/dports/lang/python311/Python-3.11.0a3/Objects/
H A Dfloatobject.c1553 PyObject *py_exponent = NULL; in float_as_integer_ratio_impl() local
1588 py_exponent = PyLong_FromLong(Py_ABS(exponent)); in float_as_integer_ratio_impl()
1589 if (py_exponent == NULL) in float_as_integer_ratio_impl()
1595 long_methods->nb_lshift(numerator, py_exponent)); in float_as_integer_ratio_impl()
1601 long_methods->nb_lshift(denominator, py_exponent)); in float_as_integer_ratio_impl()
1609 Py_XDECREF(py_exponent); in float_as_integer_ratio_impl()
/dports/lang/python310/Python-3.10.1/Objects/
H A Dfloatobject.c1541 PyObject *py_exponent = NULL; in float_as_integer_ratio_impl() local
1576 py_exponent = PyLong_FromLong(Py_ABS(exponent)); in float_as_integer_ratio_impl()
1577 if (py_exponent == NULL) in float_as_integer_ratio_impl()
1583 long_methods->nb_lshift(numerator, py_exponent)); in float_as_integer_ratio_impl()
1589 long_methods->nb_lshift(denominator, py_exponent)); in float_as_integer_ratio_impl()
1597 Py_XDECREF(py_exponent); in float_as_integer_ratio_impl()
/dports/security/py-python-nss/python-nss-1.0.1/src/
H A Dpy_nss.h126 PyObject *py_exponent; member
H A Dpy_nss.c7116 Py_INCREF(self->py_exponent); in RSAPublicKey_get_exponent()
7117 return self->py_exponent; in RSAPublicKey_get_exponent()
7207 self->py_exponent = NULL; in RSAPublicKey_new()
7219 Py_VISIT(self->py_exponent); in RSAPublicKey_traverse()
7229 Py_CLEAR(self->py_exponent); in RSAPublicKey_clear()
7310 …if ((self->py_exponent = SecItem_new_from_SECItem(&rsa->publicExponent, SECITEM_unknown)) == NULL)… in RSAPublicKey_new_from_SECKEYRSAPublicKey()
/dports/math/py-numpy/numpy-1.20.3/numpy/core/src/multiarray/
H A Dscalartypes.c.src1849 PyObject *py_exponent = NULL;
1881 py_exponent = PyLong_FromLong(exponent < 0 ? -exponent : exponent);
1882 if (py_exponent == NULL)
1887 PyObject *temp = long_methods->nb_lshift(numerator, py_exponent);
1894 PyObject *temp = long_methods->nb_lshift(denominator, py_exponent);
1904 Py_XDECREF(py_exponent);