Searched refs:name (Results 1 - 25 of 139) sorted by relevance

123456

/pkg/src/modules/actions/
H A Dunknown.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
41 name = "unknown" variable in class:UnknownAction
42 ordinality = generic._orderdict[name]
H A Dattribute.py18 # 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 Ddriver.py18 # 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...]
/pkg/src/tests/
H A Dmultiplatform.py18 # 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...]
H A Dbaseline.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
48 # List of tuples (name, result) for failed tests
50 # dict of "test name" -> "result"
53 def handleresult(self, name, actualresult):
60 self.__results[name] = actualresult
63 if self.expectedresult(name) != actualresult:
64 self.__failed_list.append((name, actualresult))
68 def expectedresult(self, name):
73 return self.__results.get(name, "pass")
90 for name, resul
[all...]
H A Dcertgenerator.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
195 def make_trust_anchor(self, name, https=False):
202 "-keyout", "{0}/{1}_key.pem".format(self.keys_dir, name),
203 "-subj", subj_str_to_use.format(name, name),
204 "-out", "{0}/{1}/{2}_cert.tmp".format(self.base_dir, name, name),
208 os.mkdir("{0}/{1}".format(self.base_dir, name))
213 name, name), "{
[all...]
/pkg/src/modules/
H A Dchoose.py23 for name in names:
24 if match(name):
25 result.append(name)
H A Dconfig.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
86 """Exception class used to indicate an invalid property name."""
93 return _("Property name '{0}' is not valid. Section names "
100 """Exception class used to indicate an invalid property template name.
108 return _("Property template name '{0}' is not valid.").format(
173 """Exception class used to indicate an invalid section name."""
180 return _("Section name '{0}' is not valid. Section names "
187 """Exception class used to indicate an invalid section template name."""
194 return _("Section template name '{0}' is not valid.").format(
226 def __init__(self, name, defaul
308 def name(self): member in class:Property
386 def name(self): member in class:PropertyTemplate
974 def name(self): member in class:PropertySection
1024 def name(self): member in class:PropertySectionTemplate
[all...]
H A Dcpiofile.py87 def __init__(self, name, mode):
94 self.fd = os.open(name, mode)
116 def __init__(self, name, mode, type, fileobj, bufsize):
121 fileobj = _LowLevelFile(name, mode)
124 self.name = name or ""
167 if self.name.endswith(".gz"):
168 self.name = self.name[:-3]
169 self.__write(self.name
[all...]
H A Dp5p.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
78 <name>NUL<offset>NUL<entry_size>NUL<size>NUL<typeflag>NULNL
80 <name> is a string containing the pathname of the file in the
107 def __init__(self, name, mode="r", version=None):
110 'name' should be the absolute path of the file to use when
122 assert os.path.isabs(name)
126 raise InvalidArchiveIndex(name)
129 self.__name = name
140 raise InvalidArchiveIndex(name)
160 def add(self, name, offse
[all...]
H A Dcatalog.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
216 name = None variable in class:CatalogPartBase
220 def __init__(self, name, meta_root=None, sign=True, file_root=None):
228 if name != os.path.basename(name):
229 raise api_errors.UnrecognizedCatalogPart(name)
230 self.name = name
303 exists at <self.meta_root>/<self.name>."""
313 location = os.path.join(self.meta_root, self.name)
[all...]
H A Dmanifest.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
147 parties may prefix their attributes with a reversed domain name, domain
148 name, or stock symbol. An example might be
182 r += "set name=pkg.fmri value={0}\n".format(self.fmri)
193 yield "set name=pkg.fmri value={0}\n".format(self.fmri)
232 if (a.name == "link" or
233 a.name == "hardlink") and \
235 akey = (a.name, tuple([
241 akey = (a.name, hashify(a.attrs.get(
305 if (a.name
[all...]
/pkg/src/modules/flavor/
H A Ddepthlimitedmf.py44 def __init__(self, name, dirs, builtin=False):
47 The 'name' parameter is the name of the module.
55 self.name = name
79 return [os.path.join(p, self.name) for p in self.dirs]
85 return [ pat.format(self.name) for pat in self.patterns ]
88 return "name:{0} suffixes:{1} dirs:{2}".format(self.name,
216 name,
[all...]
/pkg/src/modules/portable/
H A Dutil.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
33 if os.name == 'posix':
35 elif os.name == 'mac':
38 elif os.name == 'nt':
45 Return a standardized, lower case version of the name of the OS. This is
H A Dos_unix.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
98 def get_group_by_name(name, dirpath, use_file):
100 get_group_by_name(name, dirpath, use_file)
103 return grp.getgrnam(name).gr_gid
106 return groups[dirpath][name].gr_gid
112 return grp.getgrnam(name).gr_gid
114 raise KeyError("group name not found: {0}".format(name))
116 def get_user_by_name(name, dirpath, use_file):
118 get_user_by_name(name, dirpat
[all...]
/pkg/src/modules/lint/
H A Dopensolaris.py18 # 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 Dpkglint_action.py18 # 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...]
H A Dpkglint_manifest.py18 # 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...]
/pkg/src/modules/client/
H A Dsigpolicy.py18 # 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 Dhistory.py18 # 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...]
H A Ddebugvalues.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
33 def __init__(self, name, bases, dictionary):
34 super(Singleton, self).__init__(name, bases, dictionary)
/pkg/src/modules/bundle/
H A DTarBundle.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
50 yield f.name, (self.tf, f)
63 path=tarinfo.name,
69 path=tarinfo.name)
71 return link.LinkAction(path=tarinfo.name,
74 return hardlink.HardLinkAction(path=tarinfo.name,
77 return unknown.UnknownAction(path=tarinfo.name)
H A DSolarisPackageDirBundle.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
51 # map the path name to the SVR4 class it belongs to and
100 faspac_contents.add(j(ci.name))
101 act = self.action(pkgmap[j(ci.name)],
142 if act.name == "license":
242 "name",
273 name = key.lower()
274 if name in ignored_keys or "SUNW_" in key:
276 name = "pkg.send.convert.{0}".format(name)
[all...]
/pkg/src/util/mkcert/
H A Dmkcert.c17 * 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/util/publish/
H A Dpkgfmt.py18 # information: Portions Copyright [yyyy] [name of copyright owner]
111 """Emit an error message prefixed by the command name """
118 # *before* the command-name prefix.
123 # program name on all platforms.
188 if (act.name == "depend" and
214 if a.name == "set":
217 if a.name in ("driver", "group", "user"):
219 if a.name in ("legacy", "license"):
221 if a.name == "depend":
230 c = misc.cmp(a[0].name,
[all...]

Completed in 58 milliseconds

123456