/external/libcxx/test/std/utilities/function.objects/arithmetic.operations/ |
multiplies.pass.cpp | 12 // multiplies 22 typedef std::multiplies<int> F; 29 typedef std::multiplies<> F2; 35 constexpr int foo = std::multiplies<int> () (3, 2); 38 constexpr double bar = std::multiplies<> () (3.0, 2);
|
transparent.pass.cpp | 38 static_assert ( !is_transparent<std::multiplies<int>>::value, "" ); 39 static_assert ( !is_transparent<std::multiplies<std::string>>::value, "" ); 40 static_assert ( is_transparent<std::multiplies<void>>::value, "" ); 41 static_assert ( is_transparent<std::multiplies<>>::value, "" );
|
/external/libcxx/test/std/numerics/numeric.ops/reduce/ |
reduce_init_op.pass.cpp | 36 test(Iter(ia), Iter(ia), 1, std::multiplies<>(), 1); 38 test(Iter(ia), Iter(ia+1), 2, std::multiplies<>(), 2); 40 test(Iter(ia), Iter(ia+2), 3, std::multiplies<>(), 6); 42 test(Iter(ia), Iter(ia+sa), 4, std::multiplies<>(), 2880); 71 unsigned res = std::reduce(v.begin(), v.end(), 1U, std::multiplies<>());
|
/external/libcxx/test/std/numerics/numeric.ops/transform.reduce/ |
transform_reduce_iter_iter_init_bop_uop.pass.cpp | 60 test(Iter(ia), Iter(ia), 1, std::multiplies<>(), identity(), 1); 61 test(Iter(ia), Iter(ia+1), 0, std::multiplies<>(), identity(), 0); 64 test(Iter(ia), Iter(ia+2), 3, std::multiplies<>(), identity(), 6); 65 test(Iter(ia), Iter(ia+sa), 4, std::multiplies<>(), identity(), 2880); 69 test(Iter(ia), Iter(ia), 1, std::multiplies<>(), twice(), 1); 70 test(Iter(ia), Iter(ia+1), 0, std::multiplies<>(), twice(), 0); 73 test(Iter(ia), Iter(ia+2), 3, std::multiplies<>(), twice(), 24); 74 test(Iter(ia), Iter(ia+sa), 4, std::multiplies<>(), twice(), 184320); // 64 * 2880 116 unsigned res = std::transform_reduce(v.begin(), v.end(), 1U, std::multiplies<>(), twice());
|
transform_reduce_iter_iter_iter_init_op_op.pass.cpp | 45 test(SIter(ia), SIter(ia), UIter(ua), 0, std::plus<>(), std::multiplies<>(), 0); 46 test(UIter(ua), UIter(ua), SIter(ia), 1, std::multiplies<>(), std::plus<>(), 1); 47 test(SIter(ia), SIter(ia+1), UIter(ua), 0, std::multiplies<>(), std::plus<>(), 0); 48 test(UIter(ua), UIter(ua+1), SIter(ia), 2, std::plus<>(), std::multiplies<>(), 4); 49 test(SIter(ia), SIter(ia+2), UIter(ua), 0, std::plus<>(), std::multiplies<>(), 10); 50 test(UIter(ua), UIter(ua+2), SIter(ia), 3, std::multiplies<>(), std::plus<>(), 54); 51 test(SIter(ia), SIter(ia+sa), UIter(ua), 4, std::multiplies<>(), std::plus<>(), 2099520); 52 test(UIter(ua), UIter(ua+sa), SIter(ia), 4, std::plus<>(), std::multiplies<>(), 186); 60 decltype(std::transform_reduce(p, p, p, Init{}, std::plus<>(), std::multiplies<>()))> );
|
/external/libcxx/test/std/numerics/numeric.ops/transform.exclusive.scan/ |
transform_exclusive_scan_init_bop_uop.pass.cpp | 80 test(Iter(ia), Iter(ia + i), std::multiplies<>(), add_one{}, 0, mResI0, mResI0 + i); 82 test(Iter(ia), Iter(ia + i), std::multiplies<>(), std::negate<>(), 0, mResN0, mResN0 + i); 84 test(Iter(ia), Iter(ia + i), std::multiplies<>(), add_one{}, 2, mResI2, mResI2 + i); 86 test(Iter(ia), Iter(ia + i), std::multiplies<>(), std::negate<>(), 2, mResN2, mResN2 + i); 130 std::transform_exclusive_scan(v.begin(), v.end(), std::back_inserter(res), size_t{1}, std::multiplies<>(), add_one{});
|
/external/libcxx/test/std/numerics/numeric.ops/transform.inclusive.scan/ |
transform_inclusive_scan_bop_uop_init.pass.cpp | 80 test(Iter(ia), Iter(ia + i), std::multiplies<>(), add_one{}, 0, mResI0, mResI0 + i); 82 test(Iter(ia), Iter(ia + i), std::multiplies<>(), std::negate<>(), 0, mResN0, mResN0 + i); 84 test(Iter(ia), Iter(ia + i), std::multiplies<>(), add_one{}, 2, mResI2, mResI2 + i); 86 test(Iter(ia), Iter(ia + i), std::multiplies<>(), std::negate<>(), 2, mResN2, mResN2 + i); 130 std::transform_inclusive_scan(v.begin(), v.end(), std::back_inserter(res), std::multiplies<>(), add_one{}, size_t{1});
|
transform_inclusive_scan_bop_uop.pass.cpp | 73 test(Iter(ia), Iter(ia + i), std::multiplies<>(), add_one{}, mResI0, mResI0 + i); 75 test(Iter(ia), Iter(ia + i), std::multiplies<>(), std::negate<>(), mResN0, mResN0 + i);
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
kernel_tiling.h | 115 return absl::c_accumulate(dims_in_tiles_, 1LL, std::multiplies<int64>()); 118 return absl::c_accumulate(block_sizes_, 1, std::multiplies<int64>()); 125 return absl::c_accumulate(dims_in_blocks_, 1, std::multiplies<int64>());
|
kernel_tiling.cc | 50 1, std::multiplies<int64>()));
|
/external/libcxx/test/std/numerics/numeric.ops/exclusive.scan/ |
exclusive_scan_init_op.pass.cpp | 59 test(Iter(ia), Iter(ia + i), 1, std::multiplies<>(), mRes, mRes + i); 78 std::exclusive_scan(v.begin(), v.end(), std::back_inserter(res), 1, std::multiplies<>());
|
/external/libcxx/test/std/numerics/numeric.ops/accumulate/ |
accumulate_op.pass.cpp | 29 assert(std::accumulate(first, last, init, std::multiplies<T>()) == x);
|
/external/libcxx/test/std/numerics/numeric.ops/inclusive.scan/ |
inclusive_scan_op_init.pass.cpp | 59 test(Iter(ia), Iter(ia + i), std::multiplies<>(), 1, mRes, mRes + i); 103 std::inclusive_scan(v.begin(), v.end(), std::back_inserter(res), std::multiplies<>(), size_t{1});
|
inclusive_scan_op.pass.cpp | 60 test(Iter(ia), Iter(ia + i), std::multiplies<>(), mRes, mRes + i);
|
/art/runtime/interpreter/ |
safe_math.h | 59 return SafeMath<std::multiplies>(a, b);
|
/external/libcxx/test/std/numerics/numeric.ops/inner.product/ |
inner_product_comp.pass.cpp | 34 std::multiplies<int>(), std::plus<int>()) == x);
|
/external/eigen/Eigen/src/Core/functors/ |
StlFunctors.h | 20 struct functor_traits<std::multiplies<T> >
|
/external/mesa3d/src/gallium/state_trackers/clover/util/ |
algebra.hpp | 156 map(multiplies(), u, v));
|
functional.hpp | 61 struct multiplies { struct in namespace:clover
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
kernel.cpp | 264 if (fold(multiplies(), 1u, block_size) >
|
transfer.cpp | 42 map(multiplies(), region, pitch))) { 85 if (any_of(greater(), map(multiplies(), pitch, region), tail(pitch))) 127 if (any_of(greater(), map(multiplies(), pitch, region), tail(pitch)))
|
/external/tensorflow/tensorflow/compiler/xla/ |
util.cc | 209 std::multiplies<int64>());
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
gemm_thunk.cc | 332 std::multiplies<int64>());
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
unroll_batch_matmul.cc | 281 std::multiplies<int>()));
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
indexed_array_analysis.cc | 452 operand_shape.end(), 1LL, std::multiplies<int64>()); 769 std::multiplies<int64>()), [all...] |