Searched refs:str_cls (Results 1 – 10 of 10) sorted by relevance
/external/python/asn1crypto/dev/ |
D | _pep425.py | 43 str_cls = unicode # noqa variable 45 str_cls = str variable 90 if not isinstance(ver, str_cls): 121 return '%s%s%s' % (impl, ''.join(map(str_cls, _pep425_version())), suffix)
|
D | deps.py | 17 str_cls = unicode # noqa variable 19 str_cls = str variable 438 for part in map(str_cls.strip, requires_python.split(',')): 613 python_version = '.'.join(map(str_cls, sys.version_info[0:2]))
|
D | coverage.py | 22 str_cls = unicode # noqa variable 27 str_cls = str variable 533 if isinstance(data, str_cls):
|
/external/python/asn1crypto/asn1crypto/ |
D | _iri.py | 19 from ._types import byte_cls, str_cls, type_name, bytes_to_list, int_types 51 if not isinstance(value, str_cls): 84 port = str_cls(port).encode('ascii') 115 if isinstance(output, str_cls): 163 netloc += ':' + str_cls(port)
|
D | _types.py | 9 str_cls = unicode # noqa variable 19 str_cls = str variable
|
D | pem.py | 19 from ._types import type_name as _type_name, str_cls, byte_cls 77 if not isinstance(type_name, str_cls):
|
D | _inet.py | 8 from ._types import byte_cls, bytes_to_list, str_cls, type_name 109 if not isinstance(ip_string, str_cls):
|
D | x509.py | 30 from ._types import type_name, str_cls, bytes_to_list 103 if not isinstance(value, str_cls): 134 if not isinstance(value, str_cls): 218 if not isinstance(value, str_cls): 315 if not isinstance(value, str_cls): 405 value = value + '/' + str_cls(cidr) 2585 … self._issuer_serial = self.issuer.sha256 + b':' + str_cls(self.serial_number).encode('ascii') 2634 … self._authority_issuer_serial = issuer.sha256 + b':' + str_cls(authority_serial).encode('ascii') 2883 if not isinstance(domain_ip, str_cls):
|
D | core.py | 62 from ._types import type_name, str_cls, byte_cls, int_types, chr_cls 1787 if not isinstance(value, str_cls): 1918 if isinstance(value, str_cls): 2138 value = ''.join(map(str_cls, bits)) 2149 value = ''.join(map(str_cls, value)) 3010 if not isinstance(value, str_cls): 3048 if not isinstance(value, str_cls): 3082 if not isinstance(value, str_cls): 3164 output.append(str_cls(2)) 3165 output.append(str_cls(part - 80)) [all …]
|
/external/python/asn1crypto/tests/ |
D | _unittest_compat.py | 10 str_cls = unicode # noqa variable 12 str_cls = str variable 91 if isinstance(expected_regexp, str_cls):
|