Home
last modified time | relevance | path

Searched refs:mycmp (Results 1 – 5 of 5) sorted by relevance

/external/selinux/sepolgen/src/sepolgen/
Dutil.py150 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/
Dgenerator.py806 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/
Dcg_annotate.in491 sub mycmp ($$)
601 mycmp($fn_totals{$a}, $fn_totals{$b})
/external/valgrind/callgrind/
Dcallgrind_annotate.in763 sub mycmp ($$)
876 mycmp($fn_totals{$a}, $fn_totals{$b})
/external/autotest/client/common_lib/test_utils/
Dunittest.py86 def _CmpToKey(mycmp): argument
92 return mycmp(self.obj, other.obj) == -1