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
260 if(convert(eversion, i, ccsid, aversion, -1, ASCII_CCSID) < 0) in curl_version_ccsid()
334 const char * data, unsigned int ccsid) in curl_slist_append_ccsid() argument
344 s = dynconvert(ASCII_CCSID, data, -1, ccsid); in curl_slist_append_ccsid()
356 curl_getdate_ccsid(const char * p, const time_t * unused, unsigned int ccsid) in curl_getdate_ccsid() argument
365 s = dynconvert(ASCII_CCSID, p, -1, ccsid); in curl_getdate_ccsid()
378 char * * bufp, int * left, unsigned int ccsid) in convert_version_info_string() argument
387 int l = convert(*bufp, *left, ccsid, *stringp, -1, ASCII_CCSID); in convert_version_info_string()
402 curl_version_info_ccsid(CURLversion stamp, unsigned int ccsid) in curl_version_info_ccsid() argument
490 &cp, &n, ccsid)) in curl_version_info_ccsid()
494 if(convert_version_info_string(&id->version, &cp, &n, ccsid)) in curl_version_info_ccsid()
497 if(convert_version_info_string(&id->host, &cp, &n, ccsid)) in curl_version_info_ccsid()
500 if(convert_version_info_string(&id->ssl_version, &cp, &n, ccsid)) in curl_version_info_ccsid()
503 if(convert_version_info_string(&id->libz_version, &cp, &n, ccsid)) in curl_version_info_ccsid()
506 if(convert_version_info_string(&id->ares, &cp, &n, ccsid)) in curl_version_info_ccsid()
509 if(convert_version_info_string(&id->libidn, &cp, &n, ccsid)) in curl_version_info_ccsid()
512 if(convert_version_info_string(&id->libssh_version, &cp, &n, ccsid)) in curl_version_info_ccsid()
520 curl_easy_strerror_ccsid(CURLcode error, unsigned int ccsid) in curl_easy_strerror_ccsid() argument
537 if(convert(buf, i, ccsid, s, -1, ASCII_CCSID) < 0) in curl_easy_strerror_ccsid()
545 curl_share_strerror_ccsid(CURLSHcode error, unsigned int ccsid) in curl_share_strerror_ccsid() argument
562 if(convert(buf, i, ccsid, s, -1, ASCII_CCSID) < 0) in curl_share_strerror_ccsid()
570 curl_multi_strerror_ccsid(CURLMcode error, unsigned int ccsid) in curl_multi_strerror_ccsid() argument
587 if(convert(buf, i, ccsid, s, -1, ASCII_CCSID) < 0) in curl_multi_strerror_ccsid()
619 unsigned int ccsid; in curl_easy_getinfo_ccsid() local
638 ccsid = va_arg(arg, unsigned int); in curl_easy_getinfo_ccsid()
642 *cpp = dynconvert(ccsid, *cpp, -1, ASCII_CCSID); in curl_easy_getinfo_ccsid()
651 ccsid = va_arg(arg, unsigned int); in curl_easy_getinfo_ccsid()
670 if(!(cipt->certinfo[i] = slist_convert(ccsid, in curl_easy_getinfo_ccsid()
697 if(!(*slp = slist_convert(ccsid, *slp, ASCII_CCSID))) in curl_easy_getinfo_ccsid()
744 int formx, int lengthx, unsigned int ccsid) in Curl_formadd_convert() argument
765 forms[formx].value, l, ccsid); in Curl_formadd_convert()
799 unsigned int ccsid; in curl_formadd_ccsid() local
1001 ccsid = (unsigned int) va_arg(arg, long); in curl_formadd_ccsid()
1004 ccsid = (unsigned int) forms->value; in curl_formadd_ccsid()
1012 if(Curl_formadd_convert(lforms, nargs, -1, ccsid) < 0) { in curl_formadd_ccsid()
1063 unsigned int ccsid; member
1086 l = convert(b, MAX_CONV_EXPANSION * len, p->ccsid, buf, len, ASCII_CCSID); in Curl_formget_callback_ccsid()
1101 curl_formget_callback append, unsigned int ccsid) in curl_formget_ccsid() argument
1108 lcfc.ccsid = ccsid; in curl_formget_ccsid()
1122 unsigned int ccsid; in curl_easy_setopt_ccsid() local
1230 ccsid = va_arg(arg, unsigned int); in curl_easy_setopt_ccsid()
1233 s = dynconvert(ASCII_CCSID, s, -1, ccsid); in curl_easy_setopt_ccsid()
1250 ccsid = va_arg(arg, unsigned int); in curl_easy_setopt_ccsid()
1254 if(!s || !pfsize || ccsid == NOCONV_CCSID || ccsid == ASCII_CCSID) { in curl_easy_setopt_ccsid()
1261 s = dynconvert(ASCII_CCSID, s, -1, ccsid); in curl_easy_setopt_ccsid()
1290 pfsize = convert(cp, pfsize, ASCII_CCSID, s, len, ccsid); in curl_easy_setopt_ccsid()
1329 size_t num, unsigned int ccsid) in curl_pushheader_bynum_cssid() argument
1336 d = dynconvert(ccsid, s, -1, ASCII_CCSID); in curl_pushheader_bynum_cssid()
1366 mime_string_call(curl_mimepart *part, const char *string, unsigned int ccsid, in mime_string_call() argument
1375 s = dynconvert(ASCII_CCSID, string, -1, ccsid); in mime_string_call()
1385 curl_mime_name_ccsid(curl_mimepart *part, const char *name, unsigned int ccsid) in curl_mime_name_ccsid() argument
1388 return mime_string_call(part, name, ccsid, curl_mime_name); in curl_mime_name_ccsid()
1393 const char *filename, unsigned int ccsid) in curl_mime_filename_ccsid() argument
1396 return mime_string_call(part, filename, ccsid, curl_mime_filename); in curl_mime_filename_ccsid()
1401 const char *mimetype, unsigned int ccsid) in curl_mime_type_ccsid() argument
1404 return mime_string_call(part, mimetype, ccsid, curl_mime_type); in curl_mime_type_ccsid()
1409 const char *encoding, unsigned int ccsid) in curl_mime_encoder_ccsid() argument
1412 return mime_string_call(part, encoding, ccsid, curl_mime_encoder); in curl_mime_encoder_ccsid()
1417 const char *filename, unsigned int ccsid) in curl_mime_filedata_ccsid() argument
1420 return mime_string_call(part, filename, ccsid, curl_mime_filedata); in curl_mime_filedata_ccsid()
1425 const char *data, size_t datasize, unsigned int ccsid) in curl_mime_data_ccsid() argument
1433 s = dynconvert(ASCII_CCSID, data, datasize, ccsid); in curl_mime_data_ccsid()
1444 unsigned int flags, unsigned int ccsid) in curl_url_get_ccsid() argument
1457 *part = dynconvert(ccsid, s, -1, ASCII_CCSID); in curl_url_get_ccsid()
1469 unsigned int flags, unsigned int ccsid) in curl_url_set_ccsid() argument
1476 s = dynconvert(ASCII_CCSID, part, -1, ccsid); in curl_url_set_ccsid()