Lines Matching refs:curr_prefix_len
96 static size_t curr_prefix_len; variable
118 curr_prefix_len = strlen (curr_prefix_arg); in set_this_relocation_prefix()
119 memory = (char *) xmalloc (orig_prefix_len + 1 + curr_prefix_len + 1); in set_this_relocation_prefix()
127 memcpy (memory, curr_prefix_arg, curr_prefix_len + 1); in set_this_relocation_prefix()
260 size_t curr_prefix_len = cp - curr_installdir; in compute_curr_prefix() local
263 curr_prefix = (char *) xmalloc (curr_prefix_len + 1); in compute_curr_prefix()
268 memcpy (curr_prefix, curr_installdir, curr_prefix_len); in compute_curr_prefix()
269 curr_prefix[curr_prefix_len] = '\0'; in compute_curr_prefix()
433 (char *) xmalloc (curr_prefix_len + strlen (pathname_tail) + 1); in relocate()
439 memcpy (result, curr_prefix, curr_prefix_len); in relocate()
440 strcpy (result + curr_prefix_len, pathname_tail); in relocate()