Home
last modified time | relevance | path

Searched refs:pred (Results 1 – 25 of 1013) sorted by relevance

12345678910>>...41

/third_party/mesa3d/src/gtest/include/gtest/
Dgtest_pred_impl.h89 Pred pred, in AssertPred1Helper() argument
91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper()
107 #define GTEST_PRED1_(pred, v1, on_failure)\ argument
108 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
110 pred, \
116 #define EXPECT_PRED1(pred, v1) \ argument
117 GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
120 #define ASSERT_PRED1(pred, v1) \ argument
121 GTEST_PRED1_(pred, v1, GTEST_FATAL_FAILURE_)
133 Pred pred, in AssertPred2Helper() argument
[all …]
/third_party/googletest/googletest/include/gtest/
Dgtest_pred_impl.h89 Pred pred, in AssertPred1Helper() argument
91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper()
107 #define GTEST_PRED1_(pred, v1, on_failure)\ argument
108 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
110 pred, \
116 #define EXPECT_PRED1(pred, v1) \ argument
117 GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
120 #define ASSERT_PRED1(pred, v1) \ argument
121 GTEST_PRED1_(pred, v1, GTEST_FATAL_FAILURE_)
133 Pred pred, in AssertPred2Helper() argument
[all …]
/third_party/boost/boost/preprocessor/seq/
Dfilter.hpp26 …BOOST_PP_SEQ_FILTER(pred, data, seq) BOOST_PP_SEQ_TAIL(BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_SEQ_FOLD… argument
28 # define BOOST_PP_SEQ_FILTER(pred, data, seq) BOOST_PP_SEQ_FILTER_I(pred, data, seq) argument
29 …OST_PP_SEQ_FILTER_I(pred, data, seq) BOOST_PP_SEQ_TAIL(BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_SEQ_FOLD… argument
40 # define BOOST_PP_SEQ_FILTER_O_I(s, pred, data, res, elem) (pred, data, res BOOST_PP_EXPR_IF(pred argument
42 # define BOOST_PP_SEQ_FILTER_O_I(s, pred, data, res, elem) (pred, data, res BOOST_PP_EXPR_IF(pred argument
48 …_SEQ_FILTER_S(s, pred, data, seq) BOOST_PP_SEQ_TAIL(BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_SEQ_FOLD_LE… argument
50 # define BOOST_PP_SEQ_FILTER_S(s, pred, data, seq) BOOST_PP_SEQ_FILTER_S_I(s, pred, data, seq) argument
51 …EQ_FILTER_S_I(s, pred, data, seq) BOOST_PP_SEQ_TAIL(BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_SEQ_FOLD_LE… argument
/third_party/boost/boost/preprocessor/list/
Dfilter.hpp26 …efine BOOST_PP_LIST_FILTER(pred, data, list) BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_LIST_FOLD_RIGHT(BO… argument
28 # define BOOST_PP_LIST_FILTER(pred, data, list) BOOST_PP_LIST_FILTER_I(pred, data, list) argument
29 …ine BOOST_PP_LIST_FILTER_I(pred, data, list) BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_LIST_FOLD_RIGHT(BO… argument
40 # define BOOST_PP_LIST_FILTER_O_D(d, pred, data, res, elem) (pred, data, BOOST_PP_IF(pred(d, dat… argument
42 # define BOOST_PP_LIST_FILTER_O_D(d, pred, data, res, elem) (pred, data, BOOST_PP_IF(pred##(d, d… argument
48 …OST_PP_LIST_FILTER_D(d, pred, data, list) BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_LIST_FOLD_RIGHT_ ## d… argument
50 # define BOOST_PP_LIST_FILTER_D(d, pred, data, list) BOOST_PP_LIST_FILTER_D_I(d, pred, data, lis… argument
51 …T_PP_LIST_FILTER_D_I(d, pred, data, list) BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_LIST_FOLD_RIGHT_ ## d… argument
/third_party/skia/third_party/externals/libjpeg-turbo/
Djdcoefct.c449 int Al, pred; in decompress_smooth_data() local
618 pred = (int)(((Q01 << 7) + num) / (Q01 << 8)); in decompress_smooth_data()
619 if (Al > 0 && pred >= (1 << Al)) in decompress_smooth_data()
620 pred = (1 << Al) - 1; in decompress_smooth_data()
622 pred = (int)(((Q01 << 7) - num) / (Q01 << 8)); in decompress_smooth_data()
623 if (Al > 0 && pred >= (1 << Al)) in decompress_smooth_data()
624 pred = (1 << Al) - 1; in decompress_smooth_data()
625 pred = -pred; in decompress_smooth_data()
627 workspace[1] = (JCOEF)pred; in decompress_smooth_data()
638 pred = (int)(((Q10 << 7) + num) / (Q10 << 8)); in decompress_smooth_data()
[all …]
/third_party/icu/icu4c/source/data/locales/
Dsl.txt750 "pred Kristusom",
754 "pred našim štetjem",
1036 "pred RK",
1040 "pred RK",
1044 "pred RK",
1162 few{"pred {0} dnevi"}
1163 one{"pred {0} dnevom"}
1164 other{"pred {0} dnevi"}
1165 two{"pred {0} dnevoma"}
1186 few{"pred {0} dnevi"}
[all …]
Dsk.txt918 "pred Kr.",
922 "pred n. l.",
926 "pred Kristom",
930 "pred naším letopočtom",
1521 "pred ROC",
1525 "pred ROC",
1529 "pred ROC",
1669 few{"pred {0} dňami"}
1670 many{"pred {0} dňa"}
1671 one{"pred {0} dňom"}
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/
Dsl.txt931 "pred Kristusom",
935 "pred našim štetjem",
1594 "pred RK",
1598 "pred RK",
1602 "pred RK",
1720 few{"pred {0} dnevi"}
1721 one{"pred {0} dnevom"}
1722 other{"pred {0} dnevi"}
1723 two{"pred {0} dnevoma"}
1744 few{"pred {0} dnevi"}
[all …]
Dsk.txt872 "pred Kr.",
876 "pred n. l.",
880 "pred Kristom",
884 "pred naším letopočtom",
1430 "pred ROC",
1434 "pred ROC",
1438 "pred ROC",
1578 few{"pred {0} dňami"}
1579 many{"pred {0} dňa"}
1580 one{"pred {0} dňom"}
[all …]
/third_party/skia/third_party/externals/icu/source/data/locales/
Dsl.txt750 "pred Kristusom",
754 "pred našim štetjem",
1036 "pred RK",
1040 "pred RK",
1044 "pred RK",
1162 few{"pred {0} dnevi"}
1163 one{"pred {0} dnevom"}
1164 other{"pred {0} dnevi"}
1165 two{"pred {0} dnevoma"}
1186 few{"pred {0} dnevi"}
[all …]
Dsk.txt918 "pred Kr.",
922 "pred n. l.",
926 "pred Kristom",
930 "pred naším letopočtom",
1521 "pred ROC",
1525 "pred ROC",
1529 "pred ROC",
1669 few{"pred {0} dňami"}
1670 many{"pred {0} dňa"}
1671 one{"pred {0} dňom"}
[all …]
/third_party/ffmpeg/libavcodec/
Dcllc.c92 int pred[4]; in read_argb_line() local
99 pred[0] = top_left[0]; in read_argb_line()
100 pred[1] = top_left[1]; in read_argb_line()
101 pred[2] = top_left[2]; in read_argb_line()
102 pred[3] = top_left[3]; in read_argb_line()
109 pred[0] += code; in read_argb_line()
110 dst[0] = pred[0]; in read_argb_line()
118 pred[1] += code; in read_argb_line()
119 dst[1] = pred[1]; in read_argb_line()
125 pred[2] += code; in read_argb_line()
[all …]
Dsheervideo.c63 int pred[4] = { 502, 512, 512, 502 }; in decode_ca4i() local
73 dst_a[x] = pred[3] = (a + pred[3]) & 0x3ff; in decode_ca4i()
74 dst_y[x] = pred[0] = (y + pred[0]) & 0x3ff; in decode_ca4i()
75 dst_u[x] = pred[1] = (u + pred[1]) & 0x3ff; in decode_ca4i()
76 dst_v[x] = pred[2] = (v + pred[2]) & 0x3ff; in decode_ca4i()
106 int pred[4] = { 502, 512, 512, 502 }; in decode_ca4p() local
116 dst_a[x] = pred[3] = (a + pred[3]) & 0x3ff; in decode_ca4p()
117 dst_y[x] = pred[0] = (y + pred[0]) & 0x3ff; in decode_ca4p()
118 dst_u[x] = pred[1] = (u + pred[1]) & 0x3ff; in decode_ca4p()
119 dst_v[x] = pred[2] = (v + pred[2]) & 0x3ff; in decode_ca4p()
[all …]
/third_party/boost/libs/hana/include/boost/hana/
Dany_of.hpp37 constexpr auto any_of_t::operator()(Xs&& xs, Pred&& pred) const { in operator ()()
48 return AnyOf::apply(static_cast<Xs&&>(xs), static_cast<Pred&&>(pred)); in operator ()()
64 static constexpr auto apply(bool prev_cond, Xs&& xs, Pred&& pred) { in apply()
67 hana::if_(pred(hana::at_c<k>(xs)), hana::true_c, hana::false_c), in apply()
69 static_cast<Pred&&>(pred) in apply()
78 static constexpr auto apply(hana::false_, Xs&& xs, Pred&& pred) { in apply()
79 auto cond = hana::if_(pred(hana::at_c<k>(xs)), hana::true_c, in apply()
83 static_cast<Pred&&>(pred)); in apply()
95 static constexpr auto apply(Xs&& xs, Pred&& pred) { in apply()
99 static_cast<Pred&&>(pred)); in apply()
[all …]
Dlexicographical_compare.hpp34 …pr auto lexicographical_compare_t::operator()(Xs const& xs, Ys const& ys, Pred const& pred) const { in operator ()()
51 return LexicographicalCompare::apply(xs, ys, pred); in operator ()()
64 helper2(Xs const& xs, Ys const& ys, Pred const& pred, hana::false_) in helper2()
65 { return apply(hana::drop_front(xs), hana::drop_front(ys), pred); } in helper2()
69 helper2(Xs const& xs, Ys const& ys, Pred const& pred, bool is_greater) in helper2()
70 { return is_greater ? false : apply(hana::drop_front(xs), hana::drop_front(ys), pred); } in helper2()
80 helper1(Xs const& xs, Ys const& ys, Pred const& pred, hana::false_) in helper1()
81 …{ return helper2(xs, ys, pred, hana::if_(pred(hana::front(ys), hana::front(xs)), hana::true_c, han… in helper1()
85 helper1(Xs const& xs, Ys const& ys, Pred const& pred, bool is_less) in helper1()
86 …{ return is_less ? true : helper2(xs, ys, pred, hana::if_(pred(hana::front(ys), hana::front(xs)), … in helper1()
[all …]
/third_party/boost/boost/hana/
Dany_of.hpp37 constexpr auto any_of_t::operator()(Xs&& xs, Pred&& pred) const { in operator ()()
48 return AnyOf::apply(static_cast<Xs&&>(xs), static_cast<Pred&&>(pred)); in operator ()()
64 static constexpr auto apply(bool prev_cond, Xs&& xs, Pred&& pred) { in apply()
67 hana::if_(pred(hana::at_c<k>(xs)), hana::true_c, hana::false_c), in apply()
69 static_cast<Pred&&>(pred) in apply()
78 static constexpr auto apply(hana::false_, Xs&& xs, Pred&& pred) { in apply()
79 auto cond = hana::if_(pred(hana::at_c<k>(xs)), hana::true_c, in apply()
83 static_cast<Pred&&>(pred)); in apply()
95 static constexpr auto apply(Xs&& xs, Pred&& pred) { in apply()
99 static_cast<Pred&&>(pred)); in apply()
[all …]
Dlexicographical_compare.hpp34 …pr auto lexicographical_compare_t::operator()(Xs const& xs, Ys const& ys, Pred const& pred) const { in operator ()()
51 return LexicographicalCompare::apply(xs, ys, pred); in operator ()()
64 helper2(Xs const& xs, Ys const& ys, Pred const& pred, hana::false_) in helper2()
65 { return apply(hana::drop_front(xs), hana::drop_front(ys), pred); } in helper2()
69 helper2(Xs const& xs, Ys const& ys, Pred const& pred, bool is_greater) in helper2()
70 { return is_greater ? false : apply(hana::drop_front(xs), hana::drop_front(ys), pred); } in helper2()
80 helper1(Xs const& xs, Ys const& ys, Pred const& pred, hana::false_) in helper1()
81 …{ return helper2(xs, ys, pred, hana::if_(pred(hana::front(ys), hana::front(xs)), hana::true_c, han… in helper1()
85 helper1(Xs const& xs, Ys const& ys, Pred const& pred, bool is_less) in helper1()
86 …{ return is_less ? true : helper2(xs, ys, pred, hana::if_(pred(hana::front(ys), hana::front(xs)), … in helper1()
[all …]
/third_party/boost/libs/range/test/algorithm_test/
Dheap.cpp79 void test_pred(BinaryPredicate pred) in test_pred() argument
85 std::sort(reference.begin(), reference.end(), pred); in test_pred()
90 std::make_heap(reference.begin(), reference.end(), pred); in test_pred()
91 boost::make_heap(test_cont, pred); in test_pred()
93 boost::make_heap(boost::make_iterator_range(test_cont2), pred); in test_pred()
99 std::push_heap(reference.begin(), reference.end(), pred); in test_pred()
100 boost::push_heap(test_cont, pred); in test_pred()
102 boost::push_heap(boost::make_iterator_range(test_cont2), pred); in test_pred()
105 std::make_heap(reference.begin(), reference.end(), pred); in test_pred()
106 boost::make_heap(test_cont, pred); in test_pred()
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djdcoefct.c426 int Al, pred; in decompress_smooth_data() local
529 pred = (int)(((Q01 << 7) + num) / (Q01 << 8)); in decompress_smooth_data()
530 if (Al > 0 && pred >= (1 << Al)) in decompress_smooth_data()
531 pred = (1 << Al) - 1; in decompress_smooth_data()
533 pred = (int)(((Q01 << 7) - num) / (Q01 << 8)); in decompress_smooth_data()
534 if (Al > 0 && pred >= (1 << Al)) in decompress_smooth_data()
535 pred = (1 << Al) - 1; in decompress_smooth_data()
536 pred = -pred; in decompress_smooth_data()
538 workspace[1] = (JCOEF)pred; in decompress_smooth_data()
544 pred = (int)(((Q10 << 7) + num) / (Q10 << 8)); in decompress_smooth_data()
[all …]
/third_party/libjpeg-turbo/
Djdcoefct.c426 int Al, pred; in decompress_smooth_data() local
529 pred = (int)(((Q01 << 7) + num) / (Q01 << 8)); in decompress_smooth_data()
530 if (Al > 0 && pred >= (1 << Al)) in decompress_smooth_data()
531 pred = (1 << Al) - 1; in decompress_smooth_data()
533 pred = (int)(((Q01 << 7) - num) / (Q01 << 8)); in decompress_smooth_data()
534 if (Al > 0 && pred >= (1 << Al)) in decompress_smooth_data()
535 pred = (1 << Al) - 1; in decompress_smooth_data()
536 pred = -pred; in decompress_smooth_data()
538 workspace[1] = (JCOEF)pred; in decompress_smooth_data()
544 pred = (int)(((Q10 << 7) + num) / (Q10 << 8)); in decompress_smooth_data()
[all …]
/third_party/boost/boost/thread/win32/
Dcondition_variable.hpp341 void wait(unique_lock<mutex>& m,predicate_type pred) in wait() argument
343 while (!pred()) in wait()
385 … bool timed_wait(unique_lock<mutex>& m,boost::system_time const& abs_time,predicate_type pred) in timed_wait() argument
391 while (!pred()) in timed_wait()
398 return pred(); in timed_wait()
401 bool timed_wait(unique_lock<mutex>& m,boost::xtime const& abs_time,predicate_type pred) in timed_wait() argument
403 return timed_wait(m, system_time(abs_time), pred); in timed_wait()
406 … bool timed_wait(unique_lock<mutex>& m,duration_type const& wait_duration,predicate_type pred) in timed_wait() argument
410 while (!pred()) in timed_wait()
418 return pred(); in timed_wait()
[all …]
/third_party/gn/src/base/
Dstl_util.h32 void IterateAndEraseIf(Container& container, Predicate pred) { in IterateAndEraseIf() argument
34 if (pred(*it)) in IterateAndEraseIf()
150 Predicate pred) { in EraseIf() argument
151 container.erase(std::remove_if(container.begin(), container.end(), pred), in EraseIf()
162 void EraseIf(std::deque<T, Allocator>& container, Predicate pred) { in EraseIf() argument
163 container.erase(std::remove_if(container.begin(), container.end(), pred), in EraseIf()
174 void EraseIf(std::vector<T, Allocator>& container, Predicate pred) { in EraseIf() argument
175 container.erase(std::remove_if(container.begin(), container.end(), pred), in EraseIf()
188 void EraseIf(std::forward_list<T, Allocator>& container, Predicate pred) { in EraseIf() argument
189 container.remove_if(pred); in EraseIf()
[all …]
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dscheduler.c37 ppir_instr *pred = dep->pred; in ppir_schedule_calc_sched_info() local
39 if (pred->reg_pressure < 0) in ppir_schedule_calc_sched_info()
40 ppir_schedule_calc_sched_info(pred); in ppir_schedule_calc_sched_info()
42 if (instr->est < pred->est + 1) in ppir_schedule_calc_sched_info()
43 instr->est = pred->est + 1; in ppir_schedule_calc_sched_info()
45 float reg_weight = 1.0 - 1.0 / list_length(&pred->succ_list); in ppir_schedule_calc_sched_info()
60 ppir_instr *pred = dep->pred; in ppir_schedule_calc_sched_info() local
61 reg[i++] = pred->reg_pressure; in ppir_schedule_calc_sched_info()
134 ppir_instr *pred = dep->pred; in ppir_schedule_ready_list() local
135 pred->parent_index = block->sched_instr_index; in ppir_schedule_ready_list()
[all …]
/third_party/boost/boost/poly_collection/
Dalgorithm.hpp59 bool all_of(const Iterator& first,const Iterator& last,Predicate pred) in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
61 auto alg=restitute_range<Ts...>(std_all_of{},pred); in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
72 bool any_of(const Iterator& first,const Iterator& last,Predicate pred) in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
74 auto alg=restitute_range<Ts...>(std_any_of{},pred); in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
85 bool none_of(const Iterator& first,const Iterator& last,Predicate pred) in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
87 auto alg=restitute_range<Ts...>(std_none_of{},pred); in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
196 Iterator find_if(const Iterator& first,const Iterator& last,Predicate pred) in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
198 return generic_find<std_find_if,Ts...>(first,last,pred); in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
207 Iterator find_if_not(const Iterator& first,const Iterator& last,Predicate pred) in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
209 return generic_find<std_find_if_not,Ts...>(first,last,pred); in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
[all …]
/third_party/boost/boost/range/adaptor/
Dreplaced_if.hpp42 replace_value_if(const Pred& pred, const Value& to) in replace_value_if() argument
43 : m_impl(data(pred, to)) in replace_value_if()
84 replaced_if_range( R& r, const Pred& pred, value_type to ) in replaced_if_range() argument
85 : base_t( make_transform_iterator( boost::begin(r), Fn(pred, to) ), in replaced_if_range()
86 make_transform_iterator( boost::end(r), Fn(pred, to) ) ) in replaced_if_range()
94 replace_if_holder( const Pred& pred, const T& to ) in replace_if_holder() argument
95 : m_pred(pred), m_to(to) in replace_if_holder()
98 const Pred& pred() const { return m_pred; } in pred() function in boost::range_detail::replace_if_holder
114 r, f.pred(), f.to()); in operator |()
125 r, f.pred(), f.to()); in operator |()
[all …]

12345678910>>...41