Searched refs:PyInt_FromLong (Results 1 – 12 of 12) sorted by relevance
105 return PyInt_FromLong((long)crc); in _crc8()146 return PyInt_FromLong((long)crc); in _crc8r()186 return PyInt_FromLong((long)crc); in _crc16()227 return PyInt_FromLong((long)crc); in _crc16r()267 return PyInt_FromLong((long)(crc & 0xFFFFFFU)); in _crc24()309 return PyInt_FromLong((long)crc); in _crc24r()
44 #define PyInt_FromLong PyLong_FromLong macro88 return PyInt_FromLong(self->descriptor->cpp_type()); in GetCppType()92 return PyInt_FromLong(self->descriptor->label()); in GetLabel()
65 #define PyInt_FromLong PyLong_FromLong macro1367 return PyInt_FromLong(input.CurrentPosition()); in CheckAndGetInteger()1636 result = PyInt_FromLong(value); in CheckAndGetInteger()1682 result = PyInt_FromLong(unknown_field_set->field(i).varint()); in CheckAndGetInteger()1691 result = PyInt_FromLong(enum_value->number()); in CheckAndGetInteger()1911 ScopedPyObjectPtr number(PyInt_FromLong( in CheckAndGetInteger()2017 ScopedPyObjectPtr number(PyInt_FromLong( in CheckAndGetInteger()2023 field_number_name, PyInt_FromLong( in CheckAndGetInteger()2395 kPythonZero = PyInt_FromLong(0); in CheckAndGetInteger()2396 kint32min_py = PyInt_FromLong(kint32min); in CheckAndGetInteger()[all …]
50 #define PyInt_FromLong PyLong_FromLong macro215 result = PyInt_FromLong(value); in Item()258 result = PyInt_FromLong(enum_value->number()); in Item()
85 return PyInt_FromLong(PyDict_Size(self->values)); in len()
52 #define PyInt_FromLong PyLong_FromLong macro
53 #define PyInt_FromLong PyLong_FromLong macro
458 return PyInt_FromLong(value); in pyopencv_from()494 return PyInt_FromLong(value); in pyopencv_from()501 return PyInt_FromLong(int(value)); in pyopencv_from()507 return PyInt_FromLong(int(value)); in pyopencv_from()529 return PyInt_FromLong(value); in pyopencv_from()1273 PyDict_SetItemString(d, c->name, PyInt_FromLong(c->val)); in init_submodule()1326 #define PUBLISH(I) PyDict_SetItemString(d, #I, PyInt_FromLong(I))
39 #define MyInt_FromInt(i) PyInt_FromLong((long)i)
160 #define PyInt_FromSsize_t(arg) PyInt_FromLong((long)arg)
19 #define PY_IMPORT_INT PyInt_FromLong