Lines Matching refs:result_s
242 char *result_s; in stringlib_replace_interleave() local
274 result_s = STRINGLIB_STR(result); in stringlib_replace_interleave()
278 memcpy(result_s, to_s, to_len); in stringlib_replace_interleave()
279 result_s += to_len; in stringlib_replace_interleave()
283 *result_s++ = *self_s++; in stringlib_replace_interleave()
284 memcpy(result_s, to_s, to_len); in stringlib_replace_interleave()
285 result_s += to_len; in stringlib_replace_interleave()
289 result_s[0] = to_s[0]; in stringlib_replace_interleave()
290 result_s += to_len; in stringlib_replace_interleave()
293 *result_s++ = *self_s++; in stringlib_replace_interleave()
294 result_s[0] = to_s[0]; in stringlib_replace_interleave()
295 result_s += to_len; in stringlib_replace_interleave()
300 memcpy(result_s, self_s, self_len - i); in stringlib_replace_interleave()
312 char *result_s; in stringlib_replace_delete_single_character() local
332 result_s = STRINGLIB_STR(result); in stringlib_replace_delete_single_character()
340 memcpy(result_s, start, next - start); in stringlib_replace_delete_single_character()
341 result_s += (next - start); in stringlib_replace_delete_single_character()
344 memcpy(result_s, start, end - start); in stringlib_replace_delete_single_character()
357 char *result_s; in stringlib_replace_delete_substring() local
381 result_s = STRINGLIB_STR(result); in stringlib_replace_delete_substring()
393 memcpy(result_s, start, next - start); in stringlib_replace_delete_substring()
395 result_s += (next - start); in stringlib_replace_delete_substring()
398 memcpy(result_s, start, end - start); in stringlib_replace_delete_substring()
409 char *result_s, *start, *next; in stringlib_replace_single_character_in_place() local
429 result_s = STRINGLIB_STR(result); in stringlib_replace_single_character_in_place()
430 memcpy(result_s, self_s, self_len); in stringlib_replace_single_character_in_place()
433 start = result_s + (next - self_s); in stringlib_replace_single_character_in_place()
436 end = result_s + self_len; in stringlib_replace_single_character_in_place()
457 char *result_s, *start; in stringlib_replace_substring_in_place() local
479 result_s = STRINGLIB_STR(result); in stringlib_replace_substring_in_place()
480 memcpy(result_s, self_s, self_len); in stringlib_replace_substring_in_place()
483 start = result_s + offset; in stringlib_replace_substring_in_place()
486 end = result_s + self_len; in stringlib_replace_substring_in_place()
509 char *result_s; in stringlib_replace_single_character() local
536 result_s = STRINGLIB_STR(result); in stringlib_replace_single_character()
547 memcpy(result_s, to_s, to_len); in stringlib_replace_single_character()
548 result_s += to_len; in stringlib_replace_single_character()
552 memcpy(result_s, start, next - start); in stringlib_replace_single_character()
553 result_s += (next - start); in stringlib_replace_single_character()
554 memcpy(result_s, to_s, to_len); in stringlib_replace_single_character()
555 result_s += to_len; in stringlib_replace_single_character()
560 memcpy(result_s, start, end - start); in stringlib_replace_single_character()
573 char *result_s; in stringlib_replace_substring() local
603 result_s = STRINGLIB_STR(result); in stringlib_replace_substring()
616 memcpy(result_s, to_s, to_len); in stringlib_replace_substring()
617 result_s += to_len; in stringlib_replace_substring()
621 memcpy(result_s, start, next - start); in stringlib_replace_substring()
622 result_s += (next - start); in stringlib_replace_substring()
623 memcpy(result_s, to_s, to_len); in stringlib_replace_substring()
624 result_s += to_len; in stringlib_replace_substring()
629 memcpy(result_s, start, end - start); in stringlib_replace_substring()