• Home
  • Raw
  • Download

Lines Matching refs:sharedData

382 ucnv_MBCSLoad(UConverterSharedData *sharedData,
388 ucnv_MBCSUnload(UConverterSharedData *sharedData);
853 ucnv_MBCSGetFilteredUnicodeSetForUnicode(const UConverterSharedData *sharedData, in ucnv_MBCSGetFilteredUnicodeSetForUnicode() argument
867 mbcsTable=&sharedData->mbcs; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
1058 ucnv_extGetUnicodeSet(sharedData, sa, which, filter, pErrorCode); in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
1062 ucnv_MBCSGetUnicodeSetForUnicode(const UConverterSharedData *sharedData, in ucnv_MBCSGetUnicodeSetForUnicode() argument
1067 sharedData, sa, which, in ucnv_MBCSGetUnicodeSetForUnicode()
1068 sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? in ucnv_MBCSGetUnicodeSetForUnicode()
1083 ucnv_MBCSGetUnicodeSetForUnicode(cnv->sharedData, sa, which, pErrorCode); in ucnv_MBCSGetUnicodeSet()
1105 _extFromU(UConverter *cnv, const UConverterSharedData *sharedData, in _extFromU() argument
1116 if( (cx=sharedData->mbcs.extIndexes)!=NULL && in _extFromU()
1172 _extToU(UConverter *cnv, const UConverterSharedData *sharedData, in _extToU() argument
1181 if( (cx=sharedData->mbcs.extIndexes)!=NULL && in _extToU()
1258 _EBCDICSwapLFNL(UConverterSharedData *sharedData, UErrorCode *pErrorCode) { in _EBCDICSwapLFNL() argument
1272 mbcsTable=&sharedData->mbcs; in _EBCDICSwapLFNL()
1382 uprv_strcpy(name, sharedData->staticData->name); in _EBCDICSwapLFNL()
1555 ucnv_MBCSLoad(UConverterSharedData *sharedData, in ucnv_MBCSLoad() argument
1560 UConverterMBCSTable *mbcsTable=&sharedData->mbcs; in ucnv_MBCSLoad()
1610 if(0==uprv_strcmp(baseName, sharedData->staticData->name)) { in ucnv_MBCSLoad()
1674 if( sharedData->staticData->conversionType==UCNV_DBCS || in ucnv_MBCSLoad()
1675 (sharedData->staticData->conversionType==UCNV_MBCS && in ucnv_MBCSLoad()
1676 sharedData->staticData->minBytesPerChar>=2) in ucnv_MBCSLoad()
1784 udata_getInfo((UDataMemory *)sharedData->dataMemory, &info); in ucnv_MBCSLoad()
1787 mbcsTable->unicodeMask=(uint8_t)(sharedData->staticData->unicodeMask&3); in ucnv_MBCSLoad()
1862 sharedData->impl=&_SBCSUTF8Impl; in ucnv_MBCSLoad()
1865 sharedData->impl=&_DBCSUTF8Impl; in ucnv_MBCSLoad()
1880 ucnv_MBCSUnload(UConverterSharedData *sharedData) { in ucnv_MBCSUnload() argument
1881 UConverterMBCSTable *mbcsTable=&sharedData->mbcs; in ucnv_MBCSUnload()
1910 mbcsTable=&cnv->sharedData->mbcs; in ucnv_MBCSOpen()
1927 if(!_EBCDICSwapLFNL(cnv->sharedData, pErrorCode)) { in ucnv_MBCSOpen()
1992 if((cnv->options&UCNV_OPTION_SWAP_LFNL)!=0 && cnv->sharedData->mbcs.swapLFNLName!=NULL) { in ucnv_MBCSGetName()
1993 return cnv->sharedData->mbcs.swapLFNLName; in ucnv_MBCSGetName()
1995 return cnv->sharedData->staticData->name; in ucnv_MBCSGetName()
2058 stateTable=(const int32_t (*)[256])cnv->sharedData->mbcs.swapLFNLStateTable; in ucnv_MBCSSingleToUnicodeWithOffsets()
2060 stateTable=cnv->sharedData->mbcs.stateTable; in ucnv_MBCSSingleToUnicodeWithOffsets()
2157 cnv->toULength=_extToU(cnv, cnv->sharedData, in ucnv_MBCSSingleToUnicodeWithOffsets()
2209 stateTable=(const int32_t (*)[256])cnv->sharedData->mbcs.swapLFNLStateTable; in ucnv_MBCSSingleToBMPWithOffsets()
2211 stateTable=cnv->sharedData->mbcs.stateTable; in ucnv_MBCSSingleToBMPWithOffsets()
2358 cnv->toULength=_extToU(cnv, cnv->sharedData, in ucnv_MBCSSingleToBMPWithOffsets()
2502 if(cnv->sharedData->mbcs.countStates==1) { in ucnv_MBCSToUnicodeWithOffsets()
2503 if(!(cnv->sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY)) { in ucnv_MBCSToUnicodeWithOffsets()
2519 stateTable=(const int32_t (*)[256])cnv->sharedData->mbcs.swapLFNLStateTable; in ucnv_MBCSToUnicodeWithOffsets()
2521 stateTable=cnv->sharedData->mbcs.stateTable; in ucnv_MBCSToUnicodeWithOffsets()
2523 unicodeCodeUnits=cnv->sharedData->mbcs.unicodeCodeUnits; in ucnv_MBCSToUnicodeWithOffsets()
2536 state=cnv->sharedData->mbcs.dbcsOnlyState; in ucnv_MBCSToUnicodeWithOffsets()
2690 …V_TO_U_USE_FALLBACK(cnv) && (entry=(int32_t)ucnv_MBCSGetFallback(&cnv->sharedData->mbcs, offset))!… in ucnv_MBCSToUnicodeWithOffsets()
2784 if(cnv->sharedData->mbcs.dbcsOnlyState==0) { in ucnv_MBCSToUnicodeWithOffsets()
2826 UBool isDBCSOnly=(UBool)(cnv->sharedData->mbcs.dbcsOnlyState!=0); in ucnv_MBCSToUnicodeWithOffsets()
2851 byteIndex=_extToU(cnv, cnv->sharedData, in ucnv_MBCSToUnicodeWithOffsets()
2896 stateTable=(const int32_t (*)[256])cnv->sharedData->mbcs.swapLFNLStateTable; in ucnv_MBCSSingleGetNextUChar()
2898 stateTable=cnv->sharedData->mbcs.stateTable; in ucnv_MBCSSingleGetNextUChar()
2990 if(cnv->sharedData->mbcs.unicodeMask&UCNV_HAS_SURROGATES) { in ucnv_MBCSGetNextUChar()
2997 } else if(cnv->sharedData->mbcs.countStates==1) { in ucnv_MBCSGetNextUChar()
3006 stateTable=(const int32_t (*)[256])cnv->sharedData->mbcs.swapLFNLStateTable; in ucnv_MBCSGetNextUChar()
3008 stateTable=cnv->sharedData->mbcs.stateTable; in ucnv_MBCSGetNextUChar()
3010 unicodeCodeUnits=cnv->sharedData->mbcs.unicodeCodeUnits; in ucnv_MBCSGetNextUChar()
3021 state=cnv->sharedData->mbcs.dbcsOnlyState; in ucnv_MBCSGetNextUChar()
3066 …if(UCNV_TO_U_USE_FALLBACK(cnv) && (c=ucnv_MBCSGetFallback(&cnv->sharedData->mbcs, offset))!=0xfffe… in ucnv_MBCSGetNextUChar()
3105 if(cnv->sharedData->mbcs.dbcsOnlyState!=0) { in ucnv_MBCSGetNextUChar()
3163 UBool isDBCSOnly=(UBool)(cnv->sharedData->mbcs.dbcsOnlyState!=0); in ucnv_MBCSGetNextUChar()
3206 ucnv_MBCSSingleSimpleGetNextUChar(UConverterSharedData *sharedData,
3211 entry=sharedData->mbcs.stateTable[0][b];
3264 ucnv_MBCSSimpleGetNextUChar(UConverterSharedData *sharedData, in ucnv_MBCSSimpleGetNextUChar() argument
3289 if(sharedData->mbcs.countStates==1) { in ucnv_MBCSSimpleGetNextUChar()
3291 return ucnv_MBCSSingleSimpleGetNextUChar(sharedData, (uint8_t)*source, useFallback); in ucnv_MBCSSimpleGetNextUChar()
3299 stateTable=sharedData->mbcs.stateTable; in ucnv_MBCSSimpleGetNextUChar()
3300 unicodeCodeUnits=sharedData->mbcs.unicodeCodeUnits; in ucnv_MBCSSimpleGetNextUChar()
3304 state=sharedData->mbcs.dbcsOnlyState; in ucnv_MBCSSimpleGetNextUChar()
3328 c=ucnv_MBCSGetFallback(&sharedData->mbcs, offset); in ucnv_MBCSSimpleGetNextUChar()
3393 const int32_t *cx=sharedData->mbcs.extIndexes; in ucnv_MBCSSimpleGetNextUChar()
3429 unicodeMask=cnv->sharedData->mbcs.unicodeMask; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3438 table=cnv->sharedData->mbcs.fromUnicodeTable; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3439 mbcsIndex=cnv->sharedData->mbcs.mbcsIndex; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3441 bytes=cnv->sharedData->mbcs.swapLFNLFromUnicodeBytes; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3443 bytes=cnv->sharedData->mbcs.fromUnicodeBytes; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3445 asciiRoundtrips=cnv->sharedData->mbcs.asciiRoundtrips; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3559 c=_extFromU(cnv, cnv->sharedData, in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3664 table=cnv->sharedData->mbcs.fromUnicodeTable; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3666 results=(uint16_t *)cnv->sharedData->mbcs.swapLFNLFromUnicodeBytes; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3668 results=(uint16_t *)cnv->sharedData->mbcs.fromUnicodeBytes; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3678 hasSupplementary=(UBool)(cnv->sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY); in ucnv_MBCSSingleFromUnicodeWithOffsets()
3765 c=_extFromU(cnv, cnv->sharedData, in ucnv_MBCSSingleFromUnicodeWithOffsets()
3840 table=cnv->sharedData->mbcs.fromUnicodeTable; in ucnv_MBCSSingleFromBMPWithOffsets()
3842 results=(uint16_t *)cnv->sharedData->mbcs.swapLFNLFromUnicodeBytes; in ucnv_MBCSSingleFromBMPWithOffsets()
3844 results=(uint16_t *)cnv->sharedData->mbcs.fromUnicodeBytes; in ucnv_MBCSSingleFromBMPWithOffsets()
3846 asciiRoundtrips=cnv->sharedData->mbcs.asciiRoundtrips; in ucnv_MBCSSingleFromBMPWithOffsets()
4010 c=_extFromU(cnv, cnv->sharedData, in ucnv_MBCSSingleFromBMPWithOffsets()
4113 outputType=cnv->sharedData->mbcs.outputType; in ucnv_MBCSFromUnicodeWithOffsets()
4114 unicodeMask=cnv->sharedData->mbcs.unicodeMask; in ucnv_MBCSFromUnicodeWithOffsets()
4122 } else if(outputType==MBCS_OUTPUT_2 && cnv->sharedData->mbcs.utf8Friendly) { in ucnv_MBCSFromUnicodeWithOffsets()
4134 table=cnv->sharedData->mbcs.fromUnicodeTable; in ucnv_MBCSFromUnicodeWithOffsets()
4135 if(cnv->sharedData->mbcs.utf8Friendly) { in ucnv_MBCSFromUnicodeWithOffsets()
4136 mbcsIndex=cnv->sharedData->mbcs.mbcsIndex; in ucnv_MBCSFromUnicodeWithOffsets()
4141 bytes=cnv->sharedData->mbcs.swapLFNLFromUnicodeBytes; in ucnv_MBCSFromUnicodeWithOffsets()
4143 bytes=cnv->sharedData->mbcs.fromUnicodeBytes; in ucnv_MBCSFromUnicodeWithOffsets()
4145 asciiRoundtrips=cnv->sharedData->mbcs.asciiRoundtrips; in ucnv_MBCSFromUnicodeWithOffsets()
4612 c=_extFromU(cnv, cnv->sharedData, in ucnv_MBCSFromUnicodeWithOffsets()
4834 ucnv_MBCSFromUChar32(UConverterSharedData *sharedData, in ucnv_MBCSFromUChar32() argument
4848 if(c<=0xffff || (sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY)) { in ucnv_MBCSFromUChar32()
4849 table=sharedData->mbcs.fromUnicodeTable; in ucnv_MBCSFromUChar32()
4852 if(sharedData->mbcs.outputType==MBCS_OUTPUT_1) { in ucnv_MBCSFromUChar32()
4853 … value=MBCS_SINGLE_RESULT_FROM_U(table, (uint16_t *)sharedData->mbcs.fromUnicodeBytes, c); in ucnv_MBCSFromUChar32()
4863 switch(sharedData->mbcs.outputType) { in ucnv_MBCSFromUChar32()
4865 value=MBCS_VALUE_2_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in ucnv_MBCSFromUChar32()
4876 value=MBCS_VALUE_2_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in ucnv_MBCSFromUChar32()
4886 p=MBCS_POINTER_3_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in ucnv_MBCSFromUChar32()
4897 value=MBCS_VALUE_4_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in ucnv_MBCSFromUChar32()
4909 value=MBCS_VALUE_2_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in ucnv_MBCSFromUChar32()
4924 p=MBCS_POINTER_3_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in ucnv_MBCSFromUChar32()
4963 cx=sharedData->mbcs.extIndexes; in ucnv_MBCSFromUChar32()
4988 ucnv_MBCSSingleFromUChar32(UConverterSharedData *sharedData,
4995 if(c>=0x10000 && !(sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY)) {
5000 table=sharedData->mbcs.fromUnicodeTable;
5003 value=MBCS_SINGLE_RESULT_FROM_U(table, (uint16_t *)sharedData->mbcs.fromUnicodeBytes, c);
5048 table=cnv->sharedData->mbcs.fromUnicodeTable; in ucnv_SBCSFromUTF8()
5049 sbcsIndex=cnv->sharedData->mbcs.sbcsIndex; in ucnv_SBCSFromUTF8()
5051 results=(uint16_t *)cnv->sharedData->mbcs.swapLFNLFromUnicodeBytes; in ucnv_SBCSFromUTF8()
5053 results=(uint16_t *)cnv->sharedData->mbcs.fromUnicodeBytes; in ucnv_SBCSFromUTF8()
5055 asciiRoundtrips=cnv->sharedData->mbcs.asciiRoundtrips; in ucnv_SBCSFromUTF8()
5064 hasSupplementary=(UBool)(cnv->sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY); in ucnv_SBCSFromUTF8()
5262 c=_extFromU(cnv, cnv->sharedData, in ucnv_SBCSFromUTF8()
5351 table=cnv->sharedData->mbcs.fromUnicodeTable; in ucnv_DBCSFromUTF8()
5352 mbcsIndex=cnv->sharedData->mbcs.mbcsIndex; in ucnv_DBCSFromUTF8()
5354 results=(uint16_t *)cnv->sharedData->mbcs.swapLFNLFromUnicodeBytes; in ucnv_DBCSFromUTF8()
5356 results=(uint16_t *)cnv->sharedData->mbcs.fromUnicodeBytes; in ucnv_DBCSFromUTF8()
5358 asciiRoundtrips=cnv->sharedData->mbcs.asciiRoundtrips; in ucnv_DBCSFromUTF8()
5360 hasSupplementary=(UBool)(cnv->sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY); in ucnv_DBCSFromUTF8()
5565 c=_extFromU(cnv, cnv->sharedData, in ucnv_DBCSFromUTF8()
5634 state0=cnv->sharedData->mbcs.stateTable[cnv->sharedData->mbcs.dbcsOnlyState]; in ucnv_MBCSGetStarters()
5646 ucnv_MBCSIsLeadByte(UConverterSharedData *sharedData, char byte) { in ucnv_MBCSIsLeadByte() argument
5647 return (UBool)MBCS_ENTRY_IS_TRANSITION(sharedData->mbcs.stateTable[0][(uint8_t)byte]); in ucnv_MBCSIsLeadByte()
5661 (cnv->sharedData->mbcs.extIndexes!=NULL ? in ucnv_MBCSWriteSub()
5677 if (cnv->sharedData->mbcs.outputType == MBCS_OUTPUT_2_SISO) { in ucnv_MBCSWriteSub()
5713 if(converter->sharedData->mbcs.countStates==1) { in ucnv_MBCSGetType()
5715 } else if((converter->sharedData->mbcs.outputType&0xff)==MBCS_OUTPUT_2_SISO) { in ucnv_MBCSGetType()
5717 …} else if(converter->sharedData->staticData->minBytesPerChar==2 && converter->sharedData->staticDa… in ucnv_MBCSGetType()