Lines Matching refs:attributes
70 attributes' values matches the pattern for the same attribute in the
136 attributes dictionary, and as an FMRI object from the fmri member.
138 The list of manifest-wide reserved attributes is
146 All non-prefixed attributes are reserved to the framework. Third
147 parties may prefix their attributes with a reversed domain name, domain
156 null manifest result in the complete set of attributes and actions of
169 self.attributes = {} # package-wide attributes
181 if "pkg.fmri" not in self.attributes and self.fmri != None:
192 if "pkg.fmri" not in self.attributes and self.fmri != None:
444 # Package already has these attributes.
452 for name in self.attributes:
454 variants[name] = set(self.attributes[name])
515 if name not in self.attributes:
748 attributes (strings) for this package based on the specified (or
826 yield v, self.attributes.get(v, [])
967 have all the same attributes)."""
1065 self.attributes = {}
1145 # add any set actions to attributes
1156 # into separate attributes.
1168 self.attributes.setdefault(szname, 0)
1169 self.attributes[szname] += int(szval)
1175 # Ensure facet and variant attributes are always lists.
1183 seen = self.attributes.setdefault("pkg.facet", [])
1199 self.attributes[keyvalue] = [
1205 self.attributes[keyvalue] = action.attrlist("value")
1211 self.attributes[keyvalue] = action.attrs["value"]
1387 if name not in self.attributes:
1389 variants = self.attributes[name]
1397 (name, self.attributes[name])
1398 for name in self.attributes
1436 attrs = self.attributes
1440 # cached attributes; this is safe as manifest attributes
1517 return self.attributes[key]
1521 self.attributes[key] = value
1532 return key in self.attributes
1622 self.attributes = {}
1853 attributes (strings) for this package based on the specified (or
1884 """Load attributes dictionary from cached set actions;