Home
last modified time | relevance | path

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

12

/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()
/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/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
/external/libchrome/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/tensorflow/tensorflow/python/lib/core/
Dpy_util.cc34 #if PY_MAJOR_VERSION < 3 && !defined(PYPY_VERSION) in ClassName()
88 #if PY_MAJOR_VERSION < 3 in TryAppendTraceback()
112 #if PY_MAJOR_VERSION < 3 in PyExceptionFetch()
Dpy_seq_tensor.cc45 #if PY_MAJOR_VERSION >= 3 in IsPyInt()
292 #if PY_MAJOR_VERSION < 3 in ConvertOneInt64()
306 #if PY_MAJOR_VERSION < 3 in ConvertOneInt64()
321 #if PY_MAJOR_VERSION < 3 in ConvertOneInt32()
332 #if PY_MAJOR_VERSION < 3 in ConvertOneInt32()
376 #if PY_MAJOR_VERSION < 3 in ConvertOneFloat()
395 #if PY_MAJOR_VERSION < 3 in ConvertOneFloat()
430 #if PY_MAJOR_VERSION >= 3 in ConvertOneString()
Dbfloat16.cc30 #if PY_MAJOR_VERSION < 3
180 #if PY_MAJOR_VERSION < 3
196 #if PY_MAJOR_VERSION < 3
200 #if PY_MAJOR_VERSION < 3
206 #if PY_MAJOR_VERSION < 3
214 #if PY_MAJOR_VERSION < 3
311 #if PY_MAJOR_VERSION < 3
Dndarray_tensor.cc150 #if (PY_MAJOR_VERSION > 3 || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 3)) in PyObjectToString()
297 #if PY_MAJOR_VERSION < 3 in GetPyArrayDescrForTensor()
/external/python/cpython3/Include/
Dpatchlevel.h19 #define PY_MAJOR_VERSION 3 macro
31 #define PY_VERSION_HEX ((PY_MAJOR_VERSION << 24) | \
/external/python/cpython2/Include/
Dpatchlevel.h23 #define PY_MAJOR_VERSION 2 macro
39 #define PY_VERSION_HEX ((PY_MAJOR_VERSION << 24) | \
/external/tensorflow/tensorflow/python/util/
Dpy_checkpoint_reader.i30 %#if PY_MAJOR_VERSION >= 3
48 %#if PY_MAJOR_VERSION >= 3
74 %#if PY_MAJOR_VERSION >= 3
84 %#if PY_MAJOR_VERSION >= 3
Dtfprof.i32 %#if PY_MAJOR_VERSION >= 3
/external/python/cpython3/Python/
Ddynload_win.c28 #define PYD_TAGGED_SUFFIX PYD_DEBUG_SUFFIX ".cp" Py_STRINGIFY(PY_MAJOR_VERSION) Py_STRINGIFY(PY_MIN…
30 #define PYD_TAGGED_SUFFIX PYD_DEBUG_SUFFIX ".cp" Py_STRINGIFY(PY_MAJOR_VERSION) Py_STRINGIFY(PY_MIN…
292 PY_MAJOR_VERSION,PY_MINOR_VERSION);
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc79 #if PY_MAJOR_VERSION >= 3 in CopyToDevice()
114 #if PY_MAJOR_VERSION < 3 in PyIntToDataType()
130 #if PY_MAJOR_VERSION < 3 in PyIntFromDataType()
328 #if PY_MAJOR_VERSION < 3 in MaybeInvokeCreatedOnEagerTensorProfiler()
571 #if PY_MAJOR_VERSION < 3 in EagerTensor_rank()
674 #if PY_MAJOR_VERSION >= 3 in EagerTensor_device()
690 #if PY_MAJOR_VERSION >= 3 in EagerTensor_backing_device()
716 #if PY_MAJOR_VERSION < 3
758 #if PY_MAJOR_VERSION >= 3
910 #if PY_MAJOR_VERSION >= 3 in TFE_Py_InitEagerTensor()
/external/python/cpython3/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/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/tensorflow/tensorflow/compiler/xla/python/
Dnumpy_bridge.cc181 #if PY_MAJOR_VERSION < 3 in ExtractStringAndDecref()
532 #if PY_MAJOR_VERSION < 3 in LongToPyIntOrPyLong()
540 #if PY_MAJOR_VERSION < 3 in PyIntOrPyLongToLong()
548 #if PY_MAJOR_VERSION < 3 in CheckPyIntOrLong()
561 #if PY_MAJOR_VERSION < 3 in PyNumberToPyInt()
599 #if PY_MAJOR_VERSION < 3 in HandleStringAttribute()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dpython_utils.cc164 #if PY_MAJOR_VERSION >= 3 in ConvertFromPyString()
172 #if PY_MAJOR_VERSION >= 3 in ConvertToPyString()
/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()
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 …]
Dmap_container.h115 #if PY_MAJOR_VERSION >= 3
/external/python/cpython3/PC/
Dpython_ver_rc.h34 #define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION
/external/tensorflow/tensorflow/python/platform/
Dbase.i73 #if PY_MAJOR_VERSION < 3 in _SwigSimpleStr_FromString()
171 %#if PY_MAJOR_VERSION < 3

12