Home
last modified time | relevance | path

Searched refs:MAX (Results 1 – 25 of 497) sorted by relevance

12345678910>>...20

/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 …]
/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/qrcodegen/rust-no-heap/examples/
Dqrcodegen-demo.rs54 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_basic_demo()
55 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_basic_demo()
57 errcorlvl, Version::MIN, Version::MAX, None, true).unwrap(); in do_basic_demo()
68 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
69 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
71 …&mut tempbuffer, &mut outbuffer, QrCodeEcc::Medium, Version::MIN, Version::MAX, None, true).unwrap… in do_variety_demo()
76 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
77 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
79 …&mut tempbuffer, &mut outbuffer, QrCodeEcc::High, Version::MIN, Version::MAX, None, true).unwrap(); in do_variety_demo()
84 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
[all …]
/third_party/ltp/tools/sparse/sparse-src/validation/optim/
Dcmp-zext-uimm0.c2 #define MAX (1ULL << 32) macro
6 int zext_ltu_0(unsigned int x) { return TEST(x, < , MAX); } in zext_ltu_0()
7 int zext_ltu_m(unsigned int x) { return TEST(x, < , MAX - 1); } in zext_ltu_m()
8 int zext_lte_0(unsigned int x) { return TEST(x, <=, MAX); } in zext_lte_0()
9 int zext_lte_m(unsigned int x) { return TEST(x, <=, MAX - 1); } in zext_lte_m()
10 int zext_gte_0(unsigned int x) { return TEST(x, >=, MAX); } in zext_gte_0()
11 int zext_gte_m(unsigned int x) { return TEST(x, >=, MAX - 1); } in zext_gte_m()
12 int zext_gtu_0(unsigned int x) { return TEST(x, > , MAX); } in zext_gtu_0()
13 int zext_gtu_m(unsigned int x) { return TEST(x, > , MAX - 1); } in zext_gtu_m()
/third_party/node/test/parallel/
Dtest-stream-readable-object-multi-push-async.js7 const MAX = 42; constant
30 }, Math.floor(MAX / BATCH) + 2)
35 if (i > MAX) {
56 assert.strictEqual(i, (Math.floor(MAX / BATCH) + 1) * BATCH);
80 }, Math.floor(MAX / BATCH) + 2)
85 if (i > MAX) {
102 assert.strictEqual(i, (Math.floor(MAX / BATCH) + 1) * BATCH);
120 if (data[BATCH - 1] >= MAX) {
125 }, Math.floor(MAX / BATCH) + 1)
143 assert.strictEqual(i, (Math.floor(MAX / BATCH) + 1) * BATCH);
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
Dvswprintf.c22 #define MAX (20) macro
31 wchar_t buffer[MAX]; in vswprintf_0100()
34 int result = vswprintf(buffer, MAX, format, aptr); in vswprintf_0100()
51 wchar_t buffer[MAX]; in vswprintf_0200()
54 int result = vswprintf(buffer, MAX, format, aptr); in vswprintf_0200()
71 wchar_t buffer[MAX]; in vswprintf_0300()
74 int result = vswprintf(buffer, MAX, format, aptr); in vswprintf_0300()
/third_party/libinput/udev/
Dtest-libinput-fuzz-extract.c42 { .which = (MIN|MAX), in START_TEST()
45 { .which = (MIN|MAX), in START_TEST()
48 { .which = (MIN|MAX|RES), in START_TEST()
57 { .which = (MAX|RES), in START_TEST()
60 { .which = (MIN|MAX|RES|FUZZ), in START_TEST()
63 { .which = (MIN|MAX|RES|FUZZ|FLAT), in START_TEST()
98 if (t->which & MAX) in START_TEST()
/third_party/rust/crates/io-lifetimes/tests/
Dniche-optimizations.rs25 assert_eq!(OwnedFd::from_raw_fd(RawFd::MAX).into_raw_fd(), RawFd::MAX); in test_niche_optimizations()
33 Some(OwnedFd::from_raw_fd(RawFd::MAX)) in test_niche_optimizations()
36 RawFd::MAX in test_niche_optimizations()
51 let (min, max) = (i32::MIN as u32, i32::MAX as u32); in test_niche_optimizations_socket()
53 let (min, max) = (i64::MIN as u64, i64::MAX as u64); in test_niche_optimizations_socket()
/third_party/musl/libc-test/src/functionalext/supplement/string/
Dwcscat.c22 #define MAX (20) macro
36 wchar_t dest[MAX] = L"wcscat "; in wcscat_0100()
37 wchar_t src[MAX] = L"test"; in wcscat_0100()
53 wchar_t dest[MAX] = L"wcscat "; in wcscat_0200()
/third_party/rust/crates/cxx/syntax/
Ddiscriminant.rs77 if discriminant.magnitude == u64::MAX { in insert_next()
78 let msg = format!("discriminant overflow on value after {}", u64::MAX); in insert_next()
299 max: Discriminant::pos(std::u8::MAX as u64),
304 max: Discriminant::pos(std::i8::MAX as u64),
309 max: Discriminant::pos(std::u16::MAX as u64),
314 max: Discriminant::pos(std::i16::MAX as u64),
319 max: Discriminant::pos(std::u32::MAX as u64),
324 max: Discriminant::pos(std::i32::MAX as u64),
329 max: Discriminant::pos(std::u64::MAX),
334 max: Discriminant::pos(std::i64::MAX as u64),
/third_party/rust/crates/rustix/tests/path/
Ddec_int.rs13 DecInt::new(i64::MAX).as_ref().to_str().unwrap(), in test_dec_int()
14 i64::MAX.to_string() in test_dec_int()
17 DecInt::new(u64::MAX).as_ref().to_str().unwrap(), in test_dec_int()
18 u64::MAX.to_string() in test_dec_int()
/third_party/skia/buildtools/third_party/eu-strip/
Dfix-elf-size.patch18 - size = MAX ((size_t) size,
19 + size = MAX (size,
27 - size = MAX ((GElf_Word) size,
28 + size = MAX (size,
48 - size = MAX ((GElf_Word) size,
49 + size = MAX (size,
/third_party/rust/crates/aho-corasick/src/
Dstate_id.rs120 ::std::usize::MAX in max_id()
137 ::std::u8::MAX as usize in max_id()
154 ::std::u16::MAX as usize in max_id()
172 ::std::u32::MAX as usize in max_id()
190 ::std::u64::MAX as usize in max_id()
/third_party/skia/third_party/externals/angle2/doc/
DVTF.md18 * MAX\_VERTEX\_TEXTURE\_IMAGE\_UNITS = 4
19 * MAX\_COMBINED\_TEXTURE\_IMAGE\_UNITS =
20 MAX\_VERTEX\_TEXTURE\_IMAGE\_UNITS + MAX\_TEXTURE\_IMAGE\_UNITS (ie 20).
37 the "MAX\_COMBINED" limit (validated in Program::validateSamplers)
39 or iterate over, MAX\_TEXTURE\_IMAGE\_UNITS. These will need to be
40 changed to operate on MAX\_COMBINED\_TEXTURE\_IMAGE\_UNITS instead. A
46 0..MAX\_COMBINED\_TEXTURE\_IMAGE\_UNITS-1
/third_party/node/deps/npm/node_modules/semver/node_modules/lru-cache/
Dindex.js6 const MAX = Symbol('max') constant
38 const max = this[MAX] = options.max || Infinity
57 this[MAX] = mL || Infinity
61 return this[MAX]
163 if (len > this[MAX]) {
191 if (hit.length > this[MAX]) {
288 if (self[LENGTH] > self[MAX]) {
290 self[LENGTH] > self[MAX] && walker !== null;) {
/third_party/rust/crates/libc/libc-test/test/
Dmakedev.rs62 compare(major, c_uint::MAX); in test_fbsd11_like()
97 compare(major, c_uint::MAX); in test_fbsd12_like()
99 compare(c_uint::MAX, c_uint::MAX); in test_fbsd12_like()
/third_party/qrcodegen/rust/examples/
Dqrcodegen-demo.rs145 …let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::High, Version::MIN, Version::MAX, None… in do_mask_demo()
147 …let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::High, Version::MIN, Version::MAX, Some… in do_mask_demo()
152 …let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::Medium, Version::MIN, Version::MAX, So… in do_mask_demo()
154 …let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::Medium, Version::MIN, Version::MAX, So… in do_mask_demo()
156 …let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::Medium, Version::MIN, Version::MAX, So… in do_mask_demo()
158 …let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::Medium, Version::MIN, Version::MAX, So… in do_mask_demo()
/third_party/ltp/tools/sparse/sparse-src/validation/expand/
Dbad-shift.c1 #define MAX (sizeof(int) * __CHAR_BIT__) macro
5 return 1 << MAX; in lmax()
15 return 1 >> MAX; in rmax()
/third_party/ltp/testcases/kernel/fs/racer/
Dfs_racer_file_rename.sh23 MAX=$2
26 file=$(($RANDOM%$MAX))
27 new_file=$((($file + 1)%$MAX))
Dfs_racer_file_link.sh23 MAX=$2
26 file=$(($RANDOM%$MAX))
27 new_file=$((($file + 1)%$MAX))
Dfs_racer_file_symlink.sh23 MAX=$2
26 file=$(($RANDOM%$MAX))
27 new_file=$((($file + 1)%$MAX))
Dfs_racer_file_concat.sh23 MAX=$2
32 file=$(($RANDOM%$MAX))
33 new_file=$(($RANDOM%$MAX))
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantifier.java23 public static final int MAX = Integer.MAX_VALUE; field in Quantifier
79 } else if (maxCount == MAX) { in toPattern()
83 } else if (minCount == 1 && maxCount == MAX) { in toPattern()
89 if (maxCount != MAX) { in toPattern()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DQuantifier.java24 public static final int MAX = Integer.MAX_VALUE; field in Quantifier
80 } else if (maxCount == MAX) { in toPattern()
84 } else if (minCount == 1 && maxCount == MAX) { in toPattern()
90 if (maxCount != MAX) { in toPattern()
/third_party/lame/misc/
Dabx.c80 #define MAX (1<<17) macro
180 compl root [MAX >> 1]; // Sinus-/Kosinustabelle
181 size_t shuffle [MAX >> 1] [2]; // Shuffle-Tabelle
1018 float P1 [MAX] [2]; in cross_analyze()
1019 float P2 [MAX] [2]; in cross_analyze()
1053 if ( len <= MAX ) in cross_analyze()
1059 for ( i = 0; i < MAX; i++ ) { in cross_analyze()
1075 fft (P1, MAX); in cross_analyze()
1076 fft (P2, MAX); in cross_analyze()
1078 for ( i = 0; i < MAX; i++ ) { in cross_analyze()
[all …]

12345678910>>...20