Searched refs:mycmp (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | functools.py | 80 def cmp_to_key(mycmp): argument 87 return mycmp(self.obj, other.obj) < 0 89 return mycmp(self.obj, other.obj) > 0 91 return mycmp(self.obj, other.obj) == 0 93 return mycmp(self.obj, other.obj) <= 0 95 return mycmp(self.obj, other.obj) >= 0 97 return mycmp(self.obj, other.obj) != 0
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | functools.py | 80 def cmp_to_key(mycmp): argument 87 return mycmp(self.obj, other.obj) < 0 89 return mycmp(self.obj, other.obj) > 0 91 return mycmp(self.obj, other.obj) == 0 93 return mycmp(self.obj, other.obj) <= 0 95 return mycmp(self.obj, other.obj) >= 0 97 return mycmp(self.obj, other.obj) != 0
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_functools.py | 343 def mycmp(x, y): function 345 self.assertEqual(sorted(range(5), key=functools.cmp_to_key(mycmp)), 349 def mycmp(x, y): function 351 key = functools.cmp_to_key(mycmp)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | listsort.txt | 611 def mycmp(x, y): 622 bound(mycmp)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | listsort.txt | 614 def mycmp(x, y): 625 bound(mycmp)
|