Searched refs:sbcsIndex (Results 1 - 2 of 2) sorted by relevance
/external/icu4c/common/ |
H A D | ucnvmbcs.h | 86 * SBCS files do not contain an additional sbcsIndex[] array because the 92 * implementation sets it to U+1FFF. Because the sbcsIndex is not stored in 98 * The initial runtime implementation using 4.3 files only builds an sbcsIndex 296 /* single-byte fromUnicode using the sbcsIndex */ 299 /* single-byte fromUTF8 using the sbcsIndex; l and t must be masked externally; can be l=0 and t<=0x7f */ 378 uint16_t sbcsIndex[SBCS_FAST_LIMIT>>6]; /* for fast conversion from low BMP to SBCS (utf8Friendly data) */ member in struct:UConverterMBCSTable
|
H A D | ucnvmbcs.c | 318 * In version 4.3, the runtime code can build an sbcsIndex for a utf8Friendly 1602 mbcsTable->sbcsIndex[i]=mbcsTable->fromUnicodeTable[mbcsTable->fromUnicodeTable[i>>4]+((i<<2)&0x3c)]; 1604 /* set SBCS_FAST_MAX to reflect the reach of sbcsIndex[] even if header->version[2]>(SBCS_FAST_MAX>>8) */ 3578 * It would be possible to use the sbcsIndex for UTF-8-friendly tables, 4745 const uint16_t *table, *sbcsIndex; local 4766 sbcsIndex=cnv->sharedData->mbcs.sbcsIndex; 4855 value=SBCS_RESULT_FROM_UTF8(sbcsIndex, results, 0, c); 4865 value=SBCS_RESULT_FROM_UTF8(sbcsIndex, results, c, t1); 4883 value=SBCS_RESULT_FROM_UTF8(sbcsIndex, result [all...] |
Completed in 57 milliseconds