/pkg/src/modules/actions/ |
H A D | unknown.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 41 name = "unknown" variable in class:UnknownAction 42 ordinality = generic._orderdict[name]
|
H A D | attribute.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 43 name = "set" variable in class:AttributeAction 44 key_attr = "name" 45 ordinality = generic._orderdict[name] 51 self.attrs["name"] 55 # "<name>=<value>", rather than "name=<name> value=<value>", but 59 self.attrs["name"], self.attrs["value"] = \ 65 'Missing "name" o [all...] |
H A D | hardlink.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 45 name = "hardlink" variable in class:HardLinkAction 46 ordinality = generic._orderdict[name]
|
H A D | group.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 51 name = "group" variable in class:GroupAction 54 ordinality = generic._orderdict[name] 219 return [("group", "name", self.attrs["groupname"], None)]
|
H A D | directory.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 45 name = "dir" variable in class:DirectoryAction 51 ordinality = generic._orderdict[name] 268 (self.name, "basename", 271 (self.name, "path", os.path.sep + self.attrs["path"],
|
H A D | legacy.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 47 name = "legacy" variable in class:LegacyAction 49 unique_attrs = ("category", "desc", "hotline", "name", "pkg", "vendor", 53 ordinality = generic._orderdict[name] 85 "name": pkg_summary, 201 single_attrs=("category", "desc", "hotline", "name",
|
H A D | link.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 49 name = "link" variable in class:LinkAction 55 ordinality = generic._orderdict[name] 113 (self.name, "basename", os.path.basename(self.attrs["path"]), 115 (self.name, "path", os.path.sep + self.attrs["path"], None), 119 (self.name, k, v, None)
|
H A D | user.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 48 name = "user" variable in class:UserAction 51 ordinality = generic._orderdict[name] 345 return [("user", "name", self.attrs["username"], None)]
|
H A D | driver.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 48 name = "driver" variable in class:DriverAction 49 key_attr = "name" 51 ordinality = generic._orderdict[name] 71 # the same as the driver name. Correct any such instances 81 # name is the same as the driver name. 84 self.attrs["name"] + " " + cp) 96 ret = (self.attrs["name"] > other.attrs["name"]) [all...] |
H A D | license.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 31 attribute, 'license', which is the name of the license. Licenses are 52 name = "license" variable in class:LicenseAction 58 ordinality = generic._orderdict[name] 239 # name so that '/', spaces, etc. are properly handled.
|
H A D | _common.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 42 set_invalid_action_error(const char *name, PyObject *action, argument 64 if ((exc = PyObject_GetAttrString(pkg_actions, name)) == NULL) { 135 PyObject *aname = PyObject_GetAttrString(action, "name"); 158 PyObject *aname = PyObject_GetAttrString(action, "name");
|
H A D | depend.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 58 # this is a special package name that when present in an fmri defines a 107 name = "depend" variable in class:DependencyAction 109 ordinality = generic._orderdict[name] 381 out = base_indent + act.name
|
H A D | file.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 64 name = "file" variable in class:FileAction 69 ordinality = generic._orderdict[name]
|
H A D | signature.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 52 name = "signature" variable in class:SignatureAction 54 ordinality = generic._orderdict[name] 180 def __get_hash_by_name(self, name): 182 algorithm name.""" 185 if h.name == name: 244 # attribute, but it can sign that attribute's name. 548 res.append((self.name, "certificate", self.hash, 550 res.append((self.name, "algorith [all...] |
H A D | generic.py | 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" variable in class:Action 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, followe [all...] |
/pkg/src/modules/lint/ |
H A D | opensolaris.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 34 name = "opensolaris.action" variable in class:OpenSolarisActionChecker 47 name = "opensolaris.manifest" variable in class:OpenSolarisManifestChecker 71 msgid="{0}{1}.1".format(self.name,
|
H A D | base.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 55 'name' attribute. 65 'name' is an abbreviated name used by the checker 68 name = "unnamed.checker" variable in class:Checker 84 # the short name for this checker class, Checker.name 85 name = method.__self__.__class__.name 97 return "{0}.?".format(name) [all...] |
H A D | pkglint_manifest.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 41 name = "pkglint.manifest" variable in class:PkgManifestChecker 62 name = os.path.basename(manifest.fmri.get_name()) 63 if name in dic: 64 dic[name].append(manifest.fmri) 66 dic[name] = [manifest.fmri] 70 dependencies, keyed by the depend action fmri name. 74 name = mf.fmri 84 ).append(name) 90 ).append(name) [all...] |
H A D | pkglint_action.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 45 name = "pkglint.dupaction" variable in class:PkgDupActionChecker 49 # installing to that path name. Each tuple represents a single 127 if atype and action.name != atype: 177 seed_dict(manifest, "name", self.ref_drivers, 198 seed_dict(manifest, "name", self.lint_drivers, 215 seed_dict(manifest, "name", self.lint_drivers, 251 self.dup_attr_check(["driver"], "name", self.ref_drivers, 290 self.dup_attr_check(["group"], "name", self.ref_gids, 318 lint_id = "{0}{1}".format(self.name, pkglint_i 978 name = "pkglint.action" variable in class:PkgActionChecker [all...] |
/pkg/src/modules/client/ |
H A D | sigpolicy.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 76 return self.name 85 def policy_factory(name, *args, **kwargs): 86 """Given the name of a policy, return a new policy object of 89 assert name in Policy._policies 90 return Policy._policies[name](*args, **kwargs) 98 name = "ignore" variable in class:Ignore 109 Policy._policies[Ignore.name] = Ignore 117 name = "verify" variable in class:Verify 128 Policy._policies[Verify.name] 135 name = "require-signatures" variable in class:RequireSigs 163 name = "require-names" variable in class:RequireNames [all...] |
H A D | history.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 120 for attr in ("name", "start_time", "end_time", "start_state", 129 def __setattr__(self, name, value): 130 if name not in ("result", "errors", "be", "be_uuid", 137 return object.__setattr__(self, name, value) 160 """.format(self.name, self.result, self.start_time, self.end_time, 167 name = None variable 184 # The current name of the boot environment. 190 # The current name of the new boot environment. 195 # The name o [all...] |
/pkg/src/tests/ |
H A D | multiplatform.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 108 name = 'multiplatform' variable in class:MultiPlatformAPIChecker 122 self.calledfuncname=[node.name] 134 for name, alias in node.names: 136 alias = name 137 self._check_verboten_import(node, name) 138 self.imported_modules.update({alias: name}) 143 for name, alias in node.names: 144 fullname = '{0}.{1}'.format(basename, name) 159 if node.root().name [all...] |
/pkg/src/util/mkcert/ |
H A D | mkcert.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 98 X509_NAME *name = NULL; local 127 name = X509_get_subject_name(x); 134 X509_NAME_add_entry_by_txt(name, "C", 136 X509_NAME_add_entry_by_txt(name, "ST", 138 X509_NAME_add_entry_by_txt(name, "L", 140 X509_NAME_add_entry_by_txt(name, "O", 142 X509_NAME_add_entry_by_txt(name, "CN", 146 * Its self signed so set the issuer name to be the same as the 149 X509_set_issuer_name(x, name); [all...] |
/pkg/src/modules/ |
H A D | mogrify.py | 18 # information: Portions Copyright [yyyy] [name of copyright owner] 388 elif attrname == "action.name": 389 attr = action.name 465 name = "pkg" variable in class:PkgAction 481 if types and action.name not in types: 557 if action and action.name != "pkg": 757 if act.name == "set": 758 name = act.attrs["name"] 761 pkg_attrs.setdefault(name, []) [all...] |
H A D | elfextract.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 276 hashsection(char *name) argument 278 if (strcmp(name, ".SUNW_signature") == 0 || 279 strcmp(name, ".comment") == 0 || 280 strcmp(name, ".SUNW_dof") == 0 || 281 strcmp(name, ".debug") == 0 || 282 strcmp(name, ".plt") == 0 || 283 strcmp(name, ".rela.bss") == 0 || 284 strcmp(name, ".rela.plt") == 0 || 285 strcmp(name, " 329 char *name = NULL; local 396 char *name = NULL; local [all...] |