Lines Matching defs:name
18 # information: Portions Copyright [yyyy] [name of copyright owner]
98 def __new__(mcs, name, bases, dict):
103 if name != "Action" and issubclass(bases[0], Action):
124 return type.__new__(mcs, name, bases, dict)
151 # 'name' is the name of the action, as specified in a manifest.
152 name = "generic"
153 # 'key_attr' is the name of the attribute whose value must be unique in
156 # key_attr would be the driver name. When 'key_attr' is None, it means
266 The form is the name, followed by the SHA1 hash, if it exists,
280 out = self.name
349 out = self.name
391 if self.name == other.name and \
399 if self.name == other.name and \
519 self.name, other.name))
577 not be None. Key is the string representation of the name of
590 (self.name, "content", self.hash, self.hash),
604 """ Return the distinguishing name for this action,
605 preceded by the type of the distinguishing name. For
607 key_attr. So, the distinguished name might be
614 self.name, self.attrs.get(self.key_attr, "???"))
760 if self.name == "file" and key == "overlay":
763 if key in preserve.get(self.name, []):
766 if (self.name == "link" or self.name == "hardlink") \
1050 def attrlist(self, name):
1053 value = self.attrs[name]