Home
last modified time | relevance | path

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

/external/python/cpython2/PC/
Dmake_versioninfo.c29 PY_MAJOR_VERSION, PY_MINOR_VERSION); in main()
32 PY_MAJOR_VERSION, PY_MINOR_VERSION); in main()
35 PY_MAJOR_VERSION, PY_MINOR_VERSION); in main()
Dpython_nt.rc30 #define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION
/external/protobuf/python/google/protobuf/internal/
Dapi_implementation.cc79 #if PY_MAJOR_VERSION >= 3
100 #if PY_MAJOR_VERSION >= 3 in INITFUNC()
117 #if PY_MAJOR_VERSION < 3 in INITFUNC()
/external/python/cpython2/Include/
Dpatchlevel.h23 #define PY_MAJOR_VERSION 2 macro
39 #define PY_VERSION_HEX ((PY_MAJOR_VERSION << 24) | \
/external/libmojo/third_party/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
/external/python/cpython2/Doc/howto/
Dcporting.rst26 if :c:macro:`PY_MAJOR_VERSION` is greater than or equal to 3. ::
28 #if PY_MAJOR_VERSION >= 3
118 #if PY_MAJOR_VERSION >= 3
137 #if PY_MAJOR_VERSION >= 3
174 #if PY_MAJOR_VERSION >= 3
190 #if PY_MAJOR_VERSION >= 3
/external/brotli/python/
D_brotli.cc10 #if PY_MAJOR_VERSION >= 3
154 #if PY_MAJOR_VERSION >= 3 in brotli_Compressor_dealloc()
359 #if PY_MAJOR_VERSION >= 3
480 #if PY_MAJOR_VERSION >= 3
/external/selinux/libselinux/src/
Daudit2why.c363 #if PY_MAJOR_VERSION >= 3 in analyze()
445 #if PY_MAJOR_VERSION >= 3
467 #if PY_MAJOR_VERSION >= 3
490 #if PY_MAJOR_VERSION >= 3
/external/protobuf/python/google/protobuf/pyext/
Dmap_container.cc49 #if PY_MAJOR_VERSION >= 3
403 #if PY_MAJOR_VERSION >= 3 in NewScalarMapContainer()
539 #if PY_MAJOR_VERSION >= 3
646 #if PY_MAJOR_VERSION >= 3 in NewMessageMapContainer()
792 #if PY_MAJOR_VERSION >= 3
Drepeated_scalar_container.cc51 #if PY_MAJOR_VERSION >= 3
297 #if PY_MAJOR_VERSION < 3 in Subscript()
306 #if PY_MAJOR_VERSION >= 3 in Subscript()
449 #if PY_MAJOR_VERSION < 3 in AssSubscript()
459 #if PY_MAJOR_VERSION >= 3 in AssSubscript()
Dmap_container.h115 #if PY_MAJOR_VERSION >= 3
Dmessage.cc69 #if PY_MAJOR_VERSION >= 3
336 #if PY_MAJOR_VERSION >= 3 in InsertEmptyWeakref()
552 #if PY_MAJOR_VERSION < 3 in CheckAndGetInteger()
577 #if PY_MAJOR_VERSION < 3 in CheckAndGetInteger()
980 #if PY_MAJOR_VERSION < 3 in CheckAndGetInteger()
1413 #if PY_MAJOR_VERSION < 3 in CheckAndGetInteger()
1644 #if PY_MAJOR_VERSION < 3 in CheckAndGetInteger()
2485 #if PY_MAJOR_VERSION < 3 in CheckAndGetInteger()
2969 #if PY_MAJOR_VERSION >= 3 in CheckAndGetInteger()
2996 #if PY_MAJOR_VERSION >= 3 in CheckAndGetInteger()
[all …]
Drepeated_composite_container.cc51 #if PY_MAJOR_VERSION >= 3
266 #if PY_MAJOR_VERSION >= 3 in AssignSubscript()
Dextension_dict.cc56 #if PY_MAJOR_VERSION >= 3 in len()
Ddescriptor_pool.cc43 #if PY_MAJOR_VERSION >= 3
Ddescriptor_containers.cc60 #if PY_MAJOR_VERSION >= 3
Ddescriptor.cc46 #if PY_MAJOR_VERSION >= 3
/external/python/cpython2/Python/
Ddynload_win.c256 PY_MAJOR_VERSION,PY_MINOR_VERSION);
Dsysmodule.c1341 SetIntItem(PY_MAJOR_VERSION); in make_version_info()
/external/python/cpython2/Doc/library/
D__future__.rst34 (PY_MAJOR_VERSION, # the 2 in 2.1.0a3; an int
Dsys.rst577 | :const:`1-8` | ``PY_MAJOR_VERSION`` (the ``2`` in |
/external/libxml2/python/
Dtypes.c12 #if PY_MAJOR_VERSION >= 3
22 #if PY_MAJOR_VERSION >= 3
Dlibxml_wrap.h172 #if PY_MAJOR_VERSION >= 3
Dlibxml.c44 #if PY_MAJOR_VERSION >= 3
3879 #if PY_MAJOR_VERSION >= 3
3903 #if PY_MAJOR_VERSION >= 3
3911 #if PY_MAJOR_VERSION >= 3 in PyInit_libxml2mod()
3925 #if PY_MAJOR_VERSION < 3 in PyInit_libxml2mod()
3931 #if PY_MAJOR_VERSION >= 3 in PyInit_libxml2mod()
/external/python/cpython2/Modules/
Dpyexpat.c25 #if (PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 2)