Home
last modified time | relevance | path

Searched refs:SqlCommand (Results 1 – 25 of 31) sorted by relevance

12

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/
DIpiDb.py71 SqlCommand = """
76 self.Cur.execute(SqlCommand)
87 SqlCommand = """
96 self.Cur.execute(SqlCommand)
98 SqlCommand = """
106 self.Cur.execute(SqlCommand)
108 SqlCommand = """
118 self.Cur.execute(SqlCommand)
120 SqlCommand = """
131 self.Cur.execute(SqlCommand)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Table/
DTable.py38 def Create(self, SqlCommand): argument
39 self.Cur.execute(SqlCommand)
41 EdkLogger.verbose(SqlCommand + " ... DONE!")
47 def Insert(self, SqlCommand): argument
48 self.Exec(SqlCommand)
56 SqlCommand = """select * from %s""" % self.Table
57 self.Cur.execute(SqlCommand)
70 SqlCommand = """drop table IF EXISTS %s""" % self.Table
71 self.Cur.execute(SqlCommand)
81 SqlCommand = """select count(ID) from %s""" % self.Table
[all …]
DTableReport.py49 SqlCommand = """create table IF NOT EXISTS %s (ID INTEGER PRIMARY KEY,
57 Table.Create(self, SqlCommand)
73 SqlCommand = """insert into %s values(%s, %s, '%s', '%s', %s, %s, %s)""" \
75 Table.Insert(self, SqlCommand)
84SqlCommand = """select ID, ErrorID, OtherMsg, BelongsToTable, BelongsToItem, Corrected from %s
86 return self.Exec(SqlCommand)
91SqlCommand = """update Report set BelongsToItem=%s where BelongsToTable='File' and BelongsToItem=-2
93 return self.Exec(SqlCommand)
114 SqlCommand = ''
116 SqlCommand = """select 1, FullPath from %s where ID = %s
[all …]
DTableFdf.py53 SqlCommand = """create table IF NOT EXISTS %s (ID INTEGER PRIMARY KEY,
68 Table.Create(self, SqlCommand)
91SqlCommand = """insert into %s values(%s, %s, '%s', '%s', '%s', '%s', '%s', %s, %s, %s, %s, %s, %s…
93 Table.Insert(self, SqlCommand)
104SqlCommand = """select ID, Value1, Value2, Value3, Scope1, Scope2, BelongsToItem, BelongsToFile, S…
107 EdkLogger.debug(4, "SqlCommand: %s" % SqlCommand)
108 self.Cur.execute(SqlCommand)
DTableDec.py53 SqlCommand = """create table IF NOT EXISTS %s (ID INTEGER PRIMARY KEY,
67 Table.Create(self, SqlCommand)
90SqlCommand = """insert into %s values(%s, %s, '%s', '%s', '%s', '%s', %s, %s, %s, %s, %s, %s, %s)"…
92 Table.Insert(self, SqlCommand)
103SqlCommand = """select ID, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine f…
106 EdkLogger.debug(4, "SqlCommand: %s" % SqlCommand)
107 self.Cur.execute(SqlCommand)
DTableDsc.py53 SqlCommand = """create table IF NOT EXISTS %s (ID INTEGER PRIMARY KEY,
67 Table.Create(self, SqlCommand)
90SqlCommand = """insert into %s values(%s, %s, '%s', '%s', '%s', '%s', %s, %s, %s, %s, %s, %s, %s)"…
92 Table.Insert(self, SqlCommand)
103SqlCommand = """select ID, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine f…
106 EdkLogger.debug(4, "SqlCommand: %s" % SqlCommand)
107 self.Cur.execute(SqlCommand)
DTableInf.py55 SqlCommand = """create table IF NOT EXISTS %s (ID INTEGER PRIMARY KEY,
71 Table.Create(self, SqlCommand)
96SqlCommand = """insert into %s values(%s, %s, '%s', '%s', '%s', '%s', '%s', '%s', %s, %s, %s, %s, …
98 Table.Insert(self, SqlCommand)
109SqlCommand = """select ID, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine f…
112 EdkLogger.debug(4, "SqlCommand: %s" % SqlCommand)
113 self.Cur.execute(SqlCommand)
DTableDataModel.py44 SqlCommand = """create table IF NOT EXISTS %s (ID INTEGER PRIMARY KEY,
49 Table.Create(self, SqlCommand)
63SqlCommand = """insert into %s values(%s, %s, '%s', '%s')""" % (self.Table, self.ID, CrossIndex, N…
64 Table.Insert(self, SqlCommand)
90 SqlCommand = """select CrossIndex from DataModel where name = '""" + ModelName + """'"""
91 self.Cur.execute(SqlCommand)
DTableEotReport.py42 SqlCommand = """create table IF NOT EXISTS %s (ID INTEGER PRIMARY KEY,
57 Table.Create(self, SqlCommand)
67SqlCommand = """insert into %s values(%s, %s, '%s', '%s', %s, '%s', '%s', '%s', '%s', '%s', '%s', …
70 Table.Insert(self, SqlCommand)
73 SqlCommand = """select max(ID) from %s""" % self.Table
74 self.Cur.execute(SqlCommand)
DTableQuery.py44 SqlCommand = """create table IF NOT EXISTS %s(ID INTEGER PRIMARY KEY,
50 Table.Create(self, SqlCommand)
64 SqlCommand = """insert into %s values(%s, '%s', '%s', '%s', %s)""" \
66 Table.Insert(self, SqlCommand)
DTablePcd.py51 SqlCommand = """create table IF NOT EXISTS %s (ID INTEGER PRIMARY KEY,
64 Table.Create(self, SqlCommand)
86SqlCommand = """insert into %s values(%s, '%s', '%s', %s, '%s', %s, %s, %s, %s, %s, %s, %s)""" \
88 Table.Insert(self, SqlCommand)
DTableIdentifier.py51 SqlCommand = """create table IF NOT EXISTS %s(ID INTEGER PRIMARY KEY,
64 Table.Create(self, SqlCommand)
86SqlCommand = """insert into %s values(%s, '%s', '%s', '%s', '%s', %s, %s, %s, %s, %s, %s, %s)""" \
88 Table.Insert(self, SqlCommand)
DTableFunction.py52 SqlCommand = """create table IF NOT EXISTS %s (ID INTEGER PRIMARY KEY,
67 Table.Create(self, SqlCommand)
91SqlCommand = """insert into %s values(%s, '%s', '%s', '%s', '%s', %s, %s, %s, %s, %s, %s, %s, %s, …
93 Table.Insert(self, SqlCommand)
DTableFile.py47 SqlCommand = """create table IF NOT EXISTS %s (ID INTEGER PRIMARY KEY,
55 Table.Create(self, SqlCommand)
72 SqlCommand = """insert into %s values(%s, '%s', '%s', '%s', '%s', %s, '%s')""" \
74 Table.Insert(self, SqlCommand)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/
DMetaDataTable.py61 SqlCommand = """create temp table IF NOT EXISTS %s (%s)""" % (self.Table, self._COLUMN_)
63 SqlCommand = """create table IF NOT EXISTS %s (%s)""" % (self.Table, self._COLUMN_)
64 EdkLogger.debug(EdkLogger.DEBUG_8, SqlCommand)
65 self.Cur.execute(SqlCommand)
77 SqlCommand = "insert into %s values(%s, %s)" % (self.Table, self.ID, Values)
78 EdkLogger.debug(EdkLogger.DEBUG_5, SqlCommand)
79 self.Cur.execute(SqlCommand)
87 SqlCommand = """select * from %s""" % self.Table
88 self.Cur.execute(SqlCommand)
98 SqlCommand = """drop table IF EXISTS %s""" % self.Table
[all …]
DMetaFileTable.py125 SqlCommand = "SELECT %s FROM %s WHERE %s" % (ValueString, self.Table, ConditionString)
126 return self.Exec(SqlCommand)
204 SqlCommand = "SELECT %s FROM %s WHERE %s" % (ValueString, self.Table, ConditionString)
205 return self.Exec(SqlCommand)
299 SqlCommand = "SELECT %s FROM %s WHERE %s" % (ValueString, self.Table, ConditionString)
300 return self.Exec(SqlCommand)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DMetaDataTable.py61 SqlCommand = """create temp table IF NOT EXISTS %s (%s)""" % (self.Table, self._COLUMN_)
63 SqlCommand = """create table IF NOT EXISTS %s (%s)""" % (self.Table, self._COLUMN_)
64 EdkLogger.debug(EdkLogger.DEBUG_8, SqlCommand)
65 self.Cur.execute(SqlCommand)
77 SqlCommand = "insert into %s values(%s, %s)" % (self.Table, self.ID, Values)
78 EdkLogger.debug(EdkLogger.DEBUG_5, SqlCommand)
79 self.Cur.execute(SqlCommand)
87 SqlCommand = """select * from %s""" % self.Table
88 self.Cur.execute(SqlCommand)
98 SqlCommand = """drop table IF EXISTS %s""" % self.Table
[all …]
DMetaFileTable.py149 SqlCommand = "SELECT %s FROM %s WHERE %s" % (ValueString, self.Table, ConditionString)
150 return self.Exec(SqlCommand)
226 SqlCommand = "SELECT %s FROM %s WHERE %s" % (ValueString, self.Table, ConditionString)
227 return self.Exec(SqlCommand)
230SqlCommand = "select Value1,StartLine from %s WHERE Value2='%s' and Value3='%s'" % (self.Table, To…
231 self.Cur.execute(SqlCommand)
360 SqlCommand = "SELECT %s FROM %s WHERE %s" % (ValueString, self.Table, ConditionString)
361 return self.Exec(SqlCommand)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DEot.py335 SqlCommand = """select DISTINCT GuidName from Report"""
336 RecordSet = EotGlobalData.gDb.TblReport.Exec(SqlCommand)
347SqlCommand = """update Report set GuidMacro = '%s', GuidValue = '%s' where GuidName = '%s'""" %(Gu…
348 EotGlobalData.gDb.TblReport.Exec(SqlCommand)
354SqlCommand = """update Report set GuidMacro = '%s', GuidValue = '%s' where GuidName = '%s'""" %(Gu…
355 EotGlobalData.gDb.TblReport.Exec(SqlCommand)
359SqlCommand ="""select DISTINCT Value, Modifier from Query where Name like '%s'""" % GuidName
360 GuidMacroSet = EotGlobalData.gDb.TblReport.Exec(SqlCommand)
368SqlCommand ="""select DISTINCT Value from Query2 where Value like '%%%s%%' and Model = %s""" % (Gu…
369 GuidValueSet = EotGlobalData.gDb.TblReport.Exec(SqlCommand)
[all …]
DParser.py142 SqlCommand = """
147 RecordSet = Db.TblFile.Exec(SqlCommand)
151 SqlCommand = """select Value1 from Dec where BelongsToFile =
154 NewRecordSet = Db.TblDec.Exec(SqlCommand)
174 SqlCommand = """select ID, FullPath from File where Model in %s""" % str(FileModelList)
175 RecordSet = Db.TblFile.Exec(SqlCommand)
192SqlCommand = """select distinct Value1 from Inf where Model = %s order by Value1""" % MODEL_EFI_IN…
193 RecordSet = Db.TblInf.Exec(SqlCommand)
231SqlCommand = """select distinct Value1 from Inf where Model = %s order by Value1""" % MODEL_EFI_SO…
232 RecordSet = Db.TblInf.Exec(SqlCommand)
[all …]
DReport.py146SqlCommand = """select DISTINCT GuidName from Report where GuidValue like '%s' and ItemMode = 'Pro…
147 RecordSet = EotGlobalData.gDb.TblReport.Exec(SqlCommand)
201SqlCommand = """select DISTINCT SourceFileFullPath, BelongsToFunction from Report where GuidName l…
202 RecordSet = EotGlobalData.gDb.TblReport.Exec(SqlCommand)
204 SqlCommand = """select FullPath from File
208 ModuleSet = EotGlobalData.gDb.TblReport.Exec(SqlCommand)
255 SqlCommand = """select Value2 from Inf
258 RecordSet = EotGlobalData.gDb.TblReport.Exec(SqlCommand)
262 SqlCommand = """select FullPath from File
265 RecordSet = EotGlobalData.gDb.TblReport.Exec(SqlCommand)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DDatabase.py222 SqlCommand = """select ID, BelongsToFile, StartLine, EndLine, Model from Identifier"""
223 EdkLogger.debug(4, "SqlCommand: %s" %SqlCommand)
224 self.Cur.execute(SqlCommand)
237 SqlCommand = """select ID from Function
240 EdkLogger.debug(4, "SqlCommand: %s" %SqlCommand)
241 self.Cur.execute(SqlCommand)
244SqlCommand = """Update Identifier set BelongsToFunction = %s where ID = %s""" % (ID[0], Identifier…
245 EdkLogger.debug(4, "SqlCommand: %s" %SqlCommand)
246 self.Cur.execute(SqlCommand)
253 SqlCommand = """select ID from Function
[all …]
DCheck.py49 SqlCommand = """select ID, FullPath, ExtName from File where ExtName like 'uni'"""
50 RecordSet = EccGlobalData.gDb.TblFile.Exec(SqlCommand)
67SqlCommand = """select ID, FullPath, ExtName from File where ExtName in ('.dec', '.inf', '.dsc', '…
68 RecordSet = EccGlobalData.gDb.TblFile.Exec(SqlCommand)
274SqlCommand = """select ID, Name, BelongsToFile from %s where Model = %s""" % (IdentifierTable, MOD…
275 RecordSet = EccGlobalData.gDb.TblFile.Exec(SqlCommand)
282 SqlCommand = """select FullPath from File where ID = %s """ % ID
283 NewRecordSet = EccGlobalData.gDb.TblFile.Exec(SqlCommand)
366 SqlCommand = """select ID, FullPath from File
369 RecordSet = EccGlobalData.gDb.TblFile.Exec(SqlCommand)
[all …]
DMetaDataParser.py29 SqlCommand = """
35 RecordSet = Db.TblFile.Exec(SqlCommand)
41 SqlCommand = """select Value1 from Dec where BelongsToFile =
44 NewRecordSet = Db.TblDec.Exec(SqlCommand)
60 SqlCommand = """select FullPath from File where Model = %s""" % str(FileModel)
61 RecordSet = Db.TblFile.Exec(SqlCommand)
73 SqlCommand = """select ID from File where Model in %s""" % str(FileModelList)
74 RecordSet = Db.TblFile.Exec(SqlCommand)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DParsing.py30 SqlCommand = """select Value1, Value2, BelongsToItem, StartLine, Arch from %s
33 RecordSet = Table.Exec(SqlCommand)
60 SqlCommand = """select Value1, Value2, BelongsToItem, StartLine, Arch from %s
63 RecordSet = Table.Exec(SqlCommand)
88 SqlCommand = """select ID, Value1 from %s
92 FoundRecords = Table.Exec(SqlCommand)
95 SqlCommand = """update %s set Value1 = '%s'
97 Table.Exec(SqlCommand)
110 SqlCommand = """select Value2 from %s
116 RecordSet = Table.Exec(SqlCommand)
[all …]

12