Searched defs:hb_blob_ptr_t (Results 1 – 1 of 1) sorted by relevance
78 struct hb_blob_ptr_t struct82 hb_blob_ptr_t (hb_blob_t *b_ = nullptr) : b (b_) {} in hb_blob_ptr_t() argument83 hb_blob_t * operator = (hb_blob_t *b_) { return b = b_; } in operator =()84 const T * operator -> () const { return get (); } in operator ->()85 const T & operator * () const { return *get (); } in operator *()86 template <typename C> operator const C * () const { return get (); } in operator const C*()87 operator const char * () const { return (const char *) get (); } in operator const char*()88 const T * get () const { return b->as<T> (); } in get()89 hb_blob_t * get_blob () const { return b.get_raw (); } in get_blob()90 unsigned int get_length () const { return b.get ()->length; } in get_length()[all …]