Lines Matching refs:ccsid
59 makeOS400IconvCode(char buf[ICONV_ID_SIZE], unsigned int ccsid) in makeOS400IconvCode() argument
70 ccsid &= 0xFFFF; in makeOS400IconvCode()
72 if(ccsid == NOCONV_CCSID) in makeOS400IconvCode()
73 ccsid = ASCII_CCSID; in makeOS400IconvCode()
76 curl_msprintf(buf, "IBMCCSID%05u0000000", ccsid); in makeOS400IconvCode()
242 curl_version_ccsid(unsigned int ccsid) in curl_version_ccsid() argument
261 if(convert(eversion, i, ccsid, aversion, -1, ASCII_CCSID) < 0) in curl_version_ccsid()
335 const char *data, unsigned int ccsid) in curl_slist_append_ccsid() argument
345 s = dynconvert(ASCII_CCSID, data, -1, ccsid); in curl_slist_append_ccsid()
357 curl_getdate_ccsid(const char *p, const time_t * unused, unsigned int ccsid) in curl_getdate_ccsid() argument
366 s = dynconvert(ASCII_CCSID, p, -1, ccsid); in curl_getdate_ccsid()
379 char * * bufp, int *left, unsigned int ccsid) in convert_version_info_string() argument
388 int l = convert(*bufp, *left, ccsid, *stringp, -1, ASCII_CCSID); in convert_version_info_string()
403 curl_version_info_ccsid(CURLversion stamp, unsigned int ccsid) in curl_version_info_ccsid() argument
491 &cp, &n, ccsid)) in curl_version_info_ccsid()
495 if(convert_version_info_string(&id->version, &cp, &n, ccsid)) in curl_version_info_ccsid()
498 if(convert_version_info_string(&id->host, &cp, &n, ccsid)) in curl_version_info_ccsid()
501 if(convert_version_info_string(&id->ssl_version, &cp, &n, ccsid)) in curl_version_info_ccsid()
504 if(convert_version_info_string(&id->libz_version, &cp, &n, ccsid)) in curl_version_info_ccsid()
507 if(convert_version_info_string(&id->ares, &cp, &n, ccsid)) in curl_version_info_ccsid()
510 if(convert_version_info_string(&id->libidn, &cp, &n, ccsid)) in curl_version_info_ccsid()
513 if(convert_version_info_string(&id->libssh_version, &cp, &n, ccsid)) in curl_version_info_ccsid()
521 curl_easy_strerror_ccsid(CURLcode error, unsigned int ccsid) in curl_easy_strerror_ccsid() argument
539 if(convert(buf, i, ccsid, s, -1, ASCII_CCSID) < 0) in curl_easy_strerror_ccsid()
547 curl_share_strerror_ccsid(CURLSHcode error, unsigned int ccsid) in curl_share_strerror_ccsid() argument
565 if(convert(buf, i, ccsid, s, -1, ASCII_CCSID) < 0) in curl_share_strerror_ccsid()
573 curl_multi_strerror_ccsid(CURLMcode error, unsigned int ccsid) in curl_multi_strerror_ccsid() argument
591 if(convert(buf, i, ccsid, s, -1, ASCII_CCSID) < 0) in curl_multi_strerror_ccsid()
634 unsigned int ccsid; in curl_easy_getinfo_ccsid() local
643 ccsid = va_arg(arg, unsigned int); in curl_easy_getinfo_ccsid()
647 *cpp = dynconvert(ccsid, *cpp, -1, ASCII_CCSID); in curl_easy_getinfo_ccsid()
656 ccsid = va_arg(arg, unsigned int); in curl_easy_getinfo_ccsid()
676 if(!(cipt->certinfo[i] = slist_convert(ccsid, in curl_easy_getinfo_ccsid()
703 *slp = slist_convert(ccsid, *slp, ASCII_CCSID); in curl_easy_getinfo_ccsid()
753 int formx, int lengthx, unsigned int ccsid) in Curl_formadd_convert() argument
774 forms[formx].value, l, ccsid); in Curl_formadd_convert()
808 unsigned int ccsid; in curl_formadd_ccsid() local
1010 ccsid = (unsigned int) va_arg(arg, long); in curl_formadd_ccsid()
1013 ccsid = (unsigned int) forms->value; in curl_formadd_ccsid()
1021 if(Curl_formadd_convert(lforms, nargs, -1, ccsid) < 0) { in curl_formadd_ccsid()
1072 unsigned int ccsid; member
1095 l = convert(b, MAX_CONV_EXPANSION * len, p->ccsid, buf, len, ASCII_CCSID); in Curl_formget_callback_ccsid()
1110 curl_formget_callback append, unsigned int ccsid) in curl_formget_ccsid() argument
1117 lcfc.ccsid = ccsid; in curl_formget_ccsid()
1131 unsigned int ccsid; in curl_easy_setopt_ccsid() local
1222 ccsid = va_arg(arg, unsigned int); in curl_easy_setopt_ccsid()
1225 s = dynconvert(ASCII_CCSID, s, -1, ccsid); in curl_easy_setopt_ccsid()
1242 ccsid = va_arg(arg, unsigned int); in curl_easy_setopt_ccsid()
1246 if(!s || !pfsize || ccsid == NOCONV_CCSID || ccsid == ASCII_CCSID) { in curl_easy_setopt_ccsid()
1253 s = dynconvert(ASCII_CCSID, s, -1, ccsid); in curl_easy_setopt_ccsid()
1282 pfsize = convert(cp, pfsize, ASCII_CCSID, s, len, ccsid); in curl_easy_setopt_ccsid()
1321 size_t num, unsigned int ccsid) in curl_pushheader_bynum_cssid() argument
1328 d = dynconvert(ccsid, s, -1, ASCII_CCSID); in curl_pushheader_bynum_cssid()
1357 mime_string_call(curl_mimepart *part, const char *string, unsigned int ccsid, in mime_string_call() argument
1366 s = dynconvert(ASCII_CCSID, string, -1, ccsid); in mime_string_call()
1376 curl_mime_name_ccsid(curl_mimepart *part, const char *name, unsigned int ccsid) in curl_mime_name_ccsid() argument
1379 return mime_string_call(part, name, ccsid, curl_mime_name); in curl_mime_name_ccsid()
1384 const char *filename, unsigned int ccsid) in curl_mime_filename_ccsid() argument
1387 return mime_string_call(part, filename, ccsid, curl_mime_filename); in curl_mime_filename_ccsid()
1392 const char *mimetype, unsigned int ccsid) in curl_mime_type_ccsid() argument
1395 return mime_string_call(part, mimetype, ccsid, curl_mime_type); in curl_mime_type_ccsid()
1400 const char *encoding, unsigned int ccsid) in curl_mime_encoder_ccsid() argument
1403 return mime_string_call(part, encoding, ccsid, curl_mime_encoder); in curl_mime_encoder_ccsid()
1408 const char *filename, unsigned int ccsid) in curl_mime_filedata_ccsid() argument
1411 return mime_string_call(part, filename, ccsid, curl_mime_filedata); in curl_mime_filedata_ccsid()
1416 const char *data, size_t datasize, unsigned int ccsid) in curl_mime_data_ccsid() argument
1424 s = dynconvert(ASCII_CCSID, data, datasize, ccsid); in curl_mime_data_ccsid()
1435 unsigned int flags, unsigned int ccsid) in curl_url_get_ccsid() argument
1448 *part = dynconvert(ccsid, s, -1, ASCII_CCSID); in curl_url_get_ccsid()
1460 unsigned int flags, unsigned int ccsid) in curl_url_set_ccsid() argument
1467 s = dynconvert(ASCII_CCSID, part, -1, ccsid); in curl_url_set_ccsid()