Lines Matching defs:cp
168 char * cp;
205 cp = realloc(d, l); /* Shorten to minimum needed. */
207 if(cp)
208 d = cp;
222 char * cp = dynconvert(dccsid, from->data, -1, sccsid);
224 if(!cp) {
228 to = Curl_slist_append_nodup(to, cp);
399 char * cp;
462 cp = Curl_thread_buffer(LK_VERSION_INFO_DATA, n);
466 if(!id || !cp)
476 id->protocols = (const char * const *) cp;
477 memcpy(cp, (char *) p->protocols, i);
478 cp += i;
483 &cp, &n, ccsid))
487 if(convert_version_info_string(&id->version, &cp, &n, ccsid))
490 if(convert_version_info_string(&id->host, &cp, &n, ccsid))
493 if(convert_version_info_string(&id->ssl_version, &cp, &n, ccsid))
496 if(convert_version_info_string(&id->libz_version, &cp, &n, ccsid))
499 if(convert_version_info_string(&id->ares, &cp, &n, ccsid))
502 if(convert_version_info_string(&id->libidn, &cp, &n, ccsid))
505 if(convert_version_info_string(&id->libssh_version, &cp, &n, ccsid))
741 char * cp;
752 cp = malloc(MAX_CONV_EXPANSION * l);
754 if(!cp)
757 l = convert(cp, MAX_CONV_EXPANSION * l, ASCII_CCSID,
761 free(cp);
765 cp2 = realloc(cp, l); /* Shorten buffer to the string size. */
768 cp = cp2;
770 forms[formx].value = cp;
1114 char * cp;
1267 cp = malloc(pfsize);
1269 if(!cp) {
1274 pfsize = convert(cp, pfsize, ASCII_CCSID, s, len, ccsid);
1277 free(cp);
1283 s = cp;