Lines Matching refs:table
26 /* Lookup in a table of int32_t, with default value 0. */
29 __collidx_table_lookup (const char *table, uint32_t wc)
31 uint32_t shift1 = ((const uint32_t *) table)[0];
33 uint32_t bound = ((const uint32_t *) table)[1];
36 uint32_t lookup1 = ((const uint32_t *) table)[5 + index1];
39 uint32_t shift2 = ((const uint32_t *) table)[2];
40 uint32_t mask2 = ((const uint32_t *) table)[3];
42 uint32_t lookup2 = ((const uint32_t *)(table + lookup1))[index2];
45 uint32_t mask3 = ((const uint32_t *) table)[4];
47 int32_t lookup3 = ((const int32_t *)(table + lookup2))[index3];
57 /* Lookup in a table of uint32_t, with default value 0xffffffff. */
60 __collseq_table_lookup (const char *table, uint32_t wc)
62 uint32_t shift1 = ((const uint32_t *) table)[0];
64 uint32_t bound = ((const uint32_t *) table)[1];
67 uint32_t lookup1 = ((const uint32_t *) table)[5 + index1];
70 uint32_t shift2 = ((const uint32_t *) table)[2];
71 uint32_t mask2 = ((const uint32_t *) table)[3];
73 uint32_t lookup2 = ((const uint32_t *)(table + lookup1))[index2];
76 uint32_t mask3 = ((const uint32_t *) table)[4];
78 uint32_t lookup3 = ((const uint32_t *)(table + lookup2))[index3];