Searched refs:rhs (Results 1 - 25 of 304) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/libgomp/testsuite/libgomp.fortran/
H A Dpr34020.f904 subroutine atomic_add(lhs, rhs)
5 real lhs, rhs local in subroutine:atomic_add
7 lhs = rhs + lhs
11 real lhs, rhs variable
14 rhs = 1
15 !$omp parallel do num_threads(8) shared(lhs, rhs)
17 call atomic_add(lhs, rhs)
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dcoarray_32.f908 subroutine laplacian(rhs)
9 real, allocatable :: rhs(:)[:] local in subroutine:laplacian
10 real :: local_laplacian(size(rhs))
H A Dredefined_intrinsic_assignment_2.f9015 subroutine valid (lhs,rhs)
17 integer, intent(in) :: rhs(:) local in subroutine:valid
18 lhs = rhs(1)
22 subroutine valid2 (lhs,rhs)
24 integer, intent(in) :: rhs(:,:) local in subroutine:valid2
25 lhs(:) = rhs(:,1)
35 subroutine invalid (lhs,rhs) ! { dg-error "must not redefine an INTRINSIC type assignment" }
37 integer, intent(in) :: rhs local in subroutine:invalid
38 lhs = rhs
48 subroutine invalid2 (lhs,rhs) ! { d
50 integer, intent(in) :: rhs local in subroutine:invalid2
63 integer, intent(in) :: rhs local in subroutine:invalid3
[all...]
H A Dtypebound_operator_19.f9025 integer function unary(rhs)
26 class(foo) ,intent(in) :: rhs
H A Dinterface_31.f9012 FUNCTION add_a(lhs, rhs) RESULT(r)
14 TYPE(ta), INTENT(IN) :: rhs local in function:add_a
17 r%i = lhs%i + rhs%i
33 FUNCTION add_b(lhs, rhs) RESULT(r)
35 TYPE(tb), INTENT(IN) :: rhs local in function:add_b
38 r%j = lhs%j + rhs%j
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dpr37125.c4 mod_rhs(int rhs) argument
6 if (rhs == 0) return 1;
7 return rhs;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/function_objects/
H A Dcomparisons.cc29 bool operator==(const gnu_obj& rhs) const { return i == rhs.i; }
30 bool operator!=(const gnu_obj& rhs) const { return i != rhs.i; }
31 bool operator<(const gnu_obj& rhs) const { return i < rhs.i; }
40 bool operator==(const gnu_t& rhs) const { return b == rhs.b; }
41 bool operator!=(const gnu_t& rhs) const { return b != rhs
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A Dpr37207.c11 int rhs = l_895; local
12 if (rhs == 0)
13 rhs = 1;
14 if (1 & (t % rhs))
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tree-ssa/
H A Dvrp46.c17 int rhs = l_895; local
18 if (rhs == 0)
19 rhs = 1;
20 if (1 & (t % rhs))
/haiku-buildtools/legacy/gcc/libio/
H A Dioassign.cc34 _IO_istream_withassign& _IO_istream_withassign::operator=(istream& rhs) argument
36 if (&rhs != (istream*)this)
38 init (rhs.rdbuf ());
44 _IO_ostream_withassign& _IO_ostream_withassign::operator=(ostream& rhs) argument
46 if (&rhs != (ostream*)this)
47 init (rhs.rdbuf ());
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/pair/
H A D2.cc30 bool operator==(const gnu_obj& rhs) const { return i == rhs.i; }
31 bool operator<(const gnu_obj& rhs) const { return i < rhs.i; }
40 bool operator==(const gnu_t& rhs) const { return b == rhs.b; }
41 bool operator<(const gnu_t& rhs) const { return int(b) < int(rhs.b); }
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/
H A D5.cc33 strcmp(const char* lhs, const char* rhs) argument
35 return *lhs == *rhs && (!*lhs || strcmp(lhs + 1, rhs + 1));
39 strrel(const char* lhs, const char* rhs) argument
41 return (*rhs && (!*lhs || (*lhs < *rhs)))
42 || ((*lhs && *rhs && !(*rhs < *lhs)) && strrel(lhs + 1, rhs + 1));
46 operator==(value_type const& lhs, value_type const& rhs) argument
50 operator !=(value_type const& lhs, value_type const& rhs) argument
54 operator <(value_type const& lhs, value_type const& rhs) argument
[all...]
H A D1.cc33 strcmp(const char* lhs, const char* rhs) argument
35 return *lhs == *rhs && (!*lhs || strcmp(lhs + 1, rhs + 1));
39 strrel(const char* lhs, const char* rhs) argument
41 return (*rhs && (!*lhs || (*lhs < *rhs)))
42 || ((*lhs && *rhs && !(*rhs < *lhs)) && strrel(lhs + 1, rhs + 1));
46 operator==(value_type const& lhs, value_type const& rhs) argument
50 operator !=(value_type const& lhs, value_type const& rhs) argument
54 operator <(value_type const& lhs, value_type const& rhs) argument
[all...]
H A D3.cc33 strcmp(const char* lhs, const char* rhs) argument
35 return *lhs == *rhs && (!*lhs || strcmp(lhs + 1, rhs + 1));
39 strrel(const char* lhs, const char* rhs) argument
41 return (*rhs && (!*lhs || (*lhs < *rhs)))
42 || ((*lhs && *rhs && !(*rhs < *lhs)) && strrel(lhs + 1, rhs + 1));
46 operator==(value_type const& lhs, value_type const& rhs) argument
50 operator !=(value_type const& lhs, value_type const& rhs) argument
54 operator <(value_type const& lhs, value_type const& rhs) argument
[all...]
H A D4.cc33 strcmp(const char* lhs, const char* rhs) argument
35 return *lhs == *rhs && (!*lhs || strcmp(lhs + 1, rhs + 1));
39 strrel(const char* lhs, const char* rhs) argument
41 return (*rhs && (!*lhs || (*lhs < *rhs)))
42 || ((*lhs && *rhs && !(*rhs < *lhs)) && strrel(lhs + 1, rhs + 1));
46 operator==(value_type const& lhs, value_type const& rhs) argument
50 operator !=(value_type const& lhs, value_type const& rhs) argument
54 operator <(value_type const& lhs, value_type const& rhs) argument
[all...]
H A D6.cc33 strcmp(const char* lhs, const char* rhs) argument
35 return *lhs == *rhs && (!*lhs || strcmp(lhs + 1, rhs + 1));
39 strrel(const char* lhs, const char* rhs) argument
41 return (*rhs && (!*lhs || (*lhs < *rhs)))
42 || ((*lhs && *rhs && !(*rhs < *lhs)) && strrel(lhs + 1, rhs + 1));
46 operator==(value_type const& lhs, value_type const& rhs) argument
50 operator !=(value_type const& lhs, value_type const& rhs) argument
54 operator <(value_type const& lhs, value_type const& rhs) argument
[all...]
H A D2.cc33 strcmp(const char* lhs, const char* rhs) argument
35 return *lhs == *rhs && (!*lhs || strcmp(lhs + 1, rhs + 1));
39 strrel(const char* lhs, const char* rhs) argument
41 return (*rhs && (!*lhs || (*lhs < *rhs)))
42 || ((*lhs && *rhs && !(*rhs < *lhs)) && strrel(lhs + 1, rhs + 1));
46 operator==(value_type const& lhs, value_type const& rhs) argument
50 operator !=(value_type const& lhs, value_type const& rhs) argument
54 operator <(value_type const& lhs, value_type const& rhs) argument
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/
H A Dpr66857.C8 Test (const int &rhs) argument
10 if (&rhs != &i)
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dconstexpr-array15.C8 Sub(Sub&& rhs); // remove this constructor and it works as epxected.
13 Sub::Sub(Sub&& rhs) : Sub() { int tmp = i; i = rhs.i; rhs.i = tmp; } argument
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/
H A Dcrash107.C6 Vec& operator^=(Vec& rhs) { argument
10 X = y*rhs.z() - z*rhs.y(); // { dg-error "not declared|no member" }
12 Vec& operator^(Vec& rhs) { argument
13 return Vec(*this)^=rhs; // { dg-message "required" }
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/
H A D23871.cc33 inline unsigned char operator|| (const int& lhs, const mytest& rhs) argument
36 return (mytest)lhs || rhs;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp9068.C14 void foo (ostream& lhs, const C& rhs) argument
16 lhs << rhs.i; // { dg-error "match" } no such i for any opr << ()
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.martin/
H A Dsts_vectini.C21 XTVec& operator+=(XTVec& lhs, XTVec& rhs){ argument
22 lhs[0]+=rhs[0];
23 lhs[1]+=rhs[1];
24 lhs[2]+=rhs[2];
29 XTVec operator+(XTVec& lhs, XTVec& rhs){ argument
31 return result += rhs;
/haiku-buildtools/gcc/gcc/testsuite/gfortran.fortran-torture/execute/
H A Duserop.f9016 function myfoo (lhs, rhs)
19 integer, intent(in) :: lhs, rhs local in function:myfoo
21 myfoo = lhs + rhs
25 function boolmul (lhs, rhs)
28 logical, intent(IN) :: lhs, rhs local in function:boolmul
30 boolmul = lhs .and. .not. rhs
33 subroutine int2bool (lhs, rhs)
36 integer, intent(in) :: rhs local in subroutine:int2bool
38 lhs = rhs .ne. 0
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/compat/decimal/
H A Ddecimal-dummy.h31 inline decimal32 operator+ (decimal32 lhs, decimal32 rhs) argument
34 tmp.__val = lhs.__val + rhs.__val;
38 inline decimal64 operator+ (decimal64 lhs, decimal64 rhs) argument
41 tmp.__val = lhs.__val + rhs.__val;
45 inline decimal128 operator+ (decimal128 lhs, decimal128 rhs) argument
48 tmp.__val = lhs.__val + rhs.__val;
52 inline bool operator!= (decimal32 lhs, decimal32 rhs) argument
54 return lhs.__val != rhs.__val;
57 inline bool operator!= (decimal64 lhs, decimal64 rhs) argument
59 return lhs.__val != rhs
62 operator !=(decimal128 lhs, decimal128 rhs) argument
[all...]

Completed in 307 milliseconds

1234567891011>>