Home
last modified time | relevance | path

Searched refs:stage3 (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/tools/makeconv/
Dgencnvex.c60 …uint16_t stage3[0x10000<<UCNV_EXT_STAGE_2_LEFT_SHIFT]; /* 0x10000 because of 16-bit stage 2/3 inde… member
199 extData->stage3[extData->stage3Top++]=0; in CnvExtWrite()
234 udata_writeBlock(pData, extData->stage3, extData->stage3Top*2); in CnvExtWrite()
264 if(extData->stage3[i]!=0) { in CnvExtWrite()
265 printf("stage3[%04x]=%04x\n", i, extData->stage3[i]); in CnvExtWrite()
865 while(min<newBlock && extData->stage3[newBlock-1]==0) { in addFromUTrieEntry()
874 if(extData->stage3Top>LENGTHOF(extData->stage3)) { in addFromUTrieEntry()
888 extData->stage3[i3]=1; in addFromUTrieEntry()
901 min<i3 && extData->stage3[min]==1; in addFromUTrieEntry()
910 uprv_memset(extData->stage3+extData->stage3Top, 0, MBCS_STAGE_3_BLOCK_SIZE*2); in addFromUTrieEntry()
[all …]
Dgenmbcs.cpp561 uint16_t *stage3, *p; in MBCSSingleAddFromUnicode() local
579 stage3=(uint16_t *)mbcsData->fromUBytes; in MBCSSingleAddFromUnicode()
628 while(min<newBlock && stage3[newBlock-1]==0) { in MBCSSingleAddFromUnicode()
648 p=stage3+mbcsData->stage2Single[idx]+nextOffset; in MBCSSingleAddFromUnicode()
681 uint8_t *stage3, *p; in MBCSAddFromUnicode() local
710 stage3=mbcsData->fromUBytes; in MBCSAddFromUnicode()
768 overlap<maxOverlap && stage3[newBlock-overlap-1]==0; in MBCSAddFromUnicode()
845 p=stage3+(stage3Index+nextOffset)*maxCharLength; in MBCSAddFromUnicode()
1220 uint16_t *stage3=(uint16_t *)mbcsData->fromUBytes; in singleCompactStage3() local
1235 for(i=0; i<16 && stage3[start+i]==0 && stage3[prevEnd-i]==0; ++i) {} in singleCompactStage3()
[all …]
/external/chromium_org/third_party/icu/source/tools/makeconv/
Dgencnvex.c60 …uint16_t stage3[0x10000<<UCNV_EXT_STAGE_2_LEFT_SHIFT]; /* 0x10000 because of 16-bit stage 2/3 inde… member
199 extData->stage3[extData->stage3Top++]=0; in CnvExtWrite()
234 udata_writeBlock(pData, extData->stage3, extData->stage3Top*2); in CnvExtWrite()
264 if(extData->stage3[i]!=0) { in CnvExtWrite()
265 printf("stage3[%04x]=%04x\n", i, extData->stage3[i]); in CnvExtWrite()
865 while(min<newBlock && extData->stage3[newBlock-1]==0) { in addFromUTrieEntry()
874 if(extData->stage3Top>LENGTHOF(extData->stage3)) { in addFromUTrieEntry()
888 extData->stage3[i3]=1; in addFromUTrieEntry()
901 min<i3 && extData->stage3[min]==1; in addFromUTrieEntry()
910 uprv_memset(extData->stage3+extData->stage3Top, 0, MBCS_STAGE_3_BLOCK_SIZE*2); in addFromUTrieEntry()
[all …]
Dgenmbcs.cpp561 uint16_t *stage3, *p; in MBCSSingleAddFromUnicode() local
579 stage3=(uint16_t *)mbcsData->fromUBytes; in MBCSSingleAddFromUnicode()
628 while(min<newBlock && stage3[newBlock-1]==0) { in MBCSSingleAddFromUnicode()
648 p=stage3+mbcsData->stage2Single[idx]+nextOffset; in MBCSSingleAddFromUnicode()
681 uint8_t *stage3, *p; in MBCSAddFromUnicode() local
710 stage3=mbcsData->fromUBytes; in MBCSAddFromUnicode()
768 overlap<maxOverlap && stage3[newBlock-overlap-1]==0; in MBCSAddFromUnicode()
845 p=stage3+(stage3Index+nextOffset)*maxCharLength; in MBCSAddFromUnicode()
1220 uint16_t *stage3=(uint16_t *)mbcsData->fromUBytes; in singleCompactStage3() local
1235 for(i=0; i<16 && stage3[start+i]==0 && stage3[prevEnd-i]==0; ++i) {} in singleCompactStage3()
[all …]
/external/icu/icu4c/source/common/
Ducnv_ext.h446 #define UCNV_EXT_FROM_U(stage12, stage3, s1Index, c) \ argument
447 …(stage3)[ ((int32_t)(stage12)[ (stage12)[s1Index] +(((c)>>4)&0x3f) ]<<UCNV_EXT_STAGE_2_LEFT_SHIFT)…
Ducnv_ext.cpp534 const uint16_t *stage12, *stage3; in ucnv_extMatchFromU() local
555 stage3=UCNV_EXT_ARRAY(cx, UCNV_EXT_FROM_U_STAGE_3_INDEX, uint16_t); in ucnv_extMatchFromU()
556 idx=UCNV_EXT_FROM_U(stage12, stage3, idx, firstCP); in ucnv_extMatchFromU()
1030 const uint16_t *stage12, *stage3, *ps2, *ps3; in ucnv_extGetUnicodeSet() local
1046 stage3=UCNV_EXT_ARRAY(cx, UCNV_EXT_FROM_U_STAGE_3_INDEX, uint16_t); in ucnv_extGetUnicodeSet()
1076 ps3=stage3+st3; in ucnv_extGetUnicodeSet()
Ducnvmbcs.c737 const uint16_t *stage2, *stage3, *results; in ucnv_MBCSGetFilteredUnicodeSetForUnicode() local
762 stage3=results+st3; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
765 if(*stage3++>=minValue) { in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
779 const uint8_t *stage3, *bytes; in ucnv_MBCSGetFilteredUnicodeSetForUnicode() local
808 stage3=bytes+st3Multiplier*16*(uint32_t)(uint16_t)st3; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
823 stage3+=st3Multiplier; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
828 b|=*stage3++; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
830 b|=*stage3++; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
832 b|=stage3[0]|stage3[1]; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
833 stage3+=2; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
[all …]
/external/chromium_org/third_party/icu/source/common/
Ducnv_ext.h446 #define UCNV_EXT_FROM_U(stage12, stage3, s1Index, c) \ argument
447 …(stage3)[ ((int32_t)(stage12)[ (stage12)[s1Index] +(((c)>>4)&0x3f) ]<<UCNV_EXT_STAGE_2_LEFT_SHIFT)…
Ducnv_ext.cpp534 const uint16_t *stage12, *stage3; in ucnv_extMatchFromU() local
555 stage3=UCNV_EXT_ARRAY(cx, UCNV_EXT_FROM_U_STAGE_3_INDEX, uint16_t); in ucnv_extMatchFromU()
556 idx=UCNV_EXT_FROM_U(stage12, stage3, idx, firstCP); in ucnv_extMatchFromU()
1030 const uint16_t *stage12, *stage3, *ps2, *ps3; in ucnv_extGetUnicodeSet() local
1046 stage3=UCNV_EXT_ARRAY(cx, UCNV_EXT_FROM_U_STAGE_3_INDEX, uint16_t); in ucnv_extGetUnicodeSet()
1076 ps3=stage3+st3; in ucnv_extGetUnicodeSet()
Ducnvmbcs.c737 const uint16_t *stage2, *stage3, *results; in ucnv_MBCSGetFilteredUnicodeSetForUnicode() local
762 stage3=results+st3; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
765 if(*stage3++>=minValue) { in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
779 const uint8_t *stage3, *bytes; in ucnv_MBCSGetFilteredUnicodeSetForUnicode() local
808 stage3=bytes+st3Multiplier*16*(uint32_t)(uint16_t)st3; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
823 stage3+=st3Multiplier; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
828 b|=*stage3++; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
830 b|=*stage3++; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
832 b|=stage3[0]|stage3[1]; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
833 stage3+=2; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
[all …]