/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp1y/ |
H A D | constexpr-assert1.C | 6 inline constexpr int exampleFunction(int min, int max) argument 8 assert(min <= max); 9 return min + max;
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tree-ssa/ |
H A D | loop-40.c | 6 int max = *it; local 8 if (*it > max) 9 max = *it; 10 return max;
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | pr56890-1.c | 7 unsigned int buggy(unsigned int min, unsigned int max) argument 9 if (max < 16384) { 11 num16 = min + (long) ((double) (max - min + 1.0) * (num16 / (65535 + 1.0)));
|
H A D | pr56890-2.c | 7 unsigned int buggy(unsigned int min, unsigned int max) argument 10 if (max < 16384) { 12 num16 = min + (long) ((double) (max - min + 1.0) * (num16 / (65535 + 1.0))); 16 (number) = min + (long) ((double) (max - min + 1.0) * (number / (4294967295U + 1.0)));
|
H A D | pr28162.c | 6 float t0, max; local 12 if ( t0 >= max ) 13 max = t0;
|
H A D | pr51408.c | 12 int max = (b > 0) ? b : 0; local 13 return max - a;
|
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/asan/ |
H A D | aggressive-opts.c | 12 int max = 0; local 14 if (max < ext) 15 max = ext; 17 for (i = 0; i <= max; i++)
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/18_support/numeric_limits/ |
H A D | 29989.cc | 21 #define max(a,b) quirk macro
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | pr17906.c | 4 usc_recressive_func(int cnt, int max, struct usc_bigstack_t bstack) argument 6 usc_recressive_func(cnt+1, max, bstack);
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/vect/ |
H A D | no-scevccp-noreassoc-slp-reduc-7.c | 17 unsigned int max = 50; local 20 max = max < ub[2*i] ? ub[2*i] : max; 21 max = max < ub[2*i + 1] ? ub[2*i + 1] : max; 25 if (max != MAX)
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tree-prof/ |
H A D | update-loopch.c | 2 int max = 33333; variable 8 for (i = 0; i < max; i++)
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/25_algorithms/max/ |
H A D | constexpr.cc | 24 static_assert(std::max(1, 2) == 2, ""); 25 static_assert(std::max(2, 1, std::greater<int>()) == 1, ""); 26 static_assert(std::max({1, 2}) == 2, ""); 27 static_assert(std::max({2, 1}, std::greater<int>())==1, "");
|
H A D | 2.cc | 34 VERIFY( 3 == std::max(A<int>::a, 2) ); 35 VERIFY( 4 == std::max(A<int>::a, 4) ); 37 VERIFY( 3u == std::max(A<unsigned int>::a, 2u) ); 38 VERIFY( 4u == std::max(A<unsigned int>::a, 4u) ); 40 VERIFY( 3l == std::max(A<long>::a, 2l) ); 41 VERIFY( 4l == std::max(A<long>::a, 4l) ); 43 VERIFY( 3ul == std::max(A<unsigned long>::a, 2ul) ); 44 VERIFY( 4ul == std::max(A<unsigned long>::a, 4ul) ); 47 VERIFY( 3ll == std::max(A<long long>::a, 2ll) ); 48 VERIFY( 4ll == std::max( [all...] |
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 990404-1.c | 10 int i, mi, max; local 11 max = 0; 13 if (x[i] > max) { 14 max = x[i]; 18 if (max == 0)
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/simulate-thread/ |
H A D | atomic-other-int128.c | 12 __int128_t max = ~0; variable 33 if (value != zero && value != max) 51 /* All values written to 'value' alternate between 'zero' and 'max'. Any other 62 ret = __atomic_exchange_n (&value, max, __ATOMIC_SEQ_CST); 63 if (ret != zero || value != max) 70 ret = __atomic_fetch_add (&value, max, __ATOMIC_SEQ_CST); 71 if (value != max || ret != zero) 74 ret = __atomic_fetch_sub (&value, max, __ATOMIC_SEQ_CST); 75 if (value != zero || ret != max) 78 ret = __atomic_fetch_or (&value, max, __ATOMIC_SEQ_CS [all...] |
H A D | atomic-other-longlong.c | 14 unsigned long long max = ~0; variable 36 if (value != zero && value != max) 54 /* All values written to 'value' alternate between 'zero' and 'max'. Any other 64 ret = __atomic_exchange_n (&value, max, __ATOMIC_SEQ_CST); 65 if (ret != zero || value != max) 72 ret = __atomic_fetch_add (&value, max, __ATOMIC_SEQ_CST); 73 if (value != max || ret != zero) 76 ret = __atomic_fetch_sub (&value, max, __ATOMIC_SEQ_CST); 77 if (value != zero || ret != max) 80 ret = __atomic_fetch_or (&value, max, __ATOMIC_SEQ_CS [all...] |
H A D | atomic-other-short.c | 12 unsigned short max = ~0; variable 34 if (value != zero && value != max) 53 'max'. Any other value detected by simulate_thread_step_verify() 63 ret = __atomic_exchange_n (&value, max, __ATOMIC_SEQ_CST); 64 if (ret != zero || value != max) 71 ret = __atomic_fetch_add (&value, max, __ATOMIC_SEQ_CST); 72 if (value != max || ret != zero) 75 ret = __atomic_fetch_sub (&value, max, __ATOMIC_SEQ_CST); 76 if (value != zero || ret != max) 79 ret = __atomic_fetch_or (&value, max, __ATOMIC_SEQ_CS [all...] |
H A D | atomic-other-int.c | 12 unsigned int max = ~0; variable 34 if (value != zero && value != max) 53 'max'. Any other value detected by simulate_thread_step_verify() 64 ret = __atomic_exchange_n (&value, max, __ATOMIC_SEQ_CST); 65 if (ret != zero || value != max) 72 ret = __atomic_fetch_add (&value, max, __ATOMIC_SEQ_CST); 73 if (value != max || ret != zero) 76 ret = __atomic_fetch_sub (&value, max, __ATOMIC_SEQ_CST); 77 if (value != zero || ret != max) 80 ret = __atomic_fetch_or (&value, max, __ATOMIC_SEQ_CS [all...] |
/haiku-buildtools/legacy/gcc/libio/dbz/ |
H A D | random.c | 9 * Algorithm from ANSI C standard. Limitation: max-min <= 32767. 12 range(min, max) 14 int max; 20 return(temp%(max - min + 1) + min);
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/ |
H A D | minmax-1.c | 5 #define max(a,b) (((a) > (b))? (a) : (b)) macro 9 return (max(a,1));
|
H A D | minmax-2.c | 5 #define max(a,b) (((a) > (b))? (a) : (b)) macro 9 return (max(a,1));
|
/haiku-buildtools/gcc/libstdc++-v3/scripts/ |
H A D | gen_bind_includers.pl | 4 $max = shift @ARGV; 11 for ($num_args = 2; $num_args <= $max; ++$num_args) {
|
H A D | gen_includers2.pl | 4 $max = shift @ARGV; 11 for ($num_args = 2; $num_args <= $max; ++$num_args) {
|
/haiku-buildtools/isl/test_inputs/codegen/cloog/ |
H A D | stride3.c | 1 for (int c0 = max(m, 1); c0 <= n; c0 += 1)
|
/haiku-buildtools/isl/test_inputs/codegen/omega/ |
H A D | wak4-0.c | 1 for (int c0 = max(max(max(max(a1, a2), a3), a4), a5); c0 <= min(min(min(min(b5, b4), b3), b2), b1); c0 += 1) {
|