Home
last modified time | relevance | path

Searched refs:len_other (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Objects/
Dbufferobject.c270 Py_ssize_t len_self, len_other, min_len; in buffer_compare() local
275 if (!get_buf(other, &p2, &len_other, ANY_BUFFER)) in buffer_compare()
277 min_len = (len_self < len_other) ? len_self : len_other; in buffer_compare()
283 return (len_self < len_other) ? -1 : (len_self > len_other) ? 1 : 0; in buffer_compare()
Ddictobject.c2944 Py_ssize_t len_self, len_other; in dictview_richcompare() local
2960 len_other = PyObject_Size(other); in dictview_richcompare()
2961 if (len_other < 0) in dictview_richcompare()
2969 if (len_self == len_other) in dictview_richcompare()
2976 if (len_self < len_other) in dictview_richcompare()
2981 if (len_self <= len_other) in dictview_richcompare()
2986 if (len_self > len_other) in dictview_richcompare()
2991 if (len_self >= len_other) in dictview_richcompare()
/external/python/cpython3/Objects/
Ddictobject.c4159 Py_ssize_t len_self, len_other; in dictview_richcompare() local
4173 len_other = PyObject_Size(other); in dictview_richcompare()
4174 if (len_other < 0) in dictview_richcompare()
4182 if (len_self == len_other) in dictview_richcompare()
4189 if (len_self < len_other) in dictview_richcompare()
4194 if (len_self <= len_other) in dictview_richcompare()
4199 if (len_self > len_other) in dictview_richcompare()
4204 if (len_self >= len_other) in dictview_richcompare()
4339 Py_ssize_t len_other = dictview_len((_PyDictViewObject *)other); in _PyDictView_Intersect() local
4340 if (len_other > len_self) { in _PyDictView_Intersect()
[all …]
/external/python/mock/mock/
Dmock.py2183 len_other = len(other)
2198 if len_other == 0:
2200 elif len_other == 3:
2202 elif len_other == 1:
2213 elif len_other == 2:
/external/python/cpython3/Lib/unittest/
Dmock.py2441 len_other = len(other)
2456 if len_other == 0:
2458 elif len_other == 3:
2460 elif len_other == 1:
2471 elif len_other == 2:
/external/python/cpython2/Lib/test/
D_mock_backport.py1976 len_other = len(other)
1987 if len_other == 0:
1989 elif len_other == 3:
1991 elif len_other == 1:
/external/pdfium/third_party/pymock/
Dmock.py2032 len_other = len(other)
2043 if len_other == 0:
2045 elif len_other == 3:
2047 elif len_other == 1: