Print this page
9083 replace regex implementation with tre


  51         int32_t         lc_flags;
  52         int32_t         lc_chain_count;
  53         int32_t         lc_large_count;
  54         int32_t         lc_subst_count[COLL_WEIGHTS_MAX];
  55         int32_t         lc_undef_pri[COLL_WEIGHTS_MAX];
  56 
  57         collate_info_t  *lc_info;
  58         collate_char_t  *lc_char_table;
  59         collate_large_t *lc_large_table;
  60         collate_chain_t *lc_chain_table;
  61         collate_subst_t *lc_subst_table[COLL_WEIGHTS_MAX];
  62 };
  63 
  64 void    _collate_lookup(const struct lc_collate *, const wchar_t *,
  65     int *, int *, int, const int **);
  66 size_t  _collate_wxfrm(const struct lc_collate *, const wchar_t *,
  67     wchar_t *, size_t);
  68 size_t  _collate_sxfrm(const wchar_t *, char *, size_t, locale_t);
  69 int     _collate_range_cmp(wchar_t, wchar_t, locale_t);
  70 


  71 #endif /* !_COLLATE_H_ */


  51         int32_t         lc_flags;
  52         int32_t         lc_chain_count;
  53         int32_t         lc_large_count;
  54         int32_t         lc_subst_count[COLL_WEIGHTS_MAX];
  55         int32_t         lc_undef_pri[COLL_WEIGHTS_MAX];
  56 
  57         collate_info_t  *lc_info;
  58         collate_char_t  *lc_char_table;
  59         collate_large_t *lc_large_table;
  60         collate_chain_t *lc_chain_table;
  61         collate_subst_t *lc_subst_table[COLL_WEIGHTS_MAX];
  62 };
  63 
  64 void    _collate_lookup(const struct lc_collate *, const wchar_t *,
  65     int *, int *, int, const int **);
  66 size_t  _collate_wxfrm(const struct lc_collate *, const wchar_t *,
  67     wchar_t *, size_t);
  68 size_t  _collate_sxfrm(const wchar_t *, char *, size_t, locale_t);
  69 int     _collate_range_cmp(wchar_t, wchar_t, locale_t);
  70 
  71 int     __collate_equiv_value(locale_t, const wchar_t *, size_t);
  72 
  73 #endif /* !_COLLATE_H_ */