Searched refs:cmp_to_key (Results 1 - 9 of 9) sorted by relevance

/pkg/src/modules/
H A Dfacet.py33 from functools import cmp_to_key namespace
254 ], key=cmp_to_key(facet_sort))
259 ], key=cmp_to_key(facet_sort))
/pkg/src/util/publish/
H A Dpkgfmt.py71 from functools import cmp_to_key namespace
477 cmp_attrs = cmp_to_key(cmp_aliases)
707 lines.sort(key=cmp_to_key(cmplines))
H A Dpkgdiff.py35 from functools import cmp_to_key namespace
266 diffs = sorted(diffs, key=cmp_to_key(compare))
/pkg/src/modules/server/
H A Dapi.py31 from functools import cmp_to_key namespace
533 key=cmp_to_key(cmp_fmris)), mver)
/pkg/src/tests/api/
H A Dt_catalog.py39 from functools import cmp_to_key namespace
223 sorted(pkg_src_list, key=cmp_to_key(ordered)))
637 elist.sort(key=cmp_to_key(fmri_order))
658 key=cmp_to_key(fmri_order))]
684 elist = sorted(nlist, key=cmp_to_key(tuple_entry_order))
H A Dt_api_list.py38 from functools import cmp_to_key namespace
359 expected.sort(key=cmp_to_key(pkg_list_order))
/pkg/src/modules/client/transport/
H A Dtransport.py37 from functools import cmp_to_key namespace
2342 rslist.sort(key=cmp_to_key(remote_first))
/pkg/src/modules/client/
H A Dapi.py72 from functools import cmp_to_key namespace
817 ret[mediator], key=cmp_to_key(med.cmp_mediations)):
H A Dimageplan.py46 from functools import cmp_to_key, reduce namespace
3787 key=cmp_to_key(med.cmp_mediations)):

Completed in 68 milliseconds