Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/regression/
Dscanf-match-literal-eof.c9 int match_count; in main() local
11 match_count = sscanf(buf, "a"); in main()
12 if(match_count != EOF) in main()
/third_party/ffmpeg/libavcodec/
Dh264_mvpred.h108 int diagonal_ref, match_count; in pred_motion() local
121 match_count = (diagonal_ref == ref) + (top_ref == ref) + (left_ref == ref); in pred_motion()
122 ff_tlog(h->avctx, "pred_motion match_count=%d\n", match_count); in pred_motion()
123 if (match_count > 1) { //most common in pred_motion()
126 } else if (match_count == 1) { in pred_motion()
265 int top_ref, left_ref, diagonal_ref, match_count, mx, my; in pred_pskip_motion() local
328 match_count = !diagonal_ref + !top_ref + !left_ref; in pred_pskip_motion()
329 ff_tlog(h->avctx, "pred_pskip_motion match_count=%d\n", match_count); in pred_pskip_motion()
330 if (match_count > 1) { in pred_pskip_motion()
333 } else if (match_count == 1) { in pred_pskip_motion()
Dh264_direct.c243 int match_count = (left_ref == ref[list]) + in pred_spatial_direct_motion() local
247 if (match_count > 1) { // most common in pred_spatial_direct_motion()
251 assert(match_count == 1); in pred_spatial_direct_motion()
Dsvq3.c387 int diagonal_ref, match_count; in svq3_pred_motion() local
398 match_count = (diagonal_ref == ref) + (top_ref == ref) + (left_ref == ref); in svq3_pred_motion()
399 if (match_count > 1) { //most common in svq3_pred_motion()
402 } else if (match_count == 1) { in svq3_pred_motion()
/third_party/glib/glib/pcre/
Dpcre_dfa_exec.c410 int active_count, new_count, match_count; in internal_dfa_exec() local
442 match_count = PCRE_ERROR_NOMATCH; /* A negative number */ in internal_dfa_exec()
780 if (match_count < 0) match_count = (offsetcount >= 2)? 1 : 0; in internal_dfa_exec()
781 else if (match_count > 0 && ++match_count * 2 > offsetcount) in internal_dfa_exec()
782 match_count = 0; in internal_dfa_exec()
783 count = ((match_count == 0)? offsetcount : match_count * 2) - 2; in internal_dfa_exec()
796 match_count, rlevel*2-2, SP)); in internal_dfa_exec()
797 return match_count; in internal_dfa_exec()
3064 match_count < 0) /* no matches */ in internal_dfa_exec()
3079 match_count = PCRE_ERROR_PARTIAL; in internal_dfa_exec()
[all …]
/third_party/pcre2/pcre2/src/
Dpcre2_dfa_match.c540 int active_count, new_count, match_count; in internal_dfa_match() local
570 match_count = PCRE2_ERROR_NOMATCH; /* A negative number */ in internal_dfa_match()
886 if (match_count < 0) match_count = (offsetcount >= 2)? 1 : 0; in internal_dfa_match()
887 else if (match_count > 0 && ++match_count * 2 > (int)offsetcount) in internal_dfa_match()
888 match_count = 0; in internal_dfa_match()
889 count = ((match_count == 0)? (int)offsetcount : match_count * 2) - 2; in internal_dfa_match()
897 if ((mb->moptions & PCRE2_DFA_SHORTEST) != 0) return match_count; in internal_dfa_match()
3181 match_count < 0) /* no matches */ in internal_dfa_match()
3193 match_count = PCRE2_ERROR_PARTIAL; in internal_dfa_match()
3205 if (match_count >= 0 && in internal_dfa_match()
[all …]
/third_party/selinux/libselinux/src/
Dlabel_file.c859 size_t *match_count) in lookup_all() argument
872 if (match_count) { in lookup_all()
873 *match_count = 0; in lookup_all()
962 if (match_count) { in lookup_all()
963 result[*match_count] = spec; in lookup_all()
964 *match_count += 1; in lookup_all()
/third_party/glib/glib/tests/
Dregex.c693 gint match_count; in test_fetch_all() local
703 match_count = g_strv_length (matches); in test_fetch_all()
705 match_count = 0; in test_fetch_all()
707 g_assert_cmpint (match_count, ==, g_slist_length (data->expected)); in test_fetch_all()
1259 gint match_count; in test_match_all_full() local
1271 match_count = g_match_info_get_match_count (match_info); in test_match_all_full()
1272 g_assert_cmpint (match_count, ==, g_slist_length (data->expected)); in test_match_all_full()
1275 for (i = 0; i < match_count; i++) in test_match_all_full()
1305 guint i, match_count; in test_match_all() local
1315 match_count = g_match_info_get_match_count (match_info); in test_match_all()
[all …]
/third_party/glib/glib/
Dgregex.c2533 gint match_count; in g_regex_split_full() local
2542 match_count = g_match_info_get_match_count (match_info); in g_regex_split_full()
2543 if (match_count > 1) in g_regex_split_full()
2545 for (i = 1; i < match_count; i++) in g_regex_split_full()
/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumbermatcher_test.cc325 int match_count = 0; in EnsureTermination() local
329 ++match_count; in EnsureTermination()
334 ASSERT_LT(match_count, 10); in EnsureTermination()
/third_party/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc1623 int match_count = matcher.FindMaximumMatch(early_return); in MatchRepeatedFieldIndices() local
1624 if (match_count != count1 && early_return) return false; in MatchRepeatedFieldIndices()
1625 success = success && (match_count == count1); in MatchRepeatedFieldIndices()
/third_party/openh264/codec/decoder/core/src/
Dmv_pred.cpp536 … uint32_t match_count = (iLeftRef[listIdx] == ref[listIdx]) + (iTopRef[listIdx] == ref[listIdx]) + in PredMvBDirectSpatial() local
538 if (match_count == 1) { in PredMvBDirectSpatial()
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch60106 + int match_count,
60112 + NotifyResults(active_ordinal, match_count, finished);
60158 + int match_count,
60161 + if (match_count == -1)
60162 + match_count = last_match_count_;
60164 + last_match_count_ = match_count;
60177 + if (match_count == -1) {
60179 + match_count = 0;
60192 + listener_->OnFindResultReceived(active_ordinal, match_count, finished);
60237 + int match_count,
[all …]