Home
last modified time | relevance | path

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

/external/pdfium/third_party/freetype/src/sfnt/
Dttload.c74 limit = entry + face->num_tables; in tt_face_lookup_table()
194 for ( nn = 0; nn < sfnt->num_tables; nn++ ) in check_table_dir()
204 nn, nn == 1 ? "" : "s", sfnt->num_tables )); in check_table_dir()
205 sfnt->num_tables = nn; in check_table_dir()
265 sfnt->num_tables = valid_entries; in check_table_dir()
267 if ( sfnt->num_tables == 0 ) in check_table_dir()
334 FT_FRAME_USHORT( num_tables ), in tt_face_load_font_dir()
355 sfnt.search_range + sfnt.range_shift != sfnt.num_tables << 4 ) in tt_face_load_font_dir()
361 FT_TRACE2(( "-- Number of tables: %10u\n", sfnt.num_tables )); in tt_face_load_font_dir()
377 face->num_tables = sfnt.num_tables; in tt_face_load_font_dir()
[all …]
Dttkern.c51 FT_UInt nn, num_tables; in tt_face_load_kern() local
81 num_tables = FT_NEXT_USHORT( p ); in tt_face_load_kern()
83 if ( num_tables > 32 ) /* we only support up to 32 sub-tables */ in tt_face_load_kern()
84 num_tables = 32; in tt_face_load_kern()
86 for ( nn = 0; nn < num_tables; nn++ ) in tt_face_load_kern()
Dsfobjs.c438 FT_FRAME_USHORT( num_tables ), in woff_open_font()
464 woff.num_tables == 0 || in woff_open_font()
465 44 + woff.num_tables * 20UL >= woff.length || in woff_open_font()
466 12 + woff.num_tables * 16UL >= woff.totalSfntSize || in woff_open_font()
485 x = woff.num_tables; in woff_open_font()
495 rangeShift = woff.num_tables * 16 - searchRange; in woff_open_font()
498 WRITE_USHORT( sfnt_header, woff.num_tables ); in woff_open_font()
508 if ( FT_NEW_ARRAY( tables, woff.num_tables ) || in woff_open_font()
509 FT_NEW_ARRAY( indices, woff.num_tables ) ) in woff_open_font()
516 if ( FT_FRAME_ENTER( 20L * woff.num_tables ) ) in woff_open_font()
[all …]
Dsfdriver.c125 *length = face->num_tables; in sfnt_table_info()
128 if ( idx >= face->num_tables ) in sfnt_table_info()
/external/freetype/src/sfnt/
Dttload.c74 limit = entry + face->num_tables; in tt_face_lookup_table()
194 for ( nn = 0; nn < sfnt->num_tables; nn++ ) in check_table_dir()
204 nn, nn == 1 ? "" : "s", sfnt->num_tables )); in check_table_dir()
205 sfnt->num_tables = nn; in check_table_dir()
276 sfnt->num_tables = valid_entries; in check_table_dir()
278 if ( sfnt->num_tables == 0 ) in check_table_dir()
345 FT_FRAME_USHORT( num_tables ), in tt_face_load_font_dir()
366 sfnt.search_range + sfnt.range_shift != sfnt.num_tables << 4 ) in tt_face_load_font_dir()
372 FT_TRACE2(( "-- Number of tables: %10u\n", sfnt.num_tables )); in tt_face_load_font_dir()
388 face->num_tables = sfnt.num_tables; in tt_face_load_font_dir()
[all …]
Dttkern.c51 FT_UInt nn, num_tables; in tt_face_load_kern() local
81 num_tables = FT_NEXT_USHORT( p ); in tt_face_load_kern()
83 if ( num_tables > 32 ) /* we only support up to 32 sub-tables */ in tt_face_load_kern()
84 num_tables = 32; in tt_face_load_kern()
86 for ( nn = 0; nn < num_tables; nn++ ) in tt_face_load_kern()
Dsfobjs.c438 FT_FRAME_USHORT( num_tables ), in woff_open_font()
464 woff.num_tables == 0 || in woff_open_font()
465 44 + woff.num_tables * 20UL >= woff.length || in woff_open_font()
466 12 + woff.num_tables * 16UL >= woff.totalSfntSize || in woff_open_font()
485 x = woff.num_tables; in woff_open_font()
495 rangeShift = woff.num_tables * 16 - searchRange; in woff_open_font()
498 WRITE_USHORT( sfnt_header, woff.num_tables ); in woff_open_font()
508 if ( FT_NEW_ARRAY( tables, woff.num_tables ) || in woff_open_font()
509 FT_NEW_ARRAY( indices, woff.num_tables ) ) in woff_open_font()
516 if ( FT_FRAME_ENTER( 20L * woff.num_tables ) ) in woff_open_font()
[all …]
Dsfdriver.c125 *length = face->num_tables; in sfnt_table_info()
128 if ( idx >= face->num_tables ) in sfnt_table_info()
/external/harfbuzz_ng/src/
Dmain.cc97 int num_tables = font.get_table_count (); in main() local
98 printf (" %d table(s) found in font\n", num_tables); in main()
99 for (int n_table = 0; n_table < num_tables; n_table++) { in main()
101 printf (" Table %2d of %2d: %.4s (0x%08x+0x%08x)\n", n_table, num_tables, in main()
/external/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()
/external/pdfium/third_party/freetype/include/internal/
Dtttypes.h102 FT_UShort num_tables; member
158 FT_UShort num_tables; member
1260 FT_UShort num_tables; member
/external/freetype/include/internal/
Dtttypes.h102 FT_UShort num_tables; member
158 FT_UShort num_tables; member
1258 FT_UShort num_tables; member
/external/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()
/external/sfntly/cpp/src/sfntly/
Dfont.h245 int32_t num_tables() { return (int32_t)tables_.size(); } in num_tables() function
Dfont.cc94 int32_t table_offset = Offset::kTableRecordBegin + num_tables() * in BuildTableHeadersForSerialization()
/external/freetype/src/truetype/
Dttpload.c125 TT_Table limit = entry + face->num_tables; in tt_face_load_loca()
Dttobjs.c358 for ( i = 0; i < face->num_tables; i++ ) in tt_check_trickyness_sfnt_ids()
/external/pdfium/third_party/freetype/src/truetype/
Dttpload.c125 TT_Table limit = entry + face->num_tables; in tt_face_load_loca()
Dttobjs.c358 for ( i = 0; i < face->num_tables; i++ ) in tt_check_trickyness_sfnt_ids()