Lines Matching refs:ret_len
293 size_t ret_len = 0; in avb_replace() local
322 ret_len = num_new - 1; in avb_replace()
325 num_new = ret_len + num_before + replace_len + 1; in avb_replace()
330 avb_memcpy(new_str, ret, ret_len); in avb_replace()
331 avb_memcpy(new_str + ret_len, str, num_before); in avb_replace()
332 avb_memcpy(new_str + ret_len + num_before, replace, replace_len); in avb_replace()
336 ret_len = num_new - 1; in avb_replace()
350 size_t num_new = ret_len + num_remaining + 1; in avb_replace()
355 avb_memcpy(new_str, ret, ret_len); in avb_replace()
356 avb_memcpy(new_str + ret_len, str_after_last_replace, num_remaining); in avb_replace()
360 ret_len = num_new - 1; in avb_replace()