Searched defs:PyInt_FromLong (Results 1 - 8 of 8) sorted by relevance

/external/protobuf/python/google/protobuf/pyext/
H A Drepeated_scalar_container.cc52 #define PyInt_FromLong PyLong_FromLong macro
212 result = PyInt_FromLong(value);
255 result = PyInt_FromLong(enum_value->number());
H A Dmap_container.cc50 #define PyInt_FromLong PyLong_FromLong macro
182 return PyInt_FromLong(key.GetInt32Value());
207 return PyInt_FromLong(value->GetInt32Value());
223 return PyInt_FromLong(value->GetEnumValue());
H A Drepeated_composite_container.cc54 #define PyInt_FromLong PyLong_FromLong macro
H A Ddescriptor.cc50 #define PyInt_FromLong PyLong_FromLong macro
511 PyObject* start = PyInt_FromLong(range->start);
512 PyObject* end = PyInt_FromLong(range->end);
698 return PyInt_FromLong(_GetDescriptor(self)->type());
702 return PyInt_FromLong(_GetDescriptor(self)->cpp_type());
706 return PyInt_FromLong(_GetDescriptor(self)->label());
710 return PyInt_FromLong(_GetDescriptor(self)->number());
714 return PyInt_FromLong(_GetDescriptor(self)->index());
735 result = PyInt_FromLong(value);
776 result = PyInt_FromLong(valu
[all...]
H A Ddescriptor_containers.cc63 #define PyInt_FromLong PyLong_FromLong macro
242 return PyInt_FromLong(value);
658 return PyInt_FromLong(position);
676 return PyInt_FromLong(0);
678 return PyInt_FromLong(1);
H A Dmessage.cc72 #define PyInt_FromLong PyLong_FromLong macro
117 ScopedPyObjectPtr number(PyInt_FromLong(field_descriptor->number()));
173 ScopedPyObjectPtr value_number(PyInt_FromLong(
943 return PyInt_FromLong(enum_value_descriptor->number());
1937 return PyInt_FromLong(input.CurrentPosition());
2238 result = PyInt_FromLong(value);
2287 result = PyInt_FromLong(unknown_field_set.field(i).varint());
2296 result = PyInt_FromLong(enum_value->number());
2839 kPythonZero = PyInt_FromLong(0);
2840 kint32min_py = PyInt_FromLong(kint32mi
[all...]
/external/python/cpython2/Modules/_multiprocessing/
H A Dmultiprocessing.h75 # define PyInt_FromSsize_t(n) PyInt_FromLong((long)n)
149 # define PyInt_FromLong PyLong_FromLong macro
/external/python/cpython2/Objects/
H A Dintobject.c87 PyInt_FromLong(long ival) function
119 return PyInt_FromLong((long)ival);
127 return PyInt_FromLong((long)ival);
396 return PyInt_FromLong(x);
474 return PyInt_FromLong(x);
487 return PyInt_FromLong(x);
536 return PyInt_FromLong(longprod);
551 return PyInt_FromLong(longprod);
624 return PyInt_FromLong(d);
645 return PyInt_FromLong(
[all...]

Completed in 176 milliseconds