/pkg/src/modules/ |
H A D | dependency.py | 37 def __init__(self, host_pkg_fmri, req_pkg_fmri, type = REQUIRE): 41 assert type == REQUIRE \ 42 or type == INCORPORATE \ 43 or type == OPTIONAL 45 self.type = type 53 if self.type == REQUIRE: 56 elif self.type == OPTIONAL: 59 elif self.type == INCORPORATE:
|
H A D | sysvpkg.py | 68 self.type = array[1] 71 if self.type == 'i': 78 if self.type == 'f' or self.type == 'e' or self.type == 'v': 82 elif self.type == 'b' or self.type == 'c': 86 elif self.type == 'd' or self.type == 'x' or self.type [all...] |
H A D | elfextract.h | 82 int type; /* e_type */ member in struct:hdrinfo 96 extern char *pkg_string_from_type(int type);
|
H A D | misc.py | 203 print("unknown file type:", oct(S_IFMT(s.st_mode))) 269 if not img or img.type is None: 272 imgtype = img.type 1375 class Singleton(type): 1463 'use_cli_opts' is to indicate the option type is a CLI option or 1483 if type(entry) != tuple: 1497 if default is None or type(default) == list: 1503 if default is None or type(default) == list: 1530 if type(x) != tuple: 1544 # Determine required option type base [all...] |
H A D | cpiofile.py | 116 def __init__(self, name, mode, type, fileobj, bufsize): 126 self.type = type 133 if type == "gz": 145 if type == "bz2": 174 if self.type == "gz": 177 if self.type != "cpio": 197 if self.mode == "w" and self.type != "cpio": 202 if self.type == "gz": 282 if self.type [all...] |
H A D | facet.py | 141 assert type(other) is Facets 148 assert type(other) is Facets 155 assert type(other) is Facets 170 if type(other) is not Facets: 442 if type(d) == Facets:
|
H A D | pipeutils.py | 170 label, op, type(self).__name__, self.__pipefd, msg), 278 type(self).__name__)) 294 type(self).__name__)) 401 assert type(fd) == int and os.fstat(fd) 557 # No exception type specified; pylint: disable=W0702 600 if type(response) != rpclib.Fault:
|
H A D | pkgsubprocess.py | 153 if type(env) == dict: 272 if type(env) == dict:
|
H A D | elfextract.c | 61 pkg_string_from_type(int type) argument 63 switch (type) { 247 hi->type = hdr->e_type;
|
/pkg/src/modules/bundle/ |
H A D | SolarisPackageDatastreamBundle.py | 70 # install, reloc, or root, depending on whether they're i-type 77 if p.type in "fevdsl": 85 elif p.type == "i": 103 if p.type not in "lsd": 111 if (p.type == "d" and path not in self.pkg.datastream) or \ 112 p.type in "ls": 123 each file from the package map. We could get the file type 125 file type in the archive is the same as the file type in the 129 if type(dat [all...] |
H A D | SolarisPackageDirBundle.py | 127 if p.type in "fev" and p.klass in faspac and \ 132 if p.type in "ifevbcdxpls": 133 if p.type == "i": 140 d, r(p.pathname, p.type))) 168 if mapline.type in "fevdx" and (mapline.mode == "?" or 172 if mapline.type in "fev": 184 if preserve or mapline.type in "ev": 193 elif mapline.type in "dx": 197 elif mapline.type == "s": 200 elif mapline.type [all...] |
H A D | __init__.py | 77 if type(data) == tuple: 97 raise TypeError("Unknown bundle type for '{0}'".format(filename)) 108 print(file.type, file.attrs)
|
/pkg/src/tests/api/ |
H A D | t_manifest.py | 57 depend type=require fmri=pkg:/library/libc 64 depend type=require fmri=pkg:/library/libc 80 # every action type. 88 depend type=require fmri=pkg:/library/libc 104 depend type=require fmri=pkg:/library/libc 112 depend type=optional fmri=pkg:/library/libc 160 depend fmri=pkg:/library/libc type=require 244 if type(d[0]) == type(None): 245 self.assertEqual(type( [all...] |
H A D | t_linked_image.py | 68 if type(e) != e_type: 74 """.format(str(e_type), str(type(e)), traceback.format_exc())) 81 Expected {0} exception of type "{1}". 82 Got a {2} exception with a differnt type: 85 """.format(str(e_type), e_member, str(type(e)), traceback.format_exc())) 109 bad_name.append(":img2") # no type 213 p_data += "add depend type=incorporate fmri={0}\n".format( 215 p_data += "add depend type=incorporate fmri={0}\n".format( 228 p_data += "add depend type=parent fmri={0}".format( 243 p_data += "add depend type [all...] |
H A D | t_api.py | 80 add depend type=require fmri=foo@1.0 86 add depend type=require fmri=baz@1.0 94 add depend type=require fmri=baz@1.0 103 add depend type=require fmri=baz@1.0 113 add depend type=require fmri=baz@1.0 722 self.assertEqual(type(dest), api.LicenseInfo) 771 self.assertEqual(type(src), api.LicenseInfo) 778 self.assertEqual(type(dest), api.LicenseInfo) 842 self.assertEqual(type(src), api.LicenseInfo) 849 self.assertEqual(type(des [all...] |
/pkg/src/modules/client/ |
H A D | debugvalues.py | 29 class Singleton(type):
|
H A D | options.py | 866 (DISPLAY_LICENSE, False, [], {"type": "boolean"}), 867 (INFO_LOCAL, False, [], {"type": "boolean"}), 868 (INFO_REMOTE, False, [], {"type": "boolean"}), 869 (ORIGINS, [], [], {"type": "array", 870 "items": {"type": "string"} 872 (QUIET, False, [], {"type": "boolean"}) 877 (PREFERRED_ONLY, False, [], {"type": "boolean"}), 878 (INC_DISABLED, True, [], {"type": "boolean"}), 879 (OUTPUT_FORMAT, None, ["default", "tsv"], {"type": ["null", "string"]}), 880 (OMIT_HEADERS, False, [], {"type" [all...] |
H A D | actuator.py | 47 # will be scanned for a given type of operation. These sets must 125 name = type(obj).__name__ 285 if image.type != IMG_USER:
|
/pkg/src/modules/actions/ |
H A D | __init__.py | 28 package containing packaging action (file type) modules 108 self.type = args[1] 112 return _("unknown action type '{type}' in package " 114 type=self.type, fmri=self.fmri, 116 return _("unknown action type '{type}' in action " 117 "'{action}'").format(type=self.type, [all...] |
H A D | generic.py | 91 class NSG(type): 124 return type.__new__(mcs, name, bases, dict) 162 # 'refcountable' is True if the action type can safely be delivered 311 if type(v) is list: 373 if type(v) is list: 540 type(x) is list and type(y) is list: 555 if type(self.attrs[k]) == list and \ 556 type(other.attrs[k]) == list: 605 preceded by the type o [all...] |
/pkg/src/modules/solver/ |
H A D | py_solver.c | 204 msat_new(PyTypeObject *type, PyObject *args, PyObject *kwds); 279 msat_new(PyTypeObject *type, PyObject *args, PyObject *kwds) argument 285 if ((self = (msat_solver *) type->tp_alloc(type, 0)) == NULL)
|
/pkg/src/modules/client/linkedimage/ |
H A D | common.py | 145 assert type(rvtuple) == LI_RVTuple 151 assert type(rv) == int 153 assert e is None or type(e) == apx.LinkedImageException 155 assert p_dict is None or type(p_dict) is dict 168 assert type(rvdict) == dict 170 assert type(k) == LinkedImageName, \ 329 assert type(name) == str 365 assert type(self) == LinkedImageName 370 assert type(other) == LinkedImageName 378 assert type(sel [all...] |
/pkg/src/tests/cli/ |
H A D | t_pkg_linked.py | 101 p_data += "add depend type=parent fmri={0}".format( 116 p_data += "add depend type=parent fmri={0}".format( 245 assert type(args) == str 251 assert type(il) == list 252 assert type(cmd) == str 253 assert args == None or type(args) == str 254 assert rv == None or type(rv) == int 255 assert rvdict == None or type(rvdict) == dict 281 assert type(i) == int 282 assert type(c [all...] |
/pkg/src/web/_themes/ |
H A D | yui-reset-font-grids_base-min.css | 13 body{margin:10px;}h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3{margin:1em 0;}h1,h2,h3,h4,h5,h6,strong,dt{font-weight:bold;}optgroup{font-weight:normal;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;}em{font-style:italic;}del{text-decoration:line-through;}blockquote,ul,ol,dl{margin:1em;}ol,ul,dl{margin-left:2em;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}dl dd{margin-left:1em;}th,td{border:1px solid #000;padding:.5em;}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}sup{vertical-align:super;}sub{vertical-align:sub;}p,fieldset,table,pre{margin-bottom:1em;}button,input[type="checkbox"],input[type="radio"],input[type="reset"],input[type="submit"]{padding:1px;
|
/pkg/src/modules/server/ |
H A D | transaction.py | 408 a.attrs["type"] == "require" 571 action.attrs["type"] == "require": 584 raise TransactionOperationError(_("A '{type}' action " 587 type=action.name, action=action)) 590 raise TransactionOperationError(_("A '{type}' action " 593 type=action.name, action=action)) 709 action.attrs["type"] == "require": 722 raise TransactionOperationError(_("A '{type}' action " 725 type=action.name, action=action)) 728 raise TransactionOperationError(_("A '{type}' actio [all...] |