Searched refs:_compare (Results 1 - 5 of 5) sorted by relevance
/external/selinux/sepolgen/src/sepolgen/ |
H A D | util.py | 125 _compare function within your class.""" 127 def _compare(self, other, method): member in class:Comparison 131 return self._compare(other, lambda a, b: a == b) 134 return self._compare(other, lambda a, b: a < b) 137 return self._compare(other, lambda a, b: a <= b) 140 return self._compare(other, lambda a, b: a >= b) 143 return self._compare(other, lambda a, b: a > b) 146 return self._compare(other, lambda a, b: a != b)
|
H A D | access.py | 141 def _compare(self, other, method): member in class:AccessVector
|
H A D | matching.py | 40 def _compare(self, other, method): member in class:Match
|
/external/libdivsufsort/lib/ |
H A D | utils.c | 246 _compare(const sauchar_t *T, saidx_t Tsize, function 279 r = _compare(T, Tsize, P, Psize, SA[i + half], &match); 294 r = _compare(T, Tsize, P, Psize, SA[j + half], &lmatch); 309 r = _compare(T, Tsize, P, Psize, SA[k + half], &rmatch);
|
/external/autotest/client/common_lib/test_utils/ |
H A D | mock.py | 53 def _compare(cls, actual_arg, expected_arg): member in class:equality_comparator 64 if not cls._compare(actual_item, expected_item): 68 if not cls._compare(sorted(actual_arg.keys()), 72 if not cls._compare(value, expected_arg[key]): 81 return self._compare(parameter, self.value)
|
Completed in 186 milliseconds