/external/chromium_org/third_party/icu/source/common/ |
H A D | ucnv_set.c | 44 if(cnv->sharedData->impl->getUnicodeSet==NULL) { 64 cnv->sharedData->impl->getUnicodeSet(cnv, &sa, whichSet, pErrorCode);
|
H A D | ucnvdisp.c | 60 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus); 71 length=(int32_t)uprv_strlen(cnv->sharedData->staticData->name); 72 u_charsToUChars(cnv->sharedData->staticData->name, displayName, uprv_min(length, displayNameCapacity));
|
H A D | ucnvmbcs.h | 454 ucnv_MBCSSimpleGetNextUChar(UConverterSharedData *sharedData, 464 ucnv_MBCSSingleSimpleGetNextUChar(UConverterSharedData *sharedData, 473 #define _MBCS_SINGLE_SIMPLE_GET_NEXT_BMP(sharedData, b) \ 474 (UChar)MBCS_ENTRY_FINAL_VALUE_16((sharedData)->mbcs.stateTable[0][(uint8_t)(b)]) 481 ucnv_MBCSIsLeadByte(UConverterSharedData *sharedData, char byte); 484 #define _MBCS_IS_LEAD_BYTE(sharedData, byte) \ 485 (UBool)MBCS_ENTRY_IS_TRANSITION((sharedData)->mbcs.stateTable[0][(uint8_t)(byte)]) 505 ucnv_MBCSFromUChar32(UConverterSharedData *sharedData, 516 ucnv_MBCSSingleFromUChar32(UConverterSharedData *sharedData, 543 ucnv_MBCSGetUnicodeSetForUnicode(const UConverterSharedData *sharedData, [all...] |
H A D | ucnvmbcs.c | 709 ucnv_MBCSGetFilteredUnicodeSetForUnicode(const UConverterSharedData *sharedData, argument 723 mbcsTable=&sharedData->mbcs; 911 ucnv_extGetUnicodeSet(sharedData, sa, which, filter, pErrorCode); 915 ucnv_MBCSGetUnicodeSetForUnicode(const UConverterSharedData *sharedData, argument 920 sharedData, sa, which, 921 sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 936 ucnv_MBCSGetUnicodeSetForUnicode(cnv->sharedData, sa, which, pErrorCode); 958 _extFromU(UConverter *cnv, const UConverterSharedData *sharedData, argument 969 if( (cx=sharedData->mbcs.extIndexes)!=NULL && 1025 _extToU(UConverter *cnv, const UConverterSharedData *sharedData, argument 1111 _EBCDICSwapLFNL(UConverterSharedData *sharedData, UErrorCode *pErrorCode) argument 1409 ucnv_MBCSLoad(UConverterSharedData *sharedData, UConverterLoadArgs *pArgs, const uint8_t *raw, UErrorCode *pErrorCode) argument 1734 ucnv_MBCSUnload(UConverterSharedData *sharedData) argument 3114 ucnv_MBCSSimpleGetNextUChar(UConverterSharedData *sharedData, const char *source, int32_t length, UBool useFallback) argument 4669 ucnv_MBCSFromUChar32(UConverterSharedData *sharedData, UChar32 c, uint32_t *pValue, UBool useFallback) argument 5496 ucnv_MBCSIsLeadByte(UConverterSharedData *sharedData, char byte) argument [all...] |
H A D | ucnv_imp.h | 119 ucnv_unloadSharedDataIfReady(UConverterSharedData *sharedData); 125 ucnv_incrementRefCount(UConverterSharedData *sharedData);
|
H A D | ucnv.c | 195 if (cnv->sharedData->impl->safeClone != NULL) { 198 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); 273 if (cnv->sharedData->impl->safeClone != NULL) { 275 localConverter = cnv->sharedData->impl->safeClone(cnv, localConverter, pBufferSize, status); 293 if (cnv->sharedData->referenceCounter != ~0) { 294 ucnv_incrementRefCount(cnv->sharedData); 370 if (converter->sharedData->impl->close != NULL) { 371 converter->sharedData->impl->close(converter); 383 if (converter->sharedData->referenceCounter != ~0) { 384 ucnv_unloadSharedDataIfReady(converter->sharedData); [all...] |
H A D | ucnv_bld.c | 314 UConverterSharedData *sharedData; local 332 sharedData = ucnv_data_unFlattenClone(pArgs, data, err); 347 UTRACE_EXIT_PTR_STATUS(sharedData, *err); 348 return sharedData; 572 * It must be sharedData->referenceCounter != ~0 576 ucnv_unload(UConverterSharedData *sharedData) { argument 577 if(sharedData != NULL) { 578 if (sharedData->referenceCounter > 0) { 579 sharedData->referenceCounter--; 582 if((sharedData 589 ucnv_unloadSharedDataIfReady(UConverterSharedData *sharedData) argument 604 ucnv_incrementRefCount(UConverterSharedData *sharedData) argument 886 const UConverterSharedData *sharedData; local [all...] |
H A D | ucnv_bld.h | 172 UConverterSharedData *sharedData; /* Pointer to the shared immutable part of the converter object */ member in struct:UConverter 268 * It must be sharedData->referenceCounter != ~0 272 ucnv_unload(UConverterSharedData *sharedData);
|
H A D | ucnv_ext.c | 268 ((cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO ? (int8_t)(cnv)->mode : \ 269 (cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 1 : -1) 373 match=ucnv_extMatchToU(cnv->sharedData->mbcs.extIndexes, (int8_t)UCNV_SISO_STATE(cnv), 391 ucnv_extWriteToU(cnv, cnv->sharedData->mbcs.extIndexes, 764 cnv->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY) 867 match=ucnv_extMatchFromU(cnv->sharedData->mbcs.extIndexes, 891 ucnv_extWriteFromU(cnv, cnv->sharedData->mbcs.extIndexes, 946 ucnv_extGetUnicodeSetString(const UConverterSharedData *sharedData, argument 990 sharedData, cx, sa, useFallback, minLength, 1006 ucnv_extGetUnicodeSet(const UConverterSharedData *sharedData, argument [all...] |
H A D | ucnv_cb.c | 206 if(converter->sharedData->impl->writeSub!=NULL) { 207 converter->sharedData->impl->writeSub(args, offsetIndex, err);
|
H A D | ucnv_cnv.h | 59 typedef void (*UConverterLoad) (UConverterSharedData *sharedData, 62 typedef void (*UConverterUnload) (UConverterSharedData *sharedData);
|
H A D | ucnv2022.c | 502 cnv->sharedData=(UConverterSharedData*)(&_ISO2022JPData); 545 cnv->sharedData=(UConverterSharedData*)&_ISO2022KRData; 565 cnv->sharedData=(UConverterSharedData*)&_ISO2022CNData; 589 cnv->sharedData=(UConverterSharedData*)&_ISO2022Data; 598 cnv->maxBytesPerUChar=cnv->sharedData->staticData->maxBytesPerChar; 1061 MBCS_FROM_UCHAR32_ISO2022(UConverterSharedData* sharedData, argument 1079 if(c<0x10000 || (sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY)) { 1080 table=sharedData->mbcs.fromUnicodeTable; 1084 myValue=MBCS_VALUE_2_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); 1091 p=MBCS_POINTER_3_FROM_STAGE_2(sharedData 1132 MBCS_SINGLE_FROM_UCHAR32(UConverterSharedData* sharedData, UChar32 c, uint32_t* retval, UBool useFallback) argument 2313 UConverterSharedData* sharedData; local 2627 UConverterSharedData* sharedData ; local [all...] |
H A D | ucnvhz.c | 269 targetUniChar = ucnv_MBCSSimpleGetNextUChar(myData->gbConverter->sharedData, 379 length= ucnv_MBCSFromUChar32(myConverterData->gbConverter->sharedData, 581 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter->sharedData,
|
/external/icu4c/common/ |
H A D | ucnv_set.c | 44 if(cnv->sharedData->impl->getUnicodeSet==NULL) { 64 cnv->sharedData->impl->getUnicodeSet(cnv, &sa, whichSet, pErrorCode);
|
H A D | ucnvdisp.c | 60 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus); 71 length=(int32_t)uprv_strlen(cnv->sharedData->staticData->name); 72 u_charsToUChars(cnv->sharedData->staticData->name, displayName, uprv_min(length, displayNameCapacity));
|
H A D | ucnvmbcs.h | 494 ucnv_MBCSSimpleGetNextUChar(UConverterSharedData *sharedData, 504 ucnv_MBCSSingleSimpleGetNextUChar(UConverterSharedData *sharedData, 513 #define _MBCS_SINGLE_SIMPLE_GET_NEXT_BMP(sharedData, b) \ 514 (UChar)MBCS_ENTRY_FINAL_VALUE_16((sharedData)->mbcs.stateTable[0][(uint8_t)(b)]) 521 ucnv_MBCSIsLeadByte(UConverterSharedData *sharedData, char byte); 524 #define _MBCS_IS_LEAD_BYTE(sharedData, byte) \ 525 (UBool)MBCS_ENTRY_IS_TRANSITION((sharedData)->mbcs.stateTable[0][(uint8_t)(byte)]) 545 ucnv_MBCSFromUChar32(UConverterSharedData *sharedData, 556 ucnv_MBCSSingleFromUChar32(UConverterSharedData *sharedData, 583 ucnv_MBCSGetUnicodeSetForUnicode(const UConverterSharedData *sharedData, [all...] |
H A D | ucnvmbcs.c | 712 ucnv_MBCSGetFilteredUnicodeSetForUnicode(const UConverterSharedData *sharedData, argument 726 mbcsTable=&sharedData->mbcs; 914 ucnv_extGetUnicodeSet(sharedData, sa, which, filter, pErrorCode); 918 ucnv_MBCSGetUnicodeSetForUnicode(const UConverterSharedData *sharedData, argument 923 sharedData, sa, which, 924 sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 939 ucnv_MBCSGetUnicodeSetForUnicode(cnv->sharedData, sa, which, pErrorCode); 961 _extFromU(UConverter *cnv, const UConverterSharedData *sharedData, argument 972 if( (cx=sharedData->mbcs.extIndexes)!=NULL && 1028 _extToU(UConverter *cnv, const UConverterSharedData *sharedData, argument 1114 _EBCDICSwapLFNL(UConverterSharedData *sharedData, UErrorCode *pErrorCode) argument 1411 ucnv_MBCSLoad(UConverterSharedData *sharedData, UConverterLoadArgs *pArgs, const uint8_t *raw, UErrorCode *pErrorCode) argument 1736 ucnv_MBCSUnload(UConverterSharedData *sharedData) argument 3116 ucnv_MBCSSimpleGetNextUChar(UConverterSharedData *sharedData, const char *source, int32_t length, UBool useFallback) argument 4672 ucnv_MBCSFromUChar32(UConverterSharedData *sharedData, UChar32 c, uint32_t *pValue, UBool useFallback) argument 5498 ucnv_MBCSIsLeadByte(UConverterSharedData *sharedData, char byte) argument [all...] |
H A D | ucnv_imp.h | 120 ucnv_unloadSharedDataIfReady(UConverterSharedData *sharedData); 126 ucnv_incrementRefCount(UConverterSharedData *sharedData);
|
H A D | ucnv.c | 197 if (cnv->sharedData->impl->safeClone != NULL) { 200 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); 275 if (cnv->sharedData->impl->safeClone != NULL) { 277 localConverter = cnv->sharedData->impl->safeClone(cnv, localConverter, pBufferSize, status); 295 if (cnv->sharedData->referenceCounter != ~0) { 296 ucnv_incrementRefCount(cnv->sharedData); 372 if (converter->sharedData->impl->close != NULL) { 373 converter->sharedData->impl->close(converter); 385 if (converter->sharedData->referenceCounter != ~0) { 386 ucnv_unloadSharedDataIfReady(converter->sharedData); [all...] |
H A D | ucnv_bld.cpp | 319 UConverterSharedData *sharedData; local 337 sharedData = ucnv_data_unFlattenClone(pArgs, data, err); 352 UTRACE_EXIT_PTR_STATUS(sharedData, *err); 353 return sharedData; 577 * It must be sharedData->referenceCounter != ~0 581 ucnv_unload(UConverterSharedData *sharedData) { argument 582 if(sharedData != NULL) { 583 if (sharedData->referenceCounter > 0) { 584 sharedData->referenceCounter--; 587 if((sharedData 594 ucnv_unloadSharedDataIfReady(UConverterSharedData *sharedData) argument 609 ucnv_incrementRefCount(UConverterSharedData *sharedData) argument 893 const UConverterSharedData *sharedData; local [all...] |
H A D | ucnv_bld.h | 173 UConverterSharedData *sharedData; /* Pointer to the shared immutable part of the converter object */ member in struct:UConverter 269 * It must be sharedData->referenceCounter != ~0 273 ucnv_unload(UConverterSharedData *sharedData);
|
H A D | ucnv_ext.cpp | 269 ((cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO ? (int8_t)(cnv)->mode : \ 270 (cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 1 : -1) 374 match=ucnv_extMatchToU(cnv->sharedData->mbcs.extIndexes, (int8_t)UCNV_SISO_STATE(cnv), 392 ucnv_extWriteToU(cnv, cnv->sharedData->mbcs.extIndexes, 764 cnv->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY) 867 match=ucnv_extMatchFromU(cnv->sharedData->mbcs.extIndexes, 891 ucnv_extWriteFromU(cnv, cnv->sharedData->mbcs.extIndexes, 972 ucnv_extGetUnicodeSetString(const UConverterSharedData *sharedData, argument 1013 sharedData, cx, sa, which, minLength, 1024 ucnv_extGetUnicodeSet(const UConverterSharedData *sharedData, argument [all...] |
H A D | ucnv_cb.c | 206 if(converter->sharedData->impl->writeSub!=NULL) { 207 converter->sharedData->impl->writeSub(args, offsetIndex, err);
|
H A D | ucnv_cnv.h | 62 typedef void (*UConverterLoad) (UConverterSharedData *sharedData, 65 typedef void (*UConverterUnload) (UConverterSharedData *sharedData);
|
H A D | ucnv2022.cpp | 534 cnv->sharedData=(UConverterSharedData*)(&_ISO2022JPData); 579 cnv->sharedData=(UConverterSharedData*)&_ISO2022KRData; 601 cnv->sharedData=(UConverterSharedData*)&_ISO2022CNData; 625 cnv->sharedData=(UConverterSharedData*)&_ISO2022Data; 634 cnv->maxBytesPerUChar=cnv->sharedData->staticData->maxBytesPerChar; 1097 MBCS_FROM_UCHAR32_ISO2022(UConverterSharedData* sharedData, argument 1115 if(c<0x10000 || (sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY)) { 1116 table=sharedData->mbcs.fromUnicodeTable; 1120 myValue=MBCS_VALUE_2_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); 1127 p=MBCS_POINTER_3_FROM_STAGE_2(sharedData 1168 MBCS_SINGLE_FROM_UCHAR32(UConverterSharedData* sharedData, UChar32 c, uint32_t* retval, UBool useFallback) argument 2349 UConverterSharedData* sharedData; local 2663 UConverterSharedData* sharedData ; local [all...] |