Lines Matching refs:result_s
2365 char *self_s, *result_s; in replace_interleave() local
2396 result_s = PyString_AS_STRING(result); in replace_interleave()
2401 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave()
2402 result_s += to_len; in replace_interleave()
2406 *result_s++ = *self_s++; in replace_interleave()
2407 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave()
2408 result_s += to_len; 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
2443 result_s = PyString_AS_STRING(result); in replace_delete_single_character()
2451 Py_MEMCPY(result_s, start, next-start); in replace_delete_single_character()
2452 result_s += (next-start); in replace_delete_single_character()
2455 Py_MEMCPY(result_s, start, end-start); in replace_delete_single_character()
2466 char *self_s, *result_s; in replace_delete_substring() local
2491 result_s = PyString_AS_STRING(result); in replace_delete_substring()
2503 Py_MEMCPY(result_s, start, next-start); in replace_delete_substring()
2505 result_s += (next-start); in replace_delete_substring()
2508 Py_MEMCPY(result_s, start, end-start); in replace_delete_substring()
2518 char *self_s, *result_s, *start, *end, *next; in replace_single_character_in_place() local
2537 result_s = PyString_AS_STRING(result); in replace_single_character_in_place()
2538 Py_MEMCPY(result_s, self_s, self_len); in replace_single_character_in_place()
2541 start = result_s + (next-self_s); in replace_single_character_in_place()
2544 end = result_s + self_len; in replace_single_character_in_place()
2564 char *result_s, *start, *end; in replace_substring_in_place() local
2586 result_s = PyString_AS_STRING(result); in replace_substring_in_place()
2587 Py_MEMCPY(result_s, self_s, self_len); in replace_substring_in_place()
2590 start = result_s + offset; in replace_substring_in_place()
2593 end = result_s + self_len; in replace_substring_in_place()
2615 char *self_s, *result_s; in replace_single_character() local
2642 result_s = PyString_AS_STRING(result); in replace_single_character()
2653 Py_MEMCPY(result_s, to_s, to_len); in replace_single_character()
2654 result_s += to_len; in replace_single_character()
2658 Py_MEMCPY(result_s, start, next-start); in replace_single_character()
2659 result_s += (next-start); in replace_single_character()
2660 Py_MEMCPY(result_s, to_s, to_len); in replace_single_character()
2661 result_s += to_len; in replace_single_character()
2666 Py_MEMCPY(result_s, start, end-start); in replace_single_character()
2677 char *self_s, *result_s; in replace_substring() local
2707 result_s = PyString_AS_STRING(result); in replace_substring()
2720 Py_MEMCPY(result_s, to_s, to_len); in replace_substring()
2721 result_s += to_len; in replace_substring()
2725 Py_MEMCPY(result_s, start, next-start); in replace_substring()
2726 result_s += (next-start); in replace_substring()
2727 Py_MEMCPY(result_s, to_s, to_len); in replace_substring()
2728 result_s += to_len; in replace_substring()
2733 Py_MEMCPY(result_s, start, end-start); in replace_substring()