Lines Matching refs:ccsid

62 makeOS400IconvCode(char buf[ICONV_ID_SIZE], unsigned int ccsid)  in makeOS400IconvCode()  argument
72 ccsid &= 0xFFFF; in makeOS400IconvCode()
74 if(ccsid == NOCONV_CCSID) in makeOS400IconvCode()
75 ccsid = ASCII_CCSID; in makeOS400IconvCode()
78 curl_msprintf(buf, "IBMCCSID%05u0000000", ccsid); in makeOS400IconvCode()
239 keyed_string(localkey_t key, const char *ascii, unsigned int ccsid) in keyed_string() argument
253 if(convert(ebcdic, i, ccsid, ascii, -1, ASCII_CCSID) < 0) in keyed_string()
261 curl_to_ccsid(const char *s, unsigned int ccsid) in curl_to_ccsid() argument
264 s = dynconvert(ccsid, s, -1, ASCII_CCSID); in curl_to_ccsid()
270 curl_from_ccsid(const char *s, unsigned int ccsid) in curl_from_ccsid() argument
273 s = dynconvert(ASCII_CCSID, s, -1, ccsid); in curl_from_ccsid()
279 curl_version_ccsid(unsigned int ccsid) in curl_version_ccsid() argument
281 return keyed_string(LK_CURL_VERSION, curl_version(), ccsid); in curl_version_ccsid()
350 const char *data, unsigned int ccsid) in curl_slist_append_ccsid() argument
359 s = dynconvert(ASCII_CCSID, data, -1, ccsid); in curl_slist_append_ccsid()
371 curl_getdate_ccsid(const char *p, const time_t *unused, unsigned int ccsid) in curl_getdate_ccsid() argument
379 s = dynconvert(ASCII_CCSID, p, -1, ccsid); in curl_getdate_ccsid()
392 char **bufp, int *left, unsigned int ccsid) in convert_version_info_string() argument
400 int l = convert(*bufp, *left, ccsid, *stringp, -1, ASCII_CCSID); in convert_version_info_string()
415 curl_version_info_ccsid(CURLversion stamp, unsigned int ccsid) in curl_version_info_ccsid() argument
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()
523 curl_easy_strerror_ccsid(CURLcode error, unsigned int ccsid) in curl_easy_strerror_ccsid() argument
525 return keyed_string(LK_EASY_STRERROR, curl_easy_strerror(error), ccsid); in curl_easy_strerror_ccsid()
530 curl_share_strerror_ccsid(CURLSHcode error, unsigned int ccsid) in curl_share_strerror_ccsid() argument
532 return keyed_string(LK_SHARE_STRERROR, curl_share_strerror(error), ccsid); in curl_share_strerror_ccsid()
537 curl_multi_strerror_ccsid(CURLMcode error, unsigned int ccsid) in curl_multi_strerror_ccsid() argument
539 return keyed_string(LK_MULTI_STRERROR, curl_multi_strerror(error), ccsid); in curl_multi_strerror_ccsid()
544 curl_url_strerror_ccsid(CURLUcode error, unsigned int ccsid) in curl_url_strerror_ccsid() argument
546 return keyed_string(LK_URL_STRERROR, curl_url_strerror(error), ccsid); in curl_url_strerror_ccsid()
584 unsigned int ccsid; in curl_easy_getinfo_ccsid() local
593 ccsid = va_arg(arg, unsigned int); in curl_easy_getinfo_ccsid()
597 *cpp = dynconvert(ccsid, *cpp, -1, ASCII_CCSID); in curl_easy_getinfo_ccsid()
606 ccsid = va_arg(arg, unsigned int); in curl_easy_getinfo_ccsid()
626 if(!(cipt->certinfo[i] = slist_convert(ccsid, in curl_easy_getinfo_ccsid()
653 *slp = slist_convert(ccsid, *slp, ASCII_CCSID); in curl_easy_getinfo_ccsid()
701 int formx, int lengthx, unsigned int ccsid) in Curl_formadd_convert() argument
721 forms[formx].value, l, ccsid); in Curl_formadd_convert()
754 unsigned int ccsid; in curl_formadd_ccsid() local
956 ccsid = (unsigned int) va_arg(arg, long); in curl_formadd_ccsid()
959 ccsid = (unsigned int) forms->value; in curl_formadd_ccsid()
967 if(Curl_formadd_convert(lforms, nargs, -1, ccsid) < 0) { in curl_formadd_ccsid()
1018 unsigned int ccsid; member
1040 l = convert(b, MAX_CONV_EXPANSION * len, p->ccsid, buf, len, ASCII_CCSID); in Curl_formget_callback_ccsid()
1055 curl_formget_callback append, unsigned int ccsid) in curl_formget_ccsid() argument
1061 lcfc.ccsid = ccsid; in curl_formget_ccsid()
1073 unsigned int ccsid; in curl_easy_setopt_ccsid() local
1177 ccsid = va_arg(arg, unsigned int); in curl_easy_setopt_ccsid()
1180 s = dynconvert(ASCII_CCSID, s, -1, ccsid); in curl_easy_setopt_ccsid()
1197 ccsid = va_arg(arg, unsigned int); in curl_easy_setopt_ccsid()
1201 if(!s || !pfsize || ccsid == NOCONV_CCSID || ccsid == ASCII_CCSID) { in curl_easy_setopt_ccsid()
1208 s = dynconvert(ASCII_CCSID, s, -1, ccsid); in curl_easy_setopt_ccsid()
1237 pfsize = convert(cp, pfsize, ASCII_CCSID, s, len, ccsid); in curl_easy_setopt_ccsid()
1257 ccsid = va_arg(arg, unsigned int); in curl_easy_setopt_ccsid()
1260 ccsid != NOCONV_CCSID && ccsid != ASCII_CCSID) { in curl_easy_setopt_ccsid()
1273 pfsize = convert(cp, pfsize, ASCII_CCSID, bp->data, bp->len, ccsid); in curl_easy_setopt_ccsid()
1336 size_t num, unsigned int ccsid) in curl_pushheader_bynum_cssid() argument
1342 d = dynconvert(ccsid, s, -1, ASCII_CCSID); in curl_pushheader_bynum_cssid()
1370 mime_string_call(curl_mimepart *part, const char *string, unsigned int ccsid, in mime_string_call() argument
1378 s = dynconvert(ASCII_CCSID, string, -1, ccsid); in mime_string_call()
1388 curl_mime_name_ccsid(curl_mimepart *part, const char *name, unsigned int ccsid) in curl_mime_name_ccsid() argument
1390 return mime_string_call(part, name, ccsid, curl_mime_name); in curl_mime_name_ccsid()
1395 const char *filename, unsigned int ccsid) in curl_mime_filename_ccsid() argument
1397 return mime_string_call(part, filename, ccsid, curl_mime_filename); in curl_mime_filename_ccsid()
1402 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
1411 return mime_string_call(part, encoding, ccsid, curl_mime_encoder); in curl_mime_encoder_ccsid()
1416 const char *filename, unsigned int ccsid) in curl_mime_filedata_ccsid() argument
1418 return mime_string_call(part, filename, ccsid, curl_mime_filedata); in curl_mime_filedata_ccsid()
1423 const char *data, size_t datasize, unsigned int ccsid) in curl_mime_data_ccsid() argument
1430 s = dynconvert(ASCII_CCSID, data, datasize, ccsid); in curl_mime_data_ccsid()
1441 unsigned int flags, unsigned int ccsid) in curl_url_get_ccsid() argument
1453 *part = dynconvert(ccsid, s, -1, ASCII_CCSID); in curl_url_get_ccsid()
1465 unsigned int flags, unsigned int ccsid) in curl_url_set_ccsid() argument
1471 s = dynconvert(ASCII_CCSID, part, -1, ccsid); in curl_url_set_ccsid()
1482 curl_easy_option_by_name_ccsid(const char *name, unsigned int ccsid) in curl_easy_option_by_name_ccsid() argument
1487 char *s = dynconvert(ASCII_CCSID, name, -1, ccsid); in curl_easy_option_by_name_ccsid()
1501 unsigned int ccsid) in curl_easy_option_get_name_ccsid() argument
1506 name = dynconvert(ccsid, option->name, -1, ASCII_CCSID); in curl_easy_option_get_name_ccsid()
1515 struct curl_header **hout, unsigned int ccsid) in curl_easy_header_ccsid() argument
1520 char *s = dynconvert(ASCII_CCSID, name, -1, ccsid); in curl_easy_header_ccsid()