Lines Matching refs:self_s
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()
356 const char *self_s, *start, *next, *end; in stringlib_replace_delete_substring() local
363 self_s = STRINGLIB_STR(self); in stringlib_replace_delete_substring()
365 count = stringlib_count(self_s, self_len, in stringlib_replace_delete_substring()
383 start = self_s; in stringlib_replace_delete_substring()
384 end = self_s + self_len; in stringlib_replace_delete_substring()
408 const char *self_s, *end; in stringlib_replace_single_character_in_place() local
414 self_s = STRINGLIB_STR(self); in stringlib_replace_single_character_in_place()
417 next = findchar(self_s, self_len, from_c); 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()
456 const char *self_s, *end; in stringlib_replace_substring_in_place() local
463 self_s = STRINGLIB_STR(self); in stringlib_replace_substring_in_place()
466 offset = stringlib_find(self_s, self_len, in stringlib_replace_substring_in_place()
480 memcpy(result_s, self_s, self_len); in stringlib_replace_substring_in_place()
508 const char *self_s, *start, *next, *end; in stringlib_replace_single_character() local
514 self_s = STRINGLIB_STR(self); in stringlib_replace_single_character()
517 count = countchar(self_s, self_len, from_c, maxcount); in stringlib_replace_single_character()
538 start = self_s; in stringlib_replace_single_character()
539 end = self_s + self_len; in stringlib_replace_single_character()
572 const char *self_s, *start, *next, *end; in stringlib_replace_substring() local
578 self_s = STRINGLIB_STR(self); in stringlib_replace_substring()
581 count = stringlib_count(self_s, self_len, in stringlib_replace_substring()
605 start = self_s; in stringlib_replace_substring()
606 end = self_s + self_len; in stringlib_replace_substring()