Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor.cc50 #define PyInt_FromLong PyLong_FromLong macro
516 PyObject* start = PyInt_FromLong(range->start); in GetExtensionRanges()
517 PyObject* end = PyInt_FromLong(range->end); in GetExtensionRanges()
703 return PyInt_FromLong(_GetDescriptor(self)->type()); in GetType()
707 return PyInt_FromLong(_GetDescriptor(self)->cpp_type()); in GetCppType()
711 return PyInt_FromLong(_GetDescriptor(self)->label()); in GetLabel()
715 return PyInt_FromLong(_GetDescriptor(self)->number()); in GetNumber()
719 return PyInt_FromLong(_GetDescriptor(self)->index()); in GetIndex()
740 result = PyInt_FromLong(value); in GetDefaultValue()
781 result = PyInt_FromLong(value->number()); in GetDefaultValue()
[all …]
Dmap_container.cc49 #define PyInt_FromLong PyLong_FromLong macro
181 return PyInt_FromLong(key.GetInt32Value()); in MapKeyToPython()
206 return PyInt_FromLong(value->GetInt32Value()); in MapValueRefToPython()
222 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()
1934 return PyInt_FromLong(input.CurrentPosition()); in CheckAndGetInteger()
2235 result = PyInt_FromLong(value); in CheckAndGetInteger()
2284 result = PyInt_FromLong(unknown_field_set.field(i).varint()); in CheckAndGetInteger()
2293 result = PyInt_FromLong(enum_value->number()); in CheckAndGetInteger()
2836 kPythonZero = PyInt_FromLong(0); in CheckAndGetInteger()
2837 kint32min_py = PyInt_FromLong(kint32min); in CheckAndGetInteger()
[all …]
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()
Ddescriptor_containers.cc63 #define PyInt_FromLong PyLong_FromLong macro
242 return PyInt_FromLong(value); in _NewKey_ByIndex()
676 return PyInt_FromLong(position); in Index()
694 return PyInt_FromLong(0); in Count()
696 return PyInt_FromLong(1); in Count()
Dextension_dict.cc59 return PyInt_FromLong(PyDict_Size(self->values)); in len()
Drepeated_composite_container.cc54 #define PyInt_FromLong PyLong_FromLong macro