Searched refs:keys (Results 1 - 25 of 66) sorted by relevance

123

/pkg/src/util/log-scripts/
H A Dlog.py74 for k in codes.keys():
82 for k in codes_206.keys():
83 if k in codes_200.keys():
116 print("distinct hosts: {0:d}".format(len(hosts.keys())))
117 print("200 requests: {0:d}".format(len(codes_200.keys())))
118 print("206 requests: {0:d}".format(len(codes_206.keys())))
119 print("other requests: {0:d}".format(len(codes_other.keys())))
H A Dan2_ip_active.py48 sdkeys = sorted(data.keys())
100 dates = sorted(merge_entries_by_date.keys())
145 data[d] = len(ip_counts.keys())
H A Dan_report.py103 for ip in ips.keys():
208 sdkeys = sorted(data.keys())
258 print("<p>Distinct IP addresses: <b>{0:d}</b></p>".format(len(data.keys())))
264 print("<p>Distinct IP addresses: <b>{0:d}</b></p>".format(len(data.keys())), file=summary_file)
H A Dan_catalog.py76 for i in catalog_by_arch.keys():
H A Dan_manifest.py57 for i in manifest_by_arch.keys():
/pkg/src/modules/lint/
H A Dopensolaris.py65 keys = ["org.opensolaris.consolidation", "info.classification"]
66 for key in keys:
H A Dbase.py43 """An exception thrown when we've found duplicate pkg.linted* keys."""
73 documentation on the keys we expect it to contain."""
405 for key in action.attrs.keys():
421 for key in manifest.attributes.keys():
/pkg/src/modules/
H A Dcfgfiles.py47 def __init__(self, filename, separator, column_names, keys,
63 if isinstance(keys, str):
64 self.keys = [keys]
66 self.keys = keys
70 assert(set(self.column_names) >= set(self.keys))
74 self.filename, self.keys, self.column_names, self.index)
112 self.index[tuple(dic[k] for k in self.keys)] = \
121 val = self.index.get(tuple(template[k] for k in self.keys), Non
[all...]
H A Dsearch_storage.py561 return list(self._dict.keys())
767 for p_id in list(self._fmri_offsets.keys()):
835 for fmris in self._dict.keys():
/pkg/src/util/publish/
H A Dpkgdiff.py188 for k in set(v1.keys()) & set(v2.keys()):
292 if not set(a.attrs.keys()) & onlyattrs:
295 if not set(a.attrs.keys()) - ignoreattrs:
319 attrsames = sorted( list(set(list(old.attrs.keys()) +
320 list(new.attrs.keys())) -
329 attrsames = sorted(list(set(list(old.attrs.keys()) +
330 list(new.attrs.keys())) -
/pkg/src/modules/server/
H A Dquery_parser.py45 for class_name in self.query_objs.keys():
/pkg/src/modules/client/
H A Dquery_parser.py52 for class_name in self.query_objs.keys():
350 keys = fast_update_dict.keys()
351 matches = choose(keys, term, case_sensitive)
412 keys = fast_update_dict.keys()
413 matches = choose(keys, term, case_sensitive)
H A Dsigpolicy.py82 return set(Policy._policies.keys())
H A Dactuator.py193 for a in set(attrs.keys()) & actuator_attrs:
216 for a in d.keys():
H A Dimageconfig.py237 # when keys/certs can be set per-origin/mirror, these
355 """Support keys() on publishers"""
356 return list(self.__publishers.keys())
495 known_pubs = set(self.__publishers.keys())
772 for name in (list(default_properties.keys()) +
773 list(default_policies.keys())):
1065 if list(properties.keys()) != ["property"]:
1353 new_pubs = set(sys_cfg.publishers.keys())
1354 old_pubs = set(old_sysconfig.publishers.keys())
1599 """Support keys() o
[all...]
H A Dimageplan.py1069 # keys() is used since entries are deleted during iteration.
1071 for m in list(self.pd._new_mediators.keys()):
1473 for f, m in revert_dict.keys():
1504 for f, m in set(list(revert_dirs.keys()) + list(revert_dict.keys())):
1988 for k in set(list(olddict.keys()) + list(newdict.keys()))
2585 """Build a mapping from action keys to action, pfmri tuples for
2643 def __update_act(self, keys, tgt, skip_dups, offset_dict,
2647 'keys'
[all...]
/pkg/src/tests/cli/
H A Dt_pkg_verify.py603 self.assertTrue("dir" in list(out_entry.keys())[0] or "file" in
604 list(out_entry.keys())[0])
605 self.assertTrue(out_entry[list(out_entry.keys())[0]][0]["msg_level"]
607 self.assertTrue(out_entry[list(out_entry.keys())[0]][0]["msg_type"]
623 self.assertTrue("dir" in list(out_entry.keys())[0] or "file" in
624 list(out_entry.keys())[0])
625 self.assertTrue(out_entry[list(out_entry.keys())[0]][0]["msg_level"]
627 self.assertTrue(out_entry[list(out_entry.keys())[0]][0]["msg_type"]
H A Dt_pkg_refresh.py325 # SSL keys/certs.
406 update = list(v1_cat.updates.keys())[-1]
437 expected += ["/catalog/1/{0}".format(p) for p in v1_cat.parts.keys()]
460 expected += ["/catalog/1/{0}".format(p) for p in v1_cat.parts.keys()]
479 update = list(v1_cat.updates.keys())[-1]
502 expected += ["/catalog/1/{0}".format(p) for p in v1_cat.parts.keys()]
523 update = list(v1_cat.updates.keys())[-1]
544 update = list(v1_cat.updates.keys())[-1]
556 expected += ["/catalog/1/{0}".format(p) for p in v1_cat.parts.keys()]
575 for p in v1_cat.parts.keys()
[all...]
H A Dt_pkg_history.py404 keys = events.keys()
409 for ts in random.sample(keys, 3):
468 single_ts = list(entries.keys())[
480 timestamps = list(entries.keys())
/pkg/src/tests/
H A Dpkg5testenv.py117 # Use "keys"; otherwise we'll change dictionary size during iteration.
118 for k in list(os.environ.keys()):
H A Dbaseline.py110 results_sorted = list(self.__results.keys())
/pkg/src/tests/api/
H A Dt_variant.py39 self.assertEqual(sorted(v1.keys()), sorted(v2.keys()))
H A Dt_history.py183 for op_name in sorted(op_stack.keys()):
186 for op_name in sorted(op_stack.keys(), reverse=True):
208 for op_name in op_stack.keys():
/pkg/src/modules/actions/
H A Dgeneric.py279 sattrs = list(self.attrs.keys())
367 for k in sorted(self.attrs.keys()):
551 sset = set(self.attrs.keys())
552 oset = set(other.attrs.keys())
751 for key in list(self.attrs.keys()):
762 # keep specified keys
774 for k in list(self.attrs.keys()):
/pkg/src/util/apache2/depot/
H A Ddepot_index.py381 depot = depot_buis[list(depot_buis.keys())[0]]
394 for repo_prefix in repositories.keys():
437 repo_prefix = list(repositories.keys())[0]

Completed in 3124 milliseconds

123