Lines Matching refs:myptr
1839 lstrip_helper(const char *myptr, Py_ssize_t mysize, in lstrip_helper() argument
1843 while (i < mysize && memchr(argptr, (unsigned char) myptr[i], argsize)) in lstrip_helper()
1849 rstrip_helper(const char *myptr, Py_ssize_t mysize, in rstrip_helper() argument
1853 while (i >= 0 && memchr(argptr, (unsigned char) myptr[i], argsize)) in rstrip_helper()
1874 char *myptr; in bytearray_strip_impl() local
1888 myptr = PyByteArray_AS_STRING(self); in bytearray_strip_impl()
1890 left = lstrip_helper(myptr, mysize, bytesptr, byteslen); in bytearray_strip_impl()
1894 right = rstrip_helper(myptr, mysize, bytesptr, byteslen); in bytearray_strip_impl()
1897 return PyByteArray_FromStringAndSize(myptr + left, right - left); in bytearray_strip_impl()
1916 char *myptr; in bytearray_lstrip_impl() local
1930 myptr = PyByteArray_AS_STRING(self); in bytearray_lstrip_impl()
1932 left = lstrip_helper(myptr, mysize, bytesptr, byteslen); in bytearray_lstrip_impl()
1936 return PyByteArray_FromStringAndSize(myptr + left, right - left); in bytearray_lstrip_impl()
1955 char *myptr; in bytearray_rstrip_impl() local
1969 myptr = PyByteArray_AS_STRING(self); in bytearray_rstrip_impl()
1971 right = rstrip_helper(myptr, mysize, bytesptr, byteslen); in bytearray_rstrip_impl()
1974 return PyByteArray_FromStringAndSize(myptr, right); in bytearray_rstrip_impl()