Home
last modified time | relevance | path

Searched refs:num_pairs (Results 1 – 13 of 13) sorted by relevance

/external/freetype/src/sfnt/
Dttkern.c88 FT_UInt num_pairs, length, coverage; in tt_face_load_kern() local
115 num_pairs = FT_NEXT_USHORT( p ); in tt_face_load_kern()
118 if ( ( p_next - p ) < 6 * (int)num_pairs ) /* handle broken count */ in tt_face_load_kern()
119 num_pairs = (FT_UInt)( ( p_next - p ) / 6 ); in tt_face_load_kern()
127 if ( num_pairs > 0 ) in tt_face_load_kern()
136 for ( count = num_pairs - 1; count > 0; count-- ) in tt_face_load_kern()
203 FT_UInt num_pairs; in tt_face_get_kerning() local
220 num_pairs = FT_NEXT_USHORT( p ); in tt_face_get_kerning()
223 if ( ( next - p ) < 6 * (int)num_pairs ) /* handle broken count */ in tt_face_get_kerning()
224 num_pairs = (FT_UInt)( ( next - p ) / 6 ); in tt_face_get_kerning()
[all …]
/external/chromium_org/third_party/freetype/src/sfnt/
Dttkern.c88 FT_UInt num_pairs, length, coverage; in tt_face_load_kern() local
115 num_pairs = FT_NEXT_USHORT( p ); in tt_face_load_kern()
118 if ( ( p_next - p ) < 6 * (int)num_pairs ) /* handle broken count */ in tt_face_load_kern()
119 num_pairs = (FT_UInt)( ( p_next - p ) / 6 ); in tt_face_load_kern()
127 if ( num_pairs > 0 ) in tt_face_load_kern()
136 for ( count = num_pairs - 1; count > 0; count-- ) in tt_face_load_kern()
203 FT_UInt num_pairs; in tt_face_get_kerning() local
220 num_pairs = FT_NEXT_USHORT( p ); in tt_face_get_kerning()
223 if ( ( next - p ) < 6 * (int)num_pairs ) /* handle broken count */ in tt_face_get_kerning()
224 num_pairs = (FT_UInt)( ( next - p ) / 6 ); in tt_face_get_kerning()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
Dttkern.c88 FT_UInt num_pairs, length, coverage; in tt_face_load_kern() local
115 num_pairs = FT_NEXT_USHORT( p ); in tt_face_load_kern()
118 if ( ( p_next - p ) < 6 * (int)num_pairs ) /* handle broken count */ in tt_face_load_kern()
119 num_pairs = (FT_UInt)( ( p_next - p ) / 6 ); in tt_face_load_kern()
127 if ( num_pairs > 0 ) in tt_face_load_kern()
136 for ( count = num_pairs - 1; count > 0; count-- ) in tt_face_load_kern()
203 FT_UInt num_pairs; in tt_face_get_kerning() local
220 num_pairs = FT_NEXT_USHORT( p ); in tt_face_get_kerning()
223 if ( ( next - p ) < 6 * (int)num_pairs ) /* handle broken count */ in tt_face_get_kerning()
224 num_pairs = (FT_UInt)( ( next - p ) / 6 ); in tt_face_get_kerning()
[all …]
/external/chromium_org/third_party/ots/src/
Dkern.cc79 uint16_t num_pairs = 0; in ots_kern_parse() local
80 if (!table.ReadU16(&num_pairs) || in ots_kern_parse()
87 if (!num_pairs) { in ots_kern_parse()
96 if (num_pairs > (65536 / kFormat0PairSize)) { in ots_kern_parse()
103 while (1u << (max_pow2 + 1) <= num_pairs) { in ots_kern_parse()
115 = kFormat0PairSize * num_pairs - subtable.search_range; in ots_kern_parse()
122 subtable.pairs.reserve(num_pairs); in ots_kern_parse()
124 for (unsigned j = 0; j < num_pairs; ++j) { in ots_kern_parse()
/external/srec/srec/EventLog/src/
Driff.c309 if (swichunk->kvals.num_pairs) in free_swiRiff()
313 swichunk->kvals.num_pairs = 0; in free_swiRiff()
321 for (i = 0; i < swichunk->kvals.num_pairs; i++) in getSwiRiffKVal()
463 swichunk->kvals.num_pairs = 0; in readSwiChunk()
499 int i, num_pairs; in readSwiChunk() local
501 fread(&num_pairs, 1, sizeof(int), f); in readSwiChunk()
502 if (doSwap) swapInt(&num_pairs); in readSwiChunk()
503 swichunk->kvals.num_pairs = num_pairs; in readSwiChunk()
511 swichunk->kvals.kvpairs = (RiffKVPair *)CALLOC(num_pairs, sizeof(RiffKVPair), MTAG); in readSwiChunk()
517 swichunk->kvals.num_pairs = 0; in readSwiChunk()
[all …]
/external/qemu/android/
Dsnaphost-android.c39 const int num_pairs = iniFile_getPairCount(current); in _cmp_hw_config() local
42 if (num_pairs != iniFile_getPairCount(saved)) { in _cmp_hw_config()
44 num_pairs, iniFile_getPairCount(saved)); in _cmp_hw_config()
50 for (n = 0; n < num_pairs && ret == 0; n++) { in _cmp_hw_config()
/external/srec/srec/EventLog/include/
Driff.h188 int num_pairs; member
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/codeview/
Dcv-symline.c127 size_t num_pairs; member
491 if (!info->cv8_cur_ls || info->cv8_cur_ls->num_pairs >= 126) { in cv_generate_line_bc()
493 info->cv8_cur_ls->num_pairs = 0; in cv_generate_line_bc()
498 info->cv8_cur_ls->pairs[info->cv8_cur_ls->num_pairs].offset = bc->offset; in cv_generate_line_bc()
499 info->cv8_cur_ls->pairs[info->cv8_cur_ls->num_pairs].line = in cv_generate_line_bc()
501 info->cv8_cur_ls->num_pairs++; in cv_generate_line_bc()
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format4.cc295 int32_t num_pairs = IndexSubTableFormat4::NumGlyphs(data, 0) + 1; in Initialize() local
297 for (int32_t i = 0; i < num_pairs; ++i) { in Initialize()
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format4.cc295 int32_t num_pairs = IndexSubTableFormat4::NumGlyphs(data, 0) + 1; in Initialize() local
297 for (int32_t i = 0; i < num_pairs; ++i) { in Initialize()
/external/chromium_org/third_party/libwebp/enc/
Dhistogram.c571 const int num_pairs = image_histo_size / 2; in HistogramCombine() local
586 (num_pairs < image_histo_size) ? num_pairs : image_histo_size; in HistogramCombine()
/external/webp/src/enc/
Dhistogram.c571 const int num_pairs = image_histo_size / 2; in HistogramCombine() local
586 (num_pairs < image_histo_size) ? num_pairs : image_histo_size; in HistogramCombine()
/external/chromium_org/gpu/command_buffer/client/
Dgles2_implementation_unittest.cc2193 size_t num_pairs = sizeof(pairs) / sizeof(pairs[0]); in TEST_F() local
2194 for (size_t ii = 0; ii < num_pairs; ++ii) { in TEST_F()
2233 size_t num_pairs = sizeof(pairs) / sizeof(pairs[0]); in TEST_F() local
2234 for (size_t ii = 0; ii < num_pairs; ++ii) { in TEST_F()
2737 size_t num_pairs = sizeof(pairs) / sizeof(pairs[0]); in TEST_F() local
2738 for (size_t ii = 0; ii < num_pairs; ++ii) { in TEST_F()