Searched refs:PyInt_FromLong (Results 1 – 10 of 10) sorted by relevance
50 #define PyInt_FromLong PyLong_FromLong macro511 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 …]
50 #define PyInt_FromLong PyLong_FromLong macro182 return PyInt_FromLong(key.GetInt32Value()); in MapKeyToPython()207 return PyInt_FromLong(value->GetInt32Value()); in MapValueRefToPython()223 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()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 …]
63 #define PyInt_FromLong PyLong_FromLong macro242 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()
52 #define PyInt_FromLong PyLong_FromLong macro212 result = PyInt_FromLong(value); in Item()255 result = PyInt_FromLong(enum_value->number()); in Item()
59 return PyInt_FromLong(PyDict_Size(self->values)); in len()
54 #define PyInt_FromLong PyLong_FromLong macro
94 k = PyInt_FromLong((long)i); in py_genlmsg_parse()
19 #define PY_IMPORT_INT PyInt_FromLong
872 k = PyInt_FromLong((long)i); in py_nla_parse_nested()