Home
last modified time | relevance | path

Searched refs:hb_integral_constant (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-meta.hh50 template <typename T, T v> struct hb_integral_constant { static constexpr T value = v; }; argument
51 template <bool b> using hb_bool_constant = hb_integral_constant<bool, b>;
191 template <> struct hb_int_min<char> : hb_integral_constant<char, CHAR_MIN> {};
192 template <> struct hb_int_min<signed char> : hb_integral_constant<signed char, SCHAR_MIN> {};
193 template <> struct hb_int_min<unsigned char> : hb_integral_constant<unsigned char, 0> {};
194 template <> struct hb_int_min<signed short> : hb_integral_constant<signed short, SHRT_MIN> {};
195 template <> struct hb_int_min<unsigned short> : hb_integral_constant<unsigned short, 0> {};
196 template <> struct hb_int_min<signed int> : hb_integral_constant<signed int, INT_MIN> {};
197 template <> struct hb_int_min<unsigned int> : hb_integral_constant<unsigned int, 0> {};
198 template <> struct hb_int_min<signed long> : hb_integral_constant<signed long, LONG_MIN> {};
[all …]
Dhb-null.hh53 struct _hb_null_size : hb_integral_constant<unsigned, sizeof (T)> {};
56 : hb_integral_constant<unsigned,
68 struct _hb_static_size : hb_integral_constant<unsigned, sizeof (T)> {};
70 struct _hb_static_size<T, hb_void_t<decltype (T::min_size)>> : hb_integral_constant<unsigned, T::st…
76 struct _hb_min_size : hb_integral_constant<unsigned, sizeof (T)> {};
78 struct _hb_min_size<T, hb_void_t<decltype (T::min_size)>> : hb_integral_constant<unsigned, T::min_s…