Searched refs:generate_random_string (Results 1 – 15 of 15) sorted by relevance
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
D | extras_security_test.py | 11 self.assertRaises(ValueError, security.generate_random_string, None) 12 self.assertRaises(ValueError, security.generate_random_string, 0) 13 self.assertRaises(ValueError, security.generate_random_string, -1) 14 self.assertRaises(ValueError, security.generate_random_string, 1, 1) 16 token = security.generate_random_string(16) 19 token = security.generate_random_string(32) 22 token = security.generate_random_string(64) 25 token = security.generate_random_string(128)
|
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/ |
D | security.py | 39 def generate_random_string(length=None, entropy=None, pool=ALPHANUMERIC): function 123 salt = method != 'plain' and generate_random_string(length) or '' 217 create_token = generate_random_string
|
D | sessions.py | 234 return security.generate_random_string(entropy=128)
|
/external/autotest/client/virt/tests/ |
D | file_transfer.py | 38 virt_utils.generate_random_string(8)) 42 virt_utils.generate_random_string(8))
|
D | whql_client_install.py | 84 client_name = "autotest_%s" % virt_utils.generate_random_string(4)
|
/external/autotest/client/tools/ |
D | crash_handler.py | 11 def generate_random_string(length): function 206 core_dir_name = 'core.%s' % generate_random_string(4)
|
/external/chromium-trace/catapult/third_party/webapp2/docs/api/webapp2_extras/ |
D | security.rst | 10 .. autofunction:: generate_random_string
|
/external/autotest/client/virt/ |
D | virt_vm.py | 400 virt_utils.generate_random_string(4)) 497 (self.name, virt_utils.generate_random_string(4))) 556 virt_utils.generate_random_string(4))) 583 virt_utils.generate_random_string(4)))
|
D | kvm_monitor.py | 576 id = virt_utils.generate_random_string(8)
|
D | virt_env_process.py | 414 virt_utils.generate_random_string(6))
|
D | virt_utils.py | 1100 def generate_random_string(length): function 1118 return "id" + generate_random_string(6) 1127 generate_random_string(4))
|
D | aexpect.py | 388 self.id = id or virt_utils.generate_random_string(8)
|
/external/autotest/client/tests/kvm/tests/ |
D | migration_with_file_transfer.py | 32 host_path = "/tmp/file-%s" % virt_utils.generate_random_string(6)
|
/external/autotest/client/common_lib/ |
D | software_manager.py | 29 def generate_random_string(length): function 439 section_name = 'software_manager' + '_' + generate_random_string(4)
|
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/appengine/auth/ |
D | models.py | 174 token = token or security.generate_random_string(entropy=128)
|