Home
last modified time | relevance | path

Searched refs:old_gid (Results 1 – 22 of 22) sorted by relevance

/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-subset-plan.hh113 hb_codepoint_t old_gid = codepoint_to_glyph->get (codepoint); in new_gid_for_codepoint() local
114 if (old_gid == HB_MAP_VALUE_INVALID) in new_gid_for_codepoint()
117 return new_gid_for_old_gid (old_gid, new_gid); in new_gid_for_codepoint()
120 inline bool new_gid_for_old_gid (hb_codepoint_t old_gid, in new_gid_for_old_gid()
123 hb_codepoint_t gid = glyph_map->get (old_gid); in new_gid_for_old_gid()
132 hb_codepoint_t *old_gid) const in old_gid_for_new_gid()
138 *old_gid = gid; in old_gid_for_new_gid()
Dhb-ot-hmtx-table.hh132 hb_codepoint_t old_gid; in subset() local
133 if (c->plan->old_gid_for_new_gid (_, &old_gid)) in subset()
134 return hb_pair (_mtx.get_advance (old_gid), _mtx.get_side_bearing (old_gid)); in subset()
273 hb_codepoint_t old_gid; in _advance_for_new_gid() local
274 if (!plan->old_gid_for_new_gid (new_gid, &old_gid)) in _advance_for_new_gid()
277 return get_advance (old_gid); in _advance_for_new_gid()
Dhb-ot-glyf-table.hh187 if (!plan->old_gid_for_new_gid (new_gid, &subset_glyph.old_gid)) return subset_glyph; in _populate_subset_glyphs()
189 subset_glyph.source_glyph = glyf.bytes_for_glyph ((const char *) this, subset_glyph.old_gid); in _populate_subset_glyphs()
632 hb_codepoint_t old_gid; member
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-subset-plan.hh154 hb_codepoint_t old_gid = codepoint_to_glyph->get (codepoint); in new_gid_for_codepoint() local
155 if (old_gid == HB_MAP_VALUE_INVALID) in new_gid_for_codepoint()
158 return new_gid_for_old_gid (old_gid, new_gid); in new_gid_for_codepoint()
161 inline bool new_gid_for_old_gid (hb_codepoint_t old_gid, in new_gid_for_old_gid()
164 hb_codepoint_t gid = glyph_map->get (old_gid); in new_gid_for_old_gid()
173 hb_codepoint_t *old_gid) const in old_gid_for_new_gid()
179 *old_gid = gid; in old_gid_for_new_gid()
Dhb-ot-post-table-v2subset.hh85 hb_codepoint_t old_gid = reverse_glyph_map.get (new_gid); in subset() local
86 unsigned old_index = glyphNameIndex[old_gid]; in subset()
93 hb_bytes_t s = _post.find_glyph_name (old_gid); in subset()
118 old_gid_new_index_map.set (old_gid, new_index); in subset()
124 | hb_map_retains_sorting ([&](hb_codepoint_t old_gid) in subset()
126 unsigned new_index = old_gid_new_index_map.get (old_gid); in subset()
127 return hb_pair_t<unsigned, unsigned> (old_gid, new_index); in subset()
Dhb-ot-var-hvar-table.hh69 hb_codepoint_t old_gid; in init() local
70 if (!plan->old_gid_for_new_gid (gid - 1, &old_gid)) in init()
78 unsigned int v = index_map.map (old_gid); in init()
94 hb_codepoint_t old_gid; in init() local
95 if (plan->old_gid_for_new_gid (gid, &old_gid)) in init()
97 unsigned int v = index_map.map (old_gid); in init()
131 hb_codepoint_t old_gid; in remap() local
132 if (plan->old_gid_for_new_gid (gid, &old_gid)) in remap()
134 uint32_t v = input_map->map (old_gid); in remap()
193 hb_codepoint_t old_gid; in init() local
[all …]
Dhb-ot-color-sbix-table.hh157 hb_codepoint_t old_gid; in subset() local
158 if (!c->plan->old_gid_for_new_gid (new_gid, &old_gid) || in subset()
159 unlikely (imageOffsetsZ[old_gid].is_null () || in subset()
160 imageOffsetsZ[old_gid + 1].is_null () || in subset()
161 imageOffsetsZ[old_gid + 1] <= imageOffsetsZ[old_gid] || in subset()
162 imageOffsetsZ[old_gid + 1] - imageOffsetsZ[old_gid] <= SBIXGlyph::min_size) || in subset()
163 (unsigned int) imageOffsetsZ[old_gid + 1] > available_len) in subset()
169 unsigned int delta = imageOffsetsZ[old_gid + 1] - imageOffsetsZ[old_gid]; in subset()
171 if (!(this+imageOffsetsZ[old_gid]).copy (c->serializer, glyph_data_length)) in subset()
Dhb-ot-hmtx-table.hh138 hb_codepoint_t old_gid; in subset() local
139 if (!c->plan->old_gid_for_new_gid (_, &old_gid)) in subset()
141 return hb_pair (_mtx.get_advance (old_gid), _mtx.get_side_bearing (old_gid)); in subset()
278 hb_codepoint_t old_gid; in _advance_for_new_gid() local
279 if (!plan->old_gid_for_new_gid (new_gid, &old_gid)) in _advance_for_new_gid()
282 return get_advance (old_gid); in _advance_for_new_gid()
Dhb-ot-color-cbdt-table.hh419 hb_codepoint_t old_gid = 0; in add_new_subtable() local
420 c->plan->old_gid_for_new_gid (new_gid, &old_gid); in add_new_subtable()
421 if (old_gid < next_record->firstGlyphIndex) in add_new_subtable()
424 unsigned int old_idx = (unsigned int) old_gid - next_record->firstGlyphIndex; in add_new_subtable()
536 hb_codepoint_t old_gid; in build_lookup() local
537 if (unlikely (!c->plan->old_gid_for_new_gid (new_gid, &old_gid))) continue; in build_lookup()
539 const IndexSubtableRecord* record = find_table (old_gid, bitmap_size_context->num_tables); in build_lookup()
545 if (unlikely (!record->get_image_data (old_gid, this, &offset, &length, &format))) continue; in build_lookup()
Dhb-ot-var-gvar-table.hh426 hb_codepoint_t old_gid; in subset() local
427 if (!c->plan->old_gid_for_new_gid (gid, &old_gid)) continue; in subset()
428 subset_data_size += get_glyph_var_data_bytes (c->source_blob, old_gid).length; in subset()
458 hb_codepoint_t old_gid; in subset() local
459 hb_bytes_t var_data_bytes = c->plan->old_gid_for_new_gid (gid, &old_gid) in subset()
460 ? get_glyph_var_data_bytes (c->source_blob, old_gid) in subset()
Dhb-ot-color-colr-table.hh1440 hb_codepoint_t old_gid = reverse_glyph_map.get (new_gid); in subset() local
1442 const BaseGlyphRecord* old_record = get_base_glyph_record (old_gid); in subset()
1458 | hb_map_retains_sorting ([&](hb_codepoint_t old_gid) in subset()
1460 const BaseGlyphRecord* old_record = get_base_glyph_record (old_gid); in subset()
Dhb-ot-glyf-table.hh213 if (!plan->old_gid_for_new_gid (new_gid, &subset_glyph.old_gid)) in _populate_subset_glyphs()
220 subset_glyph.source_glyph = glyf.glyph_for_gid (subset_glyph.old_gid, true); in _populate_subset_glyphs()
1266 hb_codepoint_t old_gid; member
/third_party/harfbuzz/src/
Dhb-subset-plan.hh146 hb_codepoint_t old_gid = codepoint_to_glyph->get (codepoint); in new_gid_for_codepoint() local
147 if (old_gid == HB_MAP_VALUE_INVALID) in new_gid_for_codepoint()
150 return new_gid_for_old_gid (old_gid, new_gid); in new_gid_for_codepoint()
153 inline bool new_gid_for_old_gid (hb_codepoint_t old_gid, in new_gid_for_old_gid()
156 hb_codepoint_t gid = glyph_map->get (old_gid); in new_gid_for_old_gid()
165 hb_codepoint_t *old_gid) const in old_gid_for_new_gid()
171 *old_gid = gid; in old_gid_for_new_gid()
Dhb-ot-color-sbix-table.hh157 hb_codepoint_t old_gid; in subset() local
158 if (!c->plan->old_gid_for_new_gid (new_gid, &old_gid) || in subset()
159 unlikely (imageOffsetsZ[old_gid].is_null () || in subset()
160 imageOffsetsZ[old_gid + 1].is_null () || in subset()
161 imageOffsetsZ[old_gid + 1] <= imageOffsetsZ[old_gid] || in subset()
162 imageOffsetsZ[old_gid + 1] - imageOffsetsZ[old_gid] <= SBIXGlyph::min_size) || in subset()
163 (unsigned int) imageOffsetsZ[old_gid + 1] > available_len) in subset()
169 unsigned int delta = imageOffsetsZ[old_gid + 1] - imageOffsetsZ[old_gid]; in subset()
171 if (!(this+imageOffsetsZ[old_gid]).copy (c->serializer, glyph_data_length)) in subset()
Dhb-ot-var-hvar-table.hh155 hb_codepoint_t old_gid; in init() local
156 if (!plan->old_gid_for_new_gid (gid - 1, &old_gid)) in init()
164 unsigned int v = index_map.map (old_gid); in init()
180 hb_codepoint_t old_gid; in init() local
181 if (plan->old_gid_for_new_gid (gid, &old_gid)) in init()
183 unsigned int v = index_map.map (old_gid); in init()
217 hb_codepoint_t old_gid; in remap() local
218 if (plan->old_gid_for_new_gid (gid, &old_gid)) in remap()
220 uint32_t v = input_map->map (old_gid); in remap()
279 hb_codepoint_t old_gid; in init() local
[all …]
Dhb-ot-hmtx-table.hh138 hb_codepoint_t old_gid; in subset() local
139 if (!c->plan->old_gid_for_new_gid (_, &old_gid)) in subset()
141 return hb_pair (_mtx.get_advance (old_gid), _mtx.get_side_bearing (old_gid)); in subset()
278 hb_codepoint_t old_gid; in _advance_for_new_gid() local
279 if (!plan->old_gid_for_new_gid (new_gid, &old_gid)) in _advance_for_new_gid()
282 return get_advance (old_gid); in _advance_for_new_gid()
Dhb-ot-color-cbdt-table.hh419 hb_codepoint_t old_gid = 0; in add_new_subtable() local
420 c->plan->old_gid_for_new_gid (new_gid, &old_gid); in add_new_subtable()
421 if (old_gid < next_record->firstGlyphIndex) in add_new_subtable()
424 unsigned int old_idx = (unsigned int) old_gid - next_record->firstGlyphIndex; in add_new_subtable()
536 hb_codepoint_t old_gid; in build_lookup() local
537 if (unlikely (!c->plan->old_gid_for_new_gid (new_gid, &old_gid))) continue; in build_lookup()
539 const IndexSubtableRecord* record = find_table (old_gid, bitmap_size_context->num_tables); in build_lookup()
545 if (unlikely (!record->get_image_data (old_gid, this, &offset, &length, &format))) continue; in build_lookup()
Dhb-ot-var-gvar-table.hh424 hb_codepoint_t old_gid; in subset() local
425 if (!c->plan->old_gid_for_new_gid (gid, &old_gid)) continue; in subset()
426 subset_data_size += get_glyph_var_data_bytes (c->source_blob, old_gid).length; in subset()
454 hb_codepoint_t old_gid; in subset() local
455 hb_bytes_t var_data_bytes = c->plan->old_gid_for_new_gid (gid, &old_gid) in subset()
456 ? get_glyph_var_data_bytes (c->source_blob, old_gid) in subset()
Dhb-ot-color-colr-table.hh676 hb_codepoint_t old_gid = reverse_glyph_map.get (new_gid); in subset() local
678 const BaseGlyphRecord* old_record = get_base_glyph_record (old_gid); in subset()
694 | hb_map_retains_sorting ([&](hb_codepoint_t old_gid) in subset()
696 const BaseGlyphRecord* old_record = get_base_glyph_record (old_gid); in subset()
Dhb-ot-glyf-table.hh209 if (!plan->old_gid_for_new_gid (new_gid, &subset_glyph.old_gid)) in _populate_subset_glyphs()
212 subset_glyph.source_glyph = glyf.glyph_for_gid (subset_glyph.old_gid, true); in _populate_subset_glyphs()
1200 hb_codepoint_t old_gid; member
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D26-2.c44 gid_t old_gid; in main() local
68 old_gid = stat_buf.st_gid; in main()
116 if (stat_buf.st_uid == old_uid && stat_buf.st_gid == old_gid) { in main()
123 if (stat_buf.st_gid != old_gid) in main()
/third_party/chromium/patch/
D0001-cve.patch34110 + hb_codepoint_t old_gid = 0;
34111 …vance = plan->old_gid_for_new_gid (num_long_metrics - 1, &old_gid) ? _mtx.get_advance (old_gid) : …
34113 …nce == (plan->old_gid_for_new_gid (num_long_metrics - 2, &old_gid) ? _mtx.get_advance (old_gid) : …
34323 - hb_codepoint_t old_gid;
34324 - if (!plan->old_gid_for_new_gid (new_gid, &old_gid))
34327 - return get_advance (old_gid);