Home
last modified time | relevance | path

Searched refs:_PY2 (Results 1 – 3 of 3) sorted by relevance

/external/python/asn1crypto/asn1crypto/
Dparser.py21 _PY2 = sys.version_info <= (3,) variable
167 first_octet = ord(encoded_data[pointer]) if _PY2 else encoded_data[pointer]
175 num = ord(encoded_data[pointer]) if _PY2 else encoded_data[pointer]
182 length_octet = ord(encoded_data[pointer]) if _PY2 else encoded_data[pointer]
Dcore.py70 _PY2 = True variable
75 _PY2 = False variable
448 if _PY2:
459 if _PY2:
612 if _PY2 and isinstance(self.native, byte_cls):
1435 if _PY2:
2007 unused_bits_len = ord(self.contents[0]) if _PY2 else self.contents[0]
2438 unused_bits_len = ord(self.contents[0]) if _PY2 else self.contents[0]
2451 last_byte = ord(self.contents[-1]) if _PY2 else self.contents[-1]
2455 value = self.contents[1:-1] + (chr(zeroed_byte) if _PY2 else bytes((zeroed_byte,)))
[all …]
/external/python/pyopenssl/src/OpenSSL/
Dcrypto.py11 PY2 as _PY2, unknown
394 if not _PY2: