Home
last modified time | relevance | path

Searched refs:bLen (Results 1 – 7 of 7) sorted by relevance

/external/icu4c/tools/toolutil/
Ducm.c52 for(j=0; j<m->bLen; ++j) { in printMapping()
140 if(l->bLen<=r->bLen) { in compareBytes()
141 length=l->bLen; in compareBytes()
143 length=r->bLen; in compareBytes()
147 result=l->bLen-r->bLen; in compareBytes()
151 length=l->bLen; in compareBytes()
168 return l->bLen-r->bLen; in compareBytes()
352 if(intersectBase && (intersectBase!=2 || mb->bLen>1)) { in checkBaseExtUnicode()
386 if( mb->f==me->f && mb->bLen==me->bLen && in checkBaseExtUnicode()
387 0==uprv_memcmp(UCM_GET_BYTES(base, mb), UCM_GET_BYTES(ext, me), mb->bLen) in checkBaseExtUnicode()
[all …]
Ducm.h56 int8_t uLen, bLen, f, moveFlag; member
114 (((m)->bLen<=4) ? (m)->b.bytes : (t)->bytes+(m)->b.index)
/external/icu4c/tools/makeconv/
Dgencnvex.c368 if(m->bLen>extData->maxInBytes) { in getToUnicodeValue()
369 extData->maxInBytes=m->bLen; in getToUnicodeValue()
375 ratio=(u16Length+(m->bLen-1))/m->bLen; in getToUnicodeValue()
512 if(m->bLen==unitIndex+1) { in generateToUTable()
516 if(subStart<subLimit && mappings[map[subStart]].bLen==unitIndex+1) { in generateToUTable()
608 if(flag==0 || flag==1 || (flag==2 && m->bLen==1)) { in prepareFromUMappings()
654 switch(m->bLen) { in getFromUBytesValue()
667 resultBytes=utm_allocN(extData->fromUBytes, m->bLen); in getFromUBytesValue()
668 uprv_memcpy(resultBytes, bytes, m->bLen); in getFromUBytesValue()
671 value|=(uint32_t)m->bLen<<UCNV_EXT_FROM_U_LENGTH_SHIFT; in getFromUBytesValue()
[all …]
Dgenmbcs.c1016 isOK&=MBCSAddToUnicode(mbcsData, m->b.bytes, m->bLen, c, f); in MBCSAddTable()
1019 isOK&=MBCSSingleAddFromUnicode(mbcsData, m->b.bytes, m->bLen, c, f); in MBCSAddTable()
1020 } else if(MBCSOkForBaseFromUnicode(mbcsData, m->b.bytes, m->bLen, c, f)) { in MBCSAddTable()
1021 isOK&=MBCSAddFromUnicode(mbcsData, m->b.bytes, m->bLen, c, f); in MBCSAddTable()
1031 isOK&=MBCSSingleAddFromUnicode(mbcsData, m->b.bytes, m->bLen, c, f); in MBCSAddTable()
1032 } else if(MBCSOkForBaseFromUnicode(mbcsData, m->b.bytes, m->bLen, c, f)) { in MBCSAddTable()
1034 isOK&=MBCSAddFromUnicode(mbcsData, m->b.bytes, m->bLen, c, f); in MBCSAddTable()
1042 if(maxCharLength>1 && m->bLen==1) { in MBCSAddTable()
1050 isOK&=MBCSAddToUnicode(mbcsData, m->b.bytes, m->bLen, c, f); in MBCSAddTable()
Dmakeconv.c797 … if(!MBCSOkForBaseFromUnicode(mbcsData, m->b.bytes, m->bLen, m->u, m->f)) { in createConverter()
/external/icu4c/samples/legacy/
Dnewcol.cpp27 …Key_current(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, int32_t bLen) { in getSortKey_current() argument
33 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen); in getSortKey_current()
Doldcol.cpp28 …tKey_legacy(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, int32_t bLen) { in getSortKey_legacy() argument
34 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen); in getSortKey_legacy()