• Home
  • Raw
  • Download

Lines Matching refs:mbcs

867     mbcsTable=&sharedData->mbcs;  in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
1068 sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? in ucnv_MBCSGetUnicodeSetForUnicode()
1116 if( (cx=sharedData->mbcs.extIndexes)!=NULL && in _extFromU()
1181 if( (cx=sharedData->mbcs.extIndexes)!=NULL && in _extToU()
1272 mbcsTable=&sharedData->mbcs; in _EBCDICSwapLFNL()
1560 UConverterMBCSTable *mbcsTable=&sharedData->mbcs; in ucnv_MBCSLoad()
1629 baseSharedData->mbcs.baseSharedData!=NULL in ucnv_MBCSLoad()
1647 uprv_memcpy(mbcsTable, &baseSharedData->mbcs, sizeof(UConverterMBCSTable)); in ucnv_MBCSLoad()
1678 if(baseSharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO) { in ucnv_MBCSLoad()
1881 UConverterMBCSTable *mbcsTable=&sharedData->mbcs; in ucnv_MBCSUnload()
1910 mbcsTable=&cnv->sharedData->mbcs; 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()
2058 stateTable=(const int32_t (*)[256])cnv->sharedData->mbcs.swapLFNLStateTable; in ucnv_MBCSSingleToUnicodeWithOffsets()
2060 stateTable=cnv->sharedData->mbcs.stateTable; 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()
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 …E_FALLBACK(cnv) && (entry=(int32_t)ucnv_MBCSGetFallback(&cnv->sharedData->mbcs, offset))!=0xfffe) { 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()
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 …(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()
3211 entry=sharedData->mbcs.stateTable[0][b];
3289 if(sharedData->mbcs.countStates==1) { 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()
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()
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()
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()
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()
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()
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()
5634 state0=cnv->sharedData->mbcs.stateTable[cnv->sharedData->mbcs.dbcsOnlyState]; in ucnv_MBCSGetStarters()
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()