Lines Matching defs:table
79 * This requires a utf8Friendly format with an additional mbcsIndex table for fast
87 * All fallbacks have been moved to the extension table, leaving only roundtrips in the
90 * Of the stage 2 table, the part corresponding to maxFastUChar and below is omitted.
93 * stage 1 table which contains the information about how stage 2 was compacted).
95 * The rest of the stage 2 table, the part for code points above maxFastUChar,
114 * - Added an optional extension table structure at the end of the .cnv file.
117 * Files that contain only a conversion table and no base table
119 * These contain the base table name between the MBCS header and the extension
127 * - new bit distribution for state table entries
153 * The data structure begins with a state table consisting of a row
167 * the Unicode code point in a table that follows the state table.
168 * The effect is that the code points for final state table rows
176 * For others, the code point in the Unicode table is stored with either
196 * For other final entries, they are stored in the code units table if
198 * For single-unit results in the code units table, there is no space to
201 * be looked up by the scalar offset value in a separate table.
298 * like in the character properties table.
344 * In version 4.3, a utf8Friendly file contains an mbcsIndex table.
510 /* skip byte sequences with leading zeros because they are not stored in the fromUnicode table */
659 * table, but could also be used for a future ucnv_getUnicodeSet() option
715 const uint16_t *table;
722 /* enumerate the from-Unicode trie table */
724 table=mbcsTable->fromUnicodeTable;
753 st2=table[st1];
755 stage2=table+st2;
799 st2=table[st1];
801 stage2=(const uint32_t *)table+st2;
940 /* conversion extensions for input not in the main table -------------------- */
1078 * This code modifies a standard EBCDIC<->Unicode mapping table for
1092 * This code modifies a loaded standard EBCDIC<->Unicode mapping table
1095 * duplicating the entire installed table.
1114 const uint16_t *table, *results;
1127 table=mbcsTable->fromUnicodeTable;
1132 * Check that this is an EBCDIC table with SBCS portion -
1147 EBCDIC_RT_LF==MBCS_SINGLE_RESULT_FROM_U(table, results, U_LF) &&
1148 EBCDIC_RT_NL==MBCS_SINGLE_RESULT_FROM_U(table, results, U_NL)
1153 stage2Entry=MBCS_STAGE_2_FROM_U(table, U_LF);
1161 stage2Entry=MBCS_STAGE_2_FROM_U(table, U_NL);
1194 * The table has an appropriate format.
1196 * - a modified to-Unicode state table
1210 /* copy and modify the to-Unicode state table */
1217 /* copy and modify the from-Unicode result table */
1221 /* conveniently, the table access macros work on the left side of expressions */
1223 MBCS_SINGLE_RESULT_FROM_U(table, newResults, U_LF)=EBCDIC_RT_NL;
1224 MBCS_SINGLE_RESULT_FROM_U(table, newResults, U_NL)=EBCDIC_RT_LF;
1226 stage2Entry=MBCS_STAGE_2_FROM_U(table, U_LF);
1229 stage2Entry=MBCS_STAGE_2_FROM_U(table, U_NL);
1262 const uint16_t *table;
1268 table=mbcsTable->fromUnicodeTable;
1308 stage2=((uint32_t *)table)+table[c>>10]+((c>>4)&0x3f);
1449 /* extension-only file, load the base table and set values appropriately */
1457 /* an extension table must not be loaded as a base table */
1462 /* load the base table */
1500 /* copy the base table data */
1536 /* get the dbcs state from the state table entry for SO=0x0e */
1552 /* non-stateful base converter, need to modify the state table */
1557 /* allocate a new state table and copy the base state table contents */
1591 * from the sharedData; instead, use the base table's unicodeMask,
1594 * the UCNV_HAS_SUPPLEMENTARY flag, is part of the base table data
1597 /* conversion file with a base table; an additional extension table is optional */
1667 * Build a table with indexes to each block, to be used instead of
1668 * the regular stage 1/2 table.
1679 * The .cnv file is prebuilt with an additional stage table with indexes
3264 const uint16_t *table;
3288 table=cnv->sharedData->mbcs.fromUnicodeTable;
3337 * utf8Friendly table: Test for <=0xd7ff rather than <=MBCS_FAST_MAX
3390 stage2Entry=MBCS_STAGE_2_FROM_U(table, c);
3496 const uint16_t *table;
3514 table=cnv->sharedData->mbcs.fromUnicodeTable;
3595 value=MBCS_SINGLE_RESULT_FROM_U(table, results, c);
3672 const uint16_t *table;
3690 table=cnv->sharedData->mbcs.fromUnicodeTable;
3738 andedValues=value=MBCS_SINGLE_RESULT_FROM_U(table, results, c);
3741 andedValues&=value=MBCS_SINGLE_RESULT_FROM_U(table, results, c);
3744 andedValues&=value=MBCS_SINGLE_RESULT_FROM_U(table, results, c);
3747 andedValues&=value=MBCS_SINGLE_RESULT_FROM_U(table, results, c);
3795 value=MBCS_SINGLE_RESULT_FROM_U(table, results, c);
3929 const uint16_t *table;
3983 table=cnv->sharedData->mbcs.fromUnicodeTable;
4066 * utf8Friendly table: Test for <=0xd7ff rather than <=MBCS_FAST_MAX
4136 /* table with single-byte results, but only DBCS mappings used */
4307 stage2Entry=MBCS_STAGE_2_FROM_U(table, c);
4368 /* table with single-byte results, but only DBCS mappings used */
4673 const uint16_t *table;
4684 table=sharedData->mbcs.fromUnicodeTable;
4688 table, (uint16_t *)sharedData->mbcs.fromUnicodeBytes, c);
4695 stage2Entry=MBCS_STAGE_2_FROM_U(table, c);
4710 /* table with single-byte results, but only DBCS mappings used */
4826 const uint16_t *table;
4835 table=sharedData->mbcs.fromUnicodeTable;
4838 value=MBCS_SINGLE_RESULT_FROM_U(table, (uint16_t *)sharedData->mbcs.fromUnicodeBytes, c);
4867 const uint16_t *table, *sbcsIndex;
4887 table=cnv->sharedData->mbcs.fromUnicodeTable;
4952 * (utf8, source, target, limits but not cnv, table, minValue, etc.).
5064 value=MBCS_SINGLE_RESULT_FROM_U(table, results, c);
5074 value=MBCS_SINGLE_RESULT_FROM_U(table, results, c);
5170 const uint16_t *table, *mbcsIndex;
5191 table=cnv->sharedData->mbcs.fromUnicodeTable;
5348 stage2Entry=MBCS_STAGE_2_FROM_U(table, c);
5358 stage2Entry=MBCS_STAGE_2_FROM_U(table, c);