/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/ |
D | BPDG.py | 28 from Common import EdkLogger 51 EdkLogger.Initialize() 57 EdkLogger.SetLevel(EdkLogger.VERBOSE) 59 EdkLogger.SetLevel(EdkLogger.QUIET) 61 EdkLogger.SetLevel(Options.debug_level + 1) 63 EdkLogger.SetLevel(EdkLogger.INFO) 66 …EdkLogger.error("BPDG", ATTRIBUTE_NOT_AVAILABLE, "Please use the -o option to specify the file nam… 68 …EdkLogger.error("BPDG", ATTRIBUTE_NOT_AVAILABLE, "Please use the -m option to specify the file nam… 77 …EdkLogger.error("BPDG", ATTRIBUTE_NOT_AVAILABLE, "Please specify the file which contain the VPD pc… 114 EdkLogger.info("Please specify the filename.txt file which contain the VPD pcd info!") [all …]
|
D | GenVpd.py | 23 import Common.EdkLogger as EdkLogger namespace 51 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID, 55 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID, 59 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID, 94 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID, 107 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID, 113 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID, 123 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID, 128 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID, 131 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID, [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
D | GenDepex.py | 25 from Common import EdkLogger as EdkLogger unknown 144 EdkLogger.debug(EdkLogger.DEBUG_8, repr(self)) 147 EdkLogger.debug(EdkLogger.DEBUG_8, "\n Optimized: " + repr(self)) 172 …EdkLogger.error("GenDepex", PARSER_ERROR, "Invalid dependency expression: missing operator before … 177 … EdkLogger.error("GenDepex", PARSER_ERROR, "Invalid dependency expression: mismatched parentheses", 180 …EdkLogger.error("GenDepex", PARSER_ERROR, "Invalid dependency expression: missing operand before c… 190 …EdkLogger.error("GenDepex", PARSER_ERROR, "Invalid dependency expression: missing operator before … 193 …EdkLogger.error("GenDepex", PARSER_ERROR, "Invalid dependency expression: missing operand before "… 206 …EdkLogger.error("GenDepex", PARSER_ERROR, "Invalid dependency expression: missing operator before … 217 EdkLogger.error("GenDepex", PARSER_ERROR, [all …]
|
D | IdfClassObject.py | 16 import Common.EdkLogger as EdkLogger namespace 80 …EdkLogger.error("Image Definition File Parser", PARSER_ERROR, 'No Image definition file is given.') 88 EdkLogger.error("build", FILE_OPEN_FAILURE, ExtraData=File) 99 …EdkLogger.error("Image Definition File Parser", PARSER_ERROR, 'The %s in Line %s of File %s is inv… 105 …EdkLogger.error("Image Definition File Parser", PARSER_ERROR, 'The format is not match #image IMAG… 107 …EdkLogger.error("Image Definition File Parser", PARSER_ERROR, 'Please use the keyword "TRANSPARENT… 110 …EdkLogger.error('Image Definition File Parser', FORMAT_INVALID, 'The Image token name %s defined … 114 …EdkLogger.error("Image Definition File Parser", PARSER_ERROR, 'The %s in Line %s of File %s is alr… 149 EdkLogger.debug(EdkLogger.DEBUG_5, "Found ImageID identifier: " + ID)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Table/ |
D | Table.py | 17 import Common.EdkLogger as EdkLogger namespace 41 EdkLogger.verbose(SqlCommand + " ... DONE!") 55 EdkLogger.verbose("\nQuery tabel %s started ..." % self.Table) 59 EdkLogger.verbose(str(Rs)) 62 EdkLogger.verbose("*** Total %s records in table %s ***" % (TotalCount, self.Table) ) 63 EdkLogger.verbose("Query tabel %s DONE!" % self.Table) 72 EdkLogger.verbose("Drop tabel %s ... DONE!" % self.Table) 116 EdkLogger.debug(4, "SqlCommand: %s" % SqlCommand) 119 EdkLogger.debug(4, "RecordSet: %s" % RecordSet)
|
D | TableDataModel.py | 17 import Common.EdkLogger as EdkLogger namespace 73 EdkLogger.verbose("\nInitialize table DataModel started ...") 79 EdkLogger.verbose("Initialize table DataModel ... DONE!")
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Trim/ |
D | Trim.py | 26 import Common.EdkLogger as EdkLogger namespace 144 EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=Source) 181 EdkLogger.verbose("Found original file content starting from line %d" 196 EdkLogger.verbose("Got line directive: line=%d" % LineNumber) 207 EdkLogger.verbose("Now we have lines: %d" % len(NewLines)) 246 EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=Target) 264 EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=Source) 313 EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=Target) 344 EdkLogger.error("Trim", "Failed to find include file %s" % Source) 346 EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=Source) [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/ |
D | PatchPcdValue.py | 25 import Common.EdkLogger as EdkLogger namespace 222 … make_option("-v", "--verbose", dest="LogLevel", action="store_const", const=EdkLogger.VERBOSE, 226 make_option("-q", "--quiet", dest="LogLevel", action="store_const", const=EdkLogger.QUIET, 235 Parser.set_defaults(LogLevel=EdkLogger.INFO) 241 EdkLogger.error("PatchPcdValue", PARAMETER_INVALID, ExtraData=Parser.get_usage()) 260 EdkLogger.Initialize() 262 if CommandOptions.LogLevel < EdkLogger.DEBUG_9: 263 EdkLogger.SetLevel(CommandOptions.LogLevel + 1) 265 EdkLogger.SetLevel(CommandOptions.LogLevel) 267 EdkLogger.error("PatchPcdValue", FILE_NOT_FOUND, ExtraData=InputFile) [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
D | Ecc.py | 18 import Common.EdkLogger as EdkLogger namespace 68 EdkLogger.info(time.strftime("%H:%M:%S, %b.%d %Y ", time.localtime()) + "[00:00]" + "\n") 108 EdkLogger.info("Loading ECC configuration ... done") 160 …EdkLogger.error("ECC", BuildToolError.OPTION_VALUE_INVALID, ExtraData="Use -f option need to fill … 177 EdkLogger.quiet("Building database for Meta Data File ...") 180 EdkLogger.quiet("Building database for Meta Data File Done!") 203 EdkLogger.quiet("Building database for meta data files ...") 226 EdkLogger.quiet("Parsing %s" % Filename) 234 EdkLogger.quiet("Parsing %s" % Filename) 245 EdkLogger.quiet("Parsing %s" % Filename) [all …]
|
D | Database.py | 20 import Common.EdkLogger as EdkLogger namespace 75 EdkLogger.verbose("\nInitialize ECC database started ...") 133 EdkLogger.verbose("Initialize ECC database ... DONE!") 212 EdkLogger.verbose("Insert information from file %s ... DONE!" % File.FullPath) 220 EdkLogger.verbose("Update 'BelongsToFunction' for Identifiers started ...") 223 EdkLogger.debug(4, "SqlCommand: %s" %SqlCommand) 236 EdkLogger.debug(4, "For common identifiers ... ") 240 EdkLogger.debug(4, "SqlCommand: %s" %SqlCommand) 245 EdkLogger.debug(4, "SqlCommand: %s" %SqlCommand) 251 EdkLogger.debug(4, "For function headers ... ") [all …]
|
D | Check.py | 48 EdkLogger.quiet("Checking whether UNI file is UTF-16 ...") 66 EdkLogger.quiet("Checking Non-ACSII char in file ...") 112 EdkLogger.quiet("Checking function layout return type ...") 125 EdkLogger.quiet("Checking function layout modifier ...") 139 EdkLogger.quiet("Checking function layout function name ...") 152 EdkLogger.quiet("Checking function layout function prototype ...") 161 EdkLogger.quiet("[PROTOTYPE]" + FullName) 167 EdkLogger.quiet("Checking function layout function body ...") 182 EdkLogger.quiet("Checking function layout local variables ...") 210 EdkLogger.quiet("Checking Declaration No use C type ...") [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
D | VpdInfoFile.py | 20 import Common.EdkLogger as EdkLogger namespace 92 … EdkLogger.error("VpdInfoFile", BuildToolError.ATTRIBUTE_UNKNOWN_ERROR, "Invalid VPD PCD entry.") 95 …EdkLogger.error("VpdInfoFile", BuildToolError.PARAMETER_INVALID, "Invalid offset parameter: %s." %… 99 EdkLogger.error("VpdInfoFile", BuildToolError.PARAMETER_INVALID, 105 EdkLogger.error("VpdInfoFile", BuildToolError.PARAMETER_INVALID, 127 EdkLogger.error("VpdInfoFile", BuildToolError.PARAMETER_INVALID, 160 EdkLogger.error("VpdInfoFile", 177 …EdkLogger.error("BPDG", BuildToolError.PARSER_ERROR, "Fail to parse VPD information file %s" % Fil… 190 …EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID, "The offset of %s has not been fixed up by … 194 … EdkLogger.error("BPDG", BuildToolError.PARSER_ERROR, "Can not find PCD defined in VPD guid file.") [all …]
|
D | Database.py | 20 import EdkLogger as EdkLogger namespace 65 EdkLogger.verbose("\nInitialize ECC database started ...") 86 EdkLogger.verbose("Initialize ECC database ... DONE!") 111 EdkLogger.Initialize() 112 EdkLogger.SetLevel(EdkLogger.DEBUG_0)
|
D | ToolDefClassObject.py | 19 import EdkLogger 119 EdkLogger.error("tools_def.txt parser", FILE_OPEN_FAILURE, ExtraData=FileName) 121 EdkLogger.error("tools_def.txt parser", FILE_NOT_FOUND, ExtraData=FileName) 132 EdkLogger.error("tools_def.txt parser", ATTRIBUTE_NOT_AVAILABLE, 155 … EdkLogger.error("tools_def.txt parser", FILE_NOT_FOUND, ExtraData=IncFile) 167 …EdkLogger.warn("tools_def.txt parser", "Line %d: not correct assignment statement, skipped" % (Ind… 174 …EdkLogger.debug(EdkLogger.DEBUG_8, "Line %d: Found identifier statement, skipped: %s" % ((Index + … 181 EdkLogger.error("tools_def.txt parser", ATTRIBUTE_NOT_AVAILABLE, 187 …EdkLogger.debug(EdkLogger.DEBUG_8, "Line %d: Found macro: %s = %s" % ((Index + 1), MacroName, Valu… 192 EdkLogger.error("tools_def.txt parser", ATTRIBUTE_NOT_AVAILABLE, [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
D | Eot.py | 18 import Common.EdkLogger as EdkLogger namespace 76 … EdkLogger.error("EOT", BuildToolError.ATTRIBUTE_NOT_AVAILABLE, "Environment variable not found", 93 EdkLogger.error("Eot", EdkLogger.EOT_ERROR, "Can not find file %s " % FvFile) 96 …EdkLogger.error("Eot", EdkLogger.EOT_ERROR, "The fv file list of target platform was not specified… 102 EdkLogger.error("Eot", EdkLogger.EOT_ERROR, "Can not find file %s " % MapFile) 143 EdkLogger.quiet("EOT FINISHED!") 236 EdkLogger.quiet("Generating source files list ... ") 294 EdkLogger.quiet("Generating report file ... ") 306 EdkLogger.quiet("Parsing Map file ... ") 316 EdkLogger.quiet("Parsing FV file ... ") [all …]
|
D | Database.py | 20 import Common.EdkLogger as EdkLogger namespace 76 EdkLogger.verbose("\nInitialize EOT database started ...") 136 EdkLogger.verbose("Initialize EOT database ... DONE!") 197 EdkLogger.verbose("Insert information from file %s ... DONE!" % File.FullPath) 206 EdkLogger.verbose("Update 'BelongsToFunction' for Identifiers started ...") 233 EdkLogger.Initialize() 234 EdkLogger.SetLevel(EdkLogger.DEBUG_0) 235 EdkLogger.verbose("Start at " + time.strftime('%H:%M:%S', time.localtime())) 254 EdkLogger.verbose("End at " + time.strftime('%H:%M:%S', time.localtime()))
|
D | InfParserLite.py | 18 import Common.EdkLogger as EdkLogger namespace 136 …EdkLogger.error("Parser", PARSER_ERROR, "Different section names '%s' and '%s' are found in one se… 160 EdkLogger.Initialize() 161 EdkLogger.SetLevel(EdkLogger.QUIET)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/ |
D | build.py | 51 import Common.EdkLogger 99 EdkLogger.error("build", ATTRIBUTE_NOT_AVAILABLE, "Environment variable not found", 104 … EdkLogger.error("build", FILE_NOT_FOUND, "WORKSPACE doesn't exist", ExtraData="%s" % WorkspaceDir) 106 EdkLogger.error("build", FORMAT_NOT_SUPPORTED, "No space is allowed in WORKSPACE path", 116 …EdkLogger.error("build", FILE_NOT_FOUND, "One Path in PACKAGES_PATH doesn't exist", ExtraData="%s"… 118 …EdkLogger.error("build", FORMAT_NOT_SUPPORTED, "No space is allowed in PACKAGES_PATH", ExtraData=P… 143 … EdkLogger.verbose("ECP_SOURCE = %s doesn't exist. Edk modules could not be built." % EcpSourceDir) 145 EdkLogger.error("build", FORMAT_NOT_SUPPORTED, "No space is allowed in ECP_SOURCE path", 149 … EdkLogger.verbose("EDK_SOURCE = %s doesn't exist. Edk modules could not be built." % EdkSourceDir) 151 EdkLogger.error("build", PARAMETER_INVALID, "EDK_SOURCE does not exist", [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/ |
D | MetaDataTable.py | 19 import Common.EdkLogger as EdkLogger namespace 64 EdkLogger.debug(EdkLogger.DEBUG_8, SqlCommand) 78 EdkLogger.debug(EdkLogger.DEBUG_5, SqlCommand) 90 EdkLogger.verbose(str(Rs)) 139 EdkLogger.debug(EdkLogger.DEBUG_5, SqlCommand) 192 EdkLogger.verbose("\nInitialize table DataModel started ...") 201 EdkLogger.verbose("Initialize table DataModel ... DONE!")
|
D | MetaFileParser.py | 22 import Common.EdkLogger as EdkLogger namespace 51 EdkLogger.error('Parser', FORMAT_INVALID, "No macro name given", 60 …EdkLogger.error('Parser', FORMAT_INVALID, "%s can only be defined via environment variable" % Name, 64 … EdkLogger.error('Parser', FORMAT_INVALID, "The macro name must be in the pattern [A-Z][A-Z0-9_]*", 87 EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL can only be used in .dsc file", 90 … EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL can only be used under [Defines] section", 93 …EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL defined a macro with the same name and diffe… 274 EdkLogger.warn("Parser", "Unrecognized content", File=self.MetaFile, 294 … EdkLogger.error('Parser', FORMAT_INVALID, "Different section names in the same section", 301 EdkLogger.warn("Parser", "Unrecognized section", File=self.MetaFile, [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
D | Region.py | 25 from Common import EdkLogger 98 EdkLogger.error("GenFds", FILE_NOT_FOUND, ExtraData=RegionData) 121 EdkLogger.error("GenFds", GENFDS_ERROR, 130 EdkLogger.error("GenFds", GENFDS_ERROR, 141 … EdkLogger.error("GenFds", GENFDS_ERROR, "FV (%s) is NOT described in FDF file!" % (RegionData)) 148 EdkLogger.error("GenFds", GENFDS_ERROR, 171 EdkLogger.error("GenFds", FILE_NOT_FOUND, ExtraData=RegionData) 194 …EdkLogger.error("GenFds", GENFDS_ERROR, "Capsule (%s) is NOT described in FDF file!" % (RegionData… 201 EdkLogger.error("GenFds", GENFDS_ERROR, 218 …EdkLogger.error('GenFds', GENFDS_ERROR, 'INF in FD region can only contain one binary: %s' % Regio… [all …]
|
D | GenFds.py | 35 from Common import EdkLogger 68 EdkLogger.Initialize() 71 EdkLogger.SetLevel(EdkLogger.VERBOSE) 78 EdkLogger.SetLevel(EdkLogger.QUIET) 80 EdkLogger.SetLevel(Options.debug + 1) 83 EdkLogger.SetLevel(EdkLogger.INFO) 86 EdkLogger.error("GenFds", OPTION_MISSING, "WORKSPACE not defined", 89 EdkLogger.error("GenFds", PARAMETER_INVALID, "WORKSPACE is invalid", 113 EdkLogger.error("GenFds", FILE_NOT_FOUND, ExtraData=FdfFilename) 118 EdkLogger.error("GenFds", OPTION_MISSING, "Missing FDF filename") [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/ |
D | MetaDataTable.py | 19 import Common.EdkLogger as EdkLogger namespace 64 EdkLogger.debug(EdkLogger.DEBUG_8, SqlCommand) 78 EdkLogger.debug(EdkLogger.DEBUG_5, SqlCommand) 90 EdkLogger.verbose(str(Rs)) 136 EdkLogger.debug(EdkLogger.DEBUG_5, SqlCommand) 312 EdkLogger.verbose("\nInitialize table DataModel started ...") 321 EdkLogger.verbose("Initialize table DataModel ... DONE!")
|
D | MetaFileParser.py | 23 import Common.EdkLogger as EdkLogger namespace 49 EdkLogger.error('Parser', FORMAT_INVALID, "No macro name given", 58 …EdkLogger.error('Parser', FORMAT_INVALID, "%s can only be defined via environment variable" % Name, 62 … EdkLogger.error('Parser', FORMAT_INVALID, "The macro name must be in the pattern [A-Z][A-Z0-9_]*", 90 EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL can only be used in .dsc file", 93 … EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL can only be used under [Defines] section", 96 …EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL defined a macro with the same name and diffe… 277 EdkLogger.warn("Parser", "Unrecognized content", File=self.MetaFile, 301 … EdkLogger.error('Parser', FORMAT_INVALID, "Different section names in the same section", 308 … EdkLogger.error("Parser", FORMAT_UNKNOWN_ERROR, "%s is not a valid section name" % Item, [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | UniClassObject.py | 24 from Logger import Log as EdkLogger unknown 152 EdkLogger.Error("Unicode File Parser", 171 EdkLogger.Error("Unicode File Parser", 195 EdkLogger.Error("Unicode File Parser", 216 EdkLogger.Error("Unicode File Parser", 337 EdkLogger.Error("Unicode File Parser", 342 EdkLogger.Error("Unicode File Parser", 399 EdkLogger.Error("Unicode File Parser", 428 EdkLogger.Error("Unicode File Parser", 446 EdkLogger.Error("Unicode File Parser", ToolError.FILE_OPEN_FAILURE, ExtraData=File.Path) [all …]
|