Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtime_hashlib.py41 hName = sys.argv[1] variable
46 if hName in ('_md5', '_sha'):
47 exec 'import '+hName
48 exec 'creatorFunc = '+hName+'.new'
49 print "testing speed of old", hName, "legacy interface"
50 elif hName == '_hashlib' and len(sys.argv) > 3:
54 elif hName == '_hashlib' and len(sys.argv) == 3:
58 elif hasattr(hashlib, hName) and callable(getattr(hashlib, hName)):
59 creatorFunc = getattr(hashlib, hName)
60 print "testing speed of hashlib."+hName, getattr(hashlib, hName)
[all …]
/external/python/cpython3/Lib/test/
Dtime_hashlib.py42 hName = sys.argv[1] variable
47 if hName in ('_md5', '_sha'):
48 exec('import '+hName)
49 exec('creatorFunc = '+hName+'.new')
50 print("testing speed of old", hName, "legacy interface")
51 elif hName == '_hashlib' and len(sys.argv) > 3:
55 elif hName == '_hashlib' and len(sys.argv) == 3:
59 elif hasattr(hashlib, hName) and hasattr(getattr(hashlib, hName), '__call__'):
60 creatorFunc = getattr(hashlib, hName)
61 print("testing speed of hashlib."+hName, getattr(hashlib, hName))
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DExtensionHeaderList.java53 public ExtensionHeaderList(String hName) { in ExtensionHeaderList() argument
54 super( ExtensionHeaderImpl.class, hName); in ExtensionHeaderList()