Searched refs:FileIn (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | UniClassObject.py | 331 FileIn = codecs.open(File.Path, mode='rb', encoding='utf_16').read() 333 FileIn = codecs.open(File.Path, mode='rb', encoding='utf_16_le').read() 339 LineNo = GetLineNo(FileIn, Line, False) 438 FileIn = codecs.open(File.Path, mode='rb', encoding='utf_16').readlines() 440 FileIn = codecs.open(File.Path, mode='rb', encoding='utf_16_le').readlines() 455 for Line in FileIn: 480 for Line in FileIn: 481 Line = FileIn[LineCount] 508 if FileIn[LineCount].strip().startswith('#language'): 509 Line = Line + FileIn[LineCount] [all …]
|
D | ParserValidate.py | 729 FileIn = open(File, 'rb').read(2) 730 if FileIn != '\xff\xfe':
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
D | UniClassObject.py | 244 FileIn = self.OpenUniFile(LongFilePath(File.Path)) 249 LineNo = GetLineNo(FileIn, Line, False) 294 FileIn = UniFile.read() 303 if (FileIn.startswith(codecs.BOM_UTF16_BE) or 304 FileIn.startswith(codecs.BOM_UTF16_LE)): 307 self.VerifyUcs2Data(FileIn, FileName, Encoding) 309 UniFile = StringIO.StringIO(FileIn) 314 def VerifyUcs2Data(self, FileIn, FileName, Encoding): argument 320 FileDecoded = codecs.decode(FileIn, Encoding) 323 UniFile = StringIO.StringIO(FileIn) [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/ |
D | MetaFileParser.py | 1997 self.FileIn = None 2003 self.FileIn = CodecOpenLongFilePath(self.FilePath, Mode='rb', Encoding='utf_8').read() 2005 self.FileIn = CodecOpenLongFilePath(self.FilePath, Mode='rb', Encoding='utf_16').read() 2007 … self.FileIn = CodecOpenLongFilePath(self.FilePath, Mode='rb', Encoding='utf_16_le').read() 2009 self.FileIn = "" 2033 Contents = self.FileIn
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
D | Check.py | 53 FileIn = open(File, 'rb').read(2) 54 if FileIn != '\xff\xfe':
|