Searched refs:cmp (Results 1 - 10 of 10) sorted by relevance

/pkg/src/modules/
H A Dmediator.py147 res = misc.cmp(aprio, bprio)
153 res = misc.cmp(aver, bver)
160 res = misc.cmp(aimpl, bimpl)
164 res = misc.cmp(aver, bver)
H A Dfacet.py142 return misc.cmp(self.__keylist, other.__keylist)
149 return misc.cmp(self, other)
156 rv = misc.cmp(self.__inherited, other.__inherited)
158 rv = misc.cmp(self.__local, other.__local)
247 return misc.cmp(x, y)
H A Dcpiofile.py152 self.cmp = bz2.BZ2Decompressor()
154 self.cmp = bz2.BZ2Compressor()
163 self.cmp = self.zlib.compressobj(9, self.zlib.DEFLATED,
178 s = self.cmp.compress(s)
198 self.buf += self.cmp.flush()
214 self.cmp = self.zlib.decompressobj(-self.zlib.MAX_WBITS)
291 buf = self.cmp.decompress(buf)
H A Dmisc.py2938 """cmp method for dictionary, translated from the source code
2942 return cmp(len(a), len(b))
2949 return cmp(adiff, bdiff)
2950 return cmp(a[adiff], b[bdiff])
2952 def cmp(a, b): function
2953 """Implementaion for Python 2.7's built-in function cmp(), which is
/pkg/src/util/publish/
H A Dpkgfmt.py225 c = misc.cmp(typeord(a[0]), typeord(b[0]))
230 c = misc.cmp(a[0].name, b[0].name)
294 c = misc.cmp(a_sk, b_sk)
295 # misc.cmp raises NotImplemented for uncomparable types in
298 c = misc.cmp(str(a_sk), str(b_sk))
306 return misc.cmp(str(a[0]), str(b[0]))
450 return misc.cmp(a, b)
452 return misc.cmp(get_alias_key(a), get_alias_key(b))
H A Dpkgdiff.py251 res = misc.cmp(a.attrs[a.key_attr], b.attrs[b.key_attr])
255 res = misc.cmp(sorted(list(a.get_variant_template())),
260 res = misc.cmp(a.ordinality, b.ordinality)
263 return misc.cmp(str(a), str(b))
/pkg/src/tests/api/
H A Dt_catalog.py215 rval = misc.cmp(a.pkg_name, b.pkg_name)
218 rval = misc.cmp(a.publisher, b.publisher)
221 return misc.cmp(a.version, b.version) * -1
579 rval = misc.cmp(a.pkg_name, b.pkg_name)
582 rval = misc.cmp(a.publisher, b.publisher)
585 return misc.cmp(a.version, b.version) * -1
590 rval = misc.cmp(astem, bstem)
593 rval = misc.cmp(apub, bpub)
598 return misc.cmp(aver, bver) * -1
603 rval = misc.cmp(aste
[all...]
H A Dt_api_list.py77 rval = misc.cmp(astem, bstem)
80 rval = misc.cmp(apub, bpub)
85 return misc.cmp(aver, bver) * -1
/pkg/src/modules/server/
H A Dapi.py529 return misc.cmp(a.version,
531 return misc.cmp(a, b)
/pkg/src/modules/client/transport/
H A Dtransport.py2331 return misc.cmp(aremote, bremote) * -1

Completed in 46 milliseconds