Home
last modified time | relevance | path

Searched refs:num_before (Results 1 – 1 of 1) sorted by relevance

/external/avb/libavb/
Davb_util.c278 size_t num_before; in avb_replace() local
286 num_before = s - str; in avb_replace()
289 num_new = num_before + replace_len + 1; in avb_replace()
294 avb_memcpy(ret, str, num_before); in avb_replace()
295 avb_memcpy(ret + num_before, replace, replace_len); in avb_replace()
300 num_new = ret_len + num_before + replace_len + 1; in avb_replace()
306 avb_memcpy(new_str + ret_len, str, num_before); in avb_replace()
307 avb_memcpy(new_str + ret_len + num_before, replace, replace_len); in avb_replace()