Home
last modified time | relevance | path

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

12345678910>>...14

/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest_pred_impl.h89 Pred pred, in AssertPred1Helper() argument
91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper()
106 #define GTEST_PRED1_(pred, v1, on_failure)\ argument
107 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
109 pred, \
115 #define EXPECT_PRED1(pred, v1) \ argument
116 GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
119 #define ASSERT_PRED1(pred, v1) \ argument
120 GTEST_PRED1_(pred, v1, GTEST_FATAL_FAILURE_)
132 Pred pred, in AssertPred2Helper() argument
[all …]
/external/gtest/include/gtest/
Dgtest_pred_impl.h89 Pred pred, in AssertPred1Helper() argument
91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper()
106 #define GTEST_PRED1_(pred, v1, on_failure)\ argument
107 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
109 pred, \
115 #define EXPECT_PRED1(pred, v1) \ argument
116 GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
119 #define ASSERT_PRED1(pred, v1) \ argument
120 GTEST_PRED1_(pred, v1, GTEST_FATAL_FAILURE_)
132 Pred pred, in AssertPred2Helper() argument
[all …]
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest_pred_impl.h89 Pred pred, in AssertPred1Helper() argument
91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper()
106 #define GTEST_PRED1_(pred, v1, on_failure)\ argument
107 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
109 pred, \
115 #define EXPECT_PRED1(pred, v1) \ argument
116 GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
119 #define ASSERT_PRED1(pred, v1) \ argument
120 GTEST_PRED1_(pred, v1, GTEST_FATAL_FAILURE_)
132 Pred pred, in AssertPred2Helper() argument
[all …]
/external/mesa3d/src/gtest/include/gtest/
Dgtest_pred_impl.h89 Pred pred, in AssertPred1Helper() argument
91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper()
106 #define GTEST_PRED1_(pred, v1, on_failure)\ argument
107 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
109 pred, \
115 #define EXPECT_PRED1(pred, v1) \ argument
116 GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
119 #define ASSERT_PRED1(pred, v1) \ argument
120 GTEST_PRED1_(pred, v1, GTEST_FATAL_FAILURE_)
132 Pred pred, in AssertPred2Helper() argument
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/
Dgtest_pred_impl.h89 Pred pred, in AssertPred1Helper() argument
91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper()
106 #define GTEST_PRED1_(pred, v1, on_failure)\ argument
107 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
109 pred, \
115 #define EXPECT_PRED1(pred, v1) \ argument
116 GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
119 #define ASSERT_PRED1(pred, v1) \ argument
120 GTEST_PRED1_(pred, v1, GTEST_FATAL_FAILURE_)
132 Pred pred, in AssertPred2Helper() argument
[all …]
/external/protobuf/gtest/include/gtest/
Dgtest_pred_impl.h89 Pred pred, in AssertPred1Helper() argument
91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper()
108 #define GTEST_PRED1_(pred, v1, on_failure)\ argument
109 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
111 pred, \
117 #define EXPECT_PRED1(pred, v1) \ argument
118 GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
121 #define ASSERT_PRED1(pred, v1) \ argument
122 GTEST_PRED1_(pred, v1, GTEST_FATAL_FAILURE_)
134 Pred pred, in AssertPred2Helper() argument
[all …]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
Dis_partitioned.pass.cpp31 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local
34 std::ref(pred))); in main()
35 assert(pred.count() <= std::distance(std::begin(ia), std::end(ia))); in main()
39 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local
42 std::ref(pred))); in main()
43 assert(pred.count() <= std::distance(std::begin(ia), std::end(ia))); in main()
47 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local
50 std::ref(pred))); in main()
51 assert(pred.count() <= std::distance(std::begin(ia), std::end(ia))); in main()
55 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local
[all …]
/external/libvpx/libvpx/vp8/common/
Dreconintra4x4.c21 static intra_pred_fn pred[10]; variable
25 pred[B_DC_PRED] = vpx_dc_predictor_4x4; in vp8_init_intra4x4_predictors_internal()
26 pred[B_TM_PRED] = vpx_tm_predictor_4x4; in vp8_init_intra4x4_predictors_internal()
27 pred[B_VE_PRED] = vpx_ve_predictor_4x4; in vp8_init_intra4x4_predictors_internal()
28 pred[B_HE_PRED] = vpx_he_predictor_4x4; in vp8_init_intra4x4_predictors_internal()
29 pred[B_LD_PRED] = vpx_d45e_predictor_4x4; in vp8_init_intra4x4_predictors_internal()
30 pred[B_RD_PRED] = vpx_d135_predictor_4x4; in vp8_init_intra4x4_predictors_internal()
31 pred[B_VR_PRED] = vpx_d117_predictor_4x4; in vp8_init_intra4x4_predictors_internal()
32 pred[B_VL_PRED] = vpx_d63f_predictor_4x4; in vp8_init_intra4x4_predictors_internal()
33 pred[B_HD_PRED] = vpx_d153_predictor_4x4; in vp8_init_intra4x4_predictors_internal()
[all …]
/external/icu/icu4c/source/data/locales/
Dsl.txt659 "pred Kristusom",
663 "pred našim štetjem",
920 few{"pred {0} dnevi"}
921 one{"pred {0} dnevom"}
922 other{"pred {0} dnevi"}
923 two{"pred {0} dnevoma"}
937 few{"pred {0} dnevi"}
938 one{"pred {0} dnevom"}
939 other{"pred {0} dnevi"}
940 two{"pred {0} dnevoma"}
[all …]
Dsk.txt661 "pred Kr.",
665 "pred n. l.",
669 "pred Kristom",
673 "pred naším letopočtom",
955 few{"pred {0} dňami"}
956 many{"pred {0} dňa"}
957 one{"pred {0} dňom"}
958 other{"pred {0} dňami"}
972 few{"pred {0} d."}
973 many{"pred {0} d."}
[all …]
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdcoefct.c479 int Al, pred; in decompress_smooth_data() local
578 pred = (int) (((Q01<<7) + num) / (Q01<<8)); in decompress_smooth_data()
579 if (Al > 0 && pred >= (1<<Al)) in decompress_smooth_data()
580 pred = (1<<Al)-1; in decompress_smooth_data()
582 pred = (int) (((Q01<<7) - num) / (Q01<<8)); in decompress_smooth_data()
583 if (Al > 0 && pred >= (1<<Al)) in decompress_smooth_data()
584 pred = (1<<Al)-1; in decompress_smooth_data()
585 pred = -pred; in decompress_smooth_data()
587 workspace[1] = (JCOEF) pred; in decompress_smooth_data()
593 pred = (int) (((Q10<<7) + num) / (Q10<<8)); in decompress_smooth_data()
[all …]
/external/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 …]
/external/opencv3/3rdparty/libjpeg/
Djdcoefct.c481 int Al, pred; in decompress_smooth_data() local
580 pred = (int) (((Q01<<7) + num) / (Q01<<8)); in decompress_smooth_data()
581 if (Al > 0 && pred >= (1<<Al)) in decompress_smooth_data()
582 pred = (1<<Al)-1; in decompress_smooth_data()
584 pred = (int) (((Q01<<7) - num) / (Q01<<8)); in decompress_smooth_data()
585 if (Al > 0 && pred >= (1<<Al)) in decompress_smooth_data()
586 pred = (1<<Al)-1; in decompress_smooth_data()
587 pred = -pred; in decompress_smooth_data()
589 workspace[1] = (JCOEF) pred; in decompress_smooth_data()
595 pred = (int) (((Q10<<7) + num) / (Q10<<8)); in decompress_smooth_data()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DHasPositionalPredChecker.java95 public boolean visitPredicate(ExpressionOwner owner, Expression pred) in visitPredicate() argument
101 if((pred instanceof Variable) || in visitPredicate()
102 (pred instanceof XNumber) || in visitPredicate()
103 (pred instanceof Div) || in visitPredicate()
104 (pred instanceof Plus) || in visitPredicate()
105 (pred instanceof Minus) || in visitPredicate()
106 (pred instanceof Mod) || in visitPredicate()
107 (pred instanceof Quo) || in visitPredicate()
108 (pred instanceof Mult) || in visitPredicate()
109 (pred instanceof org.apache.xpath.operations.Number) || in visitPredicate()
[all …]
/external/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/
Dmake_heap_comp.pass.cpp48 binary_counting_predicate<std::greater<int>, int, int> pred ((std::greater<int>())); in test() local
51 std::make_heap(ia, ia+N, std::ref(pred)); in test()
52 assert(pred.count() <= 3*N); in test()
53 assert(std::is_heap(ia, ia+N, pred)); in test()
58 binary_counting_predicate<std::greater<int>, int, int> pred ((std::greater<int>())); in test() local
61 std::make_heap(ia, ia+N, std::ref(pred)); in test()
62 assert(pred.count() <= 3*N); in test()
63 assert(std::is_heap(ia, ia+N, pred)); in test()
68 binary_counting_predicate<std::greater<int>, int, int> pred ((std::greater<int>())); in test() local
70 std::make_heap(ia, ia+N, std::ref(pred)); in test()
[all …]
/external/clang/test/Analysis/
Dunix-fns.c61 dispatch_once_t pred = 0; in test_dispatch_once() local
62 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once()
65 static dispatch_once_t pred = 0; in test_dispatch_once_neg() local
66 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once_neg()
72 pthread_once_t pred = {0x30B1BCBA, {0}}; in test_pthread_once() local
73 …pthread_once(&pred, test_pthread_once_aux); // expected-warning{{Call to 'pthread_once' uses the l… in test_pthread_once()
76 static pthread_once_t pred = {0x30B1BCBA, {0}}; in test_pthread_once_neg() local
77 pthread_once(&pred, test_pthread_once_aux); // no-warning in test_pthread_once_neg()
183 dispatch_once_t pred = 0; in test_dispatch_once_in_macro() local
184 …dispatch_once(&pred, ^(){}); // expected-warning {{Call to 'dispatch_once' uses the local variabl… in test_dispatch_once_in_macro()
[all …]
Dweak-functions.c95 dispatch_once_t pred = 0; in test_dispatch_once() local
96 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once()
99 static dispatch_once_t pred = 0; in test_dispatch_once_neg() local
100 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once_neg()
/external/v8/test/unittests/base/
Dfunctional-unittest.cc108 bit_equal_to<TypeParam> pred; in TYPED_TEST() local
113 EXPECT_PRED2(pred, v1, v1); in TYPED_TEST()
114 EXPECT_PRED2(pred, v2, v2); in TYPED_TEST()
115 EXPECT_EQ(memcmp(&v1, &v2, sizeof(TypeParam)) == 0, pred(v1, v2)); in TYPED_TEST()
163 bit_equal_to<float> pred; in TEST() local
164 EXPECT_FALSE(pred(0.0f, -0.0f)); in TEST()
165 EXPECT_FALSE(pred(-0.0f, 0.0f)); in TEST()
168 EXPECT_PRED2(pred, qNaN, qNaN); in TEST()
169 EXPECT_PRED2(pred, sNaN, sNaN); in TEST()
180 bit_equal_to<double> pred; in TEST() local
[all …]
/external/libvpx/libvpx/vpx_dsp/arm/
Dsubtract_neon.c19 const uint8_t *pred, ptrdiff_t pred_stride) { in vpx_subtract_block_neon() argument
27 const uint8x16_t v_pred_00 = vld1q_u8(&pred[c + 0]); in vpx_subtract_block_neon()
28 const uint8x16_t v_pred_16 = vld1q_u8(&pred[c + 16]); in vpx_subtract_block_neon()
43 pred += pred_stride; in vpx_subtract_block_neon()
49 const uint8x16_t v_pred = vld1q_u8(&pred[0]); in vpx_subtract_block_neon()
57 pred += pred_stride; in vpx_subtract_block_neon()
63 const uint8x8_t v_pred = vld1_u8(&pred[0]); in vpx_subtract_block_neon()
67 pred += pred_stride; in vpx_subtract_block_neon()
73 diff[c] = src[c] - pred[c]; in vpx_subtract_block_neon()
76 pred += pred_stride; in vpx_subtract_block_neon()
/external/libvpx/libvpx/vpx_dsp/mips/
Dsubtract_msa.c20 v16i8 pred = { 0 }; in sub_blk_4x4_msa() local
27 INSERT_W4_SB(pred0, pred1, pred2, pred3, pred); in sub_blk_4x4_msa()
28 ILVRL_B2_UB(src, pred, src_l0, src_l1); in sub_blk_4x4_msa()
39 v16i8 pred = { 0 }; in sub_blk_8x8_msa() local
50 INSERT_D2_SB(pred0, pred1, pred); in sub_blk_8x8_msa()
51 ILVRL_B2_UB(src, pred, src_l0, src_l1); in sub_blk_8x8_msa()
59 const uint8_t *pred, int32_t pred_stride, in sub_blk_16x16_msa() argument
71 LD_SB8(pred, pred_stride, in sub_blk_16x16_msa()
73 pred += (8 * pred_stride); in sub_blk_16x16_msa()
118 const uint8_t *pred, int32_t pred_stride, in sub_blk_32x32_msa() argument
[all …]
/external/llvm/test/Transforms/IndVarSimplify/
Dsharpen-range.ll12 %entry.pred = icmp eq i32 %length, 0
13 br i1 %entry.pred, label %abort, label %loop.preheader
21 %oob.pred = icmp slt i32 %idx, %length
22 br i1 %oob.pred, label %loop.next, label %oob
28 %exit.pred = icmp slt i32 %idx.inc, %length
29 br i1 %exit.pred, label %loop, label %abort.loopexit
46 %entry.pred = icmp eq i32 %length, 0
47 br i1 %entry.pred, label %abort, label %loop.preheader
55 %oob.pred = icmp sle i32 %idx, %length
56 br i1 %oob.pred, label %loop.next, label %oob
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dsubtract.c22 const uint8_t *pred, ptrdiff_t pred_stride) { in vpx_subtract_block_c() argument
27 diff[c] = src[c] - pred[c]; in vpx_subtract_block_c()
30 pred += pred_stride; in vpx_subtract_block_c()
43 uint16_t *pred = CONVERT_TO_SHORTPTR(pred8); in vpx_highbd_subtract_block_c() local
48 diff[c] = src[c] - pred[c]; in vpx_highbd_subtract_block_c()
52 pred += pred_stride; in vpx_highbd_subtract_block_c()
/external/webp/src/dsp/
Dlossless.c138 const uint32_t pred = Average3(left, top[0], top[1]); in Predictor5() local
139 return pred; in Predictor5()
142 const uint32_t pred = Average2(left, top[-1]); in Predictor6() local
143 return pred; in Predictor6()
146 const uint32_t pred = Average2(left, top[0]); in Predictor7() local
147 return pred; in Predictor7()
150 const uint32_t pred = Average2(top[-1], top[0]); in Predictor8() local
152 return pred; in Predictor8()
155 const uint32_t pred = Average2(top[0], top[1]); in Predictor9() local
157 return pred; in Predictor9()
[all …]
/external/llvm/lib/IR/
DConstantFold.cpp1085 CmpInst::Predicate pred = (CmpInst::Predicate)CE1->getPredicate(); in ConstantFoldBinaryInstruction() local
1086 pred = CmpInst::getInversePredicate(pred); in ConstantFoldBinaryInstruction()
1087 return ConstantExpr::getCompare(pred, CE1->getOperand(0), in ConstantFoldBinaryInstruction()
1431 ICmpInst::Predicate pred = ICmpInst::ICMP_EQ; in evaluateICmpRelation() local
1432 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation()
1434 return pred; in evaluateICmpRelation()
1435 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1436 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation()
1438 return pred; in evaluateICmpRelation()
1439 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation()
[all …]
/external/libvpx/libvpx/test/
Dvp9_subtract_test.cc48 uint8_t *pred = reinterpret_cast<uint8_t *>( in TEST_P() local
57 pred[r * block_width * 2 + c] = rnd.Rand8(); in TEST_P()
62 src, block_width, pred, block_width); in TEST_P()
68 pred[r * block_width + c])) << "r = " << r in TEST_P()
75 src, block_width * 2, pred, block_width * 2); in TEST_P()
81 pred[r * block_width * 2 + c])) << "r = " << r in TEST_P()
88 vpx_free(pred); in TEST_P()

12345678910>>...14