Home
last modified time | relevance | path

Searched refs:FileIn (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DUniClassObject.py331 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 …]
DParserValidate.py729 FileIn = open(File, 'rb').read(2)
730 if FileIn != '\xff\xfe':
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DUniClassObject.py244 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/
DMetaFileParser.py1997 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/
DCheck.py53 FileIn = open(File, 'rb').read(2)
54 if FileIn != '\xff\xfe':