/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
InfSectionParser.py | 30 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/UPT/Parser/ |
InfAsBuiltProcess.py | 81 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() [all...] |
InfParser.py | 51 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) [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
CodeFragmentCollector.py | 68 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...] |
FileProfile.py | 49 self.FileLinesList = []
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
CodeFragmentCollector.py | 70 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...] |
FileProfile.py | 46 self.FileLinesList = []
|
Check.py | 436 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):
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/ |
GenVpd.py | 317 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/GenFds/ |
FdfParser.py | 164 self.FileLinesList = []
168 self.FileLinesList = fsock.readlines()
181 TotalLines = self.InsertAdjust + len(self.FileLinesList)
221 self.FileLinesList = []
225 self.FileLinesList = fsock.readlines()
327 NumberOfLines = len(self.Profile.FileLinesList)
328 SizeOfLastLine = len(self.Profile.FileLinesList[-1])
345 if self.CurrentLineNumber > len(self.Profile.FileLinesList):
347 SizeOfCurrentLine = len(self.Profile.FileLinesList[self.CurrentLineNumber - 1])
391 if self.CurrentOffsetWithinLine == len(self.Profile.FileLinesList[self.CurrentLineNumber - 1]) - 1: [all...] |
GenFds.py | 474 FileLinesList = linecache.getlines(FvSpaceInfoFileName)
481 for Line in FileLinesList:
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
FdfParserLite.py | 53 if Line >= Profile.InsertStartLineNumber 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/UPT/Library/ |
Misc.py | 957 FileLinesList = []
962 FileLinesList = FInputfile.readlines()
979 FileLinesList = ProcessLineExtender(FileLinesList)
981 for Line in FileLinesList:
[all...] |