Home
last modified time | relevance | path

Searched refs:FileLinesList (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DCodeFragmentCollector.py68 self.Profile.FileLinesList.append(T_CHAR_LF)
119 NumberOfLines = len(self.Profile.FileLinesList)
120 SizeOfLastLine = len(self.Profile.FileLinesList[-1])
137 SizeOfCurrentLine = len(self.Profile.FileLinesList[self.CurrentLineNumber - 1])
179 …if self.CurrentOffsetWithinLine == len(self.Profile.FileLinesList[self.CurrentLineNumber - 1]) - 1:
193 … CurrentChar = self.Profile.FileLinesList[self.CurrentLineNumber - 1][self.CurrentOffsetWithinLine]
205 …if self.CurrentOffsetWithinLine == len(self.Profile.FileLinesList[self.CurrentLineNumber - 1]) - 1:
206 return self.Profile.FileLinesList[self.CurrentLineNumber][0]
208 … return self.Profile.FileLinesList[self.CurrentLineNumber - 1][self.CurrentOffsetWithinLine + 1]
218 self.Profile.FileLinesList[self.CurrentLineNumber - 1][self.CurrentOffsetWithinLine] = Value
[all …]
DFileProfile.py49 self.FileLinesList = []
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfAsBuiltProcess.py81 FileLinesList = GetFileLineContent(String, WorkSpace, LineNo, OrignalString)
87 for Line in FileLinesList:
113 FileLinesList = GetFileLineContent(FileNameString, WorkSpace, LineNo, '')
121 for Line in FileLinesList:
204 FileLinesList = []
210 FileLinesList = Inputfile.readlines()
221 FileLinesList = ProcessLineExtender(FileLinesList)
223 return FileLinesList
261 FileLinesList = InfFileObj.readlines()
262 FileLinesList = ProcessLineExtender(FileLinesList)
[all …]
DInfParser.py51 FileLinesList = []
56 FileLinesList = FInputfile.readlines()
70 return FileLinesList
155 FileLinesList = OpenInfFile (Filename)
165 FileLinesList = ConvertSpecialChar(FileLinesList)
170 FileLinesList = ProcessLineExtender(FileLinesList)
175 OrigLines = [Line for Line in FileLinesList]
176 FileLinesList, EdkCommentStartPos = ProcessEdkComment(FileLinesList)
181 if IsBinaryInf(FileLinesList):
186 for Line in FileLinesList:
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DCodeFragmentCollector.py70 self.Profile.FileLinesList.append(T_CHAR_LF)
121 NumberOfLines = len(self.Profile.FileLinesList)
124 SizeOfLastLine = len(self.Profile.FileLinesList[-1])
142 SizeOfCurrentLine = len(self.Profile.FileLinesList[self.CurrentLineNumber - 1])
184 …if self.CurrentOffsetWithinLine == len(self.Profile.FileLinesList[self.CurrentLineNumber - 1]) - 1:
198 … CurrentChar = self.Profile.FileLinesList[self.CurrentLineNumber - 1][self.CurrentOffsetWithinLine]
211 …if self.CurrentOffsetWithinLine == len(self.Profile.FileLinesList[self.CurrentLineNumber - 1]) - 1:
212 return self.Profile.FileLinesList[self.CurrentLineNumber][0]
214 … return self.Profile.FileLinesList[self.CurrentLineNumber - 1][self.CurrentOffsetWithinLine + 1]
224 self.Profile.FileLinesList[self.CurrentLineNumber - 1][self.CurrentOffsetWithinLine] = Value
[all …]
DFileProfile.py46 self.FileLinesList = []
DCheck.py436 FileLinesList = op
443 for Line in FileLinesList:
446 if (LineNo < len(FileLinesList) - 1):
447 NextLine = FileLinesList[LineNo].strip()
452 if (Line == '' or not Line) and LineNo == len(FileLinesList):
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DInfSectionParser.py30 FileLinesList = []
38 FileLinesList = open(Filename, "r", 0).readlines()
42 for Index in range(0, len(FileLinesList)):
43 line = str(FileLinesList[Index]).strip()
44 if Index + 1 == len(FileLinesList):
48 NextLine = str(FileLinesList[Index + 1]).strip()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/
DGenVpd.py317 self.FileLinesList = []
323 self.FileLinesList = fInputfile.readlines()
337 for line in self.FileLinesList:
363 self.FileLinesList[count] = ValueList
365 self.FileLinesList[count].append(str(count + 1))
368 self.FileLinesList[count] = None
371 self.FileLinesList[count] = None
379 if (self.FileLinesList[count] == None) :
380 del(self.FileLinesList[count])
389 if len(self.FileLinesList) == 0 :
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DFdfParserLite.py53 …umber and Line < Profile.InsertStartLineNumber + Profile.InsertAdjust + len(Profile.FileLinesList):
55 … if Line >= Profile.InsertStartLineNumber + Profile.InsertAdjust + len(Profile.FileLinesList):
56 InsertedLines += Profile.InsertAdjust + len(Profile.FileLinesList)
107 self.FileLinesList = []
111 self.FileLinesList = fsock.readlines()
132 self.FileLinesList = []
136 self.FileLinesList = fsock.readlines()
224 NumberOfLines = len(self.Profile.FileLinesList)
225 SizeOfLastLine = len(self.Profile.FileLinesList[-1])
242 if self.CurrentLineNumber > len(self.Profile.FileLinesList):
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DFdfParser.py165 self.FileLinesList = []
169 self.FileLinesList = fsock.readlines()
182 TotalLines = self.InsertAdjust + len(self.FileLinesList)
222 self.FileLinesList = []
226 self.FileLinesList = fsock.readlines()
329 NumberOfLines = len(self.Profile.FileLinesList)
330 SizeOfLastLine = len(self.Profile.FileLinesList[-1])
347 if self.CurrentLineNumber > len(self.Profile.FileLinesList):
349 SizeOfCurrentLine = len(self.Profile.FileLinesList[self.CurrentLineNumber - 1])
393 …if self.CurrentOffsetWithinLine == len(self.Profile.FileLinesList[self.CurrentLineNumber - 1]) - 1:
[all …]
DGenFds.py631 FileLinesList = linecache.getlines(FvSpaceInfoFileName)
638 for Line in FileLinesList:
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DMisc.py957 FileLinesList = []
962 FileLinesList = FInputfile.readlines()
979 FileLinesList = ProcessLineExtender(FileLinesList)
981 for Line in FileLinesList: