Home
last modified time | relevance | path

Searched refs:DbPath (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DDatabase.py45 def __init__(self, DbPath): argument
46 if os.path.exists(DbPath):
47 os.remove(DbPath)
48 self.Conn = sqlite3.connect(DbPath, isolation_level = 'DEFERRED')
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DDatabase.py51 def __init__(self, DbPath): argument
52 self.DbPath = DbPath
81 if os.path.exists(self.DbPath):
82 os.remove(self.DbPath)
83 self.Conn = sqlite3.connect(self.DbPath, isolation_level = 'DEFERRED')
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DDatabase.py53 def __init__(self, DbPath): argument
54 self.DbPath = DbPath
80 if os.path.exists(self.DbPath):
81 os.remove(self.DbPath)
82 self.Conn = sqlite3.connect(self.DbPath, isolation_level = 'DEFERRED')
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/
DIpiDb.py43 def __init__(self, DbPath, Workspace): argument
44 Dir = os.path.dirname(DbPath)
47 self.Conn = sqlite3.connect(DbPath, isolation_level='DEFERRED')
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DWorkspaceDatabase.py2973 def __init__(self, DbPath, RenewDb=False): argument
2975 if not DbPath:
2976DbPath = os.path.normpath(mws.join(GlobalData.gWorkspace, 'Conf', GlobalData.gDatabasePath))
2979 if DbPath != ':memory:':
2980 DbDir = os.path.split(DbPath)[0]
2985 if self._CheckWhetherDbNeedRenew(RenewDb, DbPath):
2986 os.remove(DbPath)
2989 self.Conn = sqlite3.connect(DbPath, isolation_level='DEFERRED')
3021 def _CheckWhetherDbNeedRenew (self, force, DbPath): argument
3023 if not os.path.exists(DbPath): return False
[all …]