/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
D | gtest_pred_impl.h | 88 Pred pred, in AssertPred1Helper() argument 90 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper() 105 #define GTEST_PRED1_(pred, v1, on_failure)\ argument 106 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \ 108 pred, \ 114 #define EXPECT_PRED1(pred, v1) \ argument 115 GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_) 118 #define ASSERT_PRED1(pred, v1) \ argument 119 GTEST_PRED1_(pred, v1, GTEST_FATAL_FAILURE_) 131 Pred pred, in AssertPred2Helper() argument [all …]
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
D | subtract_mmi.c | 18 ptrdiff_t src_stride, const uint8_t *pred, in vpx_subtract_block_mmi() argument 40 MMI_ADDU(%[pred], %[pred], %[pred_stride]) in vpx_subtract_block_mmi() 54 MMI_ADDU(%[pred], %[pred], %[pred_stride]) in vpx_subtract_block_mmi() 68 MMI_ADDU(%[pred], %[pred], %[pred_stride]) in vpx_subtract_block_mmi() 113 [src] "+&r"(src), [pred] "+&r"(pred), [diff] "+&r"(diff) in vpx_subtract_block_mmi() 129 MMI_ADDU(%[pred], %[pred], %[pred_stride]) in vpx_subtract_block_mmi() 135 MMI_ADDU(%[pred], %[pred], %[pred_stride]) in vpx_subtract_block_mmi() 141 MMI_ADDU(%[pred], %[pred], %[pred_stride]) in vpx_subtract_block_mmi() 147 MMI_ADDU(%[pred], %[pred], %[pred_stride]) in vpx_subtract_block_mmi() 201 [pred] "+&r"(pred), [diff] "+&r"(diff) in vpx_subtract_block_mmi() [all …]
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest_pred_impl.h | 89 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/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest_pred_impl.h | 89 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/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/ |
D | gtest_pred_impl.h | 89 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/googletest/googletest/include/gtest/ |
D | gtest_pred_impl.h | 89 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 …]
|
/external/google-breakpad/src/testing/gtest/include/gtest/ |
D | gtest_pred_impl.h | 89 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/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest_pred_impl.h | 89 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/libaom/libaom/third_party/googletest/src/googletest/include/gtest/ |
D | gtest_pred_impl.h | 89 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/openssh/regress/unittests/test_helper/ |
D | test_helper.c | 46 #define TEST_CHECK_INT(r, pred) do { \ argument 47 switch (pred) { \ 77 #define TEST_CHECK(x1, x2, pred) do { \ argument 78 switch (pred) { \ 295 const char *name, enum test_predicate pred) in test_header() argument 301 name, pred_name(pred), a1, in test_header() 307 const BIGNUM *aa1, const BIGNUM *aa2, enum test_predicate pred) in assert_bignum() argument 311 TEST_CHECK_INT(r, pred); in assert_bignum() 312 test_header(file, line, a1, a2, "BIGNUM", pred); in assert_bignum() 320 const char *aa1, const char *aa2, enum test_predicate pred) in assert_string() argument [all …]
|
/external/icu/icu4c/source/data/locales/ |
D | sl.txt | 931 "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 …]
|
D | sk.txt | 872 "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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/ |
D | vote.ll | 5 define i1 @vote.all(i1 %pred) { 6 ; CHECK: vote.all.pred 7 %val = call i1 @llvm.nvvm.vote.all(i1 %pred) 13 define i1 @vote.any(i1 %pred) { 14 ; CHECK: vote.any.pred 15 %val = call i1 @llvm.nvvm.vote.any(i1 %pred) 21 define i1 @vote.uni(i1 %pred) { 22 ; CHECK: vote.uni.pred 23 %val = call i1 @llvm.nvvm.vote.uni(i1 %pred) 29 define i32 @vote.ballot(i1 %pred) { [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/CellSPU/useful-harnesses/ |
D | i64operations.c | 257 compare_expect_int64(const struct int64_pred_s * pred) in compare_expect_int64() argument 261 for (j = 0; j < pred->n_tests; ++j) { in compare_expect_int64() 264 pred_result = (*pred->predfunc) (*pred->tests[j].lhs, *pred->tests[j].rhs); in compare_expect_int64() 266 if (pred_result != pred->tests[j].expected) { in compare_expect_int64() 269 sprintf(str, pred->tests[j].fmt_string, pred->name); in compare_expect_int64() 271 pred_result, pred->tests[j].expected); in compare_expect_int64() 272 printf(" lhs = %19lld (0x%016llx)\n", *pred->tests[j].lhs, in compare_expect_int64() 273 *pred->tests[j].lhs); in compare_expect_int64() 274 printf(" rhs = %19lld (0x%016llx)\n", *pred->tests[j].rhs, in compare_expect_int64() 275 *pred->tests[j].rhs); in compare_expect_int64() [all …]
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ |
D | is_partitioned.pass.cpp | 42 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local 45 std::ref(pred))); in main() 46 assert(static_cast<std::ptrdiff_t>(pred.count()) <= in main() 51 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local 54 std::ref(pred))); in main() 55 assert(static_cast<std::ptrdiff_t>(pred.count()) <= in main() 60 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local 63 std::ref(pred))); in main() 64 assert(static_cast<std::ptrdiff_t>(pred.count()) <= in main() 69 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | smart_cond.py | 27 def smart_cond(pred, true_fn=None, false_fn=None, name=None): argument 51 pred_value = smart_constant_value(pred) 58 return control_flow_ops.cond(pred, true_fn=true_fn, false_fn=false_fn, 62 def smart_constant_value(pred): argument 74 if pred in {0, 1}: # Accept 1/0 as valid boolean values 75 pred_value = bool(pred) 76 elif isinstance(pred, bool): 77 pred_value = pred 78 elif isinstance(pred, ops.Tensor): 79 pred_value = tensor_util.constant_value(pred) [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | reconintra4x4.c | 24 static intra_pred_fn pred[10]; variable 27 pred[B_DC_PRED] = vpx_dc_predictor_4x4; in vp8_init_intra4x4_predictors_internal() 28 pred[B_TM_PRED] = vpx_tm_predictor_4x4; in vp8_init_intra4x4_predictors_internal() 29 pred[B_VE_PRED] = vpx_ve_predictor_4x4; in vp8_init_intra4x4_predictors_internal() 30 pred[B_HE_PRED] = vpx_he_predictor_4x4; in vp8_init_intra4x4_predictors_internal() 31 pred[B_LD_PRED] = vpx_d45e_predictor_4x4; in vp8_init_intra4x4_predictors_internal() 32 pred[B_RD_PRED] = vpx_d135_predictor_4x4; in vp8_init_intra4x4_predictors_internal() 33 pred[B_VR_PRED] = vpx_d117_predictor_4x4; in vp8_init_intra4x4_predictors_internal() 34 pred[B_VL_PRED] = vpx_d63e_predictor_4x4; in vp8_init_intra4x4_predictors_internal() 35 pred[B_HD_PRED] = vpx_d153_predictor_4x4; in vp8_init_intra4x4_predictors_internal() [all …]
|
/external/libaom/libaom/aom_dsp/x86/ |
D | highbd_subtract_sse2.c | 21 const uint16_t *pred, 26 const uint16_t *pred, ptrdiff_t pred_stride) { in subtract_4x4() argument 37 v0 = _mm_loadl_epi64((__m128i const *)(pred + 0 * pred_stride)); in subtract_4x4() 38 v1 = _mm_loadl_epi64((__m128i const *)(pred + 1 * pred_stride)); in subtract_4x4() 39 v2 = _mm_loadl_epi64((__m128i const *)(pred + 2 * pred_stride)); in subtract_4x4() 40 v3 = _mm_loadl_epi64((__m128i const *)(pred + 3 * pred_stride)); in subtract_4x4() 58 const uint16_t *pred, ptrdiff_t pred_stride) { in subtract_4x8() argument 73 v0 = _mm_loadl_epi64((__m128i const *)(pred + 0 * pred_stride)); in subtract_4x8() 74 v1 = _mm_loadl_epi64((__m128i const *)(pred + 1 * pred_stride)); in subtract_4x8() 75 v2 = _mm_loadl_epi64((__m128i const *)(pred + 2 * pred_stride)); in subtract_4x8() [all …]
|
/external/libjpeg-turbo/ |
D | jdcoefct.c | 426 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/apache-xml/src/main/java/org/apache/xpath/axes/ |
D | HasPositionalPredChecker.java | 95 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/tensorflow/tensorflow/compiler/xla/tests/ |
D | conditional_test.cc | 181 XlaOp pred; in XLA_TEST_F() local 182 auto pred_arg = CreateR0Parameter<bool>(true, 0, "pred", &builder, &pred); in XLA_TEST_F() 186 Conditional(pred, operands, true_computation, operands, false_computation); in XLA_TEST_F() 224 XlaOp pred; in XLA_TEST_F() local 225 auto pred_arg = CreateR0Parameter<bool>(false, 0, "pred", &builder, &pred); in XLA_TEST_F() 229 Conditional(pred, operand1, identity, operand2, identity); in XLA_TEST_F() 277 XlaOp pred; in XLA_TEST_F() local 278 auto pred_arg = CreateR0Parameter<bool>(false, 0, "pred", &builder, &pred); in XLA_TEST_F() 281 Conditional(pred, operand1, CreateR0CeilComputation(), operand2, in XLA_TEST_F() 291 XlaOp pred; in XLA_TEST_F() local [all …]
|
/external/libvpx/libvpx/test/ |
D | comp_avg_pred_test.cc | 30 void reference_pred(const Buffer<uint8_t> &pred, const Buffer<uint8_t> &ref, in reference_pred() argument 33 ASSERT_TRUE(pred.TopLeftPixel() != NULL); in reference_pred() 39 avg_with_rounding(pred.TopLeftPixel()[y * pred.stride() + x], in reference_pred() 76 Buffer<uint8_t> pred = Buffer<uint8_t>(width, height, 0, 16); in TEST_P() local 77 ASSERT_TRUE(pred.Init()); in TEST_P() 84 pred.Set(&rnd_, &ACMRandom::Rand8); in TEST_P() 86 reference_pred(pred, ref, width, height, &avg_ref); in TEST_P() 88 avg_pred_func_(avg_chk.TopLeftPixel(), pred.TopLeftPixel(), width, in TEST_P() 107 Buffer<uint8_t> pred = Buffer<uint8_t>(width, height, 0, 16); in TEST_P() local 108 ASSERT_TRUE(pred.Init()); in TEST_P() [all …]
|
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/ |
D | linq_where.hpp | 25 cursor(const inner_cursor& cur, const Predicate& p) : cur(cur), pred(p) in cursor() 27 if (!cur.empty() && !pred(cur.get())) { in cursor() 37 if (cur.empty() || pred(cur.get())) break; in inc() 48 if (pred(cur.get())) break; in dec() 53 Predicate pred; member 56 linq_where(const Collection& c, Predicate pred) : c(c), pred(pred) {} in linq_where() argument 59 return cursor(c.get_cursor(), pred); in get_cursor() 64 Predicate pred; member in cpplinq::linq_where
|
/external/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/ |
D | make_heap_comp.pass.cpp | 48 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() <= 3u*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() <= 3u*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/libvpx/libvpx/vpx_dsp/ppc/ |
D | subtract_vsx.c | 19 ptrdiff_t src_stride, const uint8_t *pred, ptrdiff_t pred_stride) { in subtract_block4x4() argument 22 const uint8_t *pred1 = pred + 2 * pred_stride; in subtract_block4x4() 30 const uint8x16_t p0 = read4x2(pred, (int)pred_stride); in subtract_block4x4() 45 ptrdiff_t src_stride, const uint8_t *pred, in vpx_subtract_block_vsx() argument 56 const uint8x16_t p0 = vec_vsx_ld(0, pred + c); in vpx_subtract_block_vsx() 57 const uint8x16_t p1 = vec_vsx_ld(16, pred + c); in vpx_subtract_block_vsx() 72 pred += pred_stride; in vpx_subtract_block_vsx() 79 const uint8x16_t p0 = vec_vsx_ld(0, pred); in vpx_subtract_block_vsx() 85 pred += pred_stride; in vpx_subtract_block_vsx() 92 const uint8x16_t p0 = vec_vsx_ld(0, pred); in vpx_subtract_block_vsx() [all …]
|