Lines Matching refs:dst
865 static CURLcode dupset(struct Curl_easy *dst, struct Curl_easy *src) in dupset() argument
873 dst->set = src->set; in dupset()
874 Curl_mime_initpart(&dst->set.mimepost); in dupset()
878 memset(dst->set.str, 0, STRING_LAST * sizeof(char *)); in dupset()
879 memset(dst->set.blobs, 0, BLOB_LAST * sizeof(struct curl_blob *)); in dupset()
883 result = Curl_setstropt(&dst->set.str[i], src->set.str[i]); in dupset()
890 result = Curl_setblobopt(&dst->set.blobs[j], src->set.blobs[j]); in dupset()
899 dst->set.str[i] = strdup(src->set.str[i]); in dupset()
902 dst->set.str[i] = Curl_memdup(src->set.str[i], in dupset()
904 if(!dst->set.str[i]) in dupset()
907 dst->set.postfields = dst->set.str[i]; in dupset()
911 result = Curl_mime_duppart(dst, &dst->set.mimepost, &src->set.mimepost); in dupset()
914 dst->state.resolve = dst->set.resolve; in dupset()