Lines Matching refs:mbcs
724 mbcsTable=&sharedData->mbcs; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
922 sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? in ucnv_MBCSGetUnicodeSetForUnicode()
970 if( (cx=sharedData->mbcs.extIndexes)!=NULL && in _extFromU()
1035 if( (cx=sharedData->mbcs.extIndexes)!=NULL && in _extToU()
1126 mbcsTable=&sharedData->mbcs; in _EBCDICSwapLFNL()
1415 UConverterMBCSTable *mbcsTable=&sharedData->mbcs; in ucnv_MBCSLoad()
1484 baseSharedData->mbcs.baseSharedData!=NULL in ucnv_MBCSLoad()
1502 uprv_memcpy(mbcsTable, &baseSharedData->mbcs, sizeof(UConverterMBCSTable)); in ucnv_MBCSLoad()
1533 if(baseSharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO) { in ucnv_MBCSLoad()
1736 UConverterMBCSTable *mbcsTable=&sharedData->mbcs; in ucnv_MBCSUnload()
1765 mbcsTable=&cnv->sharedData->mbcs; in ucnv_MBCSOpen()
1845 if((cnv->options&UCNV_OPTION_SWAP_LFNL)!=0 && cnv->sharedData->mbcs.swapLFNLName!=NULL) { in ucnv_MBCSGetName()
1846 return cnv->sharedData->mbcs.swapLFNLName; in ucnv_MBCSGetName()
1909 stateTable=(const int32_t (*)[256])cnv->sharedData->mbcs.swapLFNLStateTable; in ucnv_MBCSSingleToUnicodeWithOffsets()
1911 stateTable=cnv->sharedData->mbcs.stateTable; in ucnv_MBCSSingleToUnicodeWithOffsets()
2060 stateTable=(const int32_t (*)[256])cnv->sharedData->mbcs.swapLFNLStateTable; in ucnv_MBCSSingleToBMPWithOffsets()
2062 stateTable=cnv->sharedData->mbcs.stateTable; in ucnv_MBCSSingleToBMPWithOffsets()
2353 if(cnv->sharedData->mbcs.countStates==1) { in ucnv_MBCSToUnicodeWithOffsets()
2354 if(!(cnv->sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY)) { in ucnv_MBCSToUnicodeWithOffsets()
2370 stateTable=(const int32_t (*)[256])cnv->sharedData->mbcs.swapLFNLStateTable; in ucnv_MBCSToUnicodeWithOffsets()
2372 stateTable=cnv->sharedData->mbcs.stateTable; in ucnv_MBCSToUnicodeWithOffsets()
2374 unicodeCodeUnits=cnv->sharedData->mbcs.unicodeCodeUnits; in ucnv_MBCSToUnicodeWithOffsets()
2387 state=cnv->sharedData->mbcs.dbcsOnlyState; in ucnv_MBCSToUnicodeWithOffsets()
2541 …E_FALLBACK(cnv) && (entry=(int32_t)ucnv_MBCSGetFallback(&cnv->sharedData->mbcs, offset))!=0xfffe) { in ucnv_MBCSToUnicodeWithOffsets()
2635 if(cnv->sharedData->mbcs.dbcsOnlyState==0) { in ucnv_MBCSToUnicodeWithOffsets()
2677 UBool isDBCSOnly=(UBool)(cnv->sharedData->mbcs.dbcsOnlyState!=0); in ucnv_MBCSToUnicodeWithOffsets()
2747 stateTable=(const int32_t (*)[256])cnv->sharedData->mbcs.swapLFNLStateTable; in ucnv_MBCSSingleGetNextUChar()
2749 stateTable=cnv->sharedData->mbcs.stateTable; in ucnv_MBCSSingleGetNextUChar()
2841 if(cnv->sharedData->mbcs.unicodeMask&UCNV_HAS_SURROGATES) { in ucnv_MBCSGetNextUChar()
2848 } else if(cnv->sharedData->mbcs.countStates==1) { in ucnv_MBCSGetNextUChar()
2857 stateTable=(const int32_t (*)[256])cnv->sharedData->mbcs.swapLFNLStateTable; in ucnv_MBCSGetNextUChar()
2859 stateTable=cnv->sharedData->mbcs.stateTable; in ucnv_MBCSGetNextUChar()
2861 unicodeCodeUnits=cnv->sharedData->mbcs.unicodeCodeUnits; in ucnv_MBCSGetNextUChar()
2872 state=cnv->sharedData->mbcs.dbcsOnlyState; in ucnv_MBCSGetNextUChar()
2917 …(UCNV_TO_U_USE_FALLBACK(cnv) && (c=ucnv_MBCSGetFallback(&cnv->sharedData->mbcs, offset))!=0xfffe) { in ucnv_MBCSGetNextUChar()
2956 if(cnv->sharedData->mbcs.dbcsOnlyState!=0) { in ucnv_MBCSGetNextUChar()
3014 UBool isDBCSOnly=(UBool)(cnv->sharedData->mbcs.dbcsOnlyState!=0); in ucnv_MBCSGetNextUChar()
3062 entry=sharedData->mbcs.stateTable[0][b];
3140 if(sharedData->mbcs.countStates==1) { in ucnv_MBCSSimpleGetNextUChar()
3150 stateTable=sharedData->mbcs.stateTable; in ucnv_MBCSSimpleGetNextUChar()
3151 unicodeCodeUnits=sharedData->mbcs.unicodeCodeUnits; in ucnv_MBCSSimpleGetNextUChar()
3155 state=sharedData->mbcs.dbcsOnlyState; in ucnv_MBCSSimpleGetNextUChar()
3179 c=ucnv_MBCSGetFallback(&sharedData->mbcs, offset); in ucnv_MBCSSimpleGetNextUChar()
3244 const int32_t *cx=sharedData->mbcs.extIndexes; in ucnv_MBCSSimpleGetNextUChar()
3280 unicodeMask=cnv->sharedData->mbcs.unicodeMask; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3289 table=cnv->sharedData->mbcs.fromUnicodeTable; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3290 mbcsIndex=cnv->sharedData->mbcs.mbcsIndex; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3292 bytes=cnv->sharedData->mbcs.swapLFNLFromUnicodeBytes; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3294 bytes=cnv->sharedData->mbcs.fromUnicodeBytes; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3296 asciiRoundtrips=cnv->sharedData->mbcs.asciiRoundtrips; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3515 table=cnv->sharedData->mbcs.fromUnicodeTable; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3517 results=(uint16_t *)cnv->sharedData->mbcs.swapLFNLFromUnicodeBytes; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3519 results=(uint16_t *)cnv->sharedData->mbcs.fromUnicodeBytes; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3529 hasSupplementary=(UBool)(cnv->sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY); in ucnv_MBCSSingleFromUnicodeWithOffsets()
3691 table=cnv->sharedData->mbcs.fromUnicodeTable; in ucnv_MBCSSingleFromBMPWithOffsets()
3693 results=(uint16_t *)cnv->sharedData->mbcs.swapLFNLFromUnicodeBytes; in ucnv_MBCSSingleFromBMPWithOffsets()
3695 results=(uint16_t *)cnv->sharedData->mbcs.fromUnicodeBytes; in ucnv_MBCSSingleFromBMPWithOffsets()
3697 asciiRoundtrips=cnv->sharedData->mbcs.asciiRoundtrips; in ucnv_MBCSSingleFromBMPWithOffsets()
3963 outputType=cnv->sharedData->mbcs.outputType; in ucnv_MBCSFromUnicodeWithOffsets()
3964 unicodeMask=cnv->sharedData->mbcs.unicodeMask; in ucnv_MBCSFromUnicodeWithOffsets()
3972 } else if(outputType==MBCS_OUTPUT_2 && cnv->sharedData->mbcs.utf8Friendly) { in ucnv_MBCSFromUnicodeWithOffsets()
3984 table=cnv->sharedData->mbcs.fromUnicodeTable; in ucnv_MBCSFromUnicodeWithOffsets()
3985 if(cnv->sharedData->mbcs.utf8Friendly) { in ucnv_MBCSFromUnicodeWithOffsets()
3986 mbcsIndex=cnv->sharedData->mbcs.mbcsIndex; in ucnv_MBCSFromUnicodeWithOffsets()
3991 bytes=cnv->sharedData->mbcs.swapLFNLFromUnicodeBytes; in ucnv_MBCSFromUnicodeWithOffsets()
3993 bytes=cnv->sharedData->mbcs.fromUnicodeBytes; in ucnv_MBCSFromUnicodeWithOffsets()
3995 asciiRoundtrips=cnv->sharedData->mbcs.asciiRoundtrips; in ucnv_MBCSFromUnicodeWithOffsets()
4684 if(c<=0xffff || (sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY)) { in ucnv_MBCSFromUChar32()
4685 table=sharedData->mbcs.fromUnicodeTable; in ucnv_MBCSFromUChar32()
4688 if(sharedData->mbcs.outputType==MBCS_OUTPUT_1) { in ucnv_MBCSFromUChar32()
4689 … value=MBCS_SINGLE_RESULT_FROM_U(table, (uint16_t *)sharedData->mbcs.fromUnicodeBytes, c); in ucnv_MBCSFromUChar32()
4699 switch(sharedData->mbcs.outputType) { in ucnv_MBCSFromUChar32()
4701 value=MBCS_VALUE_2_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in ucnv_MBCSFromUChar32()
4712 value=MBCS_VALUE_2_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in ucnv_MBCSFromUChar32()
4722 p=MBCS_POINTER_3_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in ucnv_MBCSFromUChar32()
4733 value=MBCS_VALUE_4_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in ucnv_MBCSFromUChar32()
4745 value=MBCS_VALUE_2_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in ucnv_MBCSFromUChar32()
4760 p=MBCS_POINTER_3_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in ucnv_MBCSFromUChar32()
4799 cx=sharedData->mbcs.extIndexes; in ucnv_MBCSFromUChar32()
4831 if(c>=0x10000 && !(sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY)) {
4836 table=sharedData->mbcs.fromUnicodeTable;
4839 value=MBCS_SINGLE_RESULT_FROM_U(table, (uint16_t *)sharedData->mbcs.fromUnicodeBytes, c);
4888 table=cnv->sharedData->mbcs.fromUnicodeTable; in ucnv_SBCSFromUTF8()
4889 sbcsIndex=cnv->sharedData->mbcs.sbcsIndex; in ucnv_SBCSFromUTF8()
4891 results=(uint16_t *)cnv->sharedData->mbcs.swapLFNLFromUnicodeBytes; in ucnv_SBCSFromUTF8()
4893 results=(uint16_t *)cnv->sharedData->mbcs.fromUnicodeBytes; in ucnv_SBCSFromUTF8()
4895 asciiRoundtrips=cnv->sharedData->mbcs.asciiRoundtrips; in ucnv_SBCSFromUTF8()
4904 hasSupplementary=(UBool)(cnv->sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY); in ucnv_SBCSFromUTF8()
5192 table=cnv->sharedData->mbcs.fromUnicodeTable; in ucnv_DBCSFromUTF8()
5193 mbcsIndex=cnv->sharedData->mbcs.mbcsIndex; in ucnv_DBCSFromUTF8()
5195 results=(uint16_t *)cnv->sharedData->mbcs.swapLFNLFromUnicodeBytes; in ucnv_DBCSFromUTF8()
5197 results=(uint16_t *)cnv->sharedData->mbcs.fromUnicodeBytes; in ucnv_DBCSFromUTF8()
5199 asciiRoundtrips=cnv->sharedData->mbcs.asciiRoundtrips; in ucnv_DBCSFromUTF8()
5208 hasSupplementary=(UBool)(cnv->sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY); in ucnv_DBCSFromUTF8()
5485 state0=cnv->sharedData->mbcs.stateTable[cnv->sharedData->mbcs.dbcsOnlyState]; in ucnv_MBCSGetStarters()
5498 return (UBool)MBCS_ENTRY_IS_TRANSITION(sharedData->mbcs.stateTable[0][(uint8_t)byte]); in ucnv_MBCSIsLeadByte()
5512 (cnv->sharedData->mbcs.extIndexes!=NULL ? in ucnv_MBCSWriteSub()
5528 if (cnv->sharedData->mbcs.outputType == MBCS_OUTPUT_2_SISO) { in ucnv_MBCSWriteSub()
5564 if(converter->sharedData->mbcs.countStates==1) { in ucnv_MBCSGetType()
5566 } else if((converter->sharedData->mbcs.outputType&0xff)==MBCS_OUTPUT_2_SISO) { in ucnv_MBCSGetType()