testsuite/libgomp.c++/for-5.C File Reference

Go to the source code of this file.

Data Structures

class  I< T >
class  J< T >

Defines

#define check(expr)

Typedefs

typedef __PTRDIFF_TYPE__ ptrdiff_t

Functions

void abort ()
template<typename T>
bool operator== (I< T > &x, I< T > &y)
template<typename T>
bool operator== (const I< T > &x, const I< T > &y)
template<typename T>
bool operator!= (I< T > &x, I< T > &y)
template<typename T>
bool operator!= (const I< T > &x, const I< T > &y)
template<typename T>
bool operator< (I< T > &x, I< T > &y)
template<typename T>
bool operator< (const I< T > &x, const I< T > &y)
template<typename T>
bool operator<= (I< T > &x, I< T > &y)
template<typename T>
bool operator<= (const I< T > &x, const I< T > &y)
template<typename T>
bool operator> (I< T > &x, I< T > &y)
template<typename T>
bool operator> (const I< T > &x, const I< T > &y)
template<typename T>
bool operator>= (I< T > &x, I< T > &y)
template<typename T>
bool operator>= (const I< T > &x, const I< T > &y)
template<typename T>
I< T >::difference_type operator- (I< T > &x, I< T > &y)
template<typename T>
I< T >::difference_type operator- (const I< T > &x, const I< T > &y)
template<typename T>
I< T > operator+ (typename I< T >::difference_type x, const I< T > &y)
template<typename T>
void baz (I< T > &i)
I< int > f1 (const I< int > &x, const I< int > &y)
I< int > f2 (const I< int > &x, const I< int > &y)
template<typename T>
I< int > f3 (const I< int > &x, const I< int > &y)
template<typename T>
I< int > f4 (const I< int > &x, const I< int > &y)
template<typename T>
I< int > f5 (const I< int > &x, const I< int > &y)
template<typename T>
I< int > f6 (const I< int > &x, const I< int > &y)
template<int N>
I< int > f7 (I< int > i, const I< int > &x, const I< int > &y)
template<int N>
I< int > f8 (J< int > j)
template<long N>
I< int > & f9 (J< int > j)
template<typename T, int N>
I< T > f10 (const I< T > &x, const I< T > &y)
template<typename T, typename U>
f11 (T i, const T &x, const T &y)
template<typename T>
f12 (const T &x, const T &y)
int main ()

Variables

int results [2000]
I< int > i9


Define Documentation

#define check ( expr   ) 

Value:

for (int i = 0; i < 2000; i++)          \
    if (expr)                       \
      {                         \
    if (results[i] != 1)                \
      abort ();                 \
    results[i] = 0;                 \
      }                         \
    else if (results[i])                \
      abort ()

Definition at line 237 of file for-5.C.


Typedef Documentation

typedef __PTRDIFF_TYPE__ ptrdiff_t

Definition at line 3 of file for-5.C.


Function Documentation

void abort (  ) 

template<typename T>
void baz ( I< T > &  i  ) 

Definition at line 93 of file for-5.C.

References abort(), i, and results.

Here is the call graph for this function:

I<int> f1 ( const I< int > &  x,
const I< int > &  y 
)

Definition at line 101 of file for-5.C.

References baz(), i, and x.

Here is the call graph for this function:

template<typename T, int N>
I<T> f10 ( const I< T > &  x,
const I< T > &  y 
)

Definition at line 206 of file for-5.C.

References baz(), i, N, and x.

Here is the call graph for this function:

template<typename T, typename U>
T f11 ( i,
const T &  x,
const T &  y 
)

Definition at line 217 of file for-5.C.

References baz(), and T.

Here is the call graph for this function:

template<typename T>
T f12 ( const T &  x,
const T &  y 
)

Definition at line 228 of file for-5.C.

References baz(), i, and T.

Here is the call graph for this function:

I<int> f2 ( const I< int > &  x,
const I< int > &  y 
)

Definition at line 116 of file for-5.C.

References baz(), i, and x.

Here is the call graph for this function:

template<typename T>
I<int> f3 ( const I< int > &  x,
const I< int > &  y 
)

Definition at line 127 of file for-5.C.

References baz(), i, and x.

Here is the call graph for this function:

template<typename T>
I<int> f4 ( const I< int > &  x,
const I< int > &  y 
)

Definition at line 139 of file for-5.C.

References baz(), i, and x.

Here is the call graph for this function:

template<typename T>
I<int> f5 ( const I< int > &  x,
const I< int > &  y 
)

Definition at line 150 of file for-5.C.

References baz(), i, T, and x.

Here is the call graph for this function:

template<typename T>
I<int> f6 ( const I< int > &  x,
const I< int > &  y 
)

Definition at line 161 of file for-5.C.

References baz(), i, T, and x.

Here is the call graph for this function:

template<int N>
I<int> f7 ( I< int >  i,
const I< int > &  x,
const I< int > &  y 
)

Definition at line 172 of file for-5.C.

References baz(), i, N, and x.

Here is the call graph for this function:

template<int N>
I<int> f8 ( J< int >  j  ) 

Definition at line 182 of file for-5.C.

References baz(), i, j, and N.

Here is the call graph for this function:

template<long N>
I<int>& f9 ( J< int >  j  ) 

Definition at line 196 of file for-5.C.

References baz(), i9, j, and N.

Here is the call graph for this function:

int main ( void   ) 

Definition at line 249 of file for-5.C.

References a, abort(), b, check, f1(), f11(), f12(), f2(), and i.

Here is the call graph for this function:

template<typename T>
bool operator!= ( const I< T > &  x,
const I< T > &  y 
)

Definition at line 62 of file for-5.C.

References x.

template<typename T>
bool operator!= ( I< T > &  x,
I< T > &  y 
)

Definition at line 61 of file for-5.C.

References x.

template<typename T>
I<T> operator+ ( typename I< T >::difference_type  x,
const I< T > &  y 
)

Definition at line 73 of file for-5.C.

References I< T >::p.

template<typename T>
I<T>::difference_type operator- ( const I< T > &  x,
const I< T > &  y 
)

Definition at line 72 of file for-5.C.

References I< T >::p, and x.

template<typename T>
I<T>::difference_type operator- ( I< T > &  x,
I< T > &  y 
)

Definition at line 71 of file for-5.C.

References I< T >::p, and x.

template<typename T>
bool operator< ( const I< T > &  x,
const I< T > &  y 
)

Definition at line 64 of file for-5.C.

References x.

template<typename T>
bool operator< ( I< T > &  x,
I< T > &  y 
)

Definition at line 63 of file for-5.C.

References x.

template<typename T>
bool operator<= ( const I< T > &  x,
const I< T > &  y 
)

Definition at line 66 of file for-5.C.

References x.

template<typename T>
bool operator<= ( I< T > &  x,
I< T > &  y 
)

Definition at line 65 of file for-5.C.

References x.

template<typename T>
bool operator== ( const I< T > &  x,
const I< T > &  y 
)

Definition at line 60 of file for-5.C.

References I< T >::p, and x.

template<typename T>
bool operator== ( I< T > &  x,
I< T > &  y 
)

Definition at line 59 of file for-5.C.

References I< T >::p, and x.

template<typename T>
bool operator> ( const I< T > &  x,
const I< T > &  y 
)

Definition at line 68 of file for-5.C.

References I< T >::p, and x.

template<typename T>
bool operator> ( I< T > &  x,
I< T > &  y 
)

Definition at line 67 of file for-5.C.

References I< T >::p, and x.

template<typename T>
bool operator>= ( const I< T > &  x,
const I< T > &  y 
)

Definition at line 70 of file for-5.C.

References I< T >::p, and x.

template<typename T>
bool operator>= ( I< T > &  x,
I< T > &  y 
)

Definition at line 69 of file for-5.C.

References I< T >::p, and x.


Variable Documentation

I<int> i9

Definition at line 192 of file for-5.C.

Referenced by f9().

int results[2000]

Definition at line 89 of file for-5.C.


Generated on Fri Apr 5 05:40:26 2013 for Libgomp by  doxygen 1.4.7