Searched refs:mycmp (Results 1 – 5 of 5) sorted by relevance
/external/selinux/sepolgen/src/sepolgen/ |
D | util.py | 150 def cmp_to_key(mycmp): argument 156 return mycmp(self.obj, other.obj) < 0 158 return mycmp(self.obj, other.obj) > 0 160 return mycmp(self.obj, other.obj) == 0 162 return mycmp(self.obj, other.obj) <= 0 164 return mycmp(self.obj, other.obj) >= 0 166 return mycmp(self.obj, other.obj) != 0
|
/external/libxml2/python/ |
D | generator.py | 806 def cmp_to_key(mycmp): argument 812 return mycmp(self.obj, other.obj) < 0 814 return mycmp(self.obj, other.obj) > 0 816 return mycmp(self.obj, other.obj) == 0 818 return mycmp(self.obj, other.obj) <= 0 820 return mycmp(self.obj, other.obj) >= 0 822 return mycmp(self.obj, other.obj) != 0
|
/external/valgrind/cachegrind/ |
D | cg_annotate.in | 491 sub mycmp ($$) 601 mycmp($fn_totals{$a}, $fn_totals{$b})
|
/external/valgrind/callgrind/ |
D | callgrind_annotate.in | 763 sub mycmp ($$) 876 mycmp($fn_totals{$a}, $fn_totals{$b})
|
/external/autotest/client/common_lib/test_utils/ |
D | unittest.py | 86 def _CmpToKey(mycmp): argument 92 return mycmp(self.obj, other.obj) == -1
|