Home
last modified time | relevance | path

Searched refs:Filename (Results 1 – 25 of 118) sorted by relevance

12345

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DFdfClassObject.py41 def __init__(self, Filename = None, IsToDatabase = False, WorkspaceDir = None, Database = None): argument
54 if Filename != None:
55 self.LoadFdfFile(Filename)
60 def InsertFile(self, Filename): argument
62 Filename = NormPath(Filename)
63 if Filename not in self.FileList:
64 FileID = self.TblFile.InsertFile(Filename, MODEL_FILE_FDF)
65 self.FileList[Filename] = FileID
67 return self.FileList[Filename]
76 def LoadFdfFile(self, Filename): argument
[all …]
DDscClassObject.py95 …def __init__(self, Filename=None, IsToDatabase=False, IsToPlatform=False, WorkspaceDir=None, Datab… argument
132 if Filename != None:
133 self.LoadDscFile(Filename)
282Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, TAB_BUILD_OPTIONS, '',…
283 for NewItem in open(Filename, 'r').readlines():
286 (Family, ToolChain, Flag) = GetBuildOption(NewItem, Filename, -1)
337Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, TAB_SKUIDS, '', Includ…
338 for NewItem in open(Filename, 'r').readlines():
343 RaiseParserError(NewItem, TAB_SKUIDS, Filename, '<Integer>|<UiName>')
388Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, TAB_LIBRARIES, '', Inc…
[all …]
DTargetTxtClassObject.py36 def __init__(self, Filename = None): argument
48 if Filename != None:
49 self.LoadTargetTxtFile(Filename)
60 def LoadTargetTxtFile(self, Filename): argument
61 if os.path.exists(Filename) and os.path.isfile(Filename):
62 return self.ConvertTextFileToDict(Filename, '#', '=')
64 EdkLogger.error("Target.txt Parser", FILE_NOT_FOUND, ExtraData=Filename)
DDecClassObject.py86 …def __init__(self, Filename=None, IsToDatabase=False, IsToPackage=False, WorkspaceDir=None, Databa… argument
119 if Filename != None:
120 self.LoadDecFile(Filename)
134 def LoadDecFile(self, Filename): argument
138 Filename = NormPath(Filename)
139 self.Identification.FileFullPath = Filename
140 … (self.Identification.FileRelativePath, self.Identification.FileName) = os.path.split(Filename)
141 self.FileID = self.TblFile.InsertFile(Filename, MODEL_FILE_DEC)
161 for Line in open(Filename, 'r'):
193 …InsertSectionItemsIntoDatabase(self.TblDec, self.FileID, Filename, Model, CurrentSection, SectionI…
[all …]
DInfClassObject.py167 …def __init__(self, Filename=None, IsToDatabase=False, IsToModule=False, WorkspaceDir=None, Databas… argument
202 if Filename != None:
203 self.LoadInfFile(Filename)
324 def LoadInfFile(self, Filename): argument
328 Filename = NormPath(Filename)
329 self.Identification.FileFullPath = Filename
330 … (self.Identification.FileRelativePath, self.Identification.FileName) = os.path.split(Filename)
331 self.FileID = self.TblFile.InsertFile(Filename, MODEL_FILE_INF)
351 for Line in open(Filename, 'r'):
385 …InsertSectionItemsIntoDatabase(self.TblInf, self.FileID, Filename, Model, CurrentSection, SectionI…
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DInfParserLite.py43 …def __init__(self, Filename = None, Database = None, SourceFileList = None, SourceOverridePath = N… argument
55 if Filename != None:
56 self.LoadInfFile(Filename)
70 def LoadInfFile(self, Filename = None): argument
72 Filename = NormPath(Filename)
73 self.Identification.FileFullPath = Filename
74 … (self.Identification.FileRelativePath, self.Identification.FileName) = os.path.split(Filename)
76 self.FileID = self.TblFile.InsertFile(Filename, MODEL_FILE_INF)
78 self.ParseInf(PreProcess(Filename, False), self.Identification.FileRelativePath, Filename)
111 def ParseInf(self, Lines = [], FileRelativePath = '', Filename = ''): argument
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcMtftp.c123 IN UINT8 *Filename, in PxeBcMtftp6GetFileSize() argument
168 Filename, in PxeBcMtftp6GetFileSize()
251 IN UINT8 *Filename, in PxeBcMtftp6ReadFile() argument
284 Token.Filename = Filename; in PxeBcMtftp6ReadFile()
334 IN UINT8 *Filename, in PxeBcMtftp6WriteFile() argument
367 Token.Filename = Filename; in PxeBcMtftp6WriteFile()
409 IN UINT8 *Filename, in PxeBcMtftp6ReadDirectory() argument
442 Token.Filename = Filename; in PxeBcMtftp6ReadDirectory()
569 IN UINT8 *Filename, in PxeBcMtftp4GetFileSize() argument
614 Filename, in PxeBcMtftp4GetFileSize()
[all …]
DPxeBcMtftp.h49 IN UINT8 *Filename,
75 IN UINT8 *Filename,
103 IN UINT8 *Filename,
131 IN UINT8 *Filename,
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/
DReportStatusCode.c80 OUT CHAR8 **Filename, in ReportStatusCodeExtractAssertInfo() argument
88 ASSERT (Filename != NULL); in ReportStatusCodeExtractAssertInfo()
96 *Filename = (CHAR8 *)(AssertData + 1); in ReportStatusCodeExtractAssertInfo()
97 *Description = *Filename + AsciiStrLen (*Filename) + 1; in ReportStatusCodeExtractAssertInfo()
187 CHAR8 *Filename; in SerialReportStatusCode() local
201 … ReportStatusCodeExtractAssertInfo (CodeType, Value, Data, &Filename, &Description, &LineNumber)) { in SerialReportStatusCode()
210 Filename, in SerialReportStatusCode()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DEcc.py224 Filename = os.path.normpath(os.path.join(Root, File))
225 EdkLogger.quiet("Parsing %s" % Filename)
226 Op.write("%s\r" % Filename)
228 … self.MetaFile = DecParser(Filename, MODEL_FILE_DEC, EccGlobalData.gDb.TblDec)
232 Filename = os.path.normpath(os.path.join(Root, File))
233 EdkLogger.quiet("Parsing %s" % Filename)
234 Op.write("%s\r" % Filename)
236 …f.MetaFile = DscParser(PathClass(Filename, Root), MODEL_FILE_DSC, MetaFileStorage(EccGlobalData.gD…
243 Filename = os.path.normpath(os.path.join(Root, File))
244 EdkLogger.quiet("Parsing %s" % Filename)
[all …]
DConfiguration.py30 def __init__(self, Filename): argument
31 self.Filename = Filename
284 Filepath = os.path.normpath(self.Filename)
313 print self.Filename
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/
DReportStatusCode.c154 IN CHAR8 *Filename, in EfiDebugAssertWorker() argument
199 TotalSize += EfiAsciiStrLen (Filename); in EfiDebugAssertWorker()
223 EndOfStr = EfiAsciiStrCpy ((CHAR8 *)(AssertData + 1), Filename); in EfiDebugAssertWorker()
239 OUT CHAR8 **Filename, in ReportStatusCodeExtractAssertInfo() argument
283 *Filename = (CHAR8 *)(AssertData + 1); in ReportStatusCodeExtractAssertInfo()
284 *Description = *Filename + EfiAsciiStrLen (*Filename) + 1; in ReportStatusCodeExtractAssertInfo()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DEfiSection.py64 Filename = FfsInf.__ExtendMacro__(self.FileName)
82 if Filename != None:
83 Filename = GenFdsGlobalVariable.MacroExtend(Filename, Dict)
85 if os.path.isabs(Filename):
86 Filename = os.path.normpath(Filename)
88 Filename = os.path.normpath(os.path.join(FfsInf.EfiOutputPath, Filename))
91 FileList.append(Filename)
92 elif os.path.exists(Filename):
93 FileList.append(Filename)
DDataSection.py69 Filename = GenFdsGlobalVariable.MacroExtend(self.SectFileName)
70 if Filename[(len(Filename)-4):] == '.efi':
71 MapFile = Filename.replace('.efi', '.map')
79 ImageObj = PeImageClass (Filename)
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcMtftp.h47 IN UINT8 *Filename,
73 IN UINT8 *Filename,
101 IN UINT8 *Filename,
129 IN UINT8 *Filename,
DPxeBcMtftp.c108 IN UINT8 *Filename, in PxeBcTftpGetFileSize() argument
151 Filename, in PxeBcTftpGetFileSize()
236 IN UINT8 *Filename, in PxeBcTftpReadFile() argument
271 Token.Filename = Filename; in PxeBcTftpReadFile()
319 IN UINT8 *Filename, in PxeBcTftpWriteFile() argument
354 Token.Filename = Filename; in PxeBcTftpWriteFile()
393 IN UINT8 *Filename, in PxeBcTftpReadDirectory() argument
428 Token.Filename = Filename; in PxeBcTftpReadDirectory()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfParser.py50 def OpenInfFile(Filename): argument
54 FInputfile = open(Filename, "rb", 0)
61 File=Filename)
68 File=Filename)
84 def __init__(self, Filename = None, WorkspaceDir = None): argument
100 if Filename != None:
101 self.ParseInfFile(Filename)
109 def ParseInfFile(self, Filename): argument
111 Filename = NormPath(Filename)
112 (Path, Name) = os.path.split(Filename)
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/
DReportStatusCodeLib.c103 OUT CHAR8 **Filename, in ReportStatusCodeExtractAssertInfo() argument
111 ASSERT (Filename != NULL); in ReportStatusCodeExtractAssertInfo()
119 *Filename = (CHAR8 *)(AssertData + 1); in ReportStatusCodeExtractAssertInfo()
120 *Description = *Filename + AsciiStrLen (*Filename) + 1; in ReportStatusCodeExtractAssertInfo()
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtBlockIoDxe/
DWinNtBlockIo.c450 IN CHAR16 *Filename, in WinNtBlockIoCreateMapping() argument
498 for (Index = 0; Filename[Index] != 0; Index++) { in WinNtBlockIoCreateMapping()
499 Private->Filename[Index] = Filename[Index]; in WinNtBlockIoCreateMapping()
502 Private->Filename[Index] = 0; in WinNtBlockIoCreateMapping()
517 Private->Filename, in WinNtBlockIoCreateMapping()
524 Private->Filename, in WinNtBlockIoCreateMapping()
583 DEBUG ((EFI_D_INIT, "BlockDevice added: %s\n", Filename)); in WinNtBlockIoCreateMapping()
628 Private->Filename, in WinNtBlockIoOpenDevice()
640 …DEBUG ((EFI_D_INFO, "PlOpenBlock: Could not open %s, %x\n", Private->Filename, Private->WinNtThunk… in WinNtBlockIoOpenDevice()
663 DEBUG ((EFI_D_ERROR, "PlOpenBlock: Could not get filesize of %s\n", Private->Filename)); in WinNtBlockIoOpenDevice()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiReportStatusCodeLib/
DReportStatusCodeLib.c163 OUT CHAR8 **Filename, in GlueReportStatusCodeExtractAssertInfo() argument
171 ASSERT (Filename != NULL); in GlueReportStatusCodeExtractAssertInfo()
179 *Filename = (CHAR8 *)(AssertData + 1); in GlueReportStatusCodeExtractAssertInfo()
180 *Description = *Filename + AsciiStrLen (*Filename) + 1; in GlueReportStatusCodeExtractAssertInfo()
/device/linaro/bootloader/edk2/DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/
DReportStatusCodeLib.c173 OUT CHAR8 **Filename, in ReportStatusCodeExtractAssertInfo() argument
181 ASSERT (Filename != NULL); in ReportStatusCodeExtractAssertInfo()
189 *Filename = (CHAR8 *)(AssertData + 1); in ReportStatusCodeExtractAssertInfo()
190 *Description = *Filename + AsciiStrLen (*Filename) + 1; in ReportStatusCodeExtractAssertInfo()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/SmmRuntimeDxeReportStatusCodeLib/
DReportStatusCodeLib.c195 OUT CHAR8 **Filename, in GlueReportStatusCodeExtractAssertInfo() argument
203 ASSERT (Filename != NULL); in GlueReportStatusCodeExtractAssertInfo()
211 *Filename = (CHAR8 *)(AssertData + 1); in GlueReportStatusCodeExtractAssertInfo()
212 *Description = *Filename + AsciiStrLen (*Filename) + 1; in GlueReportStatusCodeExtractAssertInfo()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DBlockIo.c22 char *Filename; member
102 Private->fd = open (Private->Filename, Private->Mode, 0644); in EmuBlockIoOpenDevice()
104 printf ("EmuOpenBlock: Could not open %s: %s\n", Private->Filename, strerror(errno)); in EmuBlockIoOpenDevice()
122 printf ("EmuOpenBlock: Could not get filesize of %s\n", Private->Filename); in EmuBlockIoOpenDevice()
175 DEBUG ((EFI_D_INIT, "%HEmuOpenBlock: opened %a%N\n", Private->Filename)); in EmuBlockIoOpenDevice()
640 Private->Filename = StdDupUnicodeToAscii (This->ConfigString); in EmuBlockIoThunkOpen()
641 if (Private->Filename == NULL) { in EmuBlockIoThunkOpen()
645 Str = strstr (Private->Filename, ":"); in EmuBlockIoThunkOpen()
686 if (Private->Filename != NULL) { in EmuBlockIoThunkClose()
687 free (Private->Filename); in EmuBlockIoThunkClose()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/StatusCode/Pei/
DSerialStatusCodeWorker.c47 CHAR8 *Filename; in SerialStatusCodeReportWorker() local
59 … ReportStatusCodeExtractAssertInfo (CodeType, Value, Data, &Filename, &Description, &LineNumber)) { in SerialStatusCodeReportWorker()
67 Filename, in SerialStatusCodeReportWorker()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/
DSerialStatusCodeWorker.c45 CHAR8 *Filename; in SerialStatusCodeReportWorker() local
57 … ReportStatusCodeExtractAssertInfo (CodeType, Value, Data, &Filename, &Description, &LineNumber)) { in SerialStatusCodeReportWorker()
65 Filename, in SerialStatusCodeReportWorker()

12345