Searched refs:self_s (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Objects/stringlib/ |
D | transmogrify.h | 241 const char *self_s; in stringlib_replace_interleave() local 273 self_s = STRINGLIB_STR(self); in stringlib_replace_interleave() 283 *result_s++ = *self_s++; in stringlib_replace_interleave() 293 *result_s++ = *self_s++; in stringlib_replace_interleave() 300 memcpy(result_s, self_s, self_len - i); in stringlib_replace_interleave() 311 const char *self_s, *start, *next, *end; in stringlib_replace_delete_single_character() local 318 self_s = STRINGLIB_STR(self); in stringlib_replace_delete_single_character() 320 count = countchar(self_s, self_len, from_c, maxcount); in stringlib_replace_delete_single_character() 334 start = self_s; in stringlib_replace_delete_single_character() 335 end = self_s + self_len; in stringlib_replace_delete_single_character() [all …]
|
/external/python/cpython2/Objects/ |
D | bytearrayobject.c | 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 [all …]
|
D | stringobject.c | 2365 char *self_s, *result_s; in replace_interleave() local 2395 self_s = PyString_AS_STRING(self); in replace_interleave() 2406 *result_s++ = *self_s++; in replace_interleave() 2412 Py_MEMCPY(result_s, self_s, self_len-i); in replace_interleave() 2423 char *self_s, *result_s; in replace_delete_single_character() local 2430 self_s = PyString_AS_STRING(self); in replace_delete_single_character() 2432 count = countchar(self_s, self_len, from_c, maxcount); in replace_delete_single_character() 2445 start = self_s; in replace_delete_single_character() 2446 end = self_s + self_len; in replace_delete_single_character() 2466 char *self_s, *result_s; in replace_delete_substring() local [all …]
|