Searched refs:PyInt_FromLong (Results 1 – 7 of 7) sorted by relevance
50 #define PyInt_FromLong PyLong_FromLong macro516 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 …]
49 #define PyInt_FromLong PyLong_FromLong macro181 return PyInt_FromLong(key.GetInt32Value()); in MapKeyToPython()206 return PyInt_FromLong(value->GetInt32Value()); in MapValueRefToPython()222 return PyInt_FromLong(value->GetEnumValue()); in MapValueRefToPython()
72 #define PyInt_FromLong PyLong_FromLong macro117 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 …]
52 #define PyInt_FromLong PyLong_FromLong macro212 result = PyInt_FromLong(value); in Item()255 result = PyInt_FromLong(enum_value->number()); in Item()
63 #define PyInt_FromLong PyLong_FromLong macro242 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()
59 return PyInt_FromLong(PyDict_Size(self->values)); in len()
54 #define PyInt_FromLong PyLong_FromLong macro