Lines Matching defs:conv

204   UConverter *conv;
209 conv = ucnv_open("koi8-r", &status);
214 len = ucnv_fromUChars(conv, target, 100, source, -1, &status);
218 ucnv_close(conv);
300 UConverter *conv;
312 conv = ucnv_open("utf-8", &status);
315 uBufSize = (BUFFERSIZE/ucnv_getMinCharSize(conv));
317 BUFFERSIZE, ucnv_getMinCharSize(conv), uBufSize);
334 ucnv_toUnicode(conv, &target, targetLimit,
368 ucnv_close(conv);
396 UConverter *conv;
429 conv = ucnv_open("utf-8", &status);
432 uBufSize = (BUFFERSIZE/ucnv_getMinCharSize(conv));
434 BUFFERSIZE, ucnv_getMinCharSize(conv), uBufSize);
446 p = ucnv_getNextUChar(conv, &source, sourceLimit, &status);
470 ucnv_close(conv);
479 ucnv_close(conv);
529 UConverter *conv;
533 conv = ucnv_open("shift_jis", &status);
539 len = ucnv_toUChars(conv, target, 100, source, strlen(source), &status);
542 ucnv_close(conv);
569 UConverter *conv = NULL;
575 conv = ucnv_open("Big5", &status);
589 target = ucnv_getNextUChar (conv,
604 ucnv_close(conv);
616 UConverter *conv = NULL;
631 conv = ucnv_open("utf-8", &status);
634 len = ucnv_toUChars(conv, uchars, 100, source, strlen(source), &status);
641 ucnv_close(conv);
644 conv = ucnv_open("windows-1252", &status);
653 ucnv_setFromUCallBack(conv,
662 len2 = ucnv_fromUChars(conv, bytes, 100, uchars, len, &status);
667 ucnv_close(conv);
710 UConverter *conv = NULL, *cloneCnv = NULL;
732 conv = ucnv_open("utf-8", &status);
735 len = ucnv_toUChars(conv, uchars, 100, source, strlen(source), &status);
742 ucnv_close(conv);
745 conv = ucnv_open("windows-1252", &status);
774 ucnv_setFromUCallBack(conv,
785 conv, debugCtx1, debugCtx1->subCallback,
789 cloneCnv = ucnv_safeClone(conv, NULL, NULL, &status);
794 printf("Cloned converter from %p -> %p. Closing %p.\n", conv, cloneCnv, conv);
797 ucnv_close(conv);
800 printf("%p closed.\n", conv);
879 UConverter *conv = NULL;
899 conv = ucnv_openCCSID(37, UCNV_IBM, &status);
902 uBufSize = (BUFFERSIZE/ucnv_getMinCharSize(conv));
904 BUFFERSIZE, ucnv_getMinCharSize(conv), uBufSize);
923 ucnv_toUnicode( conv, &target, targetLimit,
953 ucnv_close(conv);
985 UConverter *conv = NULL;
1005 conv = ucnv_open( "iso-8859-2", &status);
1008 bufSize = (BUFFERSIZE*ucnv_getMaxCharSize(conv));
1010 BUFFERSIZE, ucnv_getMaxCharSize(conv), bufSize);
1029 ucnv_fromUnicode( conv, &target, targetLimit,
1058 ucnv_close(conv);
1080 UConverter *conv = NULL;
1086 conv = ucnv_open(encoding, &err);
1088 ucnv_toUnicode(conv,
1114 convsample_02(); // C , u->koi8r, conv
1120 convsample_12(); // C, sjis->u, conv