Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttkern.c87 FT_UInt num_pairs, length, coverage, format; in tt_face_load_kern() local
120 num_pairs = FT_NEXT_USHORT( p ); in tt_face_load_kern()
123 if ( ( p_next - p ) < 6 * (int)num_pairs ) /* handle broken count */ in tt_face_load_kern()
124 num_pairs = (FT_UInt)( ( p_next - p ) / 6 ); in tt_face_load_kern()
132 if ( num_pairs > 0 ) in tt_face_load_kern()
141 for ( count = num_pairs - 1; count > 0; count-- ) in tt_face_load_kern()
208 FT_UInt num_pairs; in tt_face_get_kerning() local
224 num_pairs = FT_NEXT_USHORT( p ); in tt_face_get_kerning()
227 if ( ( next - p ) < 6 * (int)num_pairs ) /* handle broken count */ in tt_face_get_kerning()
228 num_pairs = (FT_UInt)( ( next - p ) / 6 ); in tt_face_get_kerning()
[all …]
/third_party/freetype/src/sfnt/
Dttkern.c87 FT_UInt num_pairs, length, coverage, format; in tt_face_load_kern() local
120 num_pairs = FT_NEXT_USHORT( p ); in tt_face_load_kern()
123 if ( ( p_next - p ) < 6 * (int)num_pairs ) /* handle broken count */ in tt_face_load_kern()
124 num_pairs = (FT_UInt)( ( p_next - p ) / 6 ); in tt_face_load_kern()
132 if ( num_pairs > 0 ) in tt_face_load_kern()
141 for ( count = num_pairs - 1; count > 0; count-- ) in tt_face_load_kern()
208 FT_UInt num_pairs; in tt_face_get_kerning() local
224 num_pairs = FT_NEXT_USHORT( p ); in tt_face_get_kerning()
227 if ( ( next - p ) < 6 * (int)num_pairs ) /* handle broken count */ in tt_face_get_kerning()
228 num_pairs = (FT_UInt)( ( next - p ) / 6 ); in tt_face_get_kerning()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/
Dttkern.c88 FT_UInt num_pairs, length, coverage, format; in tt_face_load_kern() local
121 num_pairs = FT_NEXT_USHORT( p ); in tt_face_load_kern()
124 if ( ( p_next - p ) < 6 * (int)num_pairs ) /* handle broken count */ in tt_face_load_kern()
125 num_pairs = (FT_UInt)( ( p_next - p ) / 6 ); in tt_face_load_kern()
133 if ( num_pairs > 0 ) in tt_face_load_kern()
142 for ( count = num_pairs - 1; count > 0; count-- ) in tt_face_load_kern()
209 FT_UInt num_pairs; in tt_face_get_kerning() local
225 num_pairs = FT_NEXT_USHORT( p ); in tt_face_get_kerning()
228 if ( ( next - p ) < 6 * (int)num_pairs ) /* handle broken count */ in tt_face_get_kerning()
229 num_pairs = (FT_UInt)( ( next - p ) / 6 ); in tt_face_get_kerning()
[all …]
/third_party/node/deps/brotli/c/enc/
Dcluster_inc.h17 size_t* num_pairs) CODE({
43 double threshold = *num_pairs == 0 ? 1e99 :
56 if (*num_pairs > 0 && HistogramPairIsLess(&pairs[0], &p)) {
58 if (*num_pairs < max_num_pairs) {
59 pairs[*num_pairs] = pairs[0];
60 ++(*num_pairs);
63 } else if (*num_pairs < max_num_pairs) {
64 pairs[*num_pairs] = p;
65 ++(*num_pairs);
81 size_t num_pairs = 0;
[all …]
/third_party/skia/third_party/externals/brotli/c/enc/
Dcluster_inc.h17 size_t* num_pairs) CODE({
43 double threshold = *num_pairs == 0 ? 1e99 :
56 if (*num_pairs > 0 && HistogramPairIsLess(&pairs[0], &p)) {
58 if (*num_pairs < max_num_pairs) {
59 pairs[*num_pairs] = pairs[0];
60 ++(*num_pairs);
63 } else if (*num_pairs < max_num_pairs) {
64 pairs[*num_pairs] = p;
65 ++(*num_pairs);
81 size_t num_pairs = 0;
[all …]
/third_party/grpc/test/core/security/
Dssl_credentials_test.cc34 const size_t num_pairs = 3; in test_convert_grpc_to_tsi_cert_pairs() local
44 grpc_convert_grpc_to_tsi_cert_pairs(grpc_pairs, num_pairs); in test_convert_grpc_to_tsi_cert_pairs()
47 for (size_t i = 0; i < num_pairs; i++) { in test_convert_grpc_to_tsi_cert_pairs()
54 grpc_tsi_ssl_pem_key_cert_pairs_destroy(tsi_pairs, num_pairs); in test_convert_grpc_to_tsi_cert_pairs()
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
Dstructures.c462 int32_t num_pairs = 0; in SPDYF_name_value_to_stream() local
479 ++num_pairs; in SPDYF_name_value_to_stream()
504 num_pairs = htonl(num_pairs); in SPDYF_name_value_to_stream()
505 memcpy(*stream, &num_pairs, 4); in SPDYF_name_value_to_stream()
558 int32_t num_pairs; in SPDYF_name_value_from_stream() local
573 memcpy(&num_pairs, stream, 4); in SPDYF_name_value_from_stream()
575 num_pairs = ntohl(num_pairs); in SPDYF_name_value_from_stream()
577 if(num_pairs > 0) in SPDYF_name_value_from_stream()
579 for(i = 0; i < num_pairs; ++i) in SPDYF_name_value_from_stream()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstr_join_benchmark.cc59 const int num_pairs = state.range(1); in BM_Join2_KeysAndValues() local
61 const std::vector<std::pair<std::string, int>> v(num_pairs, in BM_Join2_KeysAndValues()
/third_party/abseil-cpp/absl/strings/
Dstr_join_benchmark.cc59 const int num_pairs = state.range(1); in BM_Join2_KeysAndValues() local
61 const std::vector<std::pair<std::string, int>> v(num_pairs, in BM_Join2_KeysAndValues()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_instruction.cpp410 size_t num_pairs = (inst->operands().size() - 2) / 2; in LimitCheckSwitch() local
413 if (num_pairs > num_pairs_limit) { in LimitCheckSwitch()
415 << "Number of (literal, label) pairs in OpSwitch (" << num_pairs in LimitCheckSwitch()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_instruction.cpp410 size_t num_pairs = (inst->operands().size() - 2) / 2; in LimitCheckSwitch() local
413 if (num_pairs > num_pairs_limit) { in LimitCheckSwitch()
415 << "Number of (literal, label) pairs in OpSwitch (" << num_pairs in LimitCheckSwitch()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_instruction.cpp270 unsigned int num_pairs = (inst->num_operands - 2) / 2; in LimitCheckSwitch() local
273 if (num_pairs > num_pairs_limit) { in LimitCheckSwitch()
275 << "Number of (literal, label) pairs in OpSwitch (" << num_pairs in LimitCheckSwitch()
/third_party/spirv-tools/source/val/
Dvalidate_instruction.cpp411 size_t num_pairs = (inst->operands().size() - 2) / 2; in LimitCheckSwitch() local
414 if (num_pairs > num_pairs_limit) { in LimitCheckSwitch()
416 << "Number of (literal, label) pairs in OpSwitch (" << num_pairs in LimitCheckSwitch()
/third_party/flutter/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Denc_sse2.c963 int num_pairs) { in SSE_16xN_SSE2() argument
968 for (i = 0; i < num_pairs; ++i) { in SSE_16xN_SSE2()
997 int num_pairs = 4; in SSE8x8_SSE2() local
1000 while (num_pairs-- > 0) { in SSE8x8_SSE2()
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Denc_sse2.c963 int num_pairs) { in SSE_16xN_SSE2() argument
968 for (i = 0; i < num_pairs; ++i) { in SSE_16xN_SSE2()
997 int num_pairs = 4; in SSE8x8_SSE2() local
1000 while (num_pairs-- > 0) { in SSE8x8_SSE2()