/external/autotest/database/ |
D | database_connection.py | 210 def _read_options(self, db_type=None, host=None, username=None, argument 225 use_afe_setting = not bool(db_type or host or username or password) 229 self.db_type = self._get_option('db_type', db_type, use_afe_setting) 235 def _get_backend(self, db_type): argument 236 if db_type not in _BACKEND_MAP: 238 (db_type, ', '.join(_BACKEND_MAP.keys()))) 239 backend_class = _BACKEND_MAP[db_type] 275 def connect(self, db_type=None, host=None, username=None, password=None, argument 283 self._read_options(db_type, host, username, password, db_name) 285 self._backend = self._get_backend(self.db_type) [all …]
|
D | database_connection_unittest.py | 46 def get_fake_backend(db_type): argument 47 self._db_type = db_type 68 db.connect(db_type=_DB_TYPE, host=_HOST, username=_USER,
|
/external/autotest/client/tests/dbt2/ |
D | dbt2.py | 45 def execute(self, db_type, args = ''): argument 48 if (db_type == "mysql"): 50 elif (db_type == "pgpool"): 52 elif (db_type == "pgsql"):
|
D | control | 12 job.run_test('dbt2', db_type='pgsql', args='-w 1 -c 20 -d 1800 -s 100 -n -z "autotest pgsql"', tag=… 13 job.run_test('dbt2', db_type='pgpool', args='-w 1 -c 20 -d 1800 -s 100 -n -z "autotest pgpool"', ta… 14 job.run_test('dbt2', db_type='mysql', args='-w 1 -c 20 -d 1800 -s 100 -n -z "autotest mysql"', tag=…
|
/external/autotest/client/tests/sysbench/ |
D | control | 17 job.run_test('sysbench', db_type='pgsql', build=build, \ 23 job.run_test('sysbench', db_type='mysql', build=build, \
|
D | sysbench.py | 31 def run_once(self, db_type = 'pgsql', build = 1, \ argument 52 if (db_type == 'pgsql'): 54 elif (db_type == 'mysql'):
|
/external/python/cpython2/Modules/ |
D | bsddb.h | 283 PyTypeObject* db_type; member 303 #define DBObject_Check(v) ((v)->ob_type == bsddb_api->db_type)
|
D | _bsddb.c | 10274 bsddb_api.db_type = &DB_Type; in init_bsddb()
|
/external/autotest/tko/ |
D | db.py | 764 db_type = _get_db_type() 765 db_module = __import__("autotest_lib.tko." + db_type, globals(), 766 locals(), [db_type]) 767 db = getattr(db_module, db_type)(*args, **dargs)
|
/external/autotest/scheduler/ |
D | scheduler_lib.py | 85 db.connect(db_type='django')
|
D | monitor_db_cleanup_test.py | 17 self._database.connect(db_type='django')
|
D | rdb_testing_utils.py | 69 self.database.connect(db_type='django')
|
D | scheduler_models_unittest.py | 36 self._database.connect(db_type='django')
|
D | monitor_db_unittest.py | 108 self._database.connect(db_type='django')
|
D | monitor_db_functional_test.py | 345 self._database.connect(db_type='django')
|
/external/autotest/ |
D | global_config.ini | 7 db_type: mysql key
|