Home
last modified time | relevance | path

Searched refs:ADJUST_INDICES (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Objects/stringlib/
Dfind.h51 #define ADJUST_INDICES(start, end, len) \ macro
70 ADJUST_INDICES(start, end, str_len); in stringlib_find_slice()
79 ADJUST_INDICES(start, end, str_len); in stringlib_rfind_slice()
/external/python/cpython2/Objects/
Dbytearrayobject.c1139 #define ADJUST_INDICES(start, end, len) \ macro
1218 ADJUST_INDICES(start, end, PyByteArray_GET_SIZE(self)); in bytearray_count()
1329 ADJUST_INDICES(start, end, len); in _bytearray_tailmatch()
Dstringobject.c1692 #define ADJUST_INDICES(start, end, len) \ macro
2147 ADJUST_INDICES(start, end, PyString_GET_SIZE(self)); in string_count()
2887 ADJUST_INDICES(start, end, len); in _string_tailmatch()
Dunicodeobject.c5360 #define ADJUST_INDICES(start, end, len) \ macro
5392 ADJUST_INDICES(start, end, str_obj->length); in PyUnicode_Count()
5450 ADJUST_INDICES(start, end, self->length); in tailmatch()
6423 ADJUST_INDICES(start, end, self->length); in unicode_count()