54 |
/* Table of sizes for the fixed-length opcodes. It's defined in a macro so that |
/* Table of sizes for the fixed-length opcodes. It's defined in a macro so that |
55 |
the definition is next to the definition of the opcodes in pcre_internal.h. */ |
the definition is next to the definition of the opcodes in pcre_internal.h. */ |
56 |
|
|
57 |
const uschar _pcre_OP_lengths[] = { OP_LENGTHS }; |
const pcre_uint8 _pcre_OP_lengths[] = { OP_LENGTHS }; |
58 |
|
|
59 |
|
|
60 |
|
|
81 |
/* Table of the number of extra bytes, indexed by the first byte masked with |
/* Table of the number of extra bytes, indexed by the first byte masked with |
82 |
0x3f. The highest number for a valid UTF-8 first byte is in fact 0x3d. */ |
0x3f. The highest number for a valid UTF-8 first byte is in fact 0x3d. */ |
83 |
|
|
84 |
const uschar _pcre_utf8_table4[] = { |
const pcre_uint8 _pcre_utf8_table4[] = { |
85 |
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, |
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, |
86 |
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, |
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, |
87 |
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, |
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, |
88 |
3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5 }; |
3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5 }; |
89 |
|
|
|
#ifdef SUPPORT_JIT |
|
|
/* Full table of the number of extra bytes when the |
|
|
character code is greater or equal than 0xc0. |
|
|
See _pcre_utf8_table4 above. */ |
|
|
|
|
|
const uschar _pcre_utf8_char_sizes[] = { |
|
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, |
|
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, |
|
|
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, |
|
|
3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4, |
|
|
}; |
|
|
#endif |
|
|
|
|
90 |
/* Table to translate from particular type value to the general value. */ |
/* Table to translate from particular type value to the general value. */ |
91 |
|
|
92 |
const int _pcre_ucp_gentype[] = { |
const int _pcre_ucp_gentype[] = { |