Home | History | Annotate | Download | only in src

Lines Matching refs:copy

14  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
143 char *copy;
149 copy = malloc(len + 1);
150 if(!copy)
152 memcpy(copy, ptr, len);
153 copy[len] = '\0';
155 p = copy;
174 Curl_safefree(copy);
186 Curl_safefree(copy);
200 if(copy != p)
201 memmove(copy, p, strlen(p) + 1);
206 SANITIZEcode sc = sanitize_file_name(&sanitized, copy, 0);
207 Curl_safefree(copy);
210 copy = sanitized;
223 snprintf(buffer, sizeof(buffer), "%s/%s", tdir, copy);
224 Curl_safefree(copy);
225 copy = strdup(buffer); /* clone the buffer, we don't use the libcurl
234 return copy;