Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python2/src/
D_crcfunext.c105 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()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc44 #define PyInt_FromLong PyLong_FromLong macro
88 return PyInt_FromLong(self->descriptor->cpp_type()); in GetCppType()
92 return PyInt_FromLong(self->descriptor->label()); in GetLabel()
Dmessage.cc65 #define PyInt_FromLong PyLong_FromLong macro
1367 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 …]
Drepeated_scalar_container.cc50 #define PyInt_FromLong PyLong_FromLong macro
215 result = PyInt_FromLong(value); in Item()
258 result = PyInt_FromLong(enum_value->number()); in Item()
Dextension_dict.cc85 return PyInt_FromLong(PyDict_Size(self->values)); in len()
Drepeated_composite_container.cc52 #define PyInt_FromLong PyLong_FromLong macro
/external/opencv3/modules/python/src2/
Dpycompat.hpp53 #define PyInt_FromLong PyLong_FromLong macro
Dcv2.cpp458 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))
/external/chromium-trace/catapult/third_party/coverage/coverage/ctracer/
Dutil.h39 #define MyInt_FromInt(i) PyInt_FromLong((long)i)
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/include/
Dcext.h160 #define PyInt_FromSsize_t(arg) PyInt_FromLong((long)arg)
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/include/
Dcext.h160 #define PyInt_FromSsize_t(arg) PyInt_FromLong((long)arg)
/external/libxml2/python/
Dtypes.c19 #define PY_IMPORT_INT PyInt_FromLong