Searched refs:vsubstr (Results 1 – 1 of 1) sorted by relevance
1342 Py_buffer vsubstr; in _bytearray_tailmatch() local1347 if (_getbuffer(substr, &vsubstr) < 0) in _bytearray_tailmatch()1354 if (start+vsubstr.len > len) { in _bytearray_tailmatch()1359 if (end-start < vsubstr.len || start > len) { in _bytearray_tailmatch()1363 if (end-vsubstr.len > start) in _bytearray_tailmatch()1364 start = end - vsubstr.len; in _bytearray_tailmatch()1366 if (end-start >= vsubstr.len) in _bytearray_tailmatch()1367 rv = ! memcmp(str+start, vsubstr.buf, vsubstr.len); in _bytearray_tailmatch()1370 PyBuffer_Release(&vsubstr); in _bytearray_tailmatch()