Home
last modified time | relevance | path

Searched refs:FileContent (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DFfsFileStatement.py99 FileContent = ''
115 FileContent += Content
116 if len(FileContent) % AlignValue != 0:
117 Size = AlignValue - len(FileContent) % AlignValue
119 FileContent += pack('B', 0xFF)
121 if FileContent:
123 SaveFileOnChange(OutputRAWFile, FileContent, True)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/
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()))
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DToolDefClassObject.py113 FileContent = []
117 FileContent = F.readlines()
123 for Index in range(len(FileContent)):
124 Line = FileContent[Index].strip()
DString.py562 def PreCheck(FileName, FileContent, SupSectionTag): argument
566 for Line in FileContent.splitlines():
670 def GetLineNo(FileContent, Line, IsIgnoreComment=True): argument
671 LineList = FileContent.splitlines()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/
DCommon.h64 char *FileContent; // Previous file content member
DProcessDsc.c4735 SmartFile->FileContent = malloc (FileSize + 1); in SmartOpen()
4736 if (SmartFile->FileContent != NULL) { in SmartOpen()
4737 memset (SmartFile->FileContent, 0, FileSize + 1); in SmartOpen()
4742 SmartFile->FileLength = fread (SmartFile->FileContent, sizeof(char), FileSize, Fptr); in SmartOpen()
4750 if (SmartFile->FileContent == NULL) { in SmartOpen()
4773 (_strnicmp (&SmartFile->FileContent[SmartFile->FilePosition], String, StrLen) != 0)) { in SmartWrite()
4781 SmartFile->FileContent[SmartFile->FilePosition] = 0; in SmartWrite()
4782 fprintf (SmartFile->FilePtr, "%s%s", SmartFile->FileContent, String); in SmartWrite()
4804 SmartFile->FileContent[SmartFile->FilePosition] = 0; in SmartClose()
4805 fprintf (SmartFile->FilePtr, "%s", SmartFile->FileContent); in SmartClose()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DGenMake.py184 FileContent = self._TEMPLATE_.Replace(self._TemplateDict)
186 …eturn SaveFileOnChange(os.path.join(self._AutoGenObject.MakeFileDir, FileName), FileContent, False)
933 FileContent = Fd.read()
935 if len(FileContent) == 0:
938 if FileContent[0] == 0xff or FileContent[0] == 0xfe:
939 FileContent = unicode(FileContent, "utf-16")
940 IncludedFileList = gIncludePattern.findall(FileContent)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/
DIniToXml.py329 FileContent = ConvertSpecialChar(open(IniFile, 'rb').readlines())
331 for Index in range(0, len(FileContent)):
333 Line = FileContent[Index].strip()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/
DPackageFile.py108 FileContent = self._ZipFile.read(self._Files[Which])
127 ToFile.write(FileContent)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DString.py470 def PreCheck(FileName, FileContent, SupSectionTag): argument
476 for Line in FileContent.splitlines():
573 def GetLineNo(FileContent, Line, IsIgnoreComment=True): argument
574 LineList = FileContent.splitlines()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DDecParserMisc.py42 class FileContent: class
DDecParser.py42 from Parser.DecParserMisc import FileContent
778 RawData = FileContent(DecFile, NewContent)