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.c3801 Py_ssize_t len_self, len_other; in dictview_richcompare() local
3815 len_other = PyObject_Size(other); in dictview_richcompare()
3816 if (len_other < 0) in dictview_richcompare()
3824 if (len_self == len_other) in dictview_richcompare()
3831 if (len_self < len_other) in dictview_richcompare()
3836 if (len_self <= len_other) in dictview_richcompare()
3841 if (len_self > len_other) in dictview_richcompare()
3846 if (len_self >= len_other) in dictview_richcompare()
4027 Py_ssize_t len_other = PyObject_Size(other); in dictviews_isdisjoint() local
4028 if (len_other == -1) in dictviews_isdisjoint()
[all …]
/external/python/cpython3/Lib/unittest/
Dmock.py2036 len_other = len(other)
2051 if len_other == 0:
2053 elif len_other == 3:
2055 elif len_other == 1:
2066 elif len_other == 2:
/external/python/mock/mock/
Dmock.py2154 len_other = len(other)
2165 if len_other == 0:
2167 elif len_other == 3:
2169 elif len_other == 1:
2180 elif len_other == 2:
/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:
/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: