HomeSort by relevance Sort by last modified time
    Searched refs:minmax (Results 1 - 19 of 19) sorted by null

  /external/libcxx/test/algorithms/alg.sorting/alg.min.max/
minmax_init_list.pass.cpp 14 // minmax(initializer_list<T> t);
22 assert((std::minmax({1, 2, 3}) == std::pair<int, int>(1, 3)));
23 assert((std::minmax({1, 3, 2}) == std::pair<int, int>(1, 3)));
24 assert((std::minmax({2, 1, 3}) == std::pair<int, int>(1, 3)));
25 assert((std::minmax({2, 3, 1}) == std::pair<int, int>(1, 3)));
26 assert((std::minmax({3, 1, 2}) == std::pair<int, int>(1, 3)));
27 assert((std::minmax({3, 2, 1}) == std::pair<int, int>(1, 3)));
30 static_assert((std::minmax({1, 2, 3}) == std::pair<int, int>(1, 3)), "");
31 static_assert((std::minmax({1, 3, 2}) == std::pair<int, int>(1, 3)), "");
32 static_assert((std::minmax({2, 1, 3}) == std::pair<int, int>(1, 3)), "")
    [all...]
minmax_init_list_comp.pass.cpp 14 // minmax(initializer_list<T> t, Compare comp);
23 assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)));
24 assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1)));
25 assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)));
26 assert((std::minmax({2, 3, 1}, std::greater<int>()) == std::pair<int, int>(3, 1)));
27 assert((std::minmax({3, 1, 2}, std::greater<int>()) == std::pair<int, int>(3, 1)));
28 assert((std::minmax({3, 2, 1}, std::greater<int>()) == std::pair<int, int>(3, 1)));
31 static_assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)), "");
32 static_assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1)), "");
33 static_assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)), "")
    [all...]
minmax.pass.cpp 14 // minmax(const T& a, const T& b);
23 std::pair<const T&, const T&> p = std::minmax(a, b);
54 constexpr auto p1 = std::minmax (x, y);
57 constexpr auto p2 = std::minmax (y, x);
minmax_comp.pass.cpp 15 // minmax(const T& a, const T& b, Compare comp);
25 std::pair<const T&, const T&> p = std::minmax(a, b, c);
57 constexpr auto p1 = std::minmax(x, y, std::greater<>());
60 constexpr auto p2 = std::minmax(y, x, std::greater<>());
Android.mk 47 test_name := algorithms/alg.sorting/alg.min.max/minmax
48 test_src := minmax.pass.cpp
  /external/blktrace/
stats.h 28 struct minmax { struct
36 static inline void minmax_init(struct minmax *mm)
45 static inline void minmax_account(struct minmax *mm, __u64 value)
56 static inline void minmax_merge(struct minmax *dst, struct minmax *src)
67 static inline void minmax_to_be(struct minmax *mm)
76 static inline double minmax_avg(struct minmax *mm)
81 static inline double minmax_var(struct minmax *mm)
88 static inline int minmax_print(FILE *fp, const char *s, struct minmax *mm)
blkiomon.h 38 struct minmax size_r;
39 struct minmax size_w;
40 struct minmax d2c_r;
41 struct minmax d2c_w;
42 struct minmax thrput_r;
43 struct minmax thrput_w;
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/
raw_converter.rs 119 float2 minmax;
120 minmax.x = sorted.x;
121 minmax.y = sorted.z;
124 minmax = native_powr(minmax, 3.f) * toneMapCoeffs.x +
125 native_powr(minmax, 2.f) * toneMapCoeffs.y +
126 minmax * toneMapCoeffs.z + toneMapCoeffs.w;
131 newMid = minmax.y;
133 newMid = minmax.x + ((minmax.y - minmax.x) * (sorted.y - sorted.x)
    [all...]
  /external/clang/test/SemaCXX/
invalid-member-expr.cpp 28 pair<int, int> z = minmax({}); // expected-error {{expected expression}}
  /cts/tests/tests/media/src/android/media/cts/
VideoEncoderTest.java 1483 private void minmax(Encoder[] encoders, boolean flexYUV) { method in class:VideoEncoderTest
    [all...]
  /device/generic/goldfish/opengl/shared/OpenglCodecCommon/
glUtils.h 66 template <class T> void minmax(T *indices, int count, int *min, int *max) { function in namespace:GLUtils
  /external/chromium_org/chrome/browser/thumbnails/
content_analysis.cc 105 std::pair<float, float>* minmax) {
107 DCHECK(minmax);
119 *minmax = std::make_pair(value_min, value_max);
464 std::pair<float, float> minmax; local
465 if (!ComputeScaledHistogram(input, &histogram, &minmax))
466 return minmax.first;
471 return (minmax.second - minmax.first) * (max_index + 0.5f) / 255.0f +
472 minmax.first;
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
nv50_ir_peephole.cpp 1055 AlgebraicOpt::handleMINMAX(Instruction *minmax)
1057 Value *src0 = minmax->getSrc(0);
1058 Value *src1 = minmax->getSrc(1);
1062 if (minmax->src(0).mod == minmax->src(1).mod) {
1063 if (minmax->def(0).mayReplace(minmax->src(0))) {
1064 minmax->def(0).replace(minmax->src(0), false);
1065 minmax->bb->remove(minmax)
    [all...]
  /external/mesa3d/src/gallium/drivers/nv50/codegen/
nv50_ir_peephole.cpp 1055 AlgebraicOpt::handleMINMAX(Instruction *minmax)
1057 Value *src0 = minmax->getSrc(0);
1058 Value *src1 = minmax->getSrc(1);
1062 if (minmax->src(0).mod == minmax->src(1).mod) {
1063 if (minmax->def(0).mayReplace(minmax->src(0))) {
1064 minmax->def(0).replace(minmax->src(0), false);
1065 minmax->bb->remove(minmax)
    [all...]
  /device/generic/goldfish/opengl/system/GLESv1_enc/
GLEncoder.cpp 565 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex);
575 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex);
    [all...]
  /device/generic/goldfish/opengl/system/GLESv2_enc/
GL2Encoder.cpp 516 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex);
526 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex);
    [all...]
  /external/chromium_org/v8/src/ia32/
lithium-ia32.cc 1637 LMathMinMax* minmax = new(zone()) LMathMinMax(left, right); local
    [all...]
  /external/chromium_org/v8/src/x64/
lithium-x64.cc 1620 LMathMinMax* minmax = new(zone()) LMathMinMax(left, right); local
    [all...]
  /external/chromium_org/v8/src/x87/
lithium-x87.cc 1650 LMathMinMax* minmax = new (zone()) LMathMinMax(left, right, scratch); local
    [all...]

Completed in 1138 milliseconds