Searched defs:hb_blob_ptr_t (Results 1 – 1 of 1) sorted by relevance
82 struct hb_blob_ptr_t struct86 hb_blob_ptr_t (hb_blob_t *b_ = nullptr) : b (b_) {} in hb_blob_ptr_t() argument87 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()[all …]