/external/scapy/scapy/ |
D | compat.py | 52 if six.PY2: 66 if six.PY2: 127 if six.PY2: 133 if six.PY2:
|
D | fields.py | 902 return (FieldLenField.i2m.__func__ if six.PY2 else FieldLenField.i2m)(self, pkt, x)
|
/external/scapy/scapy/layers/tls/crypto/ |
D | pkcs1.py | 173 if isinstance(s, int) and six.PY2: 175 if (six.PY2 and not isinstance(s, long)) or s > n-1: 218 if isinstance(m, int) and six.PY2: 220 if (six.PY2 and not isinstance(m, long)) or m > n-1:
|
/external/libmojo/third_party/markupsafe/ |
D | _compat.py | 13 PY2 = sys.version_info[0] == 2 variable 15 if not PY2:
|
D | __init__.py | 13 unichr, PY2 232 if not PY2:
|
/external/scapy/scapy/arch/ |
D | common.py | 48 if conf.use_pypy and six.PY2: 61 if conf.use_pypy and six.PY2:
|
/external/libmojo/third_party/jinja2/ |
D | exceptions.py | 11 from jinja2._compat import imap, text_type, PY2, implements_to_string 17 if PY2:
|
D | _compat.py | 15 PY2 = sys.version_info[0] == 2 variable 20 if not PY2:
|
D | sandbox.py | 19 traceback_type, code_type, frame_type, generator_type, PY2 37 if not PY2:
|
D | bccache.py | 24 from jinja2._compat import BytesIO, pickle, PY2, text_type 28 if not PY2:
|
D | runtime.py | 18 implements_iterator, implements_to_string, string_types, PY2 219 if PY2:
|
D | environment.py | 32 get_next, encode_filename, PY2, PYPY 632 if not PY2 or PYPY:
|
/external/tensorflow/tensorflow/python/framework/ |
D | tensor_shape_div_test.py | 32 if six.PY2: # Old division exists only in Python 2
|
/external/scapy/test/ |
D | run_tests_py2.bat | 2 title UTscapy - All tests - PY2
|
D | regression.uts | 8465 [x for x in re] == ([3, 4, 2, 5, 1, 6, 0, 7] if six.PY2 else [5, 0, 2, 7, 6, 3, 1, 4]) 8471 assert(r6 == ("d279:1205:e445:5a9f:db28:efc9:afd7:f594" if six.PY2 else 8476 assert(r6 == ("2001:0db8::e445" if six.PY2 else "2001:0db8::b53f")) 8479 assert(r6 == ("2001:0db8::efc9" if six.PY2 else "2001:0db8::bfc4")) 8485 assert(rm == ("d2:12:e4:5a:db:ef" if six.PY2 else "24:23:b5:b7:d0:bf")) 8488 assert(rm == ("00:01:02:03:04:05" if six.PY2 else "00:01:02:03:04:01")) 8501 assert(ro == ("1.2.3.11" if six.PY2 else "1.2.3.12")) 8507 bytes(re) == ('vmuvr @ 906 \x9e g' if six.PY2 else b'irrtv @ 517 \xc2\xb8 v') 8523 assert(rek == ('c' if six.PY2 else 'a')) 8529 assert(rs == (3 if six.PY2 else 2)) [all …]
|
D | tls.uts | 1104 if six.PY2:
|
/external/flatbuffers/python/flatbuffers/ |
D | compat.py | 21 PY2 = sys.version_info[0] == 2 variable
|
/external/tensorflow/tensorflow/contrib/tensorrt/python/ |
D | trt_convert.py | 64 if _six.PY2:
|
/external/tensorflow/tensorflow/python/util/ |
D | compat.py | 94 if _six.PY2:
|
/external/scapy/scapy/modules/ |
D | six.py | 41 PY2 = sys.version_info[0] == 2 variable 859 if PY2:
|
/external/scapy/scapy/tools/ |
D | UTscapy.py | 191 if six.PY2: 305 if six.PY2:
|
/external/protobuf/python/google/protobuf/ |
D | text_format.py | 82 if six.PY2: 88 if six.PY2:
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
D | callbacks.py | 958 self.file_flags = 'b' if six.PY2 and os.name == 'nt' else ''
|
/external/ImageMagick/PerlMagick/t/reference/write/jng/ |
D | read_prog_idat.miff | 29 …?�+6�7<�66�;9�>8 �=4�:4�83�31�/($�5"#�8$�?6�7:�-9(�I^�Rp�Oi�PY2[5,�IE,�17�bY2�fm:�…
|
D | read_idat.miff | 29 …?�+6�7<�66�;9�>8 �=4�:4�83�31�/($�5"#�8$�?6�7:�-9(�I^�Rp�Oi�PY2[5,�IE,�17�bY2�fm:�…
|