Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/libavb/
H A Davb_util.c259 size_t num_before; in avb_replace() local
267 num_before = s - str; in avb_replace()
270 num_new = num_before + replace_len + 1; in avb_replace()
275 avb_memcpy(ret, str, num_before); in avb_replace()
276 avb_memcpy(ret + num_before, replace, replace_len); in avb_replace()
281 num_new = ret_len + num_before + replace_len + 1; 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()