/[cvs]/ccvs/lib/regcomp.c
ViewVC logotype

Diff of /ccvs/lib/regcomp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by dprice, Tue Sep 20 00:57:08 2005 UTC revision 1.7 by dprice, Tue Sep 20 16:47:52 2005 UTC
# Line 282  weak_alias (__re_compile_fastmap, re_com Line 282  weak_alias (__re_compile_fastmap, re_com
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;
# Line 2718  parse_bracket_exp (re_string_t *regexp, Line 2718  parse_bracket_exp (re_string_t *regexp,
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);
# Line 2749  parse_bracket_exp (re_string_t *regexp, Line 2749  parse_bracket_exp (re_string_t *regexp,
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)
# Line 2816  parse_bracket_exp (re_string_t *regexp, Line 2816  parse_bracket_exp (re_string_t *regexp,
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)
# Line 2896  parse_bracket_exp (re_string_t *regexp, Line 2896  parse_bracket_exp (re_string_t *regexp,
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      {      {

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26