Home
last modified time | relevance | path

Searched refs:subCharLen (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4c/source/tools/makeconv/
Dmakeconv.cpp439 staticData->subCharLen=0; in readHeader()
465 staticData->subCharLen=length; in readHeader()
528 if(staticData->subCharLen==0) { in readHeader()
529 staticData->subCharLen=prototype->subCharLen; in readHeader()
530 if(prototype->subCharLen>0) { in readHeader()
531 uprv_memcpy(staticData->subChar, prototype->subChar, prototype->subCharLen); in readHeader()
658 staticData->subChar, staticData->subCharLen) in createConverter()
751 if(staticData->subCharLen==0) { in createConverter()
753 staticData->subCharLen=baseData.staticData.subCharLen; in createConverter()
781 if(1!=ucm_countChars(baseStates, staticData->subChar, staticData->subCharLen)) { in createConverter()
/external/icu/icu4c/source/common/
Ducnv_bld.h82 int8_t subCharLen; /* +76: 1 */ member
214 int8_t subCharLen; /* length of the codepage specific character sequence */ member
Ducnv.cpp427 if (converter->subCharLen <= 0) { in ucnv_getSubstChars()
433 if (*len < converter->subCharLen) /*not enough space in subChars */ in ucnv_getSubstChars()
439 … uprv_memcpy (mySubChar, converter->subChars, converter->subCharLen); /*fills in the subchars */ in ucnv_getSubstChars()
440 *len = converter->subCharLen; /*store # of bytes copied to buffer */ in ucnv_getSubstChars()
461 converter->subCharLen = len; /*sets the new len */ in ucnv_setSubstChars()
546 cnv->subCharLen = 0; in ucnv_setSubstString()
550 cnv->subCharLen = (int8_t)length8; in ucnv_setSubstString()
552 cnv->subCharLen = (int8_t)-length; in ucnv_setSubstString()
Ducnv_cb.cpp188 length = converter->subCharLen; in ucnv_cbFromUWriteSub()
Ducnv_bld.cpp1010 myUConverter->subCharLen = mySharedConverterData->staticData->subCharLen; in ucnv_createConverterFromSharedData()
1012 …mcpy(myUConverter->subChars, mySharedConverterData->staticData->subChar, myUConverter->subCharLen); in ucnv_createConverterFromSharedData()
Ducnv2022.cpp576 cnv->subCharLen = myConverterData->currentConverter->subCharLen; in _ISO2022Open()
3484 length=cnv->subCharLen; /* assume length==1 for most variants */ in _ISO_2022_WriteSub()
3540 int8_t currentSubCharLen = myConverterData->currentConverter->subCharLen; in _ISO_2022_WriteSub()
3544 myConverterData->currentConverter->subCharLen = (int8_t)length; in _ISO_2022_WriteSub()
3555 myConverterData->currentConverter->subCharLen = currentSubCharLen; in _ISO_2022_WriteSub()
Ducnvscsu.cpp216 cnv->subCharLen=-1; in _SCSUOpen()
Ducnvmbcs.cpp5671 length=cnv->subCharLen; in ucnv_MBCSWriteSub()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterStaticData.java27 byte subCharLen; /* +76: 1 */ field in UConverterStaticData
DCharsetICU.java84 byte subCharLen; /* +76: 1 */ field in CharsetICU
DUConverterDataReader.java456 sd.subCharLen = byteBuffer.get(); in readStaticData()
DCharsetMBCS.java188 subCharLen = sharedData.staticData.subCharLen; in CharsetMBCS()
190 fromUSubstitution = new byte[sharedData.staticData.subCharLen]; in CharsetMBCS()
191 …rraycopy(sharedData.staticData.subChar, 0, fromUSubstitution, 0, sharedData.staticData.subCharLen); in CharsetMBCS()
4699 length = cs.subCharLen; in cbFromUWriteSub()
4751 cs.subCharLen = (byte) replacement.length; in implReplaceWith()