Lines Matching refs:ret_len
249 size_t ret_len = 0; in avb_replace() local
278 ret_len = num_new - 1; in avb_replace()
281 num_new = ret_len + num_before + replace_len + 1; in avb_replace()
286 avb_memcpy(new_str, ret, ret_len); in avb_replace()
287 avb_memcpy(new_str + ret_len, str, num_before); in avb_replace()
288 avb_memcpy(new_str + ret_len + num_before, replace, replace_len); in avb_replace()
292 ret_len = num_new - 1; in avb_replace()
306 size_t num_new = ret_len + num_remaining + 1; in avb_replace()
311 avb_memcpy(new_str, ret, ret_len); in avb_replace()
312 avb_memcpy(new_str + ret_len, str_after_last_replace, num_remaining); in avb_replace()
316 ret_len = num_new - 1; in avb_replace()