/external/python/cpython2/Lib/test/decimaltestdata/ |
D | ddReduce.decTest | 29 ddred001 reduce '1' -> '1' 30 ddred002 reduce '-1' -> '-1' 31 ddred003 reduce '1.00' -> '1' 32 ddred004 reduce '-1.00' -> '-1' 33 ddred005 reduce '0' -> '0' 34 ddred006 reduce '0.00' -> '0' 35 ddred007 reduce '00.0' -> '0' 36 ddred008 reduce '00.00' -> '0' 37 ddred009 reduce '00' -> '0' 38 ddred010 reduce '0E+1' -> '0' [all …]
|
D | dqReduce.decTest | 30 dqred001 reduce '1' -> '1' 31 dqred002 reduce '-1' -> '-1' 32 dqred003 reduce '1.00' -> '1' 33 dqred004 reduce '-1.00' -> '-1' 34 dqred005 reduce '0' -> '0' 35 dqred006 reduce '0.00' -> '0' 36 dqred007 reduce '00.0' -> '0' 37 dqred008 reduce '00.00' -> '0' 38 dqred009 reduce '00' -> '0' 39 dqred010 reduce '0E+1' -> '0' [all …]
|
D | reduce.decTest | 2 -- reduce.decTest -- remove trailing zeros -- 30 redx001 reduce '1' -> '1' 31 redx002 reduce '-1' -> '-1' 32 redx003 reduce '1.00' -> '1' 33 redx004 reduce '-1.00' -> '-1' 34 redx005 reduce '0' -> '0' 35 redx006 reduce '0.00' -> '0' 36 redx007 reduce '00.0' -> '0' 37 redx008 reduce '00.00' -> '0' 38 redx009 reduce '00' -> '0' [all …]
|
/external/python/cpython3/Lib/test/decimaltestdata/ |
D | dqReduce.decTest | 30 dqred001 reduce '1' -> '1' 31 dqred002 reduce '-1' -> '-1' 32 dqred003 reduce '1.00' -> '1' 33 dqred004 reduce '-1.00' -> '-1' 34 dqred005 reduce '0' -> '0' 35 dqred006 reduce '0.00' -> '0' 36 dqred007 reduce '00.0' -> '0' 37 dqred008 reduce '00.00' -> '0' 38 dqred009 reduce '00' -> '0' 39 dqred010 reduce '0E+1' -> '0' [all …]
|
D | ddReduce.decTest | 29 ddred001 reduce '1' -> '1' 30 ddred002 reduce '-1' -> '-1' 31 ddred003 reduce '1.00' -> '1' 32 ddred004 reduce '-1.00' -> '-1' 33 ddred005 reduce '0' -> '0' 34 ddred006 reduce '0.00' -> '0' 35 ddred007 reduce '00.0' -> '0' 36 ddred008 reduce '00.00' -> '0' 37 ddred009 reduce '00' -> '0' 38 ddred010 reduce '0E+1' -> '0' [all …]
|
D | reduce.decTest | 2 -- reduce.decTest -- remove trailing zeros -- 30 redx001 reduce '1' -> '1' 31 redx002 reduce '-1' -> '-1' 32 redx003 reduce '1.00' -> '1' 33 redx004 reduce '-1.00' -> '-1' 34 redx005 reduce '0' -> '0' 35 redx006 reduce '0.00' -> '0' 36 redx007 reduce '00.0' -> '0' 37 redx008 reduce '00.00' -> '0' 38 redx009 reduce '00' -> '0' [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | reduction_ops_test.cc | 27 static Graph* ToScalar(const string& reduce, int num_x, int num_y) { in ToScalar() argument 34 test::graph::Reduce(g, reduce, test::graph::Constant(g, data), in ToScalar() 39 static Graph* ColReduce(const string& reduce, int num_x, int num_y) { in ColReduce() argument 45 test::graph::Reduce(g, reduce, test::graph::Constant(g, data), in ColReduce() 50 static Graph* RowReduce(const string& reduce, int num_x, int num_y) { in RowReduce() argument 56 test::graph::Reduce(g, reduce, test::graph::Constant(g, data), in RowReduce() 61 static Graph* ThreeDYReduce(const string& reduce, int num_y, int num_z) { in ThreeDYReduce() argument 67 test::graph::Reduce(g, reduce, test::graph::Constant(g, data), in ThreeDYReduce() 72 static Graph* ThreeDXZReduce(const string& reduce, int num_y, int num_z) { in ThreeDXZReduce() argument 79 test::graph::Reduce(g, reduce, test::graph::Constant(g, data), in ThreeDXZReduce() [all …]
|
/external/python/cpython2/Modules/ |
D | getpath.c | 122 reduce(char *dir) in reduce() function 292 reduce(prefix); in search_for_prefix() 361 reduce(exec_prefix); in search_for_exec_prefix() 521 reduce(argv0_path); in calculate_path() 549 reduce(argv0_path); in calculate_path() 557 reduce(argv0_path); in calculate_path() 570 reduce(prefix); in calculate_path() 575 reduce(zip_path); in calculate_path() 576 reduce(zip_path); in calculate_path() 690 reduce(prefix); in calculate_path() [all …]
|
/external/skqp/tests/ |
D | PathOpsCubicReduceOrderTest.cpp | 112 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 123 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 126 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 135 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 146 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 157 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 168 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 171 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 180 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 192 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() [all …]
|
/external/skia/tests/ |
D | PathOpsCubicReduceOrderTest.cpp | 112 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 123 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 126 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 135 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 146 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 157 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 168 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 171 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 180 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() 192 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | bfloat16_normalization_test.cc | 189 HloInstruction* reduce = builder.AddInstruction(HloInstruction::CreateReduce( in TEST_F() local 196 EXPECT_EQ(computation->root_instruction(), reduce); in TEST_F() 197 EXPECT_EQ(reduce->called_computations().size(), 1); in TEST_F() 198 EXPECT_EQ(reduce->called_computations()[0]->num_parameters(), 2); in TEST_F() 199 EXPECT_EQ(reduce->called_computations()[0] in TEST_F() 204 EXPECT_EQ(reduce->called_computations()[0] in TEST_F() 209 EXPECT_EQ(reduce->called_computations()[0] in TEST_F() 214 EXPECT_EQ(reduce->shape().element_type(), F32); in TEST_F() 215 EXPECT_EQ(reduce->operand(0), input); in TEST_F() 217 EXPECT_EQ(reduce->operand(1)->opcode(), HloOpcode::kConvert); in TEST_F() [all …]
|
/external/python/cpython3/Modules/ |
D | getpath.c | 135 reduce(wchar_t *dir) in reduce() function 361 reduce(prefix); in search_for_prefix() 443 reduce(exec_prefix); in search_for_exec_prefix() 593 reduce(argv0_path); in calculate_path() 620 reduce(argv0_path); in calculate_path() 628 reduce(argv0_path); in calculate_path() 649 reduce(tmpbuffer); in calculate_path() 650 reduce(tmpbuffer); in calculate_path() 676 reduce(prefix); in calculate_path() 681 reduce(zip_path); in calculate_path() [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorReduction.h | 131 …static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self& self, typename Self::Index fi… 135 GenericDimReducer<DimIndex-1, Self, Op>::reduce(self, input, reducer, accum); 141 …static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self& self, typename Self::Index fi… 144 reducer.reduce(self.m_impl.coeff(input), accum); 150 …static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self& self, typename Self::Index in… 151 reducer.reduce(self.m_impl.coeff(index), accum); 157 …static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename Self::CoeffReturnType reduce(const Self& sel… 160 reducer.reduce(self.m_impl.coeff(firstIndex + j), &accum); 168 …static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename Self::CoeffReturnType reduce(const Self& sel… 177 reducer.reduce(self.m_impl.coeff(firstIndex + j), &accum); [all …]
|
/external/libcxx/test/std/numerics/numeric.ops/reduce/ |
D | reduce_init_op.pass.cpp | 25 static_assert( std::is_same_v<T, decltype(std::reduce(first, last, init, op))>, "" ); in test() 26 assert(std::reduce(first, last, init, op) == x); in test() 49 static_assert( std::is_same_v<Init, decltype(std::reduce(p, p, Init{}, std::plus<>()))>, "" ); in test_return_type() 71 unsigned res = std::reduce(v.begin(), v.end(), 1U, std::multiplies<>()); in main()
|
/external/skqp/src/pathops/ |
D | SkReduceOrder.h | 22 int reduce(const SkDCubic& cubic, Quadratics); 23 int reduce(const SkDLine& line); 24 int reduce(const SkDQuad& quad);
|
/external/skia/src/pathops/ |
D | SkReduceOrder.h | 22 int reduce(const SkDCubic& cubic, Quadratics); 23 int reduce(const SkDLine& line); 24 int reduce(const SkDQuad& quad);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/ |
D | SecP521R1Field.java | 58 reduce(tt, z); in multiply() 73 public static void reduce(int[] xx, int[] z) in reduce() method in SecP521R1Field 105 reduce(tt, z); in square() 114 reduce(tt, z); in squareN() 119 reduce(tt, z); in squareN()
|
D | SecP224K1Field.java | 78 reduce(tt, z); in multiply() 105 public static void reduce(int[] xx, int[] z) in reduce() method in SecP224K1Field 131 reduce(tt, z); in square() 140 reduce(tt, z); in squareN() 145 reduce(tt, z); in squareN()
|
D | SecP192K1Field.java | 77 reduce(tt, z); in multiply() 104 public static void reduce(int[] xx, int[] z) in reduce() method in SecP192K1Field 130 reduce(tt, z); in square() 139 reduce(tt, z); in squareN() 144 reduce(tt, z); in squareN()
|
D | SecP256K1Field.java | 79 reduce(tt, z); in multiply() 106 public static void reduce(int[] xx, int[] z) in reduce() method in SecP256K1Field 132 reduce(tt, z); in square() 141 reduce(tt, z); in squareN() 146 reduce(tt, z); in squareN()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emitter_unnested.h | 72 Status HandleReduce(HloInstruction* reduce) override; 112 Status EmitColumnReduction(int64 height, int64 width, HloInstruction* reduce, 124 HloInstruction* reduce, const Shape& input_shape, 130 Status EmitReductionToScalar(HloInstruction* reduce, const Shape& input_shape, 145 HloInstruction* reduce, const Shape& input_shape,
|
D | ir_emitter_unnested.cc | 938 HloInstruction* reduce, const Shape& input_shape, in EmitReductionToScalar() argument 1088 reduce->IsFused() ? reduce->parent()->FusionInstruction() : reduce; in EmitReductionToScalar() 1112 reduce->shape().element_type(), {num_tiles}, {0}); in EmitReductionToScalar() 1122 .EmitLoop(IrName(reduce)); in EmitReductionToScalar() 1126 int64 height, int64 width, HloInstruction* reduce, const Shape& input_shape, in EmitColumnReduction() argument 1270 reduce->IsFused() ? reduce->parent()->FusionInstruction() : reduce; in EmitColumnReduction() 1282 reduce->shape().element_type(), {height_in_tiles, width}, {1, 0}); in EmitColumnReduction() 1292 .EmitLoop(IrName(reduce)); in EmitColumnReduction() 1296 int64 depth, int64 height, int64 width, HloInstruction* reduce, in EmitRowReduction() argument 1530 reduce->IsFused() ? reduce->parent()->FusionInstruction() : reduce; in EmitRowReduction() [all …]
|
D | ir_emission_utils.cc | 182 bool IsReductionToVector(const HloInstruction& reduce) { in IsReductionToVector() argument 183 if (HloOpcode::kReduce != reduce.opcode()) { in IsReductionToVector() 186 const HloInstruction* input = reduce.operand(0); in IsReductionToVector() 189 if (!std::count(reduce.dimensions().begin(), reduce.dimensions().end(), in IsReductionToVector() 196 ShapeUtil::Equal(reduce.shape(), ShapeUtil::FilterDimensions( in IsReductionToVector()
|
/external/llvm/test/CodeGen/Generic/ |
D | stop-after.ll | 1 ; RUN: llc < %s -debug-pass=Structure -stop-after=loop-reduce -o /dev/null 2>&1 | FileCheck %s -che… 2 ; RUN: llc < %s -debug-pass=Structure -start-after=loop-reduce -o /dev/null 2>&1 | FileCheck %s -ch… 4 ; STOP: -loop-reduce
|
/external/python/cpython2/Lib/test/ |
D | test_functools.py | 468 reduce = functools.reduce 469 self.assertEqual(reduce(lambda x, y: x+y, ['a', 'b', 'c'], ''), 'abc') 471 reduce(lambda x, y: x+y, [['a', 'c'], [], ['d', 'w']], []), 474 self.assertEqual(reduce(lambda x, y: x*y, range(2,8), 1), 5040) 476 reduce(lambda x, y: x*y, range(2,21), 1L), 479 self.assertEqual(reduce(lambda x, y: x+y, Squares(10)), 285) 480 self.assertEqual(reduce(lambda x, y: x+y, Squares(10), 0), 285) 481 self.assertEqual(reduce(lambda x, y: x+y, Squares(0), 0), 0) 482 self.assertRaises(TypeError, reduce) 483 self.assertRaises(TypeError, reduce, 42, 42) [all …]
|