HomeSort by relevance Sort by last modified time
    Searched refs:ContainerFile (Results 1 - 13 of 13) sorted by null

  /device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
Parsing.py 248 # @param ContainerFile: The file which describes the library class, used for error report
252 def GetLibraryClass(Item, ContainerFile, WorkspaceDir, LineNo = -1):
256 RaiseParserError(Item[0], 'LibraryClasses', ContainerFile, '<LibraryClassKeyWord>|<LibraryInstance>')
258 CheckFileType(List[1], '.Inf', ContainerFile, 'library class instance', Item[0], LineNo)
259 CheckFileExist(WorkspaceDir, List[1], ContainerFile, 'LibraryClasses', Item[0], LineNo)
270 # @param ContainerFile: The file which describes the library class, used for error report
274 def GetLibraryClassOfInf(Item, ContainerFile, WorkspaceDir, LineNo = -1):
279 RaiseParserError(Item[0], 'LibraryClasses', ContainerFile, '<LibraryClassKeyWord>[|<LibraryInstance>][|<TokenSpaceGuidCName>.<PcdCName>]')
281 CheckFileType(ItemList[1], '.Inf', ContainerFile, 'LibraryClasses', Item[0], LineNo)
282 CheckFileExist(WorkspaceDir, ItemList[1], ContainerFile, 'LibraryClasses', Item[0], LineNo)
    [all...]
DscClassObject.py 149 ContainerFile = self.Identification.FileFullPath
154 self.GenPlatformHeader(ContainerFile)
159 self.GenBuildOptions(ContainerFile)
164 self.GenSkuInfos(ContainerFile)
169 self.GenLibraries(ContainerFile)
174 self.GenLibraryClasses(ContainerFile)
179 self.GenPcds(DataType.TAB_PCDS_FIXED_AT_BUILD, ContainerFile)
180 self.GenPcds(DataType.TAB_PCDS_PATCHABLE_IN_MODULE, ContainerFile)
181 self.GenFeatureFlagPcds(DataType.TAB_PCDS_FEATURE_FLAG, ContainerFile)
182 self.GenDynamicDefaultPcds(DataType.TAB_PCDS_DYNAMIC_DEFAULT, ContainerFile)
    [all...]
DecClassObject.py 258 ContainerFile = self.Identification.FileFullPath
263 self.GenPackageHeader(ContainerFile)
268 self.GenIncludes(ContainerFile)
273 self.GenGuidProtocolPpis(DataType.TAB_GUIDS, ContainerFile)
278 self.GenGuidProtocolPpis(DataType.TAB_PROTOCOLS, ContainerFile)
283 self.GenGuidProtocolPpis(DataType.TAB_PPIS, ContainerFile)
288 self.GenLibraryClasses(ContainerFile)
293 self.GenPcds(ContainerFile)
299 # @param ContainerFile: The Dec file full path
301 def GenPackageHeader(self, ContainerFile):
    [all...]
InfClassObject.py 219 ContainerFile = self.Identification.FileFullPath
224 self.GenModuleHeader(ContainerFile)
229 self.GenBuildOptions(ContainerFile)
234 self.GenIncludes(ContainerFile)
239 self.GenLibraries(ContainerFile)
244 self.GenLibraryClasses(ContainerFile)
249 self.GenPackages(ContainerFile)
254 self.GenNmakes(ContainerFile)
259 self.GenPcds(ContainerFile)
264 self.GenSources(ContainerFile)
    [all...]
String.py 623 ContainerFile = open(ContainerFilename, 'r').read()
625 LineNo = GetLineNo(ContainerFile, Line)
651 ContainerFile = open(ContainerFilename, 'r').read()
653 LineNo = GetLineNo(ContainerFile, Line)
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
Parsing.py 77 # @param ContainerFile: The file which describes the library class, used for
80 def GetLibraryClass(Item, ContainerFile, WorkspaceDir, LineNo= -1):
84 RaiseParserError(Item[0], 'LibraryClasses', ContainerFile, \
87 CheckFileType(List[1], '.Inf', ContainerFile, \
89 CheckFileExist(WorkspaceDir, List[1], ContainerFile, \
102 # @param ContainerFile: The file which describes the library class, used for
105 def GetLibraryClassOfInf(Item, ContainerFile, WorkspaceDir, LineNo= -1):
111 (Item[0], 'LibraryClasses', ContainerFile, \
115 CheckFileType(ItemList[1], '.Inf', ContainerFile, 'LibraryClasses', \
117 CheckFileExist(WorkspaceDir, ItemList[1], ContainerFile, \
    [all...]
CommentParsing.py 174 # @param ContainerFile: Input value for filename of Dec file
176 def ParseGenericComment (GenericComment, ContainerFile=None, SkipTag=None):
177 if ContainerFile:
200 # @param ContainerFile: Input value for filename of Dec file
203 def ParsePcdErrorCode (Value = None, ContainerFile = None, LineNum = None):
214 File = ContainerFile,
226 File = ContainerFile,
233 # @param ContainerFile: Input value for filename of Dec file
235 def ParseDecPcdGenericComment (GenericComment, ContainerFile, TokenSpaceGuidCName, CName, MacroReplaceDict):
261 File = ContainerFile,
    [all...]
String.py 530 ContainerFile = open(ContainerFilename, 'r').read()
532 LineNo = GetLineNo(ContainerFile, Line)
558 ContainerFile = open(ContainerFilename, 'r').read()
560 LineNo = GetLineNo(ContainerFile, Line)
UniClassObject.py 227 # @param ContainerFile ContainerFile.
230 def FormatUniEntry(StrTokenName, TokenValueList, ContainerFile):
243 Lang = GetLanguageCode(Lang.split('-')[0], True, ContainerFile)
245 Lang = GetLanguageCode(Lang, False, ContainerFile)
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/PomAdapter/
DecPomAlignment.py 146 ContainerFile = self.GetFullPath()
151 self.GenPackageHeader(ContainerFile)
156 self.GenIncludes(ContainerFile)
161 self.GenGuidProtocolPpis(TAB_GUIDS, ContainerFile)
166 self.GenGuidProtocolPpis(TAB_PROTOCOLS, ContainerFile)
171 self.GenGuidProtocolPpis(TAB_PPIS, ContainerFile)
176 self.GenLibraryClasses(ContainerFile)
181 self.GenPcds(ContainerFile)
187 self.GenModuleFileList(ContainerFile)
253 # @param ContainerFile: The Dec file full path
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/GenMetaFile/
GenDecFile.py 311 ContainerFile = Package.GetFullPath()
517 SaveFileOnChange(ContainerFile, Content, False)
519 os.chmod(ContainerFile, stat.S_IRUSR|stat.S_IRGRP|stat.S_IROTH)
521 os.chmod(ContainerFile, stat.S_IRUSR|stat.S_IRGRP|stat.S_IROTH|stat.S_IWUSR|stat.S_IWGRP|stat.S_IWOTH)
522 return ContainerFile
582 ContainerFile = os.path.normpath(os.path.join(os.path.dirname(PackageObject.GetFullPath()),
588 Content += FormatUniEntry('#string ' + TAB_DEC_PACKAGE_ABSTRACT, PackageObject.GetAbstract(), ContainerFile) + '\r\n'
590 Content += FormatUniEntry('#string ' + TAB_DEC_PACKAGE_DESCRIPTION, PackageObject.GetDescription(), ContainerFile) \
593 Content += FormatUniEntry('#string ' + TAB_DEC_BINARY_ABSTRACT, BinaryAbstract, ContainerFile) + '\r\n'
595 Content += FormatUniEntry('#string ' + TAB_DEC_BINARY_DESCRIPTION, BinaryDescription, ContainerFile) + '\r\n'
    [all...]
GenInfFile.py 57 ContainerFile = ModuleObject.GetFullPath()
180 SaveFileOnChange(ContainerFile, Content, False)
182 os.chmod(ContainerFile, stat.S_IRUSR|stat.S_IRGRP|stat.S_IROTH)
184 os.chmod(ContainerFile, stat.S_IRUSR|stat.S_IRGRP|stat.S_IROTH|stat.S_IWUSR|stat.S_IWGRP|stat.S_IWOTH)
185 return ContainerFile
228 ContainerFile = os.path.normpath(os.path.join(os.path.dirname(ModuleObject.GetFullPath()),
236 Content += FormatUniEntry('#string ' + DT.TAB_INF_ABSTRACT, ModuleObject.GetAbstract(), ContainerFile) + '\r\n'
238 Content += FormatUniEntry('#string ' + DT.TAB_INF_DESCRIPTION, ModuleObject.GetDescription(), ContainerFile) \
241 BinaryAbstractString = FormatUniEntry('#string ' + DT.TAB_INF_BINARY_ABSTRACT, BinaryAbstract, ContainerFile)
246 ContainerFile)
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
InfSectionParser.py 429 # @param ContainerFile: Input value for filename of Inf file
431 def InfSpecialCommentParser (self, SpecialSectionList, InfSectionObject, ContainerFile, SectionType):
498 ContainerFile

Completed in 881 milliseconds