Lines Matching refs:hb_array_t
48 struct hb_array_t : hb_iter_with_fallback_t<hb_array_t<Type>, Type&> struct
55 hb_array_t () = default; argument
56 hb_array_t (const hb_array_t&) = default;
57 ~hb_array_t () = default;
58 hb_array_t& operator= (const hb_array_t&) = default;
59 hb_array_t& operator= (hb_array_t&&) = default;
61 constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {} in hb_array_t() argument
63 constexpr hb_array_t (Type (&array_)[length_]) : hb_array_t (array_, length_) {} in hb_array_t() argument
67 constexpr hb_array_t (const hb_array_t<U> &o) : in hb_array_t() argument
68 hb_iter_with_fallback_t<hb_array_t, Type&> (), in hb_array_t()
72 hb_array_t& operator = (const hb_array_t<U> &o) in operator =() argument
131 bool operator != (const hb_array_t& o) const in operator !=() argument
142 operator hb_array_t<const Type> () { return hb_array_t<const Type> (arrayZ, length); } in operator hb_array_t<const Type>() argument
145 HB_INTERNAL bool operator == (const hb_array_t &o) const; argument
165 int cmp (const hb_array_t &a) const in cmp() argument
173 hb_array_t *a = (hb_array_t *) pa; in cmp() argument
174 hb_array_t *b = (hb_array_t *) pb; in cmp()
258 …hb_array_t sub_array (unsigned int start_offset = 0, unsigned int *seg_count = nullptr /* IN/OUT *… in sub_array() argument
270 return hb_array_t (arrayZ + start_offset, count); in sub_array()
272 hb_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const in sub_array() argument
275 hb_array_t truncate (unsigned length) const { return sub_array (0, length); } in truncate() argument
300 hb_array_t copy (hb_serialize_context_t *c) const in copy() argument
304 if (unlikely (!c->extend_size (out, get_size (), false))) return_trace (hb_array_t ()); in copy()
307 return_trace (hb_array_t (out, length)); in copy()
313 hb_array_t copy (hb_serialize_context_t *c) const in copy() argument
317 if (unlikely (!c->extend_size (out, get_size (), false))) return_trace (hb_array_t ()); in copy()
319 return_trace (hb_array_t (out, length)); in copy()
335 template <typename T> inline hb_array_t<T> argument
337 { return hb_array_t<T> (); } in hb_array()
338 template <typename T> inline hb_array_t<T>
340 { return hb_array_t<T> (array, length); } in hb_array()
341 template <typename T, unsigned int length_> inline hb_array_t<T>
343 { return hb_array_t<T> (array_); } in hb_array()
347 hb_array_t<Type>,
362 …constexpr hb_sorted_array_t (Type *array_, unsigned int length_) : hb_array_t<Type> (array_, lengt… in hb_sorted_array_t()
364 constexpr hb_sorted_array_t (Type (&array_)[length_]) : hb_array_t<Type> (array_) {} in hb_sorted_array_t()
368 constexpr hb_sorted_array_t (const hb_array_t<U> &o) : in hb_sorted_array_t()
369 hb_array_t<Type> (o), in hb_sorted_array_t()
373 hb_sorted_array_t& operator = (const hb_array_t<U> &o) in operator =()
374 { hb_array_t<Type> (*this) = o; return *this; } in operator =()
388 …{ return hb_sorted_array_t (((const hb_array_t<Type> *) (this))->sub_array (start_offset, seg_coun… in sub_array()
458 inline bool hb_array_t<T>::operator == (const hb_array_t<T> &o) const in operator ==()
467 inline bool hb_array_t<const char>::operator == (const hb_array_t<const char> &o) const in operator ==()
473 inline bool hb_array_t<const unsigned char>::operator == (const hb_array_t<const unsigned char> &o)… in operator ==()
484 inline uint32_t hb_array_t<const char>::hash () const in hash()
491 inline uint32_t hb_array_t<const unsigned char>::hash () const in hash()
499 typedef hb_array_t<const char> hb_bytes_t;
500 typedef hb_array_t<const unsigned char> hb_ubytes_t;