HomeSort by relevance Sort by last modified time
    Searched defs:__cmp__ (Results 151 - 175 of 277) sorted by null

1 2 3 4 5 67 8 91011>>

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
sets.py 109 # tried before __cmp__, if Set x == Set y, x.__eq__(y) returns True and
110 # then cmp(x, y) returns 0 (Python doesn't actually call __cmp__ in this
113 def __cmp__(self, other): member in class:BaseSet
128 # *also* implements __cmp__: if, e.g., __eq__ returns NotImplemented,
129 # Python tries __cmp__ next, and the __cmp__ here then raises TypeError.
uuid.py 180 def __cmp__(self, other): member in class:UUID
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/
types.py 113 def __cmp__(self, other): member in class:DeclTypesTests.Foo
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_class.py 116 def __cmp__(self, *args): member in class:AllTests
412 self.assertCallStack([("__coerce__", (testme, 1)), ('__cmp__', (testme, 1))])
416 self.assertCallStack([("__coerce__", (testme, 1)), ('__cmp__', (testme, 1))])
420 self.assertCallStack([("__coerce__", (testme, 1)), ('__cmp__', (testme, 1))])
424 self.assertCallStack([("__coerce__", (testme, 1)), ('__cmp__', (testme, 1))])
428 self.assertCallStack([("__coerce__", (testme, 1)), ('__cmp__', (testme, 1))])
432 self.assertCallStack([("__coerce__", (testme, 1)), ('__cmp__', (1, testme))])
436 self.assertCallStack([("__coerce__", (testme, 1)), ('__cmp__', (1, testme))])
440 self.assertCallStack([("__coerce__", (testme, 1)), ('__cmp__', (1, testme))])
444 self.assertCallStack([("__coerce__", (testme, 1)), ('__cmp__', (1, testme))]
543 def __cmp__(self, other): return 0 member in class:ClassTests.testHashStuff.C1
    [all...]
test_coercion.py 87 def __cmp__(self, other): member in class:MethodNumber
310 def __cmp__(slf, other): member in class:CoercionTest.test_cmptypes.WackyComparer
317 def __cmp__(slf, other): member in class:CoercionTest.test_cmptypes.ClassicWackyComparer
test_hash.py 73 def __cmp__(self, other): member in class:OnlyCmp
test_heapq.py 238 def __cmp__(self, other): member in class:CmpErr
test_long.py 840 def __cmp__(self, other): member in class:LongTest.test_mixed_compares.Rat
    [all...]
test_py3kwarn.py 253 def __cmp__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnOnlyCmp
263 def __cmp__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnCmpAndEq
274 def __cmp__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.DefinesAllThree
278 def __cmp__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnOnlyCmp
288 def __cmp__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnCmpAndEq
test_richcmp.py 31 def __cmp__(self, other): member in class:Number
32 raise test_support.TestFailed, "Number.__cmp__() should not be called"
56 def __cmp__(self, other): member in class:Vector
57 raise test_support.TestFailed, "Vector.__cmp__() should not be called"
201 def __cmp__(self_, other): raise RuntimeError, "expected" member in class:MiscTest.test_misbehavin.Misb
test_sort.py 71 def __cmp__(self, other): member in class:TestBase.testStressfully.Stable
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
UserString.py 29 def __cmp__(self, string): member in class:UserString
mhlib.py 803 def __cmp__(self, other): member in class:IntSet
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_complex.py 124 def __cmp__(self, other): member in class:ComplexTest.test_no_implicit_coerce.A
test_dict.py 464 # Dictionary lookups should fail if __cmp__() raises an exception.
472 def __cmp__(self, other): member in class:DictTest.test_bad_key.BadDictKey
  /external/libnl/python/netlink/route/
tc.py 64 def __cmp__(self, other): member in class:Handle
91 def __cmp__(self, other): member in class:Tc
  /external/python/cpython2/Lib/
UserString.py 29 def __cmp__(self, string): member in class:UserString
mhlib.py 803 def __cmp__(self, other): member in class:IntSet
    [all...]
uuid.py 182 def __cmp__(self, other): member in class:UUID
  /external/python/cpython2/Lib/plat-mac/
pimp.py 568 def __cmp__(self, other): member in class:PimpPackage
    [all...]
  /external/python/cpython2/Lib/test/
test_complex.py 129 def __cmp__(self, other): member in class:ComplexTest.test_no_implicit_coerce.A
test_heapq.py 247 def __cmp__(self, other): member in class:CmpErr
test_long.py 872 def __cmp__(self, other): member in class:LongTest.test_mixed_compares.Rat
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
UserString.py 29 def __cmp__(self, string): member in class:UserString
mhlib.py 803 def __cmp__(self, other): member in class:IntSet
    [all...]

Completed in 466 milliseconds

1 2 3 4 5 67 8 91011>>