/third_party/skia/third_party/externals/freetype/src/sfnt/ |
D | sfwoff.c | 126 FT_FRAME_USHORT( num_tables ), in woff_open_font() 152 woff.num_tables == 0 || in woff_open_font() 153 44 + woff.num_tables * 20UL >= woff.length || in woff_open_font() 154 12 + woff.num_tables * 16UL >= woff.totalSfntSize || in woff_open_font() 166 if ( FT_QALLOC( sfnt, 12 + woff.num_tables * 16UL ) || in woff_open_font() 177 x = woff.num_tables; in woff_open_font() 187 rangeShift = woff.num_tables * 16 - searchRange; in woff_open_font() 190 WRITE_USHORT( sfnt_header, woff.num_tables ); in woff_open_font() 200 if ( FT_NEW_ARRAY( tables, woff.num_tables ) || in woff_open_font() 201 FT_NEW_ARRAY( indices, woff.num_tables ) ) in woff_open_font() [all …]
|
D | sfwoff2.c | 342 FT_UShort num_tables, in find_table() argument 348 for ( i = 0; i < num_tables; i++ ) in find_table() 1249 FT_UShort num_tables, in get_x_mins() argument 1263 const WOFF2_Table maxp_table = find_table( tables, num_tables, in get_x_mins() 1265 const WOFF2_Table head_table = find_table( tables, num_tables, in get_x_mins() 1512 FT_UShort num_tables = woff2->num_tables; in reconstruct_font() local 1513 FT_ULong dest_offset = 12 + num_tables * 16UL; in reconstruct_font() 1527 info->glyf_table = find_table( indices, num_tables, TTAG_glyf ); in reconstruct_font() 1528 info->loca_table = find_table( indices, num_tables, TTAG_loca ); in reconstruct_font() 1560 for ( nn = 0; nn < num_tables; nn++ ) in reconstruct_font() [all …]
|
D | ttkern.c | 50 FT_UInt nn, num_tables; in tt_face_load_kern() local 80 num_tables = FT_NEXT_USHORT( p ); in tt_face_load_kern() 82 if ( num_tables > 32 ) /* we only support up to 32 sub-tables */ in tt_face_load_kern() 83 num_tables = 32; in tt_face_load_kern() 85 for ( nn = 0; nn < num_tables; nn++ ) in tt_face_load_kern()
|
D | ttload.c | 75 limit = entry + face->num_tables; in tt_face_lookup_table() 201 for ( nn = 0; nn < sfnt->num_tables; nn++ ) in check_table_dir() 211 nn, nn == 1 ? "" : "s", sfnt->num_tables )); in check_table_dir() 212 sfnt->num_tables = nn; in check_table_dir() 357 FT_FRAME_USHORT( num_tables ), in tt_face_load_font_dir() 378 sfnt.search_range + sfnt.range_shift != sfnt.num_tables << 4 ) in tt_face_load_font_dir() 384 FT_TRACE2(( "-- Number of tables: %10u\n", sfnt.num_tables )); in tt_face_load_font_dir() 400 valid_entries = sfnt.num_tables; in tt_face_load_font_dir() 409 face->num_tables = valid_entries; in tt_face_load_font_dir() 412 if ( FT_QNEW_ARRAY( face->dir_tables, face->num_tables ) ) in tt_face_load_font_dir() [all …]
|
D | sfdriver.c | 134 *length = face->num_tables; in sfnt_table_info() 137 if ( idx >= face->num_tables ) in sfnt_table_info()
|
D | sfobjs.c | 1435 face->num_tables = 0; in sfnt_done_face()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-subset.cc | 225 unsigned offset = 0, num_tables = ARRAY_LENGTH (table_tags); in _is_table_present() local 226 while ((hb_face_get_table_tags (source, offset, &num_tables, table_tags), num_tables)) in _is_table_present() 228 for (unsigned i = 0; i < num_tables; ++i) in _is_table_present() 231 offset += num_tables; in _is_table_present() 359 unsigned offset = 0, num_tables = ARRAY_LENGTH (table_tags); in hb_subset_or_fail() local 360 while ((hb_face_get_table_tags (source, offset, &num_tables, table_tags), num_tables)) in hb_subset_or_fail() 362 for (unsigned i = 0; i < num_tables; ++i) in hb_subset_or_fail() 370 offset += num_tables; in hb_subset_or_fail()
|
D | hb-ot-color-cbdt-table.hh | 55 unsigned int num_tables; /* INOUT member 477 bitmap_size_context->num_tables += 1; in add_new_record() 539 const IndexSubtableRecord* record = find_table (old_gid, bitmap_size_context->num_tables); in build_lookup() 574 bitmap_size_context->num_tables = 0; in subset() 653 bitmap_size_context.num_tables = numberOfIndexSubtables; in subset() 663 !bitmap_size_context.num_tables || in subset() 668 out_table->numberOfIndexSubtables = bitmap_size_context.num_tables; in subset()
|
D | main.cc | 391 unsigned num_tables = font.get_table_count (); in print_layout_info_using_private_api() local 392 printf (" %d table(s) found in font\n", num_tables); in print_layout_info_using_private_api() 393 for (unsigned n_table = 0; n_table < num_tables; ++n_table) in print_layout_info_using_private_api() 396 printf (" Table %2d of %2d: %.4s (0x%08x+0x%08x)\n", n_table, num_tables, in print_layout_info_using_private_api()
|
/third_party/skia/third_party/externals/freetype/include/freetype/internal/ |
D | wofftypes.h | 49 FT_UShort num_tables; member 128 FT_UShort num_tables; member 158 FT_UShort num_tables; member
|
D | tttypes.h | 110 FT_UShort num_tables; member 1469 FT_UShort num_tables; member
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
D | serialization_test.cc | 53 EXPECT_EQ(original->num_tables(), serialized->num_tables()); in TestSerialization() 119 EXPECT_EQ(original->num_tables(), serialized->num_tables()); in TestSerializationBitmap()
|
/third_party/skia/third_party/externals/freetype/src/type42/ |
D | t42parse.c | 540 FT_Int num_tables = 0; in t42_parse_sfnts() local 707 num_tables = 16 * face->ttf_data[4] + face->ttf_data[5]; in t42_parse_sfnts() 709 face->ttf_size = 12 + 16 * num_tables; in t42_parse_sfnts() 712 num_tables )); in t42_parse_sfnts() 743 for ( i = 0; i < num_tables; i++ ) in t42_parse_sfnts() 770 if ( FT_QREALLOC( face->ttf_data, 12 + 16 * num_tables, in t42_parse_sfnts()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/ |
D | merger_main.cc | 37 if (!font || font->num_tables() == 0) { in CheckLoading()
|
D | subsetter_main.cc | 47 if (font->num_tables() == 0) { in main()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/ |
D | font.h | 245 int32_t num_tables() { return (int32_t)tables_.size(); } in num_tables() function
|
D | font.cc | 104 int32_t table_offset = Offset::kTableRecordBegin + num_tables() * in BuildTableHeadersForSerialization()
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
D | ttpload.c | 123 TT_Table limit = entry + face->num_tables; in tt_face_load_loca()
|
D | ttobjs.c | 491 for ( i = 0; i < face->num_tables; i++ ) in tt_check_trickyness_sfnt_ids()
|
/third_party/mesa3d/src/imgui/ |
D | imstb_truetype.h | 1291 stbtt_int32 num_tables = ttUSHORT(data+fontstart+4); in stbtt__find_table() local 1294 for (i=0; i < num_tables; ++i) { in stbtt__find_table()
|
/third_party/skia/third_party/externals/imgui/ |
D | imstb_truetype.h | 1291 stbtt_int32 num_tables = ttUSHORT(data+fontstart+4); in stbtt__find_table() local 1294 for (i=0; i < num_tables; ++i) { in stbtt__find_table()
|
/third_party/skia/third_party/externals/freetype/docs/oldlogs/ |
D | ChangeLog.210 | 4482 Set and use `num_tables' in `WOFF2_TtcFont'.
|
/third_party/chromium/patch/ |
D | 0001-cve.patch | 22493 - if ( FT_QALLOC( sfnt, 12 + woff.num_tables * 16UL ) || 22503 - if ( FT_NEW_ARRAY( tables, woff.num_tables ) || 22504 - FT_NEW_ARRAY( indices, woff.num_tables ) ) 22505 + if ( FT_QNEW_ARRAY( tables, woff.num_tables ) || 22506 + FT_QNEW_ARRAY( indices, woff.num_tables ) ) 22515 - 12 + woff.num_tables * 16UL, 22833 - if ( FT_NEW_ARRAY( tables, woff2.num_tables ) || 22834 - FT_NEW_ARRAY( indices, woff2.num_tables ) ) 22835 + if ( FT_QNEW_ARRAY( tables, woff2.num_tables ) || 22836 + FT_QNEW_ARRAY( indices, woff2.num_tables ) ) [all …]
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 74500 u8 num_tables; member
|