/external/python/cpython2/PC/ |
D | make_versioninfo.c | 29 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/ |
D | api_implementation.cc | 79 #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.cc | 10 #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.c | 124 #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/ |
D | py_util.cc | 34 #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()
|
D | py_seq_tensor.cc | 45 #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()
|
D | bfloat16.cc | 30 #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
|
D | ndarray_tensor.cc | 150 #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/ |
D | patchlevel.h | 19 #define PY_MAJOR_VERSION 3 macro 31 #define PY_VERSION_HEX ((PY_MAJOR_VERSION << 24) | \
|
/external/python/cpython2/Include/ |
D | patchlevel.h | 23 #define PY_MAJOR_VERSION 2 macro 39 #define PY_VERSION_HEX ((PY_MAJOR_VERSION << 24) | \
|
/external/tensorflow/tensorflow/python/util/ |
D | py_checkpoint_reader.i | 30 %#if PY_MAJOR_VERSION >= 3 48 %#if PY_MAJOR_VERSION >= 3 74 %#if PY_MAJOR_VERSION >= 3 84 %#if PY_MAJOR_VERSION >= 3
|
D | tfprof.i | 32 %#if PY_MAJOR_VERSION >= 3
|
/external/python/cpython3/Python/ |
D | dynload_win.c | 28 #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/ |
D | pywrap_tensor.cc | 79 #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/ |
D | cporting.rst | 26 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/ |
D | cporting.rst | 26 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/ |
D | numpy_bridge.cc | 181 #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/ |
D | python_utils.cc | 164 #if PY_MAJOR_VERSION >= 3 in ConvertFromPyString() 172 #if PY_MAJOR_VERSION >= 3 in ConvertToPyString()
|
/external/selinux/libselinux/src/ |
D | audit2why.c | 363 #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/ |
D | map_container.cc | 49 #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
|
D | repeated_scalar_container.cc | 51 #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()
|
D | message.cc | 69 #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 …]
|
D | map_container.h | 115 #if PY_MAJOR_VERSION >= 3
|
/external/python/cpython3/PC/ |
D | python_ver_rc.h | 34 #define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION
|
/external/tensorflow/tensorflow/python/platform/ |
D | base.i | 73 #if PY_MAJOR_VERSION < 3 in _SwigSimpleStr_FromString() 171 %#if PY_MAJOR_VERSION < 3
|