Home
last modified time | relevance | path

Searched full:max (Results 1 – 25 of 7526) sorted by relevance

12345678910>>...302

/third_party/python/Lib/test/decimaltestdata/
Dmax.decTest2 -- 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 …]
DdqMax.decTest32 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 …]
DddMax.decTest32 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/libavfilter/
Dblend_modes.c30 #undef MAX
36 #define MAX 255 macro
41 #define MAX 1.f macro
46 #define MAX ((1 << DEPTH) - 1) macro
62 #define MULTIPLY(x, a, b) ((x) * (((a) * (b)) / MAX))
63 #define SCREEN(x, a, b) (MAX - (x) * ((MAX - (a)) * (MAX - (b)) / MAX))
64 #define BURN(a, b) (((a) == 0) ? (a) : FFMAX(0, MAX - ((MAX - (b)) << DEPTH) / (a)))
65 #define DODGE(a, b) (((a) == MAX) ? (a) : FFMIN(MAX, (((b) << DEPTH) / (MAX - (a)))))
116 fn(addition, FFMIN(MAX, A + B))
122 fn(negation, MAX - FFABS(MAX - A - B))
[all …]
Dvf_normalize.c116 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/vk-gl-cts/android/cts/main/vk-master-2022-03-01/image/
Datomic-operations.txt1 dEQP-VK.image.atomic_operations.max.1d.notransfer.normal_read.normal_img.r32f_end_result
2 dEQP-VK.image.atomic_operations.max.1d.notransfer.normal_read.normal_img.r32f_intermediate_values
3 dEQP-VK.image.atomic_operations.max.1d.transfer.normal_read.normal_img.r32f_end_result
4 dEQP-VK.image.atomic_operations.max.1d.transfer.normal_read.normal_img.r32f_intermediate_values
5 dEQP-VK.image.atomic_operations.max.1d_array.notransfer.normal_read.normal_img.r32f_end_result
6 dEQP-VK.image.atomic_operations.max.1d_array.notransfer.normal_read.normal_img.r32f_intermediate_va…
7 dEQP-VK.image.atomic_operations.max.1d_array.transfer.normal_read.normal_img.r32f_end_result
8 dEQP-VK.image.atomic_operations.max.1d_array.transfer.normal_read.normal_img.r32f_intermediate_valu…
9 dEQP-VK.image.atomic_operations.max.2d.notransfer.normal_read.normal_img.r32f_end_result
10 dEQP-VK.image.atomic_operations.max.2d.notransfer.normal_read.normal_img.r32f_intermediate_values
[all …]
/third_party/ffmpeg/tests/ref/fate/
Dsws-floatimg-cmp4 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/node/deps/npm/node_modules/columnify/
Dutils.js17 * Pad `str` up to total length `max` with `chr`.
18 * If `str` is longer than `max`, padRight will return `str` unaltered.
21 * @param Number max total length of output string
26 function padRight(str, max, chr) { argument
29 var length = max - wcwidth(str)
35 * Pad `str` up to total length `max` with `chr`.
36 * If `str` is longer than `max`, padCenter will return `str` unaltered.
39 * @param Number max total length of output string
44 function padCenter(str, max, chr) { argument
47 var length = max - wcwidth(str)
[all …]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Drandom.inl25 std::rand() % std::numeric_limits<uint8>::max());
35 std::rand() % std::numeric_limits<uint8>::max(),
36 std::rand() % std::numeric_limits<uint8>::max());
46 std::rand() % std::numeric_limits<uint8>::max(),
47 std::rand() % std::numeric_limits<uint8>::max(),
48 std::rand() % std::numeric_limits<uint8>::max());
58 std::rand() % std::numeric_limits<uint8>::max(),
59 std::rand() % std::numeric_limits<uint8>::max(),
60 std::rand() % std::numeric_limits<uint8>::max(),
61 std::rand() % std::numeric_limits<uint8>::max());
[all …]
/third_party/jerryscript/tests/jerry/
Dmath-max.js15 assert(isNaN (Math['max'] (1.0, NaN)));
16 assert(isNaN (Math['max'] (NaN, 1.0)));
17 assert(isNaN (Math['max'] (Infinity, NaN)));
18 assert(isNaN (Math['max'] (NaN, Infinity)));
19 assert(Math['max'] (1.0, 3.0, 0.0) === 3.0);
20 assert(Math['max'] (1.0, 3.0, Infinity) === Infinity);
21 assert(Math['max'] (1.0, 3.0, -Infinity) === 3.0);
22 assert(Math['max'] (-Infinity, Infinity) === Infinity);
23 assert(Math['max'] (Infinity, -Infinity) === Infinity);
24 assert(Math['max'] (Infinity, Infinity) === Infinity);
[all …]
/third_party/alsa-lib/src/pcm/
Dinterval.c131 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 …]
Dinterval_inline.h28 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/rust/crates/rustix/tests/fs/
Dinvalid_offset.rs27 seek(&file, SeekFrom::Start(u64::MAX)).unwrap_err(); in invalid_offset_seek()
28 seek(&file, SeekFrom::Start(i64::MAX as u64 + 1)).unwrap_err(); in invalid_offset_seek()
56 fallocate(&file, FallocateFlags::empty(), u64::MAX, 1).unwrap_err(); in invalid_offset_fallocate()
57 fallocate(&file, FallocateFlags::empty(), i64::MAX as u64 + 1, 1).unwrap_err(); in invalid_offset_fallocate()
58 fallocate(&file, FallocateFlags::empty(), 0, u64::MAX).unwrap_err(); in invalid_offset_fallocate()
59 fallocate(&file, FallocateFlags::empty(), 0, i64::MAX as u64 + 1).unwrap_err(); in invalid_offset_fallocate()
87 fadvise(&file, i64::MAX as u64, i64::MAX as u64, Advice::Normal).unwrap(); in invalid_offset_fadvise()
88 fadvise(&file, u64::MAX, 0, Advice::Normal).unwrap(); in invalid_offset_fadvise()
89 fadvise(&file, i64::MAX as u64, 1, Advice::Normal).unwrap(); in invalid_offset_fadvise()
90 fadvise(&file, 1, i64::MAX as u64, Advice::Normal).unwrap(); in invalid_offset_fadvise()
[all …]
/third_party/ltp/testcases/kernel/controllers/pids/
Dpids.sh6 # ./pids.sh caseno max
17 max=$2
89 start_pids_tasks2 $max
108 tmp=$((max - 1))
109 tst_res TINFO "limit the number of pid to $max"
110 ROD echo $max \> $testpath/pids.max
131 lim=$((max + 2))
133 ROD echo $lim \> $testpath/pids.max
135 start_pids_tasks2 $max
154 ROD echo 0 \> $testpath/pids.max
[all …]
/third_party/skia/resources/sksl/intrinsics/
DMaxFloat.sksl9 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 …]
DMaxInt.sksl12 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/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dextended_min_max.inl74 GLM_FUNC_QUALIFIER T max( function
79 return glm::max(glm::max(x, y), z);
83 GLM_FUNC_QUALIFIER C<T> max function
90 return glm::max(glm::max(x, y), z);
94 GLM_FUNC_QUALIFIER C<T> max function
101 return glm::max(glm::max(x, y), z);
105 GLM_FUNC_QUALIFIER T max function
113 return glm::max(glm::max(x, y), glm::max(z, w));
117 GLM_FUNC_QUALIFIER C<T> max function
125 return glm::max(glm::max(x, y), glm::max(z, w));
[all …]
/third_party/ltp/lib/
Drandom_range.c44 int max; member
54 * min:max[:mult]
56 * any of the values may be blank (ie. min::mult, :max, etc.) and default
62 * which is malloc'd by the routine. The min, max, and mult entries of each
72 * defmax default value to plug in for max, if it is missing
75 * can call to parse the min, max, and mult strings. This
134 rp->max = defmax; in parse_ranges()
165 * Process the 'max' field - if one was not present (n1 format) in parse_ranges()
166 * set max equal to min. If the field was present, but in parse_ranges()
172 rp->max = rp->min; in parse_ranges()
[all …]
/third_party/libabigail/tests/data/test-abidiff/
Dtest-PR18166-libtirpc.so.abi287 …r version='1.0' address-size='64' path='/home/max/src/v6/libtirpc/src/auth_none.c' comp-dir-path='…
288 …h' size-in-bits='640' is-struct='yes' visibility='default' filepath='/home/max/src/v6/libtirpc/tir…
290 …<var-decl name='ah_cred' type-id='type-id-2' visibility='default' filepath='/home/max/src/v6/libti…
293 …<var-decl name='ah_verf' type-id='type-id-2' visibility='default' filepath='/home/max/src/v6/libti…
296 …<var-decl name='ah_key' type-id='type-id-3' visibility='default' filepath='/home/max/src/v6/libtir…
299 …<var-decl name='ah_ops' type-id='type-id-4' visibility='default' filepath='/home/max/src/v6/libtir…
302 …<var-decl name='ah_private' type-id='type-id-5' visibility='default' filepath='/home/max/src/v6/li…
305 …<var-decl name='ah_refcnt' type-id='type-id-6' visibility='default' filepath='/home/max/src/v6/lib…
308 …h' size-in-bits='192' is-struct='yes' visibility='default' filepath='/home/max/src/v6/libtirpc/tir…
310 …<var-decl name='oa_flavor' type-id='type-id-7' visibility='default' filepath='/home/max/src/v6/lib…
[all …]
/third_party/ffmpeg/libavcodec/
Daudiodsp.c37 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/vk-gl-cts/android/cts/main/vk-master-2020-03-01/
Dglsl.txt58 dEQP-VK.glsl.builtin.precision.max.highp.scalar
59 dEQP-VK.glsl.builtin.precision.max.highp.vec2
60 dEQP-VK.glsl.builtin.precision.max.highp.vec3
61 dEQP-VK.glsl.builtin.precision.max.highp.vec4
311 dEQP-VK.glsl.operator.common_functions.max.highp_int_fragment
312 dEQP-VK.glsl.operator.common_functions.max.highp_int_vertex
313 dEQP-VK.glsl.operator.common_functions.max.highp_ivec2_fragment
314 dEQP-VK.glsl.operator.common_functions.max.highp_ivec2_int_fragment
315 dEQP-VK.glsl.operator.common_functions.max.highp_ivec2_int_vertex
316 dEQP-VK.glsl.operator.common_functions.max.highp_ivec2_vertex
[all …]
/third_party/glslang/Test/
Dhlsl.intrinsics.promote.frag23 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/openssl/openssl/crypto/bio/
Dbio_print.c99 int max; in _dopr() local
107 max = -1; in _dopr()
170 if (max < 0) in _dopr()
171 max = 0; in _dopr()
172 max = 10 * max + char_to_int(ch); in _dopr()
175 max = va_arg(args, int); in _dopr()
235 max, flags)) in _dopr()
264 min, max, flags)) in _dopr()
273 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr()
285 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr()
[all …]
/third_party/openssl/crypto/bio/
Dbio_print.c99 int max; in _dopr() local
107 max = -1; in _dopr()
170 if (max < 0) in _dopr()
171 max = 0; in _dopr()
172 max = 10 * max + char_to_int(ch); in _dopr()
175 max = va_arg(args, int); in _dopr()
235 max, flags)) in _dopr()
264 min, max, flags)) in _dopr()
273 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr()
285 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/ci/
Dradeonsi-stoney-skips.txt5 spec@!opengl 1.1@max-texture-size
6 spec@!opengl 1.1@max-texture-size-level
8 spec@arb_texture_buffer_object@max-size
18 spec@arb_shader_storage_buffer_object@max-ssbo-size@fs
19 spec@arb_shader_storage_buffer_object@max-ssbo-size@vsexceed
20 spec@arb_shader_storage_buffer_object@max-ssbo-size@vs
21 spec@arb_shader_storage_buffer_object@max-ssbo-size@fsexceed
22 spec@arb_shader_image_load_store@max-size
40 spec@!opengl 1.1@max-texture-size
41 spec@!opengl 1.1@max-texture-size-level
[all …]

12345678910>>...302