/external/harfbuzz_ng/src/ |
D | hb-ot-layout-gsub-table.hh | 79 if (likely (index == NOT_COVERED)) return_trace (false); in apply() 86 return_trace (true); in apply() 96 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 97 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs))) return_trace (false); in serialize() 99 return_trace (true); in serialize() 123 return_trace (ret); in subset() 129 return_trace (coverage.sanitize (c, this) && deltaGlyphID.sanitize (c)); in sanitize() 175 if (likely (index == NOT_COVERED)) return_trace (false); in apply() 177 if (unlikely (index >= substitute.len)) return_trace (false); in apply() 181 return_trace (true); in apply() [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-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-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() 258 return_trace (c->check_struct (this)); in sanitize() 264 return_trace (c->embed<AnchorFormat1> (this)); in copy() [all …]
|
D | hb-ot-cff-common.hh | 104 if (unlikely (dest == nullptr)) return_trace (false); in serialize() 106 return_trace (true); in serialize() 117 if (unlikely (dest == nullptr)) return_trace (false); in serialize() 123 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 127 return_trace (false); in serialize() 145 return_trace (false); in serialize() 149 return_trace (true); in serialize() 219 return_trace (likely ((c->check_struct (this) && count == 0) || /* empty INDEX */ in sanitize() 267 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 271 return_trace (false); in serialize() [all …]
|
D | hb-ot-layout-common.hh | 185 return_trace (c->check_struct (this) && offset.sanitize (c, base, &closure)); in sanitize() 233 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in subset() 252 return_trace (true); in subset() 258 return_trace (RecordArrayOf<Type>::sanitize (c, this)); in sanitize() 271 return_trace (c->check_struct (this)); in sanitize() 340 return_trace (c->embed (*this)); in copy() 347 return_trace (c->check_struct (this) && featureIndex.sanitize (c)); in sanitize() 385 if (!record_list_context->visitScript ()) return_trace (false); in subset() 388 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in subset() 409 return_trace (true); in subset() [all …]
|
D | hb-open-type.hh | 88 return_trace (likely (c->check_struct (this))); in sanitize() 144 return_trace (likely (c->check_struct (this))); in sanitize() 243 return_trace (c->check_struct (this)); in sanitize() 357 if (unlikely (!c->check_struct (this))) return_trace (false); in sanitize_shallow() 358 if (unlikely (this->is_null ())) return_trace (true); in sanitize_shallow() 359 if (unlikely (!c->check_range (base, *this))) return_trace (false); in sanitize_shallow() 360 return_trace (true); in sanitize_shallow() 367 return_trace (sanitize_shallow (c, base) && in sanitize() 442 if (unlikely (!c->extend (*this, items_len))) return_trace (false); in serialize() 443 return_trace (true); in serialize() [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-stat-table.hh | 67 return_trace (likely (c->check_struct (this))); in sanitize() 92 return_trace (likely (c->check_struct (this))); in sanitize() 121 return_trace (likely (c->check_struct (this))); in sanitize() 146 return_trace (likely (c->check_struct (this))); in sanitize() 165 return_trace (likely (c->check_struct (this))); in sanitize() 202 return_trace (false); in sanitize() 206 case 1: return_trace (u.format1.sanitize (c)); in sanitize() 207 case 2: return_trace (u.format2.sanitize (c)); in sanitize() 208 case 3: return_trace (u.format3.sanitize (c)); in sanitize() 209 case 4: return_trace (u.format4.sanitize (c)); in sanitize() [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() 132 …case 1: return_trace (u.header.apple ? c->dispatch (u.format1, hb_forward<Ts> (ds)...) : c->defaul… in dispatch() 134 case 2: return_trace (c->dispatch (u.format2)); in dispatch() 136 …case 3: return_trace (u.header.apple ? c->dispatch (u.format3, hb_forward<Ts> (ds)...) : c->defaul… in dispatch() 138 default: return_trace (c->default_return_value ()); in dispatch() 147 !c->check_range (this, u.header.length))) return_trace (false); in sanitize() 149 return_trace (dispatch (c)); in sanitize() 188 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.length))) return_trace (false); in serialize() 187 return_trace (true); in serialize() 193 return_trace (c->check_struct (this) && tables.sanitize (c)); in sanitize() 219 return_trace (table.sanitize (c, this)); in sanitize() 259 if (unlikely (!u.header.version.sanitize (c))) return_trace (false); in sanitize() 262 case 1: return_trace (u.version1.sanitize (c)); in sanitize() 263 default:return_trace (true); in sanitize() 293 return_trace (c->check_struct (this) && in sanitize() [all …]
|
D | hb-ot-layout-base-table.hh | 49 return_trace (likely (c->check_struct (this))); in sanitize() 70 return_trace (c->check_struct (this)); in sanitize() 99 return_trace (likely (c->check_struct (this) && in sanitize() 133 if (unlikely (!u.format.sanitize (c))) return_trace (false); in sanitize() 135 case 1: return_trace (u.format1.sanitize (c)); in sanitize() 136 case 2: return_trace (u.format2.sanitize (c)); in sanitize() 137 case 3: return_trace (u.format3.sanitize (c)); in sanitize() 138 default:return_trace (false); in sanitize() 168 return_trace (likely (c->check_struct (this) && in sanitize() 208 return_trace (likely (c->check_struct (this) && in sanitize() [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-gsubgpos.hh | 790 if (unlikely (count > HB_MAX_CONTEXT_LENGTH)) return_trace (false); in match_input() 837 if (!skippy_iter.next ()) return_trace (false); in match_input() 876 return_trace (false); in match_input() 885 return_trace (false); in match_input() 896 return_trace (true); in match_input() 1008 return_trace (true); in ligate_input() 1026 return_trace (false); in match_backtrack() 1030 return_trace (true); in match_backtrack() 1049 return_trace (false); in match_lookahead() 1053 return_trace (true); in match_lookahead() [all …]
|
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() 101 if (unlikely (!maxp_prime)) return_trace (false); in subset() 108 if (unlikely (!dest_v1)) return_trace (false); in subset() 114 return_trace (true); in subset()
|
D | hb-ot-cff1-table.hh | 62 return_trace (codes.sanitize (c)); in sanitize() 89 return_trace (c->check_struct (this)); in sanitize() 102 return_trace (ranges.sanitize (c)); in sanitize() 133 return_trace (c->check_struct (this)); in sanitize() 146 return_trace (supps.sanitize (c)); in sanitize() 172 if (unlikely (dest == nullptr)) return_trace (false); in serialize() 174 return_trace (true); in serialize() 186 if (unlikely (dest == nullptr)) return_trace (false); in serialize() 192 if (unlikely (fmt0 == nullptr)) return_trace (false); in serialize() 201 return_trace (false); in serialize() [all …]
|
D | hb-ot-hdmx-table.hh | 55 if (unlikely (!c->extend (*this, length))) return_trace (false); in serialize() 65 return_trace (true); in serialize() 71 return_trace (likely (c->check_struct (this) && in sanitize() 104 if (unlikely (!c->extend_min ((*this)))) return_trace (false); in serialize() 116 return_trace (c->successful); in serialize() 125 if (unlikely (!hdmx_prime)) return_trace (false); in subset() 149 return_trace (true); in subset() 160 return_trace (c->check_struct (this) && in sanitize()
|
D | hb-ot-os2-table.hh | 50 return_trace (c->check_struct (this)); in sanitize() 69 return_trace (c->check_struct (this)); in sanitize() 104 return_trace (c->check_struct (this)); in sanitize() 173 if (unlikely (!os2_prime)) return_trace (false); in subset() 182 return_trace (true); in subset() 248 if (unlikely (!c->check_struct (this))) return_trace (false); in sanitize() 249 if (unlikely (version >= 1 && !v1X.sanitize (c))) return_trace (false); in sanitize() 250 if (unlikely (version >= 2 && !v2X.sanitize (c))) return_trace (false); in sanitize() 251 if (unlikely (version >= 5 && !v5X.sanitize (c))) return_trace (false); in sanitize() 252 return_trace (true); in sanitize()
|
D | hb-ot-name-table.hh | 106 if (unlikely (!out)) return_trace (nullptr); in copy() 108 return_trace (out); in copy() 114 return_trace (c->check_struct (this) && offset.sanitize (c, base, length)); in sanitize() 182 if (unlikely (!c->extend_min ((*this)))) return_trace (false); in serialize() 189 if (unlikely (!c->check_assign (this->stringOffset, c->length ()))) return_trace (false); in serialize() 196 if (unlikely (c->ran_out_of_room)) return_trace (false); in serialize() 200 return_trace (true); in serialize() 208 if (unlikely (!name_prime)) return_trace (false); in subset() 216 return_trace (name_prime->count); in subset() 223 return_trace (nameRecordZ.sanitize (c, count, string_pool)); in sanitize_records() [all …]
|
D | hb-aat-layout-opbd-table.hh | 45 return_trace (likely (c->check_struct (this))); in sanitize() 78 return_trace (likely (c->check_struct (this) && lookupTable.sanitize (c, base))); in sanitize() 115 return_trace (likely (c->check_struct (this) && lookupTable.sanitize (c, base))); in sanitize() 146 return_trace (false); in sanitize() 150 case 0: return_trace (u.format0.sanitize (c, this)); in sanitize() 151 case 1: return_trace (u.format1.sanitize (c, this)); in sanitize() 152 default:return_trace (true); in sanitize()
|
D | hb-aat-layout-morx-table.hh | 173 return_trace (dc.ret); in apply() 179 return_trace (machine.sanitize (c)); in sanitize() 319 return_trace (dc.ret); in apply() 327 if (unlikely (!machine.sanitize (c, &num_entries))) return_trace (false); in sanitize() 330 return_trace (substitutionTables.sanitize (c, this, 0)); in sanitize() 345 return_trace (substitutionTables.sanitize (c, this, num_lookups)); in sanitize() 571 return_trace (dc.ret); in apply() 578 return_trace (c->check_struct (this) && machine.sanitize (c) && in sanitize() 617 return_trace (ret); in apply() 623 return_trace (substitute.sanitize (c)); in sanitize() [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-aat-layout-lcar-table.hh | 66 return_trace (likely (c->check_struct (this) && lookupTable.sanitize (c, base))); in sanitize() 105 return_trace (likely (c->check_struct (this) && lookupTable.sanitize (c, base))); in sanitize() 140 return_trace (false); in sanitize() 143 case 0: return_trace (u.format0.sanitize (c, this)); in sanitize() 144 case 1: return_trace (u.format1.sanitize (c, this)); in sanitize() 145 default: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() 361 return_trace (true); in apply() 368 return_trace (likely (c->check_struct (this) && in sanitize() 416 return_trace (true); in apply() 435 return_trace (likely (c->check_struct (this) && in sanitize() 601 return_trace (true); in apply() 608 return_trace (likely (c->check_struct (this) && in sanitize() 672 return_trace (true); in apply() [all …]
|