Home | History | Annotate | Download | only in src

Lines Matching refs:sanitize

67   inline bool sanitize (hb_sanitize_context_t *c, void *base) {
70 return TRACE_RETURN (c->check_struct (this) && offset.sanitize (c, base, &closure));
122 inline bool sanitize (hb_sanitize_context_t *c) {
124 return TRACE_RETURN (RecordArrayOf<Type>::sanitize (c, this));
136 inline bool sanitize (hb_sanitize_context_t *c) {
200 inline bool sanitize (hb_sanitize_context_t *c,
203 return TRACE_RETURN (c->check_struct (this) && featureIndex.sanitize (c));
239 inline bool sanitize (hb_sanitize_context_t *c,
242 return TRACE_RETURN (defaultLangSys.sanitize (c, this) && langSys.sanitize (c, this));
262 inline bool sanitize (hb_sanitize_context_t *c) {
373 inline bool sanitize (hb_sanitize_context_t *c) {
405 inline bool sanitize (hb_sanitize_context_t *c) {
408 characters.sanitize (c));
445 inline bool sanitize (hb_sanitize_context_t *c, hb_tag_t tag) {
448 return TRACE_RETURN (u.size.sanitize (c));
450 return TRACE_RETURN (u.stylisticSet.sanitize (c));
452 return TRACE_RETURN (u.characterVariants.sanitize (c));
486 inline bool sanitize (hb_sanitize_context_t *c,
489 if (unlikely (!(c->check_struct (this) && lookupIndex.sanitize (c))))
496 * alternative location. We would know sanitize "failed" if old value
504 if (unlikely (!featureParams.sanitize (c, this, closure ? closure->tag : HB_TAG_NONE)))
522 !featureParams.sanitize (c, this, closure ? closure->tag : HB_TAG_NONE))
596 inline bool sanitize (hb_sanitize_context_t *c) {
598 /* Real sanitize of the subtables is done by GSUB/GPOS/... */
599 if (!(c->check_struct (this) && subTable.sanitize (c))) return TRACE_RETURN (false);
603 if (!markFilteringSet.sanitize (c)) return TRACE_RETURN (false);
652 inline bool sanitize (hb_sanitize_context_t *c) {
654 return TRACE_RETURN (glyphArray.sanitize (c));
738 inline bool sanitize (hb_sanitize_context_t *c) {
740 return TRACE_RETURN (rangeRecord.sanitize (c));
833 inline bool sanitize (hb_sanitize_context_t *c) {
835 if (!u.format.sanitize (c)) return TRACE_RETURN (false);
837 case 1: return TRACE_RETURN (u.format1.sanitize (c));
838 case 2: return TRACE_RETURN (u.format2.sanitize (c));
944 inline bool sanitize (hb_sanitize_context_t *c) {
946 return TRACE_RETURN (c->check_struct (this) && classValue.sanitize (c));
987 inline bool sanitize (hb_sanitize_context_t *c) {
989 return TRACE_RETURN (rangeRecord.sanitize (c));
1028 inline bool sanitize (hb_sanitize_context_t *c) {
1030 if (!u.format.sanitize (c)) return TRACE_RETURN (false);
1032 case 1: return TRACE_RETURN (u.format1.sanitize (c));
1033 case 2: return TRACE_RETURN (u.format2.sanitize (c));
1120 inline bool sanitize (hb_sanitize_context_t *c) {