Lines Matching refs:self_s
1593 char *self_s, *result_s; in replace_interleave() local
1623 self_s = PyByteArray_AS_STRING(self); in replace_interleave()
1634 *result_s++ = *self_s++; in replace_interleave()
1640 Py_MEMCPY(result_s, self_s, self_len-i); in replace_interleave()
1651 char *self_s, *result_s; in replace_delete_single_character() local
1658 self_s = PyByteArray_AS_STRING(self); in replace_delete_single_character()
1660 count = countchar(self_s, self_len, from_c, maxcount); in replace_delete_single_character()
1673 start = self_s; in replace_delete_single_character()
1674 end = self_s + self_len; in replace_delete_single_character()
1695 char *self_s, *result_s; in replace_delete_substring() local
1702 self_s = PyByteArray_AS_STRING(self); in replace_delete_substring()
1704 count = stringlib_count(self_s, self_len, in replace_delete_substring()
1722 start = self_s; in replace_delete_substring()
1723 end = self_s + self_len; in replace_delete_substring()
1747 char *self_s, *result_s, *start, *end, *next; in replace_single_character_in_place() local
1752 self_s = PyByteArray_AS_STRING(self); in replace_single_character_in_place()
1755 next = findchar(self_s, self_len, from_c); in replace_single_character_in_place()
1767 Py_MEMCPY(result_s, self_s, self_len); in replace_single_character_in_place()
1770 start = result_s + (next-self_s); in replace_single_character_in_place()
1794 char *self_s; in replace_substring_in_place() local
1800 self_s = PyByteArray_AS_STRING(self); in replace_substring_in_place()
1803 offset = stringlib_find(self_s, self_len, in replace_substring_in_place()
1816 Py_MEMCPY(result_s, self_s, self_len); in replace_substring_in_place()
1844 char *self_s, *result_s; in replace_single_character() local
1850 self_s = PyByteArray_AS_STRING(self); in replace_single_character()
1853 count = countchar(self_s, self_len, from_c, maxcount); in replace_single_character()
1873 start = self_s; in replace_single_character()
1874 end = self_s + self_len; in replace_single_character()
1907 char *self_s, *result_s; in replace_substring() local
1913 self_s = PyByteArray_AS_STRING(self); in replace_substring()
1916 count = stringlib_count(self_s, self_len, in replace_substring()
1939 start = self_s; in replace_substring()
1940 end = self_s + self_len; in replace_substring()