Searched refs:FileContent (Results 1 – 12 of 12) sorted by relevance
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
D | FfsFileStatement.py | 99 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/ |
D | DecParserUnitTest.py | 24 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/ |
D | ToolDefClassObject.py | 113 FileContent = [] 117 FileContent = F.readlines() 123 for Index in range(len(FileContent)): 124 Line = FileContent[Index].strip()
|
D | String.py | 562 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/ |
D | Common.h | 64 char *FileContent; // Previous file content member
|
D | ProcessDsc.c | 4735 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/ |
D | GenMake.py | 184 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/ |
D | IniToXml.py | 329 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/ |
D | PackageFile.py | 108 FileContent = self._ZipFile.read(self._Files[Which]) 127 ToFile.write(FileContent)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | String.py | 470 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/ |
D | DecParserMisc.py | 42 class FileContent: class
|
D | DecParser.py | 42 from Parser.DecParserMisc import FileContent 778 RawData = FileContent(DecFile, NewContent)
|