Home
last modified time | relevance | path

Searched refs:FileType (Results 1 – 25 of 109) sorted by relevance

12345

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/
DMetaFileTable.py29 def __init__(self, Cursor, MetaFile, FileType, TableName, Temporary = False): argument
32 if (FileType == MODEL_FILE_INF):
34 if (FileType == MODEL_FILE_DSC):
39 if (FileType == MODEL_FILE_DEC):
230 def __init__(self, Cursor, MetaFile = '', FileType = MODEL_FILE_DSC, Temporary = False): argument
231 MetaFileTable.__init__(self, Cursor, MetaFile, FileType, "Dsc", Temporary)
318 def __new__(Class, Cursor, MetaFile, FileType=None, Temporary=False): argument
320 if not FileType:
322 FileType = Class._FILE_TYPE_[MetaFile.Type]
324 FileType = MODEL_FILE_OTHERS
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DSection.py113 def GetFileList(FfsInf, FileType, FileExtension, Dict = {}): argument
114 if FileType in Section.SectFileType.keys() :
122 Suffix = Section.SectionType.get(FileType)
124 Suffix = Section.BinFileType.get(FileType)
129 if FileType != None:
132 if File.Type == FileType or (int(FfsInf.PiSpecVersion, 16) >= 0x0001000A \
133 … and FileType == 'DXE_DPEX'and File.Type == 'SMM_DEPEX') \
134 or (FileType == 'TE'and File.Type == 'PE32'):
140 …same with file type \'%s\' from Rule in FDF" %(File.Type, File.File, FfsInf.InfFileName, FileType))
DOptRomFileStatement.py31 self.FileType = None
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DMetaFileTable.py33 def __init__(self, Cursor, MetaFile, FileType, Temporary): argument
41 FileId = self._FileIndexTable.InsertFile(MetaFile, FileType)
44 TableName = "_%s_%s_%s" % (FileType, FileId, uuid.uuid4().hex)
46 TableName = "_%s_%s" % (FileType, FileId)
379 def __new__(Class, Cursor, MetaFile, FileType=None, Temporary=False): argument
381 if not FileType:
383 FileType = Class._FILE_TYPE_[MetaFile.Type]
385 FileType = MODEL_FILE_OTHERS
388 if FileType == MODEL_FILE_OTHERS:
389 Args = (Cursor, MetaFile, FileType, Temporary)
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/
DUpdateDispatcher.c41 IN EFI_FV_FILETYPE FileType, in PerformUpdateOnFirmwareVolume() argument
121 if (FileType != EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE) { in PerformUpdateOnFirmwareVolume()
139 FileType, in PerformUpdateOnFirmwareVolume()
366 EFI_FV_FILETYPE FileType; in PerformUpdate() local
381 &FileType, in PerformUpdate()
403 if (FileType != EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE) { in PerformUpdate()
432 FileType, in PerformUpdate()
449 if (FileType != EFI_FV_FILETYPE_RAW) { in PerformUpdate()
480 FileType, in PerformUpdate()
611 EFI_FV_FILETYPE FileType; in InitializeUpdateDriver() local
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
DFwVolRead.c112 IN OUT EFI_FV_FILETYPE *FileType, in FvGetNextFile() argument
143 if (*FileType > EFI_FV_FILETYPE_SMM_CORE) { in FvGetNextFile()
175 if (*FileType == 0) { in FvGetNextFile()
179 if (*FileType == FfsFileHeader->Type) { in FvGetNextFile()
207 if (*FileType == EFI_FV_FILETYPE_ALL) { in FvGetNextFile()
211 if (*FileType == FfsFileHeader->Type) { in FvGetNextFile()
222 *FileType = FfsFileHeader->Type; in FvGetNextFile()
518 EFI_FV_FILETYPE FileType; in FvReadFileSection() local
550 &FileType, in FvReadFileSection()
561 if (FileType == EFI_FV_FILETYPE_RAW) { in FvReadFileSection()
DFwVolWrite.c758 IN EFI_FV_FILETYPE FileType, in FvCreateNewFile() argument
779 if ((FileType > EFI_FV_FILETYPE_SMM_CORE) && (FileType < 0xE0)) { in FvCreateNewFile()
806 FileType, in FvCreateNewFile()
877 FileHeader->Type = FileType; in FvCreateNewFile()
1216 EFI_FV_FILETYPE FileType; in FvDeleteFile() local
1245 FileType = 0; in FvDeleteFile()
1249 &FileType, in FvDeleteFile()
1357 EFI_FV_FILETYPE FileType; in FvWriteFile() local
1418 &FileType, in FvWriteFile()
1466 &FileType, in FvWriteFile()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVol/
DFwVolRead.c111 IN OUT EFI_FV_FILETYPE *FileType, in FvGetNextFile() argument
139 if (*FileType > EFI_FV_FILETYPE_SMM_CORE) { in FvGetNextFile()
182 if (*FileType == EFI_FV_FILETYPE_ALL) { in FvGetNextFile()
189 if (*FileType == FfsFileHeader->Type) { in FvGetNextFile()
201 *FileType = FfsFileHeader->Type; in FvGetNextFile()
441 EFI_FV_FILETYPE FileType; in FvReadFileSection() local
461 &FileType, in FvReadFileSection()
481 if (FileType == EFI_FV_FILETYPE_RAW) { in FvReadFileSection()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeFileExplorerProtocol/
DDxeFileExplorerProtocol.c86 IN CHAR16 *FileType, OPTIONAL in ChooseFile() argument
91 return mProtocol->ChooseFile (RootDirectory, FileType, ChooseHandler, File); in ChooseFile()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DBuildEngine.py37 def FileListMacro(FileType): argument
38 return "%sS" % FileType.replace("-", "_").upper()
46 def ListFileMacro(FileType): argument
47 return "%s_LIST" % FileListMacro(FileType)
463 FileType = ''
476 FileType = TokenList[1]
477 if FileType == '':
481 if self._FileTypePattern.match(FileType) == None:
486 if FileType == '':
487 FileType = TokenList[0]
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Rsa2048Sha256Sign/
DRsa2048Sha256GenerateKeys.py47 …group.add_argument("-o", "--output", dest='OutputFile', type=argparse.FileType('wb'), metavar='fil…
48 …group.add_argument("-i", "--input", dest='InputFile', type=argparse.FileType('rb'), metavar='filen…
49 …parser.add_argument("--public-key-hash", dest='PublicKeyHashFile', type=argparse.FileType('wb'), h…
50 …parser.add_argument("--public-key-hash-c", dest='PublicKeyHashCFile', type=argparse.FileType('wb')…
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DEditTitleBar.c89 IN CONST EDIT_FILE_TYPE FileType, in MainTitleBarRefresh() argument
167 switch (FileType){ in MainTitleBarRefresh()
170 if (FileType == FileTypeAscii){ in MainTitleBarRefresh()
DEditTitleBar.h65 IN CONST EDIT_FILE_TYPE FileType,
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/
DArmFvpDxe.c73 EFI_FV_FILETYPE FileType; in InternalFindFdtByGuid() local
112 FileType = EFI_FV_FILETYPE_RAW; in InternalFindFdtByGuid()
113 Status = FvProtocol->GetNextFile (FvProtocol, Key, &FileType, &NameGuid, &Attributes, &Size); in InternalFindFdtByGuid()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/CommonDataClass/
DModuleClass.py108 self.FileType = ''
128 …def __init__(self, BinaryFile = '', FileType = '', Target = '', FeatureFlag = '', SupArchList = No… argument
130 self.FileType = FileType
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsAppLoader.c37 EFI_FV_FILETYPE FileType; in LocateEfiApplicationInFvByName() local
91 FileType = EFI_FV_FILETYPE_ALL; in LocateEfiApplicationInFvByName()
93 Status = FvInstance->GetNextFile (FvInstance, Key, &FileType, &NameGuid, &Attributes, &Size); in LocateEfiApplicationInFvByName()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FvSimpleFileSystemDxe/
DFvSimpleFileSystemEntryPoint.c94 EFI_FV_FILETYPE FileType; in FvSimpleFileSystemOpenVolume() local
138 FileType = EFI_FV_FILETYPE_ALL; in FvSimpleFileSystemOpenVolume()
143 &FileType, in FvSimpleFileSystemOpenVolume()
183 if (FV_FILETYPE_IS_EXECUTABLE (FileType)) { in FvSimpleFileSystemOpenVolume()
195 FvFileInfo->Type = FileType; in FvSimpleFileSystemOpenVolume()
204 if (FV_FILETYPE_IS_EXECUTABLE (FileType)) { in FvSimpleFileSystemOpenVolume()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FileExplorerLib/
DFileExplorer.c574 if (gFileExplorerPrivate.FileType == NULL) { in LibIsSupportedFileType()
590 IsSupported = (StrStr (gFileExplorerPrivate.FileType, TmpStr) == NULL ? FALSE : TRUE); in LibIsSupportedFileType()
1371 IN CHAR16 *FileType, OPTIONAL in ChooseFile() argument
1389 if (FileType != NULL) { in ChooseFile()
1390 gFileExplorerPrivate.FileType = AllocateCopyPool (StrSize (FileType), FileType); in ChooseFile()
1391 ASSERT(gFileExplorerPrivate.FileType != NULL); in ChooseFile()
1392 LibToLowerString(gFileExplorerPrivate.FileType); in ChooseFile()
1394 gFileExplorerPrivate.FileType = NULL; in ChooseFile()
1430 if (gFileExplorerPrivate.FileType != NULL) { in ChooseFile()
1431 FreePool (gFileExplorerPrivate.FileType); in ChooseFile()
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
DFileExplorerLib.h42 IN CHAR16 *FileType, OPTIONAL
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/
DAcpiPlatform.c47 EFI_FV_FILETYPE FileType; in LocateFvInstanceWithTables() local
99 &FileType, in LocateFvInstanceWithTables()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Pkcs7Sign/
DPkcs7Sign.py83 …parser.add_argument("--signer-private-cert", dest='SignerPrivateCertFile', type=argparse.FileType(…
84 …parser.add_argument("--other-public-cert", dest='OtherPublicCertFile', type=argparse.FileType('rb'…
85 …parser.add_argument("--trusted-public-cert", dest='TrustedPublicCertFile', type=argparse.FileType(…
91 …parser.add_argument(metavar="input_file", dest='InputFile', type=argparse.FileType('rb'), help="sp…
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/HisiAcpiPlatformDxe/
DAcpiPlatform.c48 EFI_FV_FILETYPE FileType; in LocateFvInstanceWithTables() local
100 &FileType, in LocateFvInstanceWithTables()
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/
DAcpiPlatform.c55 EFI_FV_FILETYPE FileType; in LocateFvInstanceWithTables() local
104 &FileType, in LocateFvInstanceWithTables()
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Protocol/
DFileExplorer.h64 IN CHAR16 *FileType, OPTIONAL
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DFvLib.c306 IN EFI_FV_FILETYPE FileType, in GetFileByType() argument
365 … (NULL, 0, 0003, "error parsing FV image", "FFS file with FileType 0x%x can't be found", FileType); in GetFileByType()
372 if (FileType == EFI_FV_FILETYPE_ALL || CurrentFile->Type == FileType) { in GetFileByType()
383 … (NULL, 0, 0003, "error parsing FV image", "FFS file with FileType 0x%x can't be found", FileType); in GetFileByType()

12345