Lines Matching defs:hb_blob_ptr_t
82 struct hb_blob_ptr_t struct
86 hb_blob_ptr_t (hb_blob_t *b_ = nullptr) : b (b_) {} in hb_blob_ptr_t() argument
87 hb_blob_t * operator = (hb_blob_t *b_) { return b = b_; } in operator =()
88 const T * operator -> () const { return get (); } in operator ->()
89 const T & operator * () const { return *get (); } in operator *()
90 template <typename C> operator const C * () const { return get (); } in operator const C*()
91 operator const char * () const { return (const char *) get (); } in operator const char*()
92 const T * get () const { return b->as<T> (); } in get()
93 hb_blob_t * get_blob () const { return b.get_raw (); } in get_blob()
94 unsigned int get_length () const { return b.get ()->length; } in get_length()
95 void destroy () { hb_blob_destroy (b.get ()); b = nullptr; } in destroy()
97 hb_nonnull_ptr_t<hb_blob_t> b;