Home
last modified time | relevance | path

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

/third_party/alsa-lib/modules/mixer/simple/
Dpython.c65 #define PyInt_FromLong PyLong_FromLong macro
185 PyTuple_SET_ITEM(obj1, 0, PyInt_FromLong(dir)); in is_ops()
187 PyTuple_SET_ITEM(obj1, 1, PyInt_FromLong(val)); in is_ops()
201 PyTuple_SET_ITEM(obj1, 0, PyInt_FromLong(dir)); in get_x_range_ops()
240 PyTuple_SET_ITEM(obj1, 0, PyInt_FromLong(dir)); in set_range_ops()
241 PyTuple_SET_ITEM(obj1, 1, PyInt_FromLong(min)); in set_range_ops()
242 PyTuple_SET_ITEM(obj1, 2, PyInt_FromLong(max)); in set_range_ops()
255 PyTuple_SET_ITEM(obj1, 0, PyInt_FromLong(dir)); in get_x_ops()
256 PyTuple_SET_ITEM(obj1, 1, PyInt_FromLong(channel)); in get_x_ops()
314 PyTuple_SET_ITEM(obj1, 0, PyInt_FromLong(dir)); in ask_dB_vol_ops()
[all …]
/third_party/boost/libs/python/test/
Dm2.cpp18 # define PyInt_FromLong PyLong_FromLong macro
45 return PyInt_FromLong(x); in unwrap_int()
51 return PyInt_FromLong(x); in unwrap_int_ref()
57 return PyInt_FromLong(x); in unwrap_int_const_ref()
62 # undef PyInt_FromLong
/third_party/boost/boost/python/converter/
Dbuiltin_converters.hpp102 BOOST_PYTHON_TO_PYTHON_BY_VALUE(signed T, ::PyInt_FromLong(x), &PyInt_Type) \
108 : ::PyInt_FromLong(x), &PyInt_Type)
115 BOOST_PYTHON_TO_PYTHON_BY_VALUE(bool, ::PyInt_FromLong(x), &PyInt_Type)
138 : ::PyInt_FromLong(static_cast<long>(x)), &PyInt_Type)
144 : ::PyInt_FromLong(static_cast<long>(x)), &PyInt_Type)
/third_party/protobuf/python/google/protobuf/pyext/
Dunknown_fields.cc44 #define PyInt_FromLong PyLong_FromLong macro
239 return PyInt_FromLong(unknown_field->number()); in GetFieldNumber()
269 return PyInt_FromLong(wire_type); in GetWireType()
280 data = PyInt_FromLong(field->varint()); in GetData()
283 data = PyInt_FromLong(field->fixed32()); in GetData()
286 data = PyInt_FromLong(field->fixed64()); in GetData()
Ddescriptor.cc53 #define PyInt_FromLong PyLong_FromLong macro
564 PyObject* start = PyInt_FromLong(range->start); in GetExtensionRanges()
565 PyObject* end = PyInt_FromLong(range->end); in GetExtensionRanges()
766 return PyInt_FromLong(_GetDescriptor(self)->type()); in GetType()
770 return PyInt_FromLong(_GetDescriptor(self)->cpp_type()); in GetCppType()
774 return PyInt_FromLong(_GetDescriptor(self)->label()); in GetLabel()
778 return PyInt_FromLong(_GetDescriptor(self)->number()); in GetNumber()
782 return PyInt_FromLong(_GetDescriptor(self)->index()); in GetIndex()
808 result = PyInt_FromLong(value); in GetDefaultValue()
849 result = PyInt_FromLong(value->number()); in GetDefaultValue()
[all …]
Dmap_container.cc49 #define PyInt_FromLong PyLong_FromLong macro
179 return PyInt_FromLong(key.GetInt32Value()); in MapKeyToPython()
205 return PyInt_FromLong(value.GetInt32Value()); in MapValueRefToPython()
221 return PyInt_FromLong(value.GetEnumValue()); in MapValueRefToPython()
Drepeated_scalar_container.cc49 #define PyInt_FromLong PyLong_FromLong macro
215 result = PyInt_FromLong(value); in Item()
258 result = PyInt_FromLong(enum_value->number()); in Item()
Ddescriptor_containers.cc63 #define PyInt_FromLong PyLong_FromLong macro
246 return PyInt_FromLong(value); in _NewKey_ByIndex()
681 return PyInt_FromLong(position); in Index()
699 return PyInt_FromLong(0); in Count()
701 return PyInt_FromLong(1); in Count()
Dmessage.cc81 #define PyInt_FromLong PyLong_FromLong macro
164 ScopedPyObjectPtr value_number(PyInt_FromLong( in AddDescriptors()
437 ScopedPyObjectPtr number(PyInt_FromLong(extensions[i]->number())); in GetExtensionsByNumber()
475 return PyInt_FromLong(field->number()); in GetClassAttribute()
992 return PyInt_FromLong(enum_value_descriptor->number()); in GetIntegerEnumValue()
1984 return PyInt_FromLong(data_length - ctx.BytesUntilLimit(ptr)); in MergeFromString()
1986 return PyInt_FromLong(data_length); in MergeFromString()
2208 result = PyInt_FromLong(value); in InternalGetScalar()
2251 result = PyInt_FromLong(enum_value->number()); in InternalGetScalar()
Drepeated_composite_container.cc54 #define PyInt_FromLong PyLong_FromLong macro
/third_party/PyYAML/yaml/
D_yaml.h10 #define PyLong_FromUnsignedLongLong(z) PyInt_FromLong(i)
/third_party/libnl/python/netlink/genl/
Dcapi.i102 k = PyInt_FromLong((long)i); in py_genlmsg_parse()
/third_party/boost/libs/python/doc/reference/
Derrors.qbk80 result = PyInt_FromLong(
130 return PyInt_FromLong(
/third_party/libxml2/python/
Dtypes.c19 #define PY_IMPORT_INT PyInt_FromLong
/third_party/libnl/python/netlink/
Dcapi.i890 k = PyInt_FromLong((long)i); in py_nla_parse_nested()
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c751 #define PyInt_FromLong(x) PyLong_FromLong(x) macro
920 #define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
3046 return PyInt_FromLong((long) value); in SWIG_From_int()
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c748 #define PyInt_FromLong(x) PyLong_FromLong(x) macro
916 #define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
3025 return PyInt_FromLong((long) value); in SWIG_From_int()