/external/chromium_org/third_party/icu/source/tools/gencnval/ |
gencnval.c | 403 uint16_t pos=0, start, limit, length, cnv; local 430 cnv=addConverter(converter); 460 addAlias(alias, ALL_TAG_NUM, cnv, TRUE); 464 addAlias(alias, ALL_TAG_NUM, cnv, FALSE); 469 /* addAlias(alias, 0, cnv, FALSE);*/ 489 addAlias(alias, tag, cnv, (UBool)(line[limit-1] == '*')); 504 addAlias(alias, EMPTY_TAG_NUM, cnv, (UBool)(tags[0].aliasList[cnv].aliasCount == 0)); [all...] |
/external/icu4c/common/ |
ucnv.c | 154 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) 188 if (!pBufferSize || !cnv){ 195 ucnv_getName(cnv, status), cnv, stackBuffer); 197 if (cnv->sharedData->impl->safeClone != NULL) { 200 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); 258 uprv_memcpy(localConverter, cnv, sizeof(UConverter)); 262 if (cnv->subChars == (uint8_t *)cnv->subUChars) 828 UConverter *cnv; local 1273 UConverter *cnv; local [all...] |
ucnvisci.c | 188 static void _ISCIIOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode) { 193 cnv->extraInfo = uprv_malloc(sizeof(UConverterDataISCII)); 195 if (cnv->extraInfo != NULL) { 198 (UConverterDataISCII *) cnv->extraInfo; 200 cnv->toUnicodeStatus = missingCharMarker; 222 uprv_free(cnv->extraInfo); 223 cnv->extraInfo = NULL; 232 static void _ISCIIClose(UConverter *cnv) { 233 if (cnv->extraInfo!=NULL) { 234 if (!cnv->isExtraLocal) 1493 UConverter *cnv = args->converter; local 1519 UConverter cnv; member in struct:cloneISCIIStruct [all...] |
ucnv2022.cpp | 376 _ISO2022Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode); 385 _ISO2022getName(const UConverter* cnv); 391 _ISO_2022_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status); 411 fromUWriteUInt8(UConverter *cnv, 419 ucnv_fromUWriteBytes(cnv, bytes, length, &targetChars, targetLimit, 428 UConverter *cnv = myConverterData->currentConverter; local 430 cnv->toUnicodeStatus=0; /* offset */ 431 cnv->mode=0; /* state */ 432 cnv->toULength=0; /* byteIndex */ 450 UConverter *cnv = myConverterData->currentConverter local 1645 UConverter *cnv = args->converter; local 2897 UConverter *cnv = args->converter; local 3345 UConverterSharedData *cnv; local [all...] |
ucnvmbcs.c | 116 * - Added an optional extension table structure at the end of the .cnv file. 1887 UConverter *cnv; local 2039 UConverter *cnv; local 2319 UConverter *cnv; local 2736 UConverter *cnv; local 2821 UConverter *cnv; local 3260 UConverter *cnv; local 3492 UConverter *cnv; local 3668 UConverter *cnv; local 3925 UConverter *cnv; local 4865 UConverter *utf8, *cnv; local 5171 UConverter *utf8, *cnv; local 5506 UConverter *cnv=pArgs->converter; local [all...] |
/external/icu4c/test/cintltst/ |
custrtst.c | 1447 UConverter *cnv; local [all...] |
ncnvtst.c | 688 UConverter *cnv=ucnv_open("ibm-424", &err); local 1795 UConverter *cnv; local 1907 UConverter *cnv; local [all...] |
ccapitst.c | 403 UConverter *cnv=NULL; local 405 cnv=ucnv_open("ibm-949,Madhu", &err); 409 ucnv_close(cnv); 674 UConverter *cnv=ucnv_open("ISO_2022", &err); local 678 c=ucnv_getNextUChar(cnv, &source, limit, &err); 682 ucnv_reset(cnv); 683 ucnv_close(cnv); 720 log_err("ucnv_getDisplayName(NULL) with cnv == NULL is supposed to return 0\n"); 1180 UConverter *cnv; local 1692 UConverter * cnv, *cnv2; local 1891 UConverter *cnv; local 2616 UConverter *utf8Cnv, *cnv; local 2659 UConverter *utf8Cnv, *cnv; local 2760 UConverter *cnv; local 2913 UConverter *cnv = cnv_open(converter[idx].name, &status); local 2933 UConverter *cnv; local 3040 UConverter *cnv, *swapCnv; local 3195 UConverter* cnv = ucnv_openPackage(loadTestData(&status), "test3", &status); local 3300 UConverter* cnv = ucnv_openPackage(loadTestData(&status), "test3", &status); local 3398 UConverter *cnv; local 3501 UConverter *cnv; local 3587 UConverter *cnv; local 3651 UConverter *cnv = ucnv_open(names[i], &errorCode); local 3694 UConverter *cnv = ucnv_open(names[i], &errorCode); local [all...] |
nucnvtst.c | 31 static void TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t results[], const char* message); 32 static void TestNextUCharError(UConverter* cnv, const char* source, const char* limit, UErrorCode expected, const char* message); 120 static UConverter *my_ucnv_open(const char *cnv, UErrorCode *err); 131 static UConverter *my_ucnv_open(const char *cnv, UErrorCode *err) 133 if(cnv && cnv[0] == '@') { 134 return ucnv_openPackage(loadTestData(err), cnv+1, err); 136 return ucnv_open(cnv, err); 176 TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t results[], const char* message) 186 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode) 1520 UConverter *ascii_cnv = 0, *sjis_cnv = 0, *cnv; local 1849 UConverter *cnv=ucnv_open("UTF-7", &errorCode); local 1892 UConverter *cnv=ucnv_open("IMAP-mailbox-name", &errorCode); local 1954 UConverter *cnv=ucnv_open("UTF-8", &errorCode); local 2025 UConverter *cnv=ucnv_open("CESU-8", &errorCode); local 2077 UConverter *cnv=ucnv_open("UTF-16", &errorCode); local 2125 UConverter *cnv=ucnv_open("utf-16be", &errorCode); local 2179 UConverter *cnv=ucnv_open("utf-16le", &errorCode); local 2245 UConverter *cnv=ucnv_open("UTF-32", &errorCode); local 2321 UConverter *cnv=ucnv_open("UTF-32BE", &errorCode); local 2392 UConverter *cnv=ucnv_open("UTF-32LE", &errorCode); local 2525 UConverter *cnv=ucnv_open("LATIN_1", &errorCode); local 2556 UConverter *cnv=ucnv_open("x-mac-turkish", &errorCode); local 2599 UConverter *cnv=my_ucnv_open("@ibm9027", &errorCode); local 2650 UConverter *cnv=ucnv_open("ibm-1363", &errorCode); local 2685 UConverter *cnv=ucnv_open(cnvName, &status); local 2759 UConverter *cnv; local 3110 UConverter *cnv; local 3152 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 3329 UConverter *cnv; local 3372 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 3395 UConverter *cnv; local 3872 UConverter *cnv; local 3919 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 3961 UConverter *cnv; local 4002 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 4038 UConverter *cnv; local 4079 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 4117 UConverter *cnv; local 4159 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 4522 UConverter *cnv; local 4566 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 4623 UConverter * cnv = ucnv_open(testPtr->converterName, &err); local 4684 UConverter *cnv=ucnv_open("ibm-930", &errorCode); local 4760 UConverter *cnv=ucnv_open("gb18030", &errorCode); local 4850 UConverter *cnv; local 5338 UConverter *cnv = 0; local 5369 UConverter *cnv = 0; local 5574 UConverter *cnv = NULL; local [all...] |
/external/icu4c/test/intltest/ |
ustrtest.cpp | 228 UConverter *cnv; local 231 cnv=ucnv_open("ISO-8859-1", &errorCode); 232 UnicodeString v(cs, -1, cnv, errorCode); 233 ucnv_close(cnv); 235 errln("UnicodeString(const char *, length, cnv, errorCode) does not work with length==-1"); 590 UConverter *cnv=ucnv_open("UTF-8", &errorCode); local 595 if( (length=s.extract(NULL, 0, cnv, errorCode))!=13 || 602 if( (length=s.extract(buffer, 2, cnv, errorCode))!=13 || 611 if( s.extract(NULL, 2, cnv, errorCode)==13 || U_SUCCESS(errorCode)) { 615 if( s.extract(NULL, 0, cnv, errorCode)==13 || U_SUCCESS(errorCode)) [all...] |
intltest.cpp | 1110 UConverter *cnv = NULL; local [all...] |
/external/icu4c/tools/gencnval/ |
gencnval.c | 413 uint16_t pos=0, start, limit, length, cnv; local 440 cnv=addConverter(converter); 470 addAlias(alias, ALL_TAG_NUM, cnv, TRUE); 474 addAlias(alias, ALL_TAG_NUM, cnv, FALSE); 479 /* addAlias(alias, 0, cnv, FALSE);*/ 499 addAlias(alias, tag, cnv, (UBool)(line[limit-1] == '*')); 514 addAlias(alias, EMPTY_TAG_NUM, cnv, (UBool)(tags[0].aliasList[cnv].aliasCount == 0)); [all...] |
/external/chromium_org/third_party/icu/source/common/ |
ucnv2022.c | 374 _ISO2022Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode); 383 _ISO2022getName(const UConverter* cnv); 389 _ISO_2022_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status); 405 fromUWriteUInt8(UConverter *cnv, 413 ucnv_fromUWriteBytes(cnv, bytes, length, &targetChars, targetLimit, 422 UConverter *cnv = myConverterData->currentConverter; local 424 cnv->toUnicodeStatus=0; /* offset */ 425 cnv->mode=0; /* state */ 426 cnv->toULength=0; /* byteIndex */ 444 UConverter *cnv = myConverterData->currentConverter local 1609 UConverter *cnv = args->converter; local 2861 UConverter *cnv = args->converter; local 3307 UConverterSharedData *cnv; local 3411 UConverter *cnv = args->converter; local 3526 UConverter cnv; member in struct:cloneStruct [all...] |
ucnvmbcs.c | 114 * - Added an optional extension table structure at the end of the .cnv file. 1885 UConverter *cnv; local 2037 UConverter *cnv; local 2317 UConverter *cnv; local 2734 UConverter *cnv; local 2819 UConverter *cnv; local 3258 UConverter *cnv; local 3490 UConverter *cnv; local 3666 UConverter *cnv; local 3923 UConverter *cnv; local 4862 UConverter *utf8, *cnv; local 5165 UConverter *utf8, *cnv; local 5504 UConverter *cnv=pArgs->converter; local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
ccapitst.c | 446 UConverter *cnv=NULL; local 448 cnv=ucnv_open("ibm-949,Madhu", &err); 452 ucnv_close(cnv); 717 UConverter *cnv=ucnv_open("ISO_2022", &err); local 721 c=ucnv_getNextUChar(cnv, &source, limit, &err); 725 ucnv_reset(cnv); 726 ucnv_close(cnv); 763 log_err("ucnv_getDisplayName(NULL) with cnv == NULL is supposed to return 0\n"); 1221 UConverter *cnv; local 1734 UConverter * cnv, *cnv2; local 1933 UConverter *cnv; local 2656 UConverter *utf8Cnv, *cnv; local 2699 UConverter *utf8Cnv, *cnv; local 2800 UConverter *cnv; local 2952 UConverter *cnv = cnv_open(converter[idx].name, &status); local 2972 UConverter *cnv; local 3079 UConverter *cnv, *swapCnv; local 3234 UConverter* cnv = ucnv_openPackage(loadTestData(&status), "test3", &status); local 3339 UConverter* cnv = ucnv_openPackage(loadTestData(&status), "test3", &status); local 3437 UConverter *cnv; local 3540 UConverter *cnv; local 3626 UConverter *cnv; local 3690 UConverter *cnv = ucnv_open(names[i], &errorCode); local 3733 UConverter *cnv = ucnv_open(names[i], &errorCode); local [all...] |
nucnvtst.c | 28 static void TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t results[], const char* message); 29 static void TestNextUCharError(UConverter* cnv, const char* source, const char* limit, UErrorCode expected, const char* message); 113 static UConverter *my_ucnv_open(const char *cnv, UErrorCode *err); 124 static UConverter *my_ucnv_open(const char *cnv, UErrorCode *err) 126 if(cnv && cnv[0] == '@') { 127 return ucnv_openPackage(loadTestData(err), cnv+1, err); 129 return ucnv_open(cnv, err); 169 TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t results[], const char* message) 179 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode) 1501 UConverter *ascii_cnv = 0, *sjis_cnv = 0, *cnv; local 1823 UConverter *cnv=ucnv_open("UTF-7", &errorCode); local 1866 UConverter *cnv=ucnv_open("IMAP-mailbox-name", &errorCode); local 1928 UConverter *cnv=ucnv_open("UTF-8", &errorCode); local 1999 UConverter *cnv=ucnv_open("CESU-8", &errorCode); local 2051 UConverter *cnv=ucnv_open("UTF-16", &errorCode); local 2099 UConverter *cnv=ucnv_open("utf-16be", &errorCode); local 2153 UConverter *cnv=ucnv_open("utf-16le", &errorCode); local 2219 UConverter *cnv=ucnv_open("UTF-32", &errorCode); local 2295 UConverter *cnv=ucnv_open("UTF-32BE", &errorCode); local 2366 UConverter *cnv=ucnv_open("UTF-32LE", &errorCode); local 2499 UConverter *cnv=ucnv_open("LATIN_1", &errorCode); local 2530 UConverter *cnv=ucnv_open("x-mac-turkish", &errorCode); local 2573 UConverter *cnv=my_ucnv_open("@ibm9027", &errorCode); local 2624 UConverter *cnv=ucnv_open("ibm-1363", &errorCode); local 2659 UConverter *cnv=ucnv_open(cnvName, &status); local 2733 UConverter *cnv; local 3084 UConverter *cnv; local 3126 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 3303 UConverter *cnv; local 3346 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 3369 UConverter *cnv; local 3835 UConverter *cnv; local 3882 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 3924 UConverter *cnv; local 3965 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 4001 UConverter *cnv; local 4042 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 4080 UConverter *cnv; local 4122 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 4485 UConverter *cnv; local 4529 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)\/sizeof(in[0])),cnv); local 4586 UConverter * cnv = ucnv_open(testPtr->converterName, &err); local 4647 UConverter *cnv=ucnv_open("ibm-930", &errorCode); local 4723 UConverter *cnv=ucnv_open("gb18030", &errorCode); local 4813 UConverter *cnv; local 5301 UConverter *cnv = 0; local 5332 UConverter *cnv = 0; local [all...] |