/third_party/python/Lib/test/decimaltestdata/ |
D | max.decTest | 2 -- max.decTest -- decimal maximum -- 32 maxx001 max -2 -2 -> -2 33 maxx002 max -2 -1 -> -1 34 maxx003 max -2 0 -> 0 35 maxx004 max -2 1 -> 1 36 maxx005 max -2 2 -> 2 37 maxx006 max -1 -2 -> -1 38 maxx007 max -1 -1 -> -1 39 maxx008 max -1 0 -> 0 40 maxx009 max -1 1 -> 1 [all …]
|
D | dqMax.decTest | 32 dqmax001 max -2 -2 -> -2 33 dqmax002 max -2 -1 -> -1 34 dqmax003 max -2 0 -> 0 35 dqmax004 max -2 1 -> 1 36 dqmax005 max -2 2 -> 2 37 dqmax006 max -1 -2 -> -1 38 dqmax007 max -1 -1 -> -1 39 dqmax008 max -1 0 -> 0 40 dqmax009 max -1 1 -> 1 41 dqmax010 max -1 2 -> 2 [all …]
|
D | ddMax.decTest | 32 ddmax001 max -2 -2 -> -2 33 ddmax002 max -2 -1 -> -1 34 ddmax003 max -2 0 -> 0 35 ddmax004 max -2 1 -> 1 36 ddmax005 max -2 2 -> 2 37 ddmax006 max -1 -2 -> -1 38 ddmax007 max -1 -1 -> -1 39 ddmax008 max -1 0 -> 0 40 ddmax009 max -1 1 -> 1 41 ddmax010 max -1 2 -> 2 [all …]
|
/third_party/ffmpeg/tests/ref/fate/ |
D | sws-floatimg-cmp | 4 max diff: 0.000501 8 max diff: 0.006399 12 max diff: 0.003313 16 max diff: 0.001912 20 max diff: 0.000802 24 max diff: 0.000524 28 max diff: 0.004229 32 max diff: 0.004229 36 max diff: 0.004229 40 max diff: 0.004229 [all …]
|
/third_party/e2fsprogs/tests/f_h_reindex/ |
D | expect.1 | 5 Problem in HTREE directory inode 16001: block #1 has bad max hash 7 Problem in HTREE directory inode 16001: block #2 has bad max hash 9 Problem in HTREE directory inode 16001: block #3 has bad max hash 11 Problem in HTREE directory inode 16001: block #4 has bad max hash 13 Problem in HTREE directory inode 16001: block #5 has bad max hash 15 Problem in HTREE directory inode 16001: block #6 has bad max hash 17 Problem in HTREE directory inode 16001: block #7 has bad max hash 21 Problem in HTREE directory inode 24001: block #1 has bad max hash 22 Problem in HTREE directory inode 24001: block #2 has bad max hash 24 Problem in HTREE directory inode 24001: block #3 has bad max hash [all …]
|
/third_party/alsa-lib/src/pcm/ |
D | interval.c | 131 int snd_interval_refine_max(snd_interval_t *i, unsigned int max, int openmax) in snd_interval_refine_max() argument 136 if (i->max > max) { in snd_interval_refine_max() 137 i->max = max; in snd_interval_refine_max() 140 } else if (i->max == max && !i->openmax && openmax) { in snd_interval_refine_max() 146 i->max--; in snd_interval_refine_max() 171 if (i->max > v->max) { in snd_interval_refine() 172 i->max = v->max; in snd_interval_refine() 175 } else if (i->max == v->max && !i->openmax && v->openmax) { in snd_interval_refine() 189 i->max--; in snd_interval_refine() 192 } else if (!i->openmin && !i->openmax && i->min == i->max) in snd_interval_refine() [all …]
|
D | interval_inline.h | 28 i->max = UINT_MAX; in snd_interval_any() 41 return (i->min > i->max || in snd_interval_checkempty() 42 (i->min == i->max && (i->openmin || i->openmax))); in snd_interval_checkempty() 53 return (i->min == i->max || in snd_interval_single() 54 (i->min + 1 == i->max && (i->openmin || i->openmax))); in snd_interval_single() 61 return i->max; in snd_interval_value() 68 i->min = i->max = val; in snd_interval_set_value() 82 return i->max; in snd_interval_max() 85 INTERVAL_INLINE void snd_interval_set_minmax(snd_interval_t *i, unsigned int min, unsigned int max) in snd_interval_set_minmax() argument 89 i->max = max; in snd_interval_set_minmax() [all …]
|
/third_party/re2/re2/testing/ |
D | possible_match_test.cc | 33 const char* max; member 113 std::string min, max; in TEST() local 120 ASSERT_TRUE(prog->PossibleMatchRange(&min, &max, t.maxlen)) in TEST() 125 ASSERT_TRUE(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen)); in TEST() 128 EXPECT_EQ(t.max, max) << t.regexp; in TEST() 135 std::string min, max; in TEST() local 138 EXPECT_FALSE(RE2("abc").PossibleMatchRange(&min, &max, 0)); in TEST() 144 PossibleMatchRange(&min, &max, 10)) in TEST() 145 << "min=" << CEscape(min) << ", max=" << CEscape(max); in TEST() 147 PossibleMatchRange(&min, &max, 10)) in TEST() [all …]
|
/third_party/openssl/crypto/bio/ |
D | b_print.c | 94 int max; in _dopr() local 102 max = -1; in _dopr() 165 if (max < 0) in _dopr() 166 max = 0; in _dopr() 167 max = 10 * max + char_to_int(ch); in _dopr() 170 max = va_arg(args, int); in _dopr() 230 max, flags)) in _dopr() 259 min, max, flags)) in _dopr() 267 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr() 279 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr() [all …]
|
/third_party/skia/resources/sksl/intrinsics/ |
D | MaxFloat.sksl | 9 return (max(testInputs.x, 0.5) == expectedA.x && 10 max(testInputs.xy, 0.5) == expectedA.xy && 11 max(testInputs.xyz, 0.5) == expectedA.xyz && 12 max(testInputs.xyzw, 0.5) == expectedA.xyzw && 13 max(constVal.x, 0.5) == expectedA.x && 14 max(constVal.xy, 0.5) == expectedA.xy && 15 max(constVal.xyz, 0.5) == expectedA.xyz && 16 max(constVal.xyzw, 0.5) == expectedA.xyzw && 17 max(testInputs.x, colorGreen.x) == expectedB.x && 18 max(testInputs.xy, colorGreen.xy) == expectedB.xy && [all …]
|
D | MaxInt.sksl | 12 return (max(intValues.x, 50) == expectedA.x && 13 max(intValues.xy, 50) == expectedA.xy && 14 max(intValues.xyz, 50) == expectedA.xyz && 15 max(intValues.xyzw, 50) == expectedA.xyzw && 16 max(constVal.x, 50) == expectedA.x && 17 max(constVal.xy, 50) == expectedA.xy && 18 max(constVal.xyz, 50) == expectedA.xyz && 19 max(constVal.xyzw, 50) == expectedA.xyzw && 20 max(intValues.x, intGreen.x) == expectedB.x && 21 max(intValues.xy, intGreen.xy) == expectedB.xy && [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | audiodsp.c | 37 float *min, float *max, int len) in vector_clipf_c_opposite_sign() argument 41 uint32_t maxi = *(uint32_t *) max; in vector_clipf_c_opposite_sign() 59 float min, float max) in vector_clipf_c() argument 63 if (min < 0 && max > 0) { in vector_clipf_c() 64 vector_clipf_c_opposite_sign(dst, src, &min, &max, len); in vector_clipf_c() 67 dst[i] = av_clipf(src[i], min, max); in vector_clipf_c() 68 dst[i + 1] = av_clipf(src[i + 1], min, max); in vector_clipf_c() 69 dst[i + 2] = av_clipf(src[i + 2], min, max); in vector_clipf_c() 70 dst[i + 3] = av_clipf(src[i + 3], min, max); in vector_clipf_c() 71 dst[i + 4] = av_clipf(src[i + 4], min, max); in vector_clipf_c() [all …]
|
/third_party/boost/libs/detail/test/ |
D | numeric_traits_test.cpp | 50 BOOST_STATIC_CONSTANT(Number, max = complement<size>::template traits<Number>::max); 66 BOOST_STATIC_CONSTANT(Number, max = 67 Number((prev::max) << CHAR_BIT) 73 BOOST_STATIC_CONSTANT(Number, max = 74 Number(Number(prev::max) * shift) 92 BOOST_STATIC_CONSTANT(Number, max = UCHAR_MAX); 102 BOOST_STATIC_CONSTANT(Number, max = SCHAR_MAX); 116 BOOST_STATIC_CONSTANT(Number, max = 117 complement_base<is_signed>::template values<Number>::max); 127 BOOST_STATIC_CONSTANT(Number, max = (complement_traits_aux<Number, sizeof(Number)>::max)); [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
D | Math.hpp | 31 #undef max 34 inline T constexpr max(T a, T b) in max() function 46 inline constexpr T max(T a, T b, T c) in max() function 48 return max(max(a, b), c); in max() 58 inline constexpr T max(T a, T b, T c, T d) in max() function 60 return max(max(a, b), max(c, d)); in max() 178 inline float clamp_s(float x, float min, float max) in clamp_s() argument 182 if(float_as_twos_complement(x) > float_as_twos_complement(max)) x = max; in clamp_s() 224 static const unsigned int max = 0xFFFFFFFF >> (32 - n); in unorm() local 225 static const float maxf = static_cast<float>(max); in unorm() [all …]
|
/third_party/alsa-utils/amixer/ |
D | volume_mapping.c | 87 long min, max, value; in get_normalized_volume() local 91 err = get_dB_range[ctl_dir](elem, &min, &max); in get_normalized_volume() 92 if (err < 0 || min >= max) { in get_normalized_volume() 93 err = get_raw_range[ctl_dir](elem, &min, &max); in get_normalized_volume() 94 if (err < 0 || min == max) in get_normalized_volume() 101 return (value - min) / (double)(max - min); in get_normalized_volume() 108 if (use_linear_dB_scale(min, max)) in get_normalized_volume() 109 return (value - min) / (double)(max - min); in get_normalized_volume() 111 normalized = pow(10, (value - max) / 6000.0); in get_normalized_volume() 113 min_norm = pow(10, (min - max) / 6000.0); in get_normalized_volume() [all …]
|
/third_party/alsa-utils/alsamixer/ |
D | volume_mapping.c | 87 long min, max, value; in get_normalized_volume() local 91 err = get_dB_range[ctl_dir](elem, &min, &max); in get_normalized_volume() 92 if (err < 0 || min >= max) { in get_normalized_volume() 93 err = get_raw_range[ctl_dir](elem, &min, &max); in get_normalized_volume() 94 if (err < 0 || min == max) in get_normalized_volume() 101 return (value - min) / (double)(max - min); in get_normalized_volume() 108 if (use_linear_dB_scale(min, max)) in get_normalized_volume() 109 return (value - min) / (double)(max - min); in get_normalized_volume() 111 normalized = pow(10, (value - max) / 6000.0); in get_normalized_volume() 113 min_norm = pow(10, (min - max) / 6000.0); in get_normalized_volume() [all …]
|
/third_party/ltp/lib/ |
D | random_range.c | 44 int max; member 134 rp->max = defmax; in parse_ranges() 172 rp->max = rp->min; in parse_ranges() 174 if ((*parse_func) (n2str, &rp->max) < 0) { in parse_ranges() 245 return ((struct range *)rbuf)[r].max; in range_max() 278 long random_range(int min, int max, int mult, char **errp) in random_range() argument 301 orig_max = max; in random_range() 308 if (max < min) { in random_range() 309 tmp = max; in random_range() 310 max = min; in random_range() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | ComputeValidationTests.cpp | 60 const uint32_t max = GetSupportedLimits().limits.maxComputeWorkgroupsPerDimension; in TEST_F() local 61 TestDispatch(max, max, max); in TEST_F() 66 const uint32_t max = GetSupportedLimits().limits.maxComputeWorkgroupsPerDimension; in TEST_F() local 67 ASSERT_DEVICE_ERROR(TestDispatch(max + 1, 1, 1)); in TEST_F() 72 const uint32_t max = GetSupportedLimits().limits.maxComputeWorkgroupsPerDimension; in TEST_F() local 73 ASSERT_DEVICE_ERROR(TestDispatch(1, max + 1, 1)); in TEST_F() 78 const uint32_t max = GetSupportedLimits().limits.maxComputeWorkgroupsPerDimension; in TEST_F() local 79 ASSERT_DEVICE_ERROR(TestDispatch(1, 1, max + 1)); in TEST_F() 84 const uint32_t max = GetSupportedLimits().limits.maxComputeWorkgroupsPerDimension; in TEST_F() local 85 ASSERT_DEVICE_ERROR(TestDispatch(max + 1, max + 1, max + 1)); in TEST_F()
|
/third_party/ltp/testcases/kernel/controllers/pids/ |
D | pids.sh | 19 max=$2 140 start_pids_tasks2 $max 159 tmp=$((max - 1)) 160 tst_res TINFO "limit the number of pid to $max" 161 ROD echo $max \> $testpath/pids.max 182 lim=$((max + 2)) 184 ROD echo $lim \> $testpath/pids.max 186 start_pids_tasks2 $max 205 ROD echo 0 \> $testpath/pids.max 207 start_pids_tasks2 $max [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
D | Math.hpp | 31 #undef max 34 inline T max(T a, T b) in max() function 46 inline T max(T a, T b, T c) in max() function 48 return max(max(a, b), c); in max() 58 inline T max(T a, T b, T c, T d) in max() function 60 return max(max(a, b), max(c, d)); in max() 210 inline float clamp_s(float x, float min, float max) in clamp_s() argument 214 if(float_as_twos_complement(x) > float_as_twos_complement(max)) x = max; in clamp_s() 256 static const unsigned int max = 0xFFFFFFFF >> (32 - n); in unorm() local 257 static const float maxf = static_cast<float>(max); in unorm() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_normalize.c | 116 NormalizeHistory min[3], max[3]; // Min and max for each channel in {R,G,B}. member 121 …nd_min_max)(struct NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]); 140 …c void find_min_max(NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) in find_min_max() 143 min[c].in = max[c].in = in->data[0][s->co[c]]; in find_min_max() 149 max[c].in = FFMAX(max[c].in, inp[s->co[c]]); in find_min_max() 173 …find_min_max_planar(NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) in find_min_max_planar() 175 min[0].in = max[0].in = in->data[2][0]; in find_min_max_planar() 176 min[1].in = max[1].in = in->data[0][0]; in find_min_max_planar() 177 min[2].in = max[2].in = in->data[1][0]; in find_min_max_planar() 184 max[0].in = FFMAX(max[0].in, inrp[x]); in find_min_max_planar() [all …]
|
/third_party/boost/boost/math/tools/ |
D | roots.hpp | 97 …const T& max) BOOST_NOEXCEPT_IF(BOOST_MATH_IS_FLOAT(T) && noexcept(std::declval<F>()(std::declval<… in handle_zero_derivative() argument 105 guess = max; in handle_zero_derivative() 123 delta = (result - max) / 2; in handle_zero_derivative() 131 delta = (result - max) / 2; in handle_zero_derivative() 143 std::pair<T, T> bisect(F f, T min, T max, Tol tol, boost::uintmax_t& max_iter, const Policy& pol) B… in bisect() argument 146 T fmax = f(max); in bisect() 155 return std::make_pair(max, max); in bisect() 162 if (min >= max) in bisect() 182 while (count && (0 == tol(min, max))) in bisect() 184 T mid = (min + max) / 2; in bisect() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/ |
D | safe_numerics_unittest.cc | 57 return SrcLimits::max(); in GetMaxConvertibleToFloat() 58 Src max = SrcLimits::max() / 2 + (SrcLimits::is_integer ? 1 : 0); in GetMaxConvertibleToFloat() local 59 while (max != static_cast<Src>(static_cast<Dst>(max))) in GetMaxConvertibleToFloat() 61 max /= 2; in GetMaxConvertibleToFloat() 63 return static_cast<Dst>(max); in GetMaxConvertibleToFloat() 93 TEST_EXPECTED_SUCCESS(CheckedNumeric<Dst>(DstLimits::max()) + -1); in TestSpecializedArithmetic() 95 TEST_EXPECTED_FAILURE(CheckedNumeric<Dst>(-DstLimits::max()) + -DstLimits::max()); in TestSpecializedArithmetic() 99 TEST_EXPECTED_FAILURE(CheckedNumeric<Dst>(DstLimits::max()) - -DstLimits::max()); in TestSpecializedArithmetic() 100 TEST_EXPECTED_FAILURE(CheckedNumeric<Dst>(-DstLimits::max()) - DstLimits::max()); in TestSpecializedArithmetic() 113 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(DstLimits::max()) % 2); in TestSpecializedArithmetic() [all …]
|
/third_party/glslang/Test/ |
D | hlsl.intrinsics.promote.frag | 23 float r00 = max(b, f); 24 uint r01 = max(b, u); 25 int r02 = max(b, i); 26 float r03 = max(i, f); 27 float r04 = max(u, f); 29 float2 r10 = max(b2, f2); 30 uint2 r11 = max(b2, u2); 31 int2 r12 = max(b2, i2); 32 float2 r13 = max(i2, f2); 33 float2 r14 = max(u2, f2); [all …]
|
/third_party/node/deps/npm/node_modules/columnify/ |
D | utils.js | 26 function padRight(str, max, chr) { argument 29 var length = max - wcwidth(str) 44 function padCenter(str, max, chr) { argument 47 var length = max - wcwidth(str) 64 function padLeft(str, max, chr) { argument 67 var length = max - wcwidth(str) 81 function splitIntoLines(str, max) { argument 82 function _splitIntoLines(str, max) { argument 85 if (line && wcwidth(line.join(' ')) + wcwidth(word) < max) { 95 return _splitIntoLines(str, max) [all …]
|