Home
last modified time | relevance | path

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

12345678910>>...24

/external/libvpx/libvpx/vpx_dsp/mips/
Dsubtract_mmi.c18 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 …]
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, pred0, pred1, pred2, pred3, pred4, pred5, pred6, 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/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/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/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/v8/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/swiftshader/third_party/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/libvpx/libvpx/third_party/googletest/src/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/googletest/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/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/icu/icu4c/source/data/locales/
Dsl.txt929 "pred Kristusom",
933 "pred našim štetjem",
1592 "pred RK",
1596 "pred RK",
1600 "pred RK",
1718 few{"pred {0} dnevi"}
1719 one{"pred {0} dnevom"}
1720 other{"pred {0} dnevi"}
1721 two{"pred {0} dnevoma"}
1735 few{"pred {0} dnevi"}
[all …]
Dsk.txt870 "pred Kr.",
874 "pred n. l.",
878 "pred Kristom",
882 "pred naším letopočtom",
1428 "pred ROC",
1432 "pred ROC",
1436 "pred ROC",
1576 few{"pred {0} dňami"}
1577 many{"pred {0} dňa"}
1578 one{"pred {0} dňom"}
[all …]
/external/tensorflow/tensorflow/contrib/metrics/python/metrics/
Dclassification_test.py31 pred = array_ops.placeholder(dtypes.int32, shape=[None])
33 acc = classification.accuracy(pred, labels)
35 feed_dict={pred: [1, 0, 1, 0],
41 pred = array_ops.placeholder(dtypes.bool, shape=[None])
43 acc = classification.accuracy(pred, labels)
45 feed_dict={pred: [1, 0, 1, 0],
51 pred = array_ops.placeholder(dtypes.int64, shape=[None])
53 acc = classification.accuracy(pred, labels)
55 feed_dict={pred: [1, 0, 1, 0],
61 pred = array_ops.placeholder(dtypes.string, shape=[None])
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/CellSPU/useful-harnesses/
Di64operations.c257 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/
Dis_partitioned.pass.cpp42 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/libvpx/libvpx/vp8/common/
Dreconintra4x4.c24 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/libjpeg-turbo/
Djdcoefct.c427 int Al, pred; in decompress_smooth_data() local
530 pred = (int) (((Q01<<7) + num) / (Q01<<8)); in decompress_smooth_data()
531 if (Al > 0 && pred >= (1<<Al)) in decompress_smooth_data()
532 pred = (1<<Al)-1; in decompress_smooth_data()
534 pred = (int) (((Q01<<7) - num) / (Q01<<8)); in decompress_smooth_data()
535 if (Al > 0 && pred >= (1<<Al)) in decompress_smooth_data()
536 pred = (1<<Al)-1; in decompress_smooth_data()
537 pred = -pred; in decompress_smooth_data()
539 workspace[1] = (JCOEF) pred; in decompress_smooth_data()
545 pred = (int) (((Q10<<7) + num) / (Q10<<8)); in decompress_smooth_data()
[all …]
/external/libchrome/base/
Dstl_util.h31 void IterateAndEraseIf(Container& container, Predicate pred) { in IterateAndEraseIf() argument
33 if (pred(*it)) in IterateAndEraseIf()
170 Predicate pred) { in EraseIf() argument
171 container.erase(std::remove_if(container.begin(), container.end(), pred), in EraseIf()
182 void EraseIf(std::deque<T, Allocator>& container, Predicate pred) { in EraseIf() argument
183 container.erase(std::remove_if(container.begin(), container.end(), pred), in EraseIf()
194 void EraseIf(std::vector<T, Allocator>& container, Predicate pred) { in EraseIf() argument
195 container.erase(std::remove_if(container.begin(), container.end(), pred), in EraseIf()
208 void EraseIf(std::forward_list<T, Allocator>& container, Predicate pred) { in EraseIf() argument
209 container.remove_if(pred); in EraseIf()
[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/tensorflow/tensorflow/compiler/xla/tests/
Dconditional_test.cc174 auto pred = builder.ConstantR0<bool>(true); in XLA_TEST_F() local
178 auto result = builder.Conditional(pred, operands, true_computation, operands, in XLA_TEST_F()
187 auto pred = builder.ConstantR0<bool>(false); in XLA_TEST_F() local
192 builder.Conditional(pred, operand1, identity, operand2, identity); in XLA_TEST_F()
201 auto pred = builder.ConstantR0<bool>(false); in XLA_TEST_F() local
204 auto result = builder.Conditional(pred, operand1, CreateR0CeilComputation(), in XLA_TEST_F()
214 auto pred = builder.ConstantR0<bool>(false); in XLA_TEST_F() local
216 auto result = builder.Conditional(pred, operand, CreateR0CeilComputation(), in XLA_TEST_F()
226 auto pred = builder.ConstantR0<bool>(false); in XLA_TEST_F() local
230 auto result = builder.Conditional(pred, operand1, floor, operand2, floor); in XLA_TEST_F()
[all …]
/external/libvpx/libvpx/test/
Dcomp_avg_pred_test.cc30 void reference_pred(const Buffer<uint8_t> &pred, const Buffer<uint8_t> &ref, in reference_pred() argument
35 avg_with_rounding(pred.TopLeftPixel()[y * pred.stride() + x], in reference_pred()
72 Buffer<uint8_t> pred = Buffer<uint8_t>(width, height, 0, 16); in TEST_P() local
73 ASSERT_TRUE(pred.Init()); in TEST_P()
80 pred.Set(&rnd_, &ACMRandom::Rand8); in TEST_P()
82 reference_pred(pred, ref, width, height, &avg_ref); in TEST_P()
84 avg_pred_func_(avg_chk.TopLeftPixel(), pred.TopLeftPixel(), width, in TEST_P()
103 Buffer<uint8_t> pred = Buffer<uint8_t>(width, height, 0, 16); in TEST_P() local
104 ASSERT_TRUE(pred.Init()); in TEST_P()
112 pred.Set(&rnd_, &ACMRandom::Rand8); in TEST_P()
[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() <= 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/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 …]
/external/libvpx/libvpx/vpx_dsp/arm/
Dsubtract_neon.c18 ptrdiff_t src_stride, const uint8_t *pred, 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()
72 for (c = 0; c < cols; ++c) diff[c] = src[c] - pred[c]; in vpx_subtract_block_neon()
75 pred += pred_stride; in vpx_subtract_block_neon()

12345678910>>...24