282 |
#endif |
#endif |
283 |
|
|
284 |
static inline void |
static inline void |
285 |
attribute_always_inline |
__attribute ((always_inline)) |
286 |
re_set_fastmap (char *fastmap, bool icase, int ch) |
re_set_fastmap (char *fastmap, bool icase, int ch) |
287 |
{ |
{ |
288 |
fastmap[ch] = 1; |
fastmap[ch] = 1; |
2718 |
Return the index of the symbol in the SYMB_TABLE. */ |
Return the index of the symbol in the SYMB_TABLE. */ |
2719 |
|
|
2720 |
auto inline int32_t |
auto inline int32_t |
2721 |
attribute_always_inline |
__attribute ((always_inline)) |
2722 |
seek_collating_symbol_entry (const unsigned char *name, size_t name_len) |
seek_collating_symbol_entry (const unsigned char *name, size_t name_len) |
2723 |
{ |
{ |
2724 |
int32_t hash = elem_hash ((const char *) name, name_len); |
int32_t hash = elem_hash ((const char *) name, name_len); |
2749 |
Return the value if succeeded, UINT_MAX otherwise. */ |
Return the value if succeeded, UINT_MAX otherwise. */ |
2750 |
|
|
2751 |
auto inline unsigned int |
auto inline unsigned int |
2752 |
attribute_always_inline |
__attribute ((always_inline)) |
2753 |
lookup_collation_sequence_value (bracket_elem_t *br_elem) |
lookup_collation_sequence_value (bracket_elem_t *br_elem) |
2754 |
{ |
{ |
2755 |
if (br_elem->type == SB_CHAR) |
if (br_elem->type == SB_CHAR) |
2816 |
update it. */ |
update it. */ |
2817 |
|
|
2818 |
auto inline reg_errcode_t |
auto inline reg_errcode_t |
2819 |
attribute_always_inline |
__attribute ((always_inline)) |
2820 |
build_range_exp (bitset sbcset, re_charset_t *mbcset, |
build_range_exp (bitset sbcset, re_charset_t *mbcset, |
2821 |
Idx *range_alloc, |
Idx *range_alloc, |
2822 |
bracket_elem_t *start_elem, bracket_elem_t *end_elem) |
bracket_elem_t *start_elem, bracket_elem_t *end_elem) |
2896 |
pointer argument sinse we may update it. */ |
pointer argument sinse we may update it. */ |
2897 |
|
|
2898 |
auto inline reg_errcode_t |
auto inline reg_errcode_t |
2899 |
attribute_always_inline |
__attribute ((always_inline)) |
2900 |
build_collating_symbol (bitset sbcset, re_charset_t *mbcset, |
build_collating_symbol (bitset sbcset, re_charset_t *mbcset, |
2901 |
Idx *coll_sym_alloc, const unsigned char *name) |
Idx *coll_sym_alloc, const unsigned char *name) |
2902 |
{ |
{ |