/external/harfbuzz_ng/src/ |
D | hb-ot-layout-gsub-table.hh | 70 return TRACE_RETURN (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); in would_apply() 78 if (likely (index == NOT_COVERED)) return TRACE_RETURN (false); in apply() 85 return TRACE_RETURN (true); in apply() 94 if (unlikely (!c->extend_min (*this))) return TRACE_RETURN (false); in serialize() 95 …ely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return TRACE_RETURN (false); in serialize() 97 return TRACE_RETURN (true); in serialize() 102 return TRACE_RETURN (coverage.sanitize (c, this) && deltaGlyphID.sanitize (c)); in sanitize() 146 return TRACE_RETURN (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); in would_apply() 154 if (likely (index == NOT_COVERED)) return TRACE_RETURN (false); in apply() 156 if (unlikely (index >= substitute.len)) return TRACE_RETURN (false); in apply() [all …]
|
D | hb-ot-layout-gpos-table.hh | 182 …return TRACE_RETURN (c->check_range (values, get_size ()) && (!has_device () || sanitize_value_dev… in sanitize_value() 189 if (!c->check_array (values, get_size (), count)) return TRACE_RETURN (false); in sanitize_values() 191 if (!has_device ()) return TRACE_RETURN (true); in sanitize_values() 195 return TRACE_RETURN (false); in sanitize_values() 199 return TRACE_RETURN (true); in sanitize_values() 206 if (!has_device ()) return TRACE_RETURN (true); in sanitize_values_stride_unsafe() 210 return TRACE_RETURN (false); in sanitize_values_stride_unsafe() 214 return TRACE_RETURN (true); in sanitize_values_stride_unsafe() 230 return TRACE_RETURN (c->check_struct (this)); in sanitize() 259 return TRACE_RETURN (c->check_struct (this)); in sanitize() [all …]
|
D | hb-ot-layout-common-private.hh | 71 return TRACE_RETURN (c->check_struct (this) && offset.sanitize (c, base, &closure)); in sanitize() 126 return TRACE_RETURN (RecordArrayOf<Type>::sanitize (c, this)); in sanitize() 139 return TRACE_RETURN (c->check_struct (this)); in sanitize() 204 return TRACE_RETURN (c->check_struct (this) && featureIndex.sanitize (c)); in sanitize() 243 return TRACE_RETURN (defaultLangSys.sanitize (c, this) && langSys.sanitize (c, this)); in sanitize() 265 if (unlikely (!c->check_struct (this))) return TRACE_RETURN (false); in sanitize() 317 return TRACE_RETURN (false); in sanitize() 322 return TRACE_RETURN (true); in sanitize() 327 return TRACE_RETURN (false); in sanitize() 329 return TRACE_RETURN (true); in sanitize() [all …]
|
D | hb-ot-cmap-table.hh | 56 return TRACE_RETURN (c->check_struct (this)); in sanitize() 132 return TRACE_RETURN (false); in sanitize() 143 return TRACE_RETURN (false); in sanitize() 146 return TRACE_RETURN (16 + 4 * (unsigned int) segCountX2 <= length); in sanitize() 188 return TRACE_RETURN (c->check_struct (this)); in sanitize() 215 return TRACE_RETURN (c->check_struct (this) && glyphIdArray.sanitize (c)); in sanitize() 247 return TRACE_RETURN (c->check_struct (this) && groups.sanitize (c)); in sanitize() 293 return TRACE_RETURN (c->check_struct (this)); in sanitize() 314 return TRACE_RETURN (c->check_struct (this)); in sanitize() 353 return TRACE_RETURN (c->check_struct (this) && in sanitize() [all …]
|
D | hb-ot-layout-gsubgpos-private.hh | 740 if (unlikely (count > MAX_CONTEXT_LENGTH)) TRACE_RETURN (false); in match_input() 746 if (skippy_iter.has_no_chance ()) return TRACE_RETURN (false); in match_input() 777 if (!skippy_iter.next ()) return TRACE_RETURN (false); in match_input() 789 return TRACE_RETURN (false); in match_input() 795 return TRACE_RETURN (false); in match_input() 810 return TRACE_RETURN (true); in match_input() 902 TRACE_RETURN (true); in ligate_input() 915 if (skippy_iter.has_no_chance ()) return TRACE_RETURN (false); in match_backtrack() 919 return TRACE_RETURN (false); in match_backtrack() 921 return TRACE_RETURN (true); in match_backtrack() [all …]
|
D | hb-ot-layout-gdef-table.hh | 76 return TRACE_RETURN (coverage.sanitize (c, this) && attachPoint.sanitize (c, this)); in sanitize() 106 return TRACE_RETURN (c->check_struct (this)); in sanitize() 132 return TRACE_RETURN (c->check_struct (this)); in sanitize() 155 return TRACE_RETURN (c->check_struct (this) && deviceTable.sanitize (c, this)); in sanitize() 183 if (!u.format.sanitize (c)) return TRACE_RETURN (false); in sanitize() 185 case 1: return TRACE_RETURN (u.format1.sanitize (c)); in sanitize() 186 case 2: return TRACE_RETURN (u.format2.sanitize (c)); in sanitize() 187 case 3: return TRACE_RETURN (u.format3.sanitize (c)); in sanitize() 188 default:return TRACE_RETURN (true); in sanitize() 224 return TRACE_RETURN (carets.sanitize (c, this)); in sanitize() [all …]
|
D | hb-open-file-private.hh | 58 return TRACE_RETURN (c->check_struct (this)); in sanitize() 107 …return TRACE_RETURN (c->check_struct (this) && c->check_array (tables, TableRecord::static_size, n… in sanitize() 135 return TRACE_RETURN (table.sanitize (c, this)); in sanitize() 174 if (unlikely (!u.header.version.sanitize (c))) return TRACE_RETURN (false); in sanitize() 177 case 1: return TRACE_RETURN (u.version1.sanitize (c)); in sanitize() 178 default:return TRACE_RETURN (true); in sanitize() 238 if (unlikely (!u.tag.sanitize (c))) return TRACE_RETURN (false); in sanitize() 243 case TrueTypeTag: return TRACE_RETURN (u.fontFace.sanitize (c)); in sanitize() 244 case TTCTag: return TRACE_RETURN (u.ttcHeader.sanitize (c)); in sanitize() 245 default: return TRACE_RETURN (true); in sanitize()
|
D | hb-open-type-private.hh | 624 return TRACE_RETURN (likely (c->check_struct (this))); in sanitize() 651 return TRACE_RETURN (likely (c->check_struct (this))); in sanitize() 724 return TRACE_RETURN (c->check_struct (this)); in sanitize() 759 if (unlikely (!c->check_struct (this))) return TRACE_RETURN (false); in sanitize() 761 if (unlikely (!offset)) return TRACE_RETURN (true); in sanitize() 763 return TRACE_RETURN (likely (obj.sanitize (c)) || neuter (c)); in sanitize() 768 if (unlikely (!c->check_struct (this))) return TRACE_RETURN (false); in sanitize() 770 if (unlikely (!offset)) return TRACE_RETURN (true); in sanitize() 772 return TRACE_RETURN (likely (obj.sanitize (c, user_data)) || neuter (c)); in sanitize() 823 if (unlikely (!c->extend_min (*this))) return TRACE_RETURN (false); in serialize() [all …]
|
D | hb-ot-name-table.hh | 62 …return TRACE_RETURN (c->check_struct (this) && c->check_range ((char *) base, (unsigned int) lengt… in sanitize() 109 if (!nameRecord[i].sanitize (c, string_pool)) return TRACE_RETURN (false); in sanitize_records() 110 return TRACE_RETURN (true); in sanitize_records() 115 return TRACE_RETURN (c->check_struct (this) && in sanitize()
|
D | hb-ot-layout-jstf-table.hh | 59 return TRACE_RETURN (c->check_struct (this) && in sanitize() 128 return TRACE_RETURN (OffsetListOf<JstfPriority>::sanitize (c)); in sanitize() 168 return TRACE_RETURN (extenderGlyphs.sanitize (c, this) && in sanitize() 211 return TRACE_RETURN (version.sanitize (c) && likely (version.major == 1) && in sanitize()
|
D | hb-ot-maxp-table.hh | 52 return TRACE_RETURN (c->check_struct (this) && in sanitize()
|
D | hb-ot-hmtx-table.hh | 64 return TRACE_RETURN (true); in sanitize()
|
D | hb-ot-head-table.hh | 56 return TRACE_RETURN (c->check_struct (this) && likely (version.major == 1)); in sanitize()
|
D | hb-ot-hhea-table.hh | 54 return TRACE_RETURN (c->check_struct (this) && likely (version.major == 1)); in sanitize()
|
D | hb-private.hh | 807 #define TRACE_RETURN(RET) trace.ret (RET, __LINE__) macro
|