Home | History | Annotate | Download | only in Parser

Lines Matching refs:Arch

83         # Key is combined with (Arch, SectionType)

115 # @param Scope: A list store section name and arch info
133 # @param Arch: arch
135 def _GetItemByArch(self, Arch):
136 Arch = Arch.upper()
137 if Arch not in self.ValueDict:
139 return self.ValueDict[Arch]
146 for Arch in self.ValueDict:
147 for Item in self.ValueDict[Arch]:
154 # Module type and arch the item belongs to
160 # Item's arch, if PCD, also include PCD type
168 for Arch in self.ArchAndModuleType:
169 ArchSet.add(Arch)
273 def GetIncludes(self, Arch=TAB_ARCH_COMMON):
274 return self._GetItemByArch(Arch)
318 def GetLibraryclasses(self, Arch=TAB_ARCH_COMMON):
319 return self._GetItemByArch(Arch)
372 for Type, Arch in Scope:
373 if (Type, Arch) in self.ValueDict:
374 self.ValueDict[Type, Arch].append(Item)
376 self.ValueDict[Type, Arch] = [Item]
377 ArchModule.append([Type, Arch])
383 # @param Arch: Arch
385 def GetPcds(self, PcdType, Arch=TAB_ARCH_COMMON):
387 Arch = Arch.upper()
388 if (PcdType, Arch) not in self.ValueDict:
390 return self.ValueDict[PcdType, Arch]
399 for TypeInDict, Arch in self.ValueDict:
402 for Item in self.ValueDict[PcdType, Arch]:
441 for Type, Arch in self.ArchAndModuleType:
444 ItemSet.add(Arch)
460 # @param Arch: Arch
462 def GetGuidStyleItems(self, Arch=TAB_ARCH_COMMON):
463 return self._GetItemByArch(Arch)
511 # @param Arch: Arch
513 def GetGuids(self, Arch=TAB_ARCH_COMMON):
514 return self._GetItemByArch(Arch)
534 # @param Arch: Arch
536 def GetPpis(self, Arch=TAB_ARCH_COMMON):
537 return self._GetItemByArch(Arch)
557 # @param Arch: Arch
559 def GetProtocols(self, Arch=TAB_ARCH_COMMON):
560 return self._GetItemByArch(Arch)