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

1 2 3 45 6 7 8 91011>>

  /external/devlib/devlib/utils/
android.py 108 def __cmp__(self, other): member in class:AdbDevice
  /external/mesa3d/src/mapi/
mapi_abi.py 123 def __cmp__(self, other): member in class:ABIEntry
  /external/nanopb-c/generator/
nanopb_generator.py 257 def __cmp__(self, other): member in class:Field
    [all...]
  /external/python/cpython2/Lib/
plistlib.py 381 def __cmp__(self, other): member in class:Data
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.
  /external/python/cpython2/Lib/sqlite3/test/
types.py 115 def __cmp__(self, other): member in class:DeclTypesTests.Foo
  /external/python/cpython2/Lib/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_py3kwarn.py 254 def __cmp__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnOnlyCmp
264 def __cmp__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnCmpAndEq
275 def __cmp__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.DefinesAllThree
279 def __cmp__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnOnlyCmp
289 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