Lines Matching refs:cp

166   char *cp;  in dynconvert()  local
203 cp = realloc(d, l); /* Shorten to minimum needed. */ in dynconvert()
205 if(cp) in dynconvert()
206 d = cp; in dynconvert()
220 char *cp = dynconvert(dccsid, from->data, -1, sccsid); in slist_convert() local
222 if(!cp) { in slist_convert()
226 nl = Curl_slist_append_nodup(to, cp); in slist_convert()
229 free(cp); in slist_convert()
418 char *cp; in curl_version_info_ccsid() local
487 cp = Curl_thread_buffer(LK_VERSION_INFO_DATA, n); in curl_version_info_ccsid()
491 if(!id || !cp) in curl_version_info_ccsid()
501 id->protocols = (const char * const *) cp; in curl_version_info_ccsid()
502 memcpy(cp, (char *) p->protocols, i); in curl_version_info_ccsid()
503 cp += i; in curl_version_info_ccsid()
508 &cp, &n, ccsid)) in curl_version_info_ccsid()
514 if(*cpp && convert_version_info_string(cpp, &cp, &n, ccsid)) in curl_version_info_ccsid()
704 char *cp; in Curl_formadd_convert() local
715 cp = malloc(MAX_CONV_EXPANSION * l); in Curl_formadd_convert()
717 if(!cp) in Curl_formadd_convert()
720 l = convert(cp, MAX_CONV_EXPANSION * l, ASCII_CCSID, in Curl_formadd_convert()
724 free(cp); in Curl_formadd_convert()
728 cp2 = realloc(cp, l); /* Shorten buffer to the string size. */ in Curl_formadd_convert()
731 cp = cp2; in Curl_formadd_convert()
733 forms[formx].value = cp; in Curl_formadd_convert()
1072 char *cp = NULL; in curl_easy_setopt_ccsid() local
1230 cp = malloc(pfsize); in curl_easy_setopt_ccsid()
1232 if(!cp) { in curl_easy_setopt_ccsid()
1237 pfsize = convert(cp, pfsize, ASCII_CCSID, s, len, ccsid); in curl_easy_setopt_ccsid()
1245 s = cp; in curl_easy_setopt_ccsid()
1266 cp = malloc(pfsize); in curl_easy_setopt_ccsid()
1268 if(!cp) { in curl_easy_setopt_ccsid()
1273 pfsize = convert(cp, pfsize, ASCII_CCSID, bp->data, bp->len, ccsid); in curl_easy_setopt_ccsid()
1280 blob.data = cp; in curl_easy_setopt_ccsid()
1295 free(cp); in curl_easy_setopt_ccsid()