Searched refs:pre_len (Results 1 – 2 of 2) sorted by relevance
292 size_t pre_len = strlen(prefix); in prepend() local294 char *p = malloc(pre_len + cmd_len + 1); in prepend()295 memcpy(p, prefix, pre_len); in prepend()296 strcpy(p + pre_len, cmd); in prepend()
961 size_t pre_len, post_start = 0; in make_filename() local968 pre_len = str - buf; in make_filename()970 post_start = pre_len + f->strlen; in make_filename()972 if (pre_len) { in make_filename()973 strncpy(dst, buf, pre_len); in make_filename()974 dst += pre_len; in make_filename()975 dst_left -= pre_len; in make_filename()