/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
FdfClassObject.py | 89 (Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled) = \
99 BelongsToFile = self.InsertFile(FileName)
100 self.TblFdf.Insert(Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled)
107 BelongsToFile = self.InsertFile(FileName)
108 self.TblFdf.Insert(Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled)
|
Parsing.py | 109 def QueryDefinesItem(Table, Name, Arch, BelongsToFile):
114 and BelongsToFile = %s
115 and Enabled > -1""" % (Table.Table, MODEL_META_DATA_HEADER, ConvertToSqlString2(Name), ConvertToSqlString2(Arch), BelongsToFile)
122 and BelongsToFile = %s
123 and Enabled > -1""" % (Table.Table, MODEL_META_DATA_HEADER, ConvertToSqlString2(Name), ConvertToSqlString2(TAB_ARCH_COMMON.upper()), BelongsToFile)
153 def QueryDefinesItem2(Table, Arch, BelongsToFile):
157 and BelongsToFile = %s
158 and Enabled > -1""" % (Table.Table, MODEL_META_DATA_HEADER, ConvertToSqlString2(Arch), BelongsToFile)
164 and BelongsToFile = %s
165 and Enabled > -1""" % (Table.Table, MODEL_META_DATA_HEADER, ConvertToSqlString2(TAB_ARCH_COMMON), BelongsToFile)
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/CommonDataClass/ |
DataClass.py | 193 # @param BelongsToFile: The Function belongs to which file
208 # @var BelongsToFile: The Function belongs to which file
215 BodyStartLine = -1, BodyStartColumn = -1, BelongsToFile = -1, \
229 self.BelongsToFile = BelongsToFile
246 # @param BelongsToFile: The Identifier belongs to which file
259 # @var BelongsToFile: The Identifier belongs to which file
268 BelongsToFile = -1, BelongsToFunction = -1, StartLine = -1, StartColumn = -1, EndLine = -1, EndColumn = -1):
275 self.BelongsToFile = BelongsToFile
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Table/ |
TableDec.py | 45 # @param BelongsToFile: The item belongs to which dsc file
60 BelongsToFile SINGLE NOT NULL,
80 # @param BelongsToFile: The item belongs to which dsc file
87 def Insert(self, Model, Value1, Value2, Value3, Value4, Value5, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled):
91 % (self.Table, self.ID, Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled)
103 SqlCommand = """select ID, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine from %s
|
TableDsc.py | 45 # @param BelongsToFile: The item belongs to which dsc file
60 BelongsToFile SINGLE NOT NULL,
80 # @param BelongsToFile: The item belongs to which dsc file
87 def Insert(self, Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled):
91 % (self.Table, self.ID, Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled)
103 SqlCommand = """select ID, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine from %s
|
TableFdf.py | 45 # @param BelongsToFile: The item belongs to which fdf file
61 BelongsToFile SINGLE NOT NULL,
81 # @param BelongsToFile: The item belongs to which fdf file
88 def Insert(self, Model, Value1, Value2, Value3, Scope1, Scope2, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled):
92 % (self.Table, self.ID, Model, Value1, Value2, Value3, Scope1, Scope2, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled)
104 SqlCommand = """select ID, Value1, Value2, Value3, Scope1, Scope2, BelongsToItem, BelongsToFile, StartLine from %s
|
TableFunction.py | 47 # @param BelongsToFile: The Function belongs to which file
63 BelongsToFile SINGLE NOT NULL,
84 # @param BelongsToFile: The Function belongs to which file
88 def Insert(self, Header, Modifier, Name, ReturnStatement, StartLine, StartColumn, EndLine, EndColumn, BodyStartLine, BodyStartColumn, BelongsToFile, FunNameStartLine, FunNameStartColumn):
92 % (self.Table, self.ID, Header, Modifier, Name, ReturnStatement, StartLine, StartColumn, EndLine, EndColumn, BodyStartLine, BodyStartColumn, BelongsToFile, FunNameStartLine, FunNameStartColumn)
|
TableIdentifier.py | 43 # @param BelongsToFile: The Identifier belongs to which file
57 BelongsToFile SINGLE NOT NULL,
76 # @param BelongsToFile: The Identifier belongs to which file
83 def Insert(self, Modifier, Type, Name, Value, Model, BelongsToFile, BelongsToFunction, StartLine, StartColumn, EndLine, EndColumn):
87 % (self.Table, self.ID, Modifier, Type, Name, Value, Model, BelongsToFile, BelongsToFunction, StartLine, StartColumn, EndLine, EndColumn)
|
TableInf.py | 47 # @param BelongsToFile: The item belongs to which dsc file
64 BelongsToFile SINGLE NOT NULL,
86 # @param BelongsToFile: The item belongs to which dsc file
93 def Insert(self, Model, Value1, Value2, Value3, Value4, Value5, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled):
97 % (self.Table, self.ID, Model, Value1, Value2, Value3, Value4, Value5, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled)
109 SqlCommand = """select ID, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine from %s
|
TablePcd.py | 43 # @param BelongsToFile: The Pcd belongs to which file
57 BelongsToFile SINGLE NOT NULL,
76 # @param BelongsToFile: The Pcd belongs to which file
83 def Insert(self, CName, TokenSpaceGuidCName, Token, DatumType, Model, BelongsToFile, BelongsToFunction, StartLine, StartColumn, EndLine, EndColumn):
87 % (self.Table, self.ID, CName, TokenSpaceGuidCName, Token, DatumType, Model, BelongsToFile, BelongsToFunction, StartLine, StartColumn, EndLine, EndColumn)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/ |
MetaFileTable.py | 58 BelongsToFile SINGLE NOT NULL,
88 BelongsToItem=-1, BelongsToFile = -1, StartLine=-1, StartColumn=-1, EndLine=-1, EndColumn=-1, Enabled=0, Usage=''):
100 BelongsToFile,
139 BelongsToFile SINGLE NOT NULL,
171 BelongsToItem=-1, BelongsToFile = -1, StartLine=-1, StartColumn=-1, EndLine=-1, EndColumn=-1, Enabled=0):
182 BelongsToFile,
218 BelongsToFile SINGLE NOT NULL,
251 def Insert(self, Model, Value1, Value2, Value3, Scope1='COMMON', Scope2='COMMON', BelongsToItem=-1, BelongsToFile = -1,
263 BelongsToFile,
|
MetaFileParser.py | [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
Database.py | 222 SqlCommand = """select ID, BelongsToFile, StartLine, EndLine, Model from Identifier"""
228 BelongsToFile = Record[1]
239 and BelongsToFile = %s""" % (StartLine, EndLine, BelongsToFile)
255 and BelongsToFile = %s""" % (EndLine, BelongsToFile)
275 SqlCommand = """select ID, BelongsToFile, StartLine, EndLine from Function"""
281 BelongsToFile = Record[1]
284 #Data1.append(("'file%s'" % BelongsToFile, FunctionID, BelongsToFile, StartLine, EndLine)) [all...] |
Check.py | 274 SqlCommand = """select ID, Name, BelongsToFile from %s where Model = %s""" % (IdentifierTable, MODEL_IDENTIFIER_STRUCTURE)
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
Database.py | 208 SqlCommand = """select ID, BelongsToFile, StartLine, EndLine from Function"""
214 BelongsToFile = Record[1]
218 SqlCommand = """Update Identifier%s set BelongsToFunction = %s where BelongsToFile = %s and StartLine > %s and EndLine < %s""" % \
219 (BelongsToFile, FunctionID, BelongsToFile, StartLine, EndLine)
222 SqlCommand = """Update Identifier%s set BelongsToFunction = %s, Model = %s where BelongsToFile = %s and Model = %s and EndLine = %s""" % \
223 (BelongsToFile, FunctionID, DataClass.MODEL_IDENTIFIER_FUNCTION_HEADER, BelongsToFile, DataClass.MODEL_IDENTIFIER_COMMENT, StartLine - 1)
|
Parser.py | 143 select Value1 from Inf where Model = %s and BelongsToFile in(
144 select distinct B.BelongsToFile from File as A left join Inf as B
145 where A.ID = B.BelongsToFile and B.Model = %s and (A.Path || '%s' || B.Value1) = '%s')""" \
151 SqlCommand = """select Value1 from Dec where BelongsToFile =
358 # @param BelongsToFile: File id
364 def SearchBelongsToFunction(BelongsToFile, StartLine, EndLine):
365 SqlCommand = """select ID, Name from Function where BelongsToFile = %s and StartLine <= %s and EndLine >= %s""" %(BelongsToFile, StartLine, EndLine)
384 SqlCommand = """select Value, Name, BelongsToFile, StartLine, EndLine from %s
392 BelongsToFile, StartLine, EndLine = Record[2], Record[3], Record[4] [all...] |