Home
last modified time | relevance | path

Searched refs:num_tables (Results 1 – 24 of 24) sorted by relevance

/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfwoff.c126 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 …]
Dsfwoff2.c342 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 …]
Dttkern.c50 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()
Dttload.c75 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 …]
Dsfdriver.c134 *length = face->num_tables; in sfnt_table_info()
137 if ( idx >= face->num_tables ) in sfnt_table_info()
Dsfobjs.c1435 face->num_tables = 0; in sfnt_done_face()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-subset.cc225 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()
Dhb-ot-color-cbdt-table.hh55 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()
Dmain.cc391 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/
Dwofftypes.h49 FT_UShort num_tables; member
128 FT_UShort num_tables; member
158 FT_UShort num_tables; member
Dtttypes.h110 FT_UShort num_tables; member
1469 FT_UShort num_tables; member
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dserialization_test.cc53 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/
Dt42parse.c540 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/
Dmerger_main.cc37 if (!font || font->num_tables() == 0) { in CheckLoading()
Dsubsetter_main.cc47 if (font->num_tables() == 0) { in main()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/
Dfont.h245 int32_t num_tables() { return (int32_t)tables_.size(); } in num_tables() function
Dfont.cc104 int32_t table_offset = Offset::kTableRecordBegin + num_tables() * in BuildTableHeadersForSerialization()
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttpload.c123 TT_Table limit = entry + face->num_tables; in tt_face_load_loca()
Dttobjs.c491 for ( i = 0; i < face->num_tables; i++ ) in tt_check_trickyness_sfnt_ids()
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h1291 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/
Dimstb_truetype.h1291 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/
DChangeLog.2104482 Set and use `num_tables' in `WOFF2_TtcFont'.
/third_party/chromium/patch/
D0001-cve.patch22493 - 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/
Dvmlinux.h74500 u8 num_tables; member