Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc50 #define PyInt_FromLong PyLong_FromLong macro
511 PyObject* start = PyInt_FromLong(range->start); in GetExtensionRanges()
512 PyObject* end = PyInt_FromLong(range->end); in GetExtensionRanges()
698 return PyInt_FromLong(_GetDescriptor(self)->type()); in GetType()
702 return PyInt_FromLong(_GetDescriptor(self)->cpp_type()); in GetCppType()
706 return PyInt_FromLong(_GetDescriptor(self)->label()); in GetLabel()
710 return PyInt_FromLong(_GetDescriptor(self)->number()); in GetNumber()
714 return PyInt_FromLong(_GetDescriptor(self)->index()); in GetIndex()
735 result = PyInt_FromLong(value); in GetDefaultValue()
776 result = PyInt_FromLong(value->number()); in GetDefaultValue()
[all …]
Dmap_container.cc50 #define PyInt_FromLong PyLong_FromLong macro
182 return PyInt_FromLong(key.GetInt32Value()); in MapKeyToPython()
207 return PyInt_FromLong(value->GetInt32Value()); in MapValueRefToPython()
223 return PyInt_FromLong(value->GetEnumValue()); in MapValueRefToPython()
Dmessage.cc72 #define PyInt_FromLong PyLong_FromLong macro
117 ScopedPyObjectPtr number(PyInt_FromLong(field_descriptor->number())); in AddFieldNumberToClass()
173 ScopedPyObjectPtr value_number(PyInt_FromLong( in AddDescriptors()
943 return PyInt_FromLong(enum_value_descriptor->number()); in CheckAndGetInteger()
1937 return PyInt_FromLong(input.CurrentPosition()); in CheckAndGetInteger()
2238 result = PyInt_FromLong(value); in CheckAndGetInteger()
2287 result = PyInt_FromLong(unknown_field_set.field(i).varint()); in CheckAndGetInteger()
2296 result = PyInt_FromLong(enum_value->number()); in CheckAndGetInteger()
2839 kPythonZero = PyInt_FromLong(0); in CheckAndGetInteger()
2840 kint32min_py = PyInt_FromLong(kint32min); in CheckAndGetInteger()
[all …]
Ddescriptor_containers.cc63 #define PyInt_FromLong PyLong_FromLong macro
242 return PyInt_FromLong(value); in _NewKey_ByIndex()
658 return PyInt_FromLong(position); in Index()
676 return PyInt_FromLong(0); in Count()
678 return PyInt_FromLong(1); in Count()
Drepeated_scalar_container.cc52 #define PyInt_FromLong PyLong_FromLong macro
212 result = PyInt_FromLong(value); in Item()
255 result = PyInt_FromLong(enum_value->number()); in Item()
Dextension_dict.cc59 return PyInt_FromLong(PyDict_Size(self->values)); in len()
Drepeated_composite_container.cc54 #define PyInt_FromLong PyLong_FromLong macro
/external/libnl/python/netlink/genl/
Dcapi.i94 k = PyInt_FromLong((long)i); in py_genlmsg_parse()
/external/libxml2/python/
Dtypes.c19 #define PY_IMPORT_INT PyInt_FromLong
/external/libnl/python/netlink/
Dcapi.i872 k = PyInt_FromLong((long)i); in py_nla_parse_nested()