Searched defs:ArrayOf (Results 1 – 2 of 2) sorted by relevance
542 struct ArrayOf struct544 typedef Type item_t;545 static constexpr unsigned item_size = hb_static_size (Type);549 const Type& operator [] (int i_) const in operator []()555 Type& operator [] (int i_) in operator []()562 unsigned int get_size () const in get_size()565 explicit operator bool () const { return len; } in operator bool()567 hb_array_t< Type> as_array () { return hb_array (arrayZ, len); } in as_array()568 hb_array_t<const Type> as_array () const { return hb_array (arrayZ, len); } in as_array()571 typedef hb_array_t<const Type> iter_t;[all …]
584 struct ArrayOf struct586 typedef Type item_t;587 static constexpr unsigned item_size = hb_static_size (Type);591 const Type& operator [] (int i_) const in operator []()597 Type& operator [] (int i_) in operator []()604 unsigned int get_size () const in get_size()607 explicit operator bool () const { return len; } in operator bool()609 void pop () { len--; } in pop()611 hb_array_t< Type> as_array () { return hb_array (arrayZ, len); } in as_array()612 hb_array_t<const Type> as_array () const { return hb_array (arrayZ, len); } in as_array()[all …]