Lines Matching refs:table

40    The table contains the following uint32_t words:
46 - 1st-level table: s offsets, pointing into the 2nd-level table,
47 - 2nd-level table: k*2^q offsets, pointing into the 3rd-level table,
48 - 3rd-level table: j*2^p words, each containing 32 bits of data.
52 wctype_table_lookup (const char *table, uint32_t wc)
54 uint32_t shift1 = ((const uint32_t *) table)[0];
56 uint32_t bound = ((const uint32_t *) table)[1];
59 uint32_t lookup1 = ((const uint32_t *) table)[5 + index1];
62 uint32_t shift2 = ((const uint32_t *) table)[2];
63 uint32_t mask2 = ((const uint32_t *) table)[3];
65 uint32_t lookup2 = ((const uint32_t *)(table + lookup1))[index2];
68 uint32_t mask3 = ((const uint32_t *) table)[4];
70 uint32_t lookup3 = ((const uint32_t *)(table + lookup2))[index3];
83 wcwidth_table_lookup (const char *table, uint32_t wc)
85 uint32_t shift1 = ((const uint32_t *) table)[0];
87 uint32_t bound = ((const uint32_t *) table)[1];
90 uint32_t lookup1 = ((const uint32_t *) table)[5 + index1];
93 uint32_t shift2 = ((const uint32_t *) table)[2];
94 uint32_t mask2 = ((const uint32_t *) table)[3];
96 uint32_t lookup2 = ((const uint32_t *)(table + lookup1))[index2];
99 uint32_t mask3 = ((const uint32_t *) table)[4];
101 uint8_t lookup3 = ((const uint8_t *)(table + lookup2))[index3];
116 wctrans_table_lookup (const char *table, uint32_t wc)
118 uint32_t shift1 = ((const uint32_t *) table)[0];
120 uint32_t bound = ((const uint32_t *) table)[1];
123 uint32_t lookup1 = ((const uint32_t *) table)[5 + index1];
126 uint32_t shift2 = ((const uint32_t *) table)[2];
127 uint32_t mask2 = ((const uint32_t *) table)[3];
129 uint32_t lookup2 = ((const uint32_t *)(table + lookup1))[index2];
132 uint32_t mask3 = ((const uint32_t *) table)[4];
134 int32_t lookup3 = ((const int32_t *)(table + lookup2))[index3];