Home
last modified time | relevance | path

Searched refs:len_self (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
273 if (!get_buf(self, &p1, &len_self, 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
2957 len_self = PyObject_Size(self); in dictview_richcompare()
2958 if (len_self < 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
4170 len_self = PyObject_Size(self); in dictview_richcompare()
4171 if (len_self < 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()
4315 Py_ssize_t len_self; in _PyDictView_Intersect() local
4327 len_self = dictview_len((_PyDictViewObject *)self); in _PyDictView_Intersect()
[all …]
/external/python/cpython2/Lib/test/
D_mock_backport.py313 len_self = len(self)
314 if len_value > len_self:
317 for i in range(0, len_self - len_value + 1):
/external/pdfium/third_party/pymock/
Dmock.py417 len_self = len(self)
418 if len_value > len_self:
421 for i in range(0, len_self - len_value + 1):
/external/python/mock/mock/
Dmock.py415 len_self = len(self)
416 if len_value > len_self:
419 for i in range(0, len_self - len_value + 1):
/external/python/cpython3/Lib/unittest/
Dmock.py342 len_self = len(self)
343 if len_value > len_self:
346 for i in range(0, len_self - len_value + 1):