Searched refs:res_len (Results 1 – 1 of 1) sorted by relevance
6512 unsigned res_len = 0; in replace_pattern() local6525 result = xrealloc(result, res_len + (s - val) + repl_len + 1); in replace_pattern()6526 strcpy(mempcpy(result + res_len, val, s - val), repl); in replace_pattern()6527 res_len += (s - val) + repl_len; in replace_pattern()6535 result = xrealloc(result, res_len + strlen(val) + 1); in replace_pattern()6536 strcpy(result + res_len, val); in replace_pattern()