/external/harfbuzz_ng/src/ |
D | hb-ot-layout-gsub-table.hh | 78 return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); in would_apply() 86 if (likely (index == NOT_COVERED)) return_trace (false); in apply() 93 return_trace (true); in apply() 101 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 102 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs))) return_trace (false); in serialize() 104 return_trace (true); in serialize() 123 return_trace (from.len); in subset() 129 return_trace (coverage.sanitize (c, this) && deltaGlyphID.sanitize (c)); in sanitize() 179 return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); in would_apply() 186 if (likely (index == NOT_COVERED)) return_trace (false); in apply() [all …]
|
D | hb-ot-layout-gpos-table.hh | 201 …return_trace (c->check_range (values, get_size ()) && (!has_device () || sanitize_value_devices (c… in sanitize_value() 209 if (!c->check_range (values, count, get_size ())) return_trace (false); in sanitize_values() 211 if (!has_device ()) return_trace (true); in sanitize_values() 215 return_trace (false); in sanitize_values() 219 return_trace (true); in sanitize_values() 227 if (!has_device ()) return_trace (true); in sanitize_values_stride_unsafe() 231 return_trace (false); in sanitize_values_stride_unsafe() 235 return_trace (true); in sanitize_values_stride_unsafe() 253 return_trace (c->check_struct (this)); in sanitize() 284 return_trace (c->check_struct (this)); in sanitize() [all …]
|
D | hb-aat-layout-just-table.hh | 51 return_trace (likely (c->check_struct (this))); in sanitize() 68 return_trace (likely (c->check_struct (this))); in sanitize() 97 return_trace (c->check_struct (this)); in sanitize() 115 return_trace (likely (c->check_struct (this))); in sanitize() 140 return_trace (likely (c->check_struct (this))); in sanitize() 166 return_trace (likely (c->check_struct (this))); in sanitize() 187 return_trace (false); in sanitize() 191 case 0: return_trace (u.decompositionAction.sanitize (c)); in sanitize() 192 case 1: return_trace (u.unconditionalAddGlyphAction.sanitize (c)); in sanitize() 193 case 2: return_trace (u.conditionalAddGlyphAction.sanitize (c)); in sanitize() [all …]
|
D | hb-ot-layout-common.hh | 95 return_trace (c->check_struct (this) && offset.sanitize (c, base, &closure)); in sanitize() 143 if (unlikely (!out)) return_trace (false); in subset() 147 return_trace (true); in subset() 153 return_trace (RecordArrayOf<Type>::sanitize (c, this)); in sanitize() 166 return_trace (c->check_struct (this)); in sanitize() 236 return_trace (c->serializer->embed (*this)); in subset() 243 return_trace (c->check_struct (this) && featureIndex.sanitize (c)); in sanitize() 282 if (unlikely (!out)) return_trace (false); in subset() 287 return_trace (true); in subset() 294 return_trace (defaultLangSys.sanitize (c, this) && langSys.sanitize (c, this)); in sanitize() [all …]
|
D | hb-open-type.hh | 83 return_trace (likely (c->check_struct (this))); in sanitize() 137 return_trace (likely (c->check_struct (this))); in sanitize() 227 return_trace (c->check_struct (this)); in sanitize() 290 if (unlikely (!c->check_struct (this))) return_trace (false); in sanitize_shallow() 291 if (unlikely (this->is_null ())) return_trace (true); in sanitize_shallow() 292 if (unlikely (!c->check_range (base, *this))) return_trace (false); in sanitize_shallow() 293 return_trace (true); in sanitize_shallow() 299 return_trace (sanitize_shallow (c, base) && in sanitize() 308 return_trace (sanitize_shallow (c, base) && in sanitize() 317 return_trace (sanitize_shallow (c, base) && in sanitize() [all …]
|
D | hb-aat-layout-common.hh | 60 return_trace (arrayZ.sanitize (c, c->get_num_glyphs ())); in sanitize() 65 return_trace (arrayZ.sanitize (c, c->get_num_glyphs (), base)); in sanitize() 88 return_trace (c->check_struct (this) && value.sanitize (c)); in sanitize() 93 return_trace (c->check_struct (this) && value.sanitize (c, base)); in sanitize() 118 return_trace (segments.sanitize (c)); in sanitize() 123 return_trace (segments.sanitize (c, base)); in sanitize() 152 return_trace (c->check_struct (this) && in sanitize() 160 return_trace (c->check_struct (this) && in sanitize() 189 return_trace (segments.sanitize (c, this)); in sanitize() 194 return_trace (segments.sanitize (c, this, base)); in sanitize() [all …]
|
D | hb-ot-stat-table.hh | 65 return_trace (likely (c->check_struct (this))); in sanitize() 88 return_trace (likely (c->check_struct (this))); in sanitize() 115 return_trace (likely (c->check_struct (this))); in sanitize() 140 return_trace (likely (c->check_struct (this))); in sanitize() 157 return_trace (likely (c->check_struct (this))); in sanitize() 182 return_trace (false); in sanitize() 186 case 1: return_trace (likely (u.format1.sanitize (c))); in sanitize() 187 case 2: return_trace (likely (u.format2.sanitize (c))); in sanitize() 188 case 3: return_trace (likely (u.format3.sanitize (c))); in sanitize() 189 case 4: return_trace (likely (u.format4.sanitize (c))); in sanitize() [all …]
|
D | hb-aat-layout-bsln-table.hh | 45 return_trace (likely (c->check_struct (this))); in sanitize() 63 return_trace (likely (c->check_struct (this) && in sanitize() 81 return_trace (likely (c->check_struct (this))); in sanitize() 104 return_trace (c->check_struct (this) && lookupTable.sanitize (c)); in sanitize() 125 return_trace (false); in sanitize() 129 case 0: return_trace (parts.format0.sanitize (c)); in sanitize() 130 case 1: return_trace (parts.format1.sanitize (c)); in sanitize() 131 case 2: return_trace (parts.format2.sanitize (c)); in sanitize() 132 case 3: return_trace (parts.format3.sanitize (c)); in sanitize() 133 default:return_trace (true); in sanitize()
|
D | hb-ot-cff-common.hh | 88 return_trace (likely ((count.sanitize (c) && count == 0) || /* empty INDEX */ in sanitize() 113 if (unlikely (dest == nullptr)) return_trace (false); in serialize() 115 return_trace (true); in serialize() 126 if (unlikely (dest == nullptr)) return_trace (false); in serialize() 132 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 136 return_trace (false); in serialize() 154 return_trace (false); in serialize() 157 return_trace (true); in serialize() 276 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 280 return_trace (false); in serialize() [all …]
|
D | hb-ot-kern-table.hh | 75 return_trace (true); in apply() 81 return_trace (c->check_struct (this) && in sanitize() 130 case 0: return_trace (c->dispatch (u.format0)); in dispatch() 131 case 1: return_trace (u.header.apple ? c->dispatch (u.format1) : c->default_return_value ()); in dispatch() 132 case 2: return_trace (c->dispatch (u.format2)); in dispatch() 133 case 3: return_trace (u.header.apple ? c->dispatch (u.format3) : c->default_return_value ()); in dispatch() 134 default: return_trace (c->default_return_value ()); in dispatch() 143 !c->check_range (this, u.header.length))) return_trace (false); in sanitize() 145 return_trace (dispatch (c)); in sanitize() 184 return_trace (c->check_struct (this)); in sanitize() [all …]
|
D | hb-open-file.hh | 69 return_trace (c->check_struct (this)); in sanitize() 128 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 133 if (unlikely (!tables.serialize (c, items.len))) return_trace (false); in serialize() 185 return_trace (true); in serialize() 191 return_trace (c->check_struct (this) && tables.sanitize (c)); in sanitize() 217 return_trace (table.sanitize (c, this)); in sanitize() 257 if (unlikely (!u.header.version.sanitize (c))) return_trace (false); in sanitize() 260 case 1: return_trace (u.version1.sanitize (c)); in sanitize() 261 default:return_trace (true); in sanitize() 291 return_trace (c->check_struct (this) && in sanitize() [all …]
|
D | hb-ot-layout-gsubgpos.hh | 783 if (unlikely (count > HB_MAX_CONTEXT_LENGTH)) return_trace (false); in match_input() 830 if (!skippy_iter.next ()) return_trace (false); in match_input() 869 return_trace (false); in match_input() 878 return_trace (false); in match_input() 889 return_trace (true); in match_input() 1001 return_trace (true); in ligate_input() 1019 return_trace (false); in match_backtrack() 1023 return_trace (true); in match_backtrack() 1042 return_trace (false); in match_lookahead() 1046 return_trace (true); in match_lookahead() [all …]
|
D | hb-ot-layout-gdef-table.hh | 78 return_trace (coverage.sanitize (c, this) && attachPoint.sanitize (c, this)); in sanitize() 109 return_trace (c->check_struct (this)); in sanitize() 134 return_trace (c->check_struct (this)); in sanitize() 159 return_trace (c->check_struct (this) && deviceTable.sanitize (c, this)); in sanitize() 191 if (!u.format.sanitize (c)) return_trace (false); in sanitize() 193 case 1: return_trace (u.format1.sanitize (c)); in sanitize() 194 case 2: return_trace (u.format2.sanitize (c)); in sanitize() 195 case 3: return_trace (u.format3.sanitize (c)); in sanitize() 196 default:return_trace (true); in sanitize() 235 return_trace (carets.sanitize (c, this)); in sanitize() [all …]
|
D | hb-ot-math-table.hh | 47 return_trace (c->check_struct (this) && deviceTable.sanitize (c, base)); in sanitize() 69 return_trace (false); in sanitize_math_value_records() 71 return_trace (true); in sanitize_math_value_records() 77 return_trace (c->check_struct (this) && sanitize_math_value_records (c)); in sanitize() 171 return_trace (c->check_struct (this) && in sanitize() 202 return_trace (c->check_struct (this) && in sanitize() 237 if (!mathValueRecordsZ.arrayZ[i].sanitize (c, this)) return_trace (false); in sanitize_math_value_records() 238 return_trace (true); in sanitize_math_value_records() 244 return_trace (c->check_struct (this) && in sanitize() 304 return_trace (false); in sanitize() [all …]
|
D | hb-ot-layout-base-table.hh | 52 return_trace (likely (c->check_struct (this))); in sanitize() 73 return_trace (c->check_struct (this)); in sanitize() 102 return_trace (likely (c->check_struct (this) && in sanitize() 134 if (unlikely (!u.format.sanitize (c))) return_trace (false); in sanitize() 136 case 1: return_trace (u.format1.sanitize (c)); in sanitize() 137 case 2: return_trace (u.format2.sanitize (c)); in sanitize() 138 case 3: return_trace (u.format3.sanitize (c)); in sanitize() 139 default:return_trace (false); in sanitize() 174 return_trace (likely (c->check_struct (this) && in sanitize() 219 return_trace (likely (c->check_struct (this) && in sanitize() [all …]
|
D | hb-ot-cff1-table.hh | 62 return_trace (c->check_struct (this) && codes[nCodes - 1].sanitize (c)); in sanitize() 90 return_trace (c->check_struct (this)); in sanitize() 106 return_trace (c->check_struct (this) && ((nRanges == 0) || (ranges[nRanges - 1]).sanitize (c))); in sanitize() 134 return_trace (c->check_struct (this)); in sanitize() 147 return_trace (c->check_struct (this) && ((nSups == 0) || (supps[nSups - 1]).sanitize (c))); in sanitize() 172 return_trace (false); in sanitize() 175 return_trace (false); in sanitize() 177 return_trace (false); in sanitize() 178 return_trace (((format & 0x80) == 0) || suppEncData ().sanitize (c)); in sanitize() 187 if (unlikely (dest == nullptr)) return_trace (false); in serialize() [all …]
|
D | hb-aat-layout-morx-table.hh | 175 return_trace (dc.ret); in apply() 181 return_trace (machine.sanitize (c)); in sanitize() 323 return_trace (dc.ret); in apply() 331 if (unlikely (!machine.sanitize (c, &num_entries))) return_trace (false); in sanitize() 333 if (!Types::extended) return_trace (true); in sanitize() 348 return_trace (substitutionTables.sanitize (c, this, num_lookups)); in sanitize() 579 return_trace (dc.ret); in apply() 586 return_trace (c->check_struct (this) && machine.sanitize (c) && in sanitize() 625 return_trace (ret); in apply() 631 return_trace (substitute.sanitize (c)); in sanitize() [all …]
|
D | hb-ot-cmap-table.hh | 62 return_trace (c->check_struct (this)); in sanitize() 90 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 109 return_trace (false); in serialize() 120 return_trace (false); in serialize() 127 return_trace (false); in serialize() 148 return_trace (false); in serialize() 154 return_trace (true); in serialize() 345 return_trace (false); in sanitize() 356 return_trace (false); in sanitize() 359 return_trace (16 + 4 * (unsigned int) segCountX2 <= length); in sanitize() [all …]
|
D | hb-ot-hdmx-table.hh | 85 return_trace (false); in serialize() 97 return_trace (false); in serialize() 102 return_trace (true); in serialize() 108 return_trace (likely (c->check_struct (this) && in sanitize() 139 if (unlikely (!c->extend_min ((*this)))) return_trace (false); in serialize() 151 return_trace (false); in serialize() 154 return_trace (true); in serialize() 196 return_trace (c->check_struct (this) && in sanitize()
|
D | hb-ot-os2-table.hh | 50 return_trace (c->check_struct (this)); in sanitize() 65 return_trace (c->check_struct (this)); in sanitize() 83 return_trace (c->check_struct (this)); in sanitize() 224 if (unlikely (!c->check_struct (this))) return_trace (false); in sanitize() 225 if (unlikely (version >= 1 && !v1X.sanitize (c))) return_trace (false); in sanitize() 226 if (unlikely (version >= 2 && !v2X.sanitize (c))) return_trace (false); in sanitize() 227 if (unlikely (version >= 5 && !v5X.sanitize (c))) return_trace (false); in sanitize() 228 return_trace (true); in sanitize()
|
D | hb-aat-layout-kerx-table.hh | 81 return_trace (c->check_struct (this)); in sanitize() 117 return_trace (true); in apply() 137 return_trace (likely (pairs.sanitize (c))); in sanitize() 363 return_trace (true); in apply() 370 return_trace (likely (c->check_struct (this) && in sanitize() 418 return_trace (true); in apply() 437 return_trace (likely (c->check_struct (this) && in sanitize() 610 return_trace (true); in apply() 617 return_trace (likely (c->check_struct (this) && in sanitize() 681 return_trace (true); in apply() [all …]
|
D | hb-ot-color-cbdt-table.hh | 51 return_trace (c->check_struct (this)); in sanitize() 85 return_trace (c->check_struct (this)); in sanitize() 114 return_trace (c->check_struct (this)); in sanitize() 130 return_trace (c->check_struct (this) && in sanitize() 161 if (!u.header.sanitize (c)) return_trace (false); in sanitize() 163 case 1: return_trace (u.format1.sanitize (c, glyph_count)); in sanitize() 164 case 3: return_trace (u.format3.sanitize (c, glyph_count)); in sanitize() 165 default:return_trace (true); in sanitize() 207 return_trace (c->check_struct (this) && in sanitize() 243 return_trace (indexSubtablesZ.sanitize (c, count, this)); in sanitize() [all …]
|
D | hb-ot-var-avar-table.hh | 48 return_trace (c->check_struct (this)); in sanitize() 110 return_trace (false); in sanitize() 117 return_trace (false); in sanitize() 121 return_trace (true); in sanitize()
|
D | hb-ot-maxp-table.hh | 47 return_trace (c->check_struct (this)); in sanitize() 87 return_trace (false); in sanitize() 92 return_trace (v1.sanitize (c)); in sanitize() 94 return_trace (likely (version.major == 0 && version.minor == 0x5000u)); in sanitize()
|
D | hb-subset-cff-common.cc | 155 if (unlikely (p == nullptr)) return_trace (false); in serialize_fdselect_3_4() 163 return_trace (true); in serialize_fdselect_3_4() 181 if (unlikely (p == nullptr)) return_trace (false); in hb_serialize_cff_fdselect() 191 if (unlikely (p == nullptr)) return_trace (false); in hb_serialize_cff_fdselect() 225 return_trace (true); in hb_serialize_cff_fdselect()
|