/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-color-colr-table.hh | 121 return_trace (c->check_struct (this)); in sanitize() 148 return_trace (likely (c->check_struct (this))); in sanitize() 170 return_trace (c->embed (this)); in copy() 179 if (!value.subset (c)) return_trace (false); in subset() 180 return_trace (c->serializer->embed (varIdxBase)); in subset() 186 return_trace (c->check_struct (this) && value.sanitize (c)); in sanitize() 202 return_trace (c->embed (this)); in copy() 211 return_trace (value.subset (c)); in subset() 217 return_trace (c->check_struct (this) && value.sanitize (c)); in sanitize() 236 if (unlikely (!out)) return_trace (false); in subset() [all …]
|
D | hb-ot-layout-gsub-table.hh | 86 if (likely (index == NOT_COVERED)) return_trace (false); in apply() 93 return_trace (true); in apply() 103 if (unlikely (!c->extend_min (this))) return_trace (false); in serialize() 104 if (unlikely (!coverage.serialize_serialize (c, glyphs))) return_trace (false); in serialize() 106 return_trace (true); in serialize() 130 return_trace (ret); in subset() 136 return_trace (coverage.sanitize (c, this) && deltaGlyphID.sanitize (c)); in sanitize() 188 if (likely (index == NOT_COVERED)) return_trace (false); in apply() 190 if (unlikely (index >= substitute.len)) return_trace (false); in apply() 194 return_trace (true); in apply() [all …]
|
D | hb-ot-math-table.hh | 48 if (unlikely (!out)) return_trace (nullptr); in copy() 51 return_trace (out); in copy() 57 return_trace (c->check_struct (this) && deviceTable.sanitize (c, base)); in sanitize() 76 if (unlikely (!out)) return_trace (nullptr); in copy() 79 if (unlikely (!p)) return_trace (nullptr); in copy() 83 if (unlikely (!m)) return_trace (nullptr); in copy() 89 return_trace (nullptr); in copy() 91 if (!c->embed (radicalDegreeBottomRaisePercent)) return_trace (nullptr); in copy() 92 return_trace (out); in copy() 102 return_trace (false); in sanitize_math_value_records() [all …]
|
D | hb-ot-var-common.hh | 43 if (unlikely (!out)) return_trace (nullptr); in copy() 47 if (unlikely (!p)) return_trace (nullptr); in copy() 50 return_trace (out); in copy() 62 return_trace (false); in serialize() 63 if (unlikely (!c->extend_min (this))) return_trace (false); in serialize() 68 if (unlikely (!p)) return_trace (false); in serialize() 82 return_trace (true); in serialize() 121 return_trace (c->check_struct (this) && in sanitize() 148 if (unlikely (!out)) return_trace (nullptr); in copy() 152 if (unlikely (!p)) return_trace (nullptr); in copy() [all …]
|
D | hb-aat-layout-common.hh | 63 return_trace (arrayZ.sanitize (c, c->get_num_glyphs ())); in sanitize() 68 return_trace (arrayZ.sanitize (c, c->get_num_glyphs (), base)); in sanitize() 91 return_trace (c->check_struct (this) && value.sanitize (c)); in sanitize() 96 return_trace (c->check_struct (this) && value.sanitize (c, base)); in sanitize() 121 return_trace (segments.sanitize (c)); in sanitize() 126 return_trace (segments.sanitize (c, base)); in sanitize() 155 return_trace (c->check_struct (this) && in sanitize() 163 return_trace (c->check_struct (this) && in sanitize() 192 return_trace (segments.sanitize (c, this)); in sanitize() 197 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-gdef-table.hh | 51 if (unlikely (!out)) return_trace (false); in subset() 53 return_trace (out->serialize (c->serializer, + iter ())); in subset() 91 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in subset() 102 return_trace (bool (new_coverage)); in subset() 108 return_trace (coverage.sanitize (c, this) && attachPoint.sanitize (c, this)); in sanitize() 133 if (unlikely (!out)) return_trace (false); in subset() 134 return_trace (true); in subset() 146 return_trace (c->check_struct (this)); in sanitize() 163 if (unlikely (!out)) return_trace (false); in subset() 164 return_trace (true); in subset() [all …]
|
D | hb-ot-layout-common.hh | 411 if (unlikely (!out)) return_trace (false); in subset() 413 return_trace (ret); in subset() 420 return_trace (c->check_struct (this) && offset.sanitize (c, base, &closure)); in sanitize() 470 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in subset() 475 return_trace (true); in subset() 481 return_trace (RecordArrayOf<Type>::sanitize (c, this)); in sanitize() 494 if (unlikely (!out || !c->serializer->extend_min (out))) return_trace (false); in subset() 502 return_trace (true); in subset() 514 if (unlikely (!out || !c->serializer->extend_min (out))) return_trace (false); in subset() 526 return_trace (true); in subset() [all …]
|
D | hb-ot-color-cbdt-table.hh | 80 return_trace (c->check_struct (this)); in sanitize() 114 return_trace (c->check_struct (this)); in sanitize() 143 return_trace (c->check_struct (this)); in sanitize() 159 return_trace (c->check_struct (this) && in sanitize() 184 return_trace ((bool) o); in add_offset() 202 if (!u.header.sanitize (c)) return_trace (false); in sanitize() 205 case 1: return_trace (u.format1.sanitize (c, glyph_count)); in sanitize() 206 case 3: return_trace (u.format3.sanitize (c, glyph_count)); in sanitize() 207 default:return_trace (true); in sanitize() 222 case 1: return_trace (u.format1.add_offset (c, local_offset, size)); in finish_subtable() [all …]
|
D | hb-ot-layout-gpos-table.hh | 320 …return_trace (c->check_range (values, get_size ()) && (!has_device () || sanitize_value_devices (c… in sanitize_value() 328 if (!c->check_range (values, count, get_size ())) return_trace (false); in sanitize_values() 330 if (!has_device ()) return_trace (true); in sanitize_values() 334 return_trace (false); in sanitize_values() 338 return_trace (true); in sanitize_values() 346 if (!has_device ()) return_trace (true); in sanitize_values_stride_unsafe() 350 return_trace (false); in sanitize_values_stride_unsafe() 354 return_trace (true); in sanitize_values_stride_unsafe() 387 return_trace (c->check_struct (this)); in sanitize() 394 if (!out) return_trace (out); in copy() [all …]
|
D | hb-ot-cff-common.hh | 102 return_trace (out); in copy() 110 if (unlikely (!dest)) return_trace (false); in serialize() 112 return_trace (true); in serialize() 123 if (unlikely (!dest)) return_trace (false); in serialize() 129 if (unlikely (!c->extend_min (this))) return_trace (false); in serialize() 133 return_trace (false); in serialize() 150 if (unlikely (!dest)) return_trace (false); in serialize() 154 return_trace (true); in serialize() 180 if (unlikely (!dest)) return_trace (false); in serialize() 189 return_trace (true); in serialize() [all …]
|
D | hb-open-type.hh | 107 return_trace (likely (c->check_struct (this))); in sanitize() 172 return_trace (likely (c->check_struct (this))); in sanitize() 271 return_trace (c->check_struct (this)); in sanitize() 401 if (unlikely (!c->check_struct (this))) return_trace (false); in sanitize_shallow() 402 if (unlikely (this->is_null ())) return_trace (true); in sanitize_shallow() 403 … if (unlikely ((const char *) base + (unsigned) *this < (const char *) base)) return_trace (false); in sanitize_shallow() 404 return_trace (true); in sanitize_shallow() 411 return_trace (sanitize_shallow (c, base) && in sanitize() 491 if (unlikely (!c->extend (this, items_len))) return_trace (false); in serialize() 492 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 (likely (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-open-file.hh | 68 return_trace (c->check_struct (this)); in sanitize() 129 if (unlikely (!c->extend_min (this))) return_trace (false); in serialize() 135 if (unlikely (!tables.serialize (c, num_items))) return_trace (false); in serialize() 158 return_trace (false); in serialize() 197 return_trace (true); in serialize() 203 return_trace (c->check_struct (this) && tables.sanitize (c)); in sanitize() 229 return_trace (table.sanitize (c, this)); in sanitize() 269 if (unlikely (!u.header.version.sanitize (c))) return_trace (false); in sanitize() 272 case 1: return_trace (u.version1.sanitize (c)); in sanitize() 273 default:return_trace (true); in sanitize() [all …]
|
D | hb-ot-kern-table.hh | 75 return_trace (true); in apply() 81 return_trace (c->check_struct (this) && in sanitize() 135 case 0: return_trace (c->dispatch (u.format0)); in dispatch() 137 …case 1: return_trace (u.header.apple ? c->dispatch (u.format1, std::forward<Ts> (ds)...) : c->defa… in dispatch() 139 case 2: return_trace (c->dispatch (u.format2)); in dispatch() 141 …case 3: return_trace (u.header.apple ? c->dispatch (u.format3, std::forward<Ts> (ds)...) : c->defa… in dispatch() 143 default: return_trace (c->default_return_value ()); in dispatch() 152 !c->check_range (this, u.header.length))) return_trace (false); in sanitize() 154 return_trace (dispatch (c)); in sanitize() 193 return_trace (c->check_struct (this)); in sanitize() [all …]
|
D | hb-ot-color-cpal-table.hh | 84 if (unlikely (!out)) return_trace (false); in serialize() 106 return_trace (false); in serialize() 111 return_trace (true); in serialize() 120 return_trace (c->check_struct (this) && in sanitize() 212 if (!c->copy<HBUINT16> (new_idx)) return_trace (false); in serialize() 221 return_trace (false); in serialize() 225 return_trace (true); in serialize() 232 if (color_index_map->is_empty ()) return_trace (false); in subset() 240 if (retained_color_indices.is_empty ()) return_trace (false); in subset() 243 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in subset() [all …]
|
D | hb-ot-stat-table.hh | 70 return_trace (likely (c->check_struct (this))); in sanitize() 98 return_trace (likely (c->check_struct (this))); in sanitize() 130 return_trace (likely (c->check_struct (this))); in sanitize() 158 return_trace (likely (c->check_struct (this))); in sanitize() 180 return_trace (likely (c->check_struct (this))); in sanitize() 241 return_trace (false); in sanitize() 245 case 1: return_trace (u.format1.sanitize (c)); in sanitize() 246 case 2: return_trace (u.format2.sanitize (c)); in sanitize() 247 case 3: return_trace (u.format3.sanitize (c)); in sanitize() 248 case 4: return_trace (u.format4.sanitize (c)); 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-color-sbix-table.hh | 51 if (unlikely (!new_glyph)) return_trace (nullptr); in copy() 52 if (unlikely (!c->extend_min (new_glyph))) return_trace (nullptr); in copy() 58 return_trace (new_glyph); in copy() 89 return_trace (c->check_struct (this) && in sanitize() 146 if (unlikely (!out)) return_trace (false); in subset() 148 if (unlikely (!c->serializer->extend (out, num_output_glyphs + 1))) return_trace (false); in subset() 172 return_trace (false); in subset() 180 return_trace (has_glyphs); in subset() 337 return_trace (likely (c->check_struct (this) && in sanitize() 356 if (unlikely (!out)) return_trace (false); in serialize_strike_offsets() [all …]
|
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() 175 return_trace (true); in subset() 186 return_trace (true); in subset() 253 if (unlikely (!c->check_struct (this))) return_trace (false); in sanitize() 254 if (unlikely (version >= 1 && !v1X.sanitize (c))) return_trace (false); in sanitize() 255 if (unlikely (version >= 2 && !v2X.sanitize (c))) return_trace (false); in sanitize() 256 if (unlikely (version >= 5 && !v5X.sanitize (c))) return_trace (false); in sanitize() [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-layout-gsubgpos.hh | 952 if (unlikely (count > HB_MAX_CONTEXT_LENGTH)) return_trace (false); in match_input() 999 if (!skippy_iter.next ()) return_trace (false); in match_input() 1038 return_trace (false); in match_input() 1047 return_trace (false); in match_input() 1058 return_trace (true); in match_input() 1171 return_trace (true); in ligate_input() 1189 return_trace (false); in match_backtrack() 1193 return_trace (true); in match_backtrack() 1212 return_trace (false); in match_lookahead() 1216 return_trace (true); in match_lookahead() [all …]
|
D | hb-ot-cff1-table.hh | 67 return_trace (codes.sanitize (c)); in sanitize() 94 return_trace (c->check_struct (this)); in sanitize() 107 return_trace (ranges.sanitize (c)); in sanitize() 138 return_trace (c->check_struct (this)); in sanitize() 151 return_trace (supps.sanitize (c)); in sanitize() 177 if (unlikely (!dest)) return_trace (false); in serialize() 179 return_trace (true); in serialize() 191 if (unlikely (!dest)) return_trace (false); in serialize() 197 if (unlikely (!fmt0)) return_trace (false); in serialize() 206 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() 113 return_trace (c->successful ()); in serialize() 122 if (unlikely (!hdmx_prime)) return_trace (false); in subset() 146 return_trace (true); in subset() 157 return_trace (c->check_struct (this) && in sanitize()
|
D | hb-aat-layout-morx-table.hh | 174 return_trace (dc.ret); in apply() 180 return_trace (machine.sanitize (c)); in sanitize() 330 return_trace (dc.ret); in apply() 338 if (unlikely (!machine.sanitize (c, &num_entries))) return_trace (false); in sanitize() 341 return_trace (substitutionTables.sanitize (c, this, 0)); in sanitize() 356 return_trace (substitutionTables.sanitize (c, this, num_lookups)); in sanitize() 582 return_trace (dc.ret); in apply() 589 return_trace (c->check_struct (this) && machine.sanitize (c) && in sanitize() 634 return_trace (ret); in apply() 640 return_trace (substitute.sanitize (c)); in sanitize() [all …]
|