/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
hashlib.py | 96 f = getattr(_hashlib, 'openssl_' + name) 118 return _hashlib.new(name, string) 120 # If the _hashlib module (OpenSSL) doesn't support the named 128 import _hashlib namespace
|
random.py | 49 import hashlib as _hashlib namespace 154 n = int(_hashlib.new('sha512', s).hexdigest(), 16)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
time_hashlib.py | 50 elif hName == '_hashlib' and len(sys.argv) > 3: 51 import _hashlib namespace 52 exec 'creatorFunc = _hashlib.%s' % sys.argv[2] 53 print "testing speed of _hashlib.%s" % sys.argv[2], getattr(_hashlib, sys.argv[2]) 54 elif hName == '_hashlib' and len(sys.argv) == 3: 55 import _hashlib namespace 56 exec 'creatorFunc = lambda x=_hashlib.new : x(%r)' % sys.argv[2] 57 print "testing speed of _hashlib.new(%r)" % sys.argv[2] 71 print " '_hashlib' 'openssl_hName' 'fast' tests the builtin _hashlib [all...] |
test_hashlib.py | 70 _hashlib = self._conditional_import_module('_hashlib') 71 if _hashlib: 74 assert hasattr(_hashlib, 'openssl_md5') 75 assert hasattr(_hashlib, 'openssl_sha1') 77 constructor = getattr(_hashlib, 'openssl_'+algorithm, None)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
hashlib.py | 96 f = getattr(_hashlib, 'openssl_' + name) 118 return _hashlib.new(name, string) 120 # If the _hashlib module (OpenSSL) doesn't support the named 128 import _hashlib namespace
|
random.py | 49 import hashlib as _hashlib namespace 154 n = int(_hashlib.new('sha512', s).hexdigest(), 16)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
time_hashlib.py | 50 elif hName == '_hashlib' and len(sys.argv) > 3: 51 import _hashlib namespace 52 exec 'creatorFunc = _hashlib.%s' % sys.argv[2] 53 print "testing speed of _hashlib.%s" % sys.argv[2], getattr(_hashlib, sys.argv[2]) 54 elif hName == '_hashlib' and len(sys.argv) == 3: 55 import _hashlib namespace 56 exec 'creatorFunc = lambda x=_hashlib.new : x(%r)' % sys.argv[2] 57 print "testing speed of _hashlib.new(%r)" % sys.argv[2] 71 print " '_hashlib' 'openssl_hName' 'fast' tests the builtin _hashlib [all...] |
test_hashlib.py | 70 _hashlib = self._conditional_import_module('_hashlib') 71 if _hashlib: 74 assert hasattr(_hashlib, 'openssl_md5') 75 assert hasattr(_hashlib, 'openssl_sha1') 77 constructor = getattr(_hashlib, 'openssl_'+algorithm, None)
|