Searched refs:FileContent (Results 1 - 9 of 9) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Common/
H A DToolDefClassObject.py60 FileContent = []
64 FileContent = F.readlines()
77 for Index in range(len(FileContent)):
78 Line = FileContent[Index].strip()
H A DString.py557 # @param FileContent: File content to be parsed
560 def PreCheck(FileName, FileContent, SupSectionTag):
564 for Line in FileContent.splitlines():
594 # Regenerate FileContent
662 # @param FileContent: Search scope
668 def GetLineNo(FileContent, Line, IsIgnoreComment=True):
669 LineList = FileContent.splitlines()
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/UnitTest/
H A DDecParserUnitTest.py24 FileContent, \
61 self.dec = _DecBase(FileContent('dummy', []))
95 self.dec = _DecBase(FileContent('dummy', Content))
182 dec = TestTop(FileContent('dummy', Content.splitlines()))
236 Obj = _DecDefine(FileContent('dummy', Content.splitlines()))
262 Obj = _DecLibraryclass(FileContent('dummy', Content.splitlines()))
291 Obj = _DecPcd(FileContent('dummy', Content.splitlines()))
341 Obj = _DecGuid(FileContent('dummy', Content.splitlines()))
26 CleanString namespace
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/AutoGen/
H A DGenMake.py183 FileContent = self._TEMPLATE_.Replace(self._TemplateDict)
185 return SaveFileOnChange(os.path.join(self._AutoGenObject.MakeFileDir, FileName), FileContent, False)
768 FileContent = Fd.read()
770 if len(FileContent) == 0:
773 if FileContent[0] == 0xff or FileContent[0] == 0xfe:
774 FileContent = unicode(FileContent, "utf-16")
775 IncludedFileList = gIncludePattern.findall(FileContent)
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Core/
H A DPackageFile.py107 FileContent = self._ZipFile.read(self._Files[Which])
125 ToFile.write(FileContent)
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Xml/
H A DIniToXml.py330 FileContent = ConvertSpecialChar(open(IniFile, 'rb').readlines())
332 for Index in range(0, len(FileContent)):
334 Line = FileContent[Index].strip()
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Library/
H A DString.py467 # @param FileContent: File content to be parsed
470 def PreCheck(FileName, FileContent, SupSectionTag):
476 for Line in FileContent.splitlines():
503 # Regenerate FileContent
570 # @param FileContent: Search scope
573 def GetLineNo(FileContent, Line, IsIgnoreComment=True):
574 LineList = FileContent.splitlines()
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Parser/
H A DDecParserMisc.py38 ## FileContent
41 class FileContent: class in inherits:
H A DDecParser.py40 from Parser.DecParserMisc import FileContent namespace
733 RawData = FileContent(DecFile, Content)

Completed in 4336 milliseconds