Home
last modified time | relevance | path

Searched refs:PY_MAJOR_VERSION (Results 1 – 25 of 38) sorted by relevance

12

/third_party/boost/boost/python/detail/
Dwrap_python.hpp84 #if PY_MAJOR_VERSION<2 || PY_MAJOR_VERSION==2 && PY_MINOR_VERSION<2
103 # if PY_MAJOR_VERSION < 2 || PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION <= 2
115 # if PY_MAJOR_VERSION < 2
175 #if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION == 2 && PY_MICRO_VERSION < 2
216 #if !defined(PY_MAJOR_VERSION) || PY_MAJOR_VERSION < 2
Dconfig.hpp110 #define BOOST_LIB_NAME BOOST_PYTHON_CONCAT(boost_python, PY_MAJOR_VERSION, PY_MINOR_VERSION)
/third_party/protobuf/python/google/protobuf/internal/
Dapi_implementation.cc80 #if PY_MAJOR_VERSION >= 3
99 #if PY_MAJOR_VERSION >= 3 in INITFUNC()
112 #if PY_MAJOR_VERSION < 3 in INITFUNC()
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage_module.cc76 #if PY_MAJOR_VERSION >= 3
95 #if PY_MAJOR_VERSION >= 3 in INITFUNC()
121 #if PY_MAJOR_VERSION >= 3 in INITFUNC()
Drepeated_scalar_container.cc48 #if PY_MAJOR_VERSION >= 3
285 #if PY_MAJOR_VERSION < 3 in Subscript()
294 #if PY_MAJOR_VERSION >= 3 in Subscript()
443 #if PY_MAJOR_VERSION < 3 in Subscript()
453 #if PY_MAJOR_VERSION >= 3 in Subscript()
Dmap_container.cc48 #if PY_MAJOR_VERSION >= 3
547 #if PY_MAJOR_VERSION >= 3
815 #if PY_MAJOR_VERSION >= 3
1009 #if PY_MAJOR_VERSION >= 3 in InitMapContainers()
1032 #if PY_MAJOR_VERSION >= 3 in InitMapContainers()
Dfield.cc37 #if PY_MAJOR_VERSION >= 3
Drepeated_composite_container.cc51 #if PY_MAJOR_VERSION >= 3
250 #if PY_MAJOR_VERSION >= 3 in Subscript()
Dmessage_factory.cc41 #if PY_MAJOR_VERSION >= 3
Dunknown_fields.cc43 #if PY_MAJOR_VERSION >= 3
/third_party/skia/third_party/externals/brotli/python/
D_brotli.cc10 #if PY_MAJOR_VERSION >= 3
153 #if PY_MAJOR_VERSION >= 3 in brotli_Compressor_dealloc()
229 #if PY_MAJOR_VERSION >= 3 in brotli_Compressor_process()
350 #if PY_MAJOR_VERSION >= 3
439 #if PY_MAJOR_VERSION >= 3 in brotli_Decompressor_dealloc()
498 #if PY_MAJOR_VERSION >= 3 in brotli_Decompressor_process()
577 #if PY_MAJOR_VERSION >= 3
646 #if PY_MAJOR_VERSION >= 3 in brotli_decompress()
698 #if PY_MAJOR_VERSION >= 3
/third_party/python/Include/
Dpatchlevel.h19 #define PY_MAJOR_VERSION 3 macro
31 #define PY_VERSION_HEX ((PY_MAJOR_VERSION << 24) | \
/third_party/skia/third_party/externals/markupsafe/
D_speedups.c124 #if PY_MAJOR_VERSION < 3 in escape()
142 #if PY_MAJOR_VERSION < 3 in escape()
175 #if PY_MAJOR_VERSION < 3 in soft_unicode()
202 #if PY_MAJOR_VERSION < 3
/third_party/node/tools/inspector_protocol/markupsafe/
D_speedups.c124 #if PY_MAJOR_VERSION < 3 in escape()
142 #if PY_MAJOR_VERSION < 3 in escape()
175 #if PY_MAJOR_VERSION < 3 in soft_unicode()
202 #if PY_MAJOR_VERSION < 3
/third_party/python/Python/
Ddynload_win.c22 #define PYD_TAGGED_SUFFIX PYD_DEBUG_SUFFIX ".cp" Py_STRINGIFY(PY_MAJOR_VERSION) Py_STRINGIFY(PY_MIN…
24 #define PYD_TAGGED_SUFFIX PYD_DEBUG_SUFFIX ".cp" Py_STRINGIFY(PY_MAJOR_VERSION) Py_STRINGIFY(PY_MIN…
267 PY_MAJOR_VERSION,PY_MINOR_VERSION);
/third_party/alsa-lib/modules/mixer/simple/
Dpython.c64 #if PY_MAJOR_VERSION >= 3
70 #if PY_MAJOR_VERSION < 3 in get_long()
85 #if PY_MAJOR_VERSION < 3 in InternFromString()
142 #if PY_MAJOR_VERSION < 3 in pcall()
210 #if PY_MAJOR_VERSION < 3 in get_x_range_ops()
263 #if PY_MAJOR_VERSION < 3 in get_x_ops()
323 #if PY_MAJOR_VERSION < 3 in ask_dB_vol_ops()
422 #if PY_MAJOR_VERSION < 3 in enum_item_name_ops()
459 #if PY_MAJOR_VERSION < 3 in get_enum_item_ops()
547 #if PY_MAJOR_VERSION < 3 in pymelem_set_caps()
[all …]
/third_party/python/Doc/c-api/
Dapiabiversion.rst15 .. c:macro:: PY_MAJOR_VERSION
47 | 1 | 1-8 | ``PY_MAJOR_VERSION`` | ``0x03`` |
/third_party/selinux/libselinux/src/
Daudit2why.c362 #if PY_MAJOR_VERSION >= 3 in analyze()
444 #if PY_MAJOR_VERSION >= 3
466 #if PY_MAJOR_VERSION >= 3
489 #if PY_MAJOR_VERSION >= 3
/third_party/boost/libs/mpi/src/python/
Ddatatypes.cpp20 #if PY_MAJOR_VERSION < 3 in export_datatypes()
Dpy_environment.cpp43 #if PY_MAJOR_VERSION >= 3 in mpi_init()
/third_party/boost/libs/python/src/numpy/
Dnumpy.cpp13 #if PY_MAJOR_VERSION == 2
/third_party/python/PC/
Dpython_ver_rc.h34 #define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION
/third_party/boost/boost/python/numpy/
Dconfig.hpp67 #define BOOST_LIB_NAME BOOST_PYTHON_CONCAT(boost_numpy, PY_MAJOR_VERSION, PY_MINOR_VERSION)
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/aio/
Dcommon.pyx.pxi15 from cpython.version cimport PY_MAJOR_VERSION, PY_MINOR_VERSION
172 if PY_MAJOR_VERSION >= 3 and PY_MINOR_VERSION >= 7:
/third_party/python/Doc/library/
D__future__.rst34 (PY_MAJOR_VERSION, # the 2 in 2.1.0a3; an int

12