/pkg/src/util/publish/ |
H A D | pkgdiff.py | 249 if hasattr(a, "key_attr") and hasattr(b, "key_attr") and \ 250 a.key_attr == b.key_attr: 251 res = misc.cmp(a.attrs[a.key_attr], b.attrs[b.key_attr]) 355 attrval(old.attrs, old.key_attr), 357 for v in attrsames if v != old.key_attr))))
|
H A D | pkgfmt.py | 263 key_attr = a[0].key_attr 264 if key_attr and key_attr == b[0].key_attr: 290 a_sk = a[0].attrs[key_attr] 292 b_sk = b[0].attrs[key_attr] 384 if a[0] != act.key_attr:
|
/pkg/src/modules/actions/ |
H A D | _common.c | 91 PyObject *key_attr = NULL; local 126 if ((key_aname = PyObject_GetAttrString(action, "key_attr")) == NULL) 134 if ((key_attr = PyDict_GetItem(attrs, key_aname)) == NULL) { 157 if (PyList_CheckExact(key_attr)) {
|
H A D | attribute.py | 44 key_attr = "name" variable in class:AttributeAction
|
H A D | legacy.py | 48 key_attr = "pkg" variable in class:LegacyAction
|
H A D | link.py | 50 key_attr = "path" variable in class:LinkAction
|
H A D | group.py | 52 key_attr = "groupname" variable in class:GroupAction
|
H A D | depend.py | 108 key_attr = "fmri" variable in class:DependencyAction 407 if a[0] != act.key_attr:
|
H A D | directory.py | 46 key_attr = "path" variable in class:DirectoryAction
|
H A D | license.py | 53 key_attr = "license" variable in class:LicenseAction
|
H A D | user.py | 49 key_attr = "username" variable in class:UserAction
|
H A D | generic.py | 153 # 'key_attr' is the name of the attribute whose value must be unique in 155 # instance, a file's key_attr would be its pathname. Or a driver's 156 # key_attr would be the driver name. When 'key_attr' is None, it means 158 key_attr = None variable in class:Action 607 key_attr. So, the distinguished name might be 611 if self.key_attr is None: 614 self.name, self.attrs.get(self.key_attr, "???"))
|
H A D | file.py | 65 key_attr = "path" variable in class:FileAction
|
H A D | signature.py | 53 key_attr = "value" variable in class:SignatureAction
|
H A D | driver.py | 49 key_attr = "name" variable in class:DriverAction
|
/pkg/src/modules/client/ |
H A D | pkgplan.py | 598 "{2}: {3}".format(dest.attrs.get(dest.key_attr, 614 "{2}: {3}".format(dest.attrs.get(dest.key_attr, 630 "{2}: {3}".format(src.attrs.get(src.key_attr,
|
H A D | imageplan.py | 2486 if ap and ap.src.attrs.get(ap.src.key_attr, 2501 if attrs.get(ap.dst.key_attr) != key: 2536 if not attrs.get(ap.src.key_attr) == key: 2600 d.setdefault(a.attrs[klass.key_attr], 2696 assert act.attrs[act.key_attr] == key 3090 attr_name = pkg.actions.types[name].key_attr 4355 hashify(attrs[ap.src.key_attr]))] = re 4452 keyval = hashify(ap.dst.attrs.get(ap.dst.key_attr, None)) 4458 if keyval == ra.attrs[ra.key_attr]:
|
H A D | image.py | 3117 act.attrs[act.key_attr], pfmri, act)) 3120 act.attrs[act.key_attr], []) 3122 act.attrs[act.key_attr]].append(( 3161 key = act.attrs[act.key_attr] 3313 actname, offset, cnt, key_attr = \ 3316 actdict[(actname, key_attr)] = (off, int(cnt))
|
H A D | api_errors.py | 770 kv = self._data[0][0].attrs[self._data[0][0].key_attr] 797 kv = self._data[0][0].attrs[self._data[0][0].key_attr] 828 keyattr = actions[0][0].attrs[actions[0][0].key_attr]
|
/pkg/src/modules/ |
H A D | api_common.py | 231 deps.append(a.attrs.get(a.key_attr))
|
H A D | manifest.py | 236 a.attrs[a.key_attr], 242 a.key_attr, id(a)))) 304 key = set(a.attrlist(a.key_attr)) 960 a.attrs.get(a.key_attr) 971 return a.name, a.attrs.get(a.key_attr, id(a)) 1069 # So we could build up here the type/key_attr dictionaries like
|
H A D | mogrify.py | 386 attr = action.attrs.get(action.key_attr,
|
/pkg/src/modules/flavor/ |
H A D | elf.py | 170 installed_path = action.attrs[action.key_attr]
|
/pkg/src/ |
H A D | client.py | 121 default_attrs[atype] = [aclass.key_attr] 2750 return a.attrs.get(a.key_attr), a.name, match 2751 return match, a.name, a.attrs.get(a.key_attr) 2764 return action.attrs.get(action.key_attr)
|
/pkg/src/modules/publish/ |
H A D | dependencies.py | 1490 d[0].attrs.get(d[0].key_attr, id(d[0]))
|