Lines Matching defs:hb_sanitize_context_t
226 struct hb_sanitize_context_t : struct
229 hb_sanitize_context_t () : in hb_sanitize_context_t() argument
238 const char *get_name () { return "SANITIZE"; } in get_name()
240 bool may_dispatch (const T *obj HB_UNUSED, const F *format) in may_dispatch()
243 return_t dispatch (const T &obj) { return obj.sanitize (this); } in dispatch()
244 static return_t default_return_value () { return true; } in default_return_value()
245 static return_t no_dispatch_return_value () { return false; } in no_dispatch_return_value()
246 bool stop_sublookup_iteration (const return_t r) const { return !r; } in stop_sublookup_iteration()
248 void init (hb_blob_t *b) in init()
254 void set_num_glyphs (unsigned int num_glyphs_) in set_num_glyphs()
259 unsigned int get_num_glyphs () { return num_glyphs; } in get_num_glyphs()
261 void set_max_ops (int max_ops_) { max_ops = max_ops_; } in set_max_ops()
264 void set_object (const T *obj) in set_object()
283 void reset_object () in reset_object()
290 void start_processing () in start_processing()
304 void end_processing () in end_processing()
315 bool check_range (const void *base, in check_range()
334 bool check_range (const T *base, in check_range()
343 bool check_range (const T *base, in check_range()
353 bool check_array (const T *base, unsigned int len) const in check_array()
359 bool check_array (const T *base, in check_array()
367 bool check_struct (const Type *obj) const in check_struct()
370 bool may_edit (const void *base, unsigned int len) in may_edit()
389 bool try_set (const Type *obj, const ValueType &v) in try_set()
400 hb_blob_t *sanitize_blob (hb_blob_t *blob) in sanitize_blob()
488 hb_sanitize_with_object_t (hb_sanitize_context_t *c, in hb_sanitize_with_object_t() argument