Lines Matching defs:cp
167 char * cp;
204 cp = realloc(d, l); /* Shorten to minimum needed. */
206 if(cp)
207 d = cp;
221 char * cp = dynconvert(dccsid, from->data, -1, sccsid);
223 if(!cp) {
227 to = Curl_slist_append_nodup(to, cp);
398 char * cp;
461 cp = Curl_thread_buffer(LK_VERSION_INFO_DATA, n);
465 if(!id || !cp)
475 id->protocols = (const char * const *) cp;
476 memcpy(cp, (char *) p->protocols, i);
477 cp += i;
482 &cp, &n, ccsid))
486 if(convert_version_info_string(&id->version, &cp, &n, ccsid))
489 if(convert_version_info_string(&id->host, &cp, &n, ccsid))
492 if(convert_version_info_string(&id->ssl_version, &cp, &n, ccsid))
495 if(convert_version_info_string(&id->libz_version, &cp, &n, ccsid))
498 if(convert_version_info_string(&id->ares, &cp, &n, ccsid))
501 if(convert_version_info_string(&id->libidn, &cp, &n, ccsid))
504 if(convert_version_info_string(&id->libssh_version, &cp, &n, ccsid))
738 char * cp;
749 cp = malloc(MAX_CONV_EXPANSION * l);
751 if(!cp)
754 l = convert(cp, MAX_CONV_EXPANSION * l, ASCII_CCSID,
758 free(cp);
762 cp2 = realloc(cp, l); /* Shorten buffer to the string size. */
765 cp = cp2;
767 forms[formx].value = cp;
1103 char * cp;
1239 cp = malloc(pfsize);
1241 if(!cp) {
1246 pfsize = convert(cp, pfsize, ASCII_CCSID, s, len, ccsid);
1249 free(cp);
1255 s = cp;