Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_decimal/
D_decimal.c5624 #define ASSIGN_PTR(result, expr) \ macro
5685 ASSIGN_PTR(_py_float_as_integer_ratio, cfunc_noargs(&PyFloat_Type, in PyInit__decimal()
5687 ASSIGN_PTR(_py_long_bit_length, cfunc_noargs(&PyLong_Type, "bit_length")); in PyInit__decimal()
5701 ASSIGN_PTR(obj, PyUnicode_FromString("decimal")); in PyInit__decimal()
5709 ASSIGN_PTR(numbers, PyImport_ImportModule("numbers")); in PyInit__decimal()
5710 ASSIGN_PTR(Number, PyObject_GetAttrString(numbers, "Number")); in PyInit__decimal()
5712 ASSIGN_PTR(obj, PyObject_CallMethod(Number, "register", "(O)", in PyInit__decimal()
5716 ASSIGN_PTR(Rational, PyObject_GetAttrString(numbers, "Rational")); in PyInit__decimal()
5722 ASSIGN_PTR(collections, PyImport_ImportModule("collections")); in PyInit__decimal()
5723 ASSIGN_PTR(DecimalTuple, (PyTypeObject *)PyObject_CallMethod(collections, in PyInit__decimal()
[all …]