Searched refs:value (Results 201 - 225 of 4996) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/cpp0x/
H A Ddecltype1.C7 static const bool value = false; member in struct:is_same
13 static const bool value = true; member in struct:is_same
21 static_assert(is_same<decltype(foo()), const int&>::value,
23 static_assert(is_same<decltype(i), int>::value,
25 static_assert(is_same<decltype(a->x), double>::value, variable
27 static_assert(is_same<decltype((a->x)), const double&>::value, variable
H A Ddecltype6.C7 static const bool value = false; member in struct:is_same
13 static const bool value = true; member in struct:is_same
29 static_assert(is_same<decltype(foo<int>()), const int&>::value,
31 static_assert(is_same<decltype(i), int>::value,
33 static_assert(is_same<decltype(a->x), double>::value, variable
35 static_assert(is_same<decltype((a->x)), const double&>::value, variable
H A Dvariadic14.C10 static const bool value = false; member in struct:is_same
15 static const bool value = true; member in struct:is_same
18 int a0[is_same<make_function_type<int>::type, int()>::value? 1 : -1];
19 int a1[is_same<make_function_type<int, float>::type, int(float)>::value? 1 : -1];
20 int a2[is_same<make_function_type<int, float>::type, int(float)>::value? 1 : -1];
21 int a3[is_same<make_function_type<int, float, double>::type, int(float, double)>::value? 1 : -1];
H A Dvariadic15.C10 static const bool value = false; member in struct:is_same
15 static const bool value = true; member in struct:is_same
18 int a0[is_same<make_function_type<int>::type, int()>::value? 1 : -1];
19 int a1[is_same<make_function_type<int, float>::type, int(const float&)>::value? 1 : -1];
20 int a2[is_same<make_function_type<int, float>::type, int(const float&)>::value? 1 : -1];
21 int a3[is_same<make_function_type<int, float, double>::type, int(const float&, double const&)>::value? 1 : -1];
H A Dvariadic16.C10 static const bool value = false; member in struct:is_same
15 static const bool value = true; member in struct:is_same
18 int a0[is_same<make_function_type<int>::type, int()>::value? 1 : -1];
19 int a1[is_same<make_function_type<int, float>::type, int(const float&)>::value? 1 : -1];
20 int a2[is_same<make_function_type<int, float>::type, int(const float&)>::value? 1 : -1];
21 int a3[is_same<make_function_type<int, float, double>::type, int(const float&, double const&)>::value? 1 : -1];
H A Dvariadic17.C10 static const bool value = false; member in struct:is_same
15 static const bool value = true; member in struct:is_same
18 int a0[is_same<make_function_type<int>::type, int(...)>::value? 1 : -1];
19 int a1[is_same<make_function_type<int, float>::type, int(const float&...)>::value? 1 : -1];
20 int a2[is_same<make_function_type<int, float>::type, int(const float&,...)>::value? 1 : -1];
21 int a3[is_same<make_function_type<int, float, double>::type, int(const float&, double const&...)>::value? 1 : -1];
H A Dvariadic22.C10 static const bool value = false; member in struct:is_same
15 static const bool value = true; member in struct:is_same
18 int a0[is_same<make_function_type<int>::type, int()>::value? 1 : -1];
19 int a1[is_same<make_function_type<int, float>::type, int(float)>::value? 1 : -1];
20 int a2[is_same<make_function_type<int, float>::type, int(float)>::value? 1 : -1];
21 int a3[is_same<make_function_type<int, float, double>::type, int(float, double const)>::value? 1 : -1];
H A Dvt-34219.C5 static const T value = a > max<T, Params>::value ? a : max<T, Params>::value; // { dg-error "not expanded|Params" } member in struct:max
11 static const T value = a > b ? a : b; member in struct:max
14 static const int value1 = max< int, 1, 2>::value;
15 static const int value2 = max< int, 1, 3, 5>::value;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/tree-ssa/
H A Dpr14703.C8 static const unsigned long long value = fib<L - 1>::value + fib<L - 2>::value; member in class:__anon4989::fib
13 static const unsigned long long value = 1; member in class:__anon4989::fib
18 static const unsigned long long value = 1; member in class:__anon4989::fib
45 ::std::cerr << "fib<90>::value == " << fib<90>::value << "\n"; member in class:fib
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.jason/
H A Dtemplate43.C7 enum { value = 0 }; enumerator in enum:EQUAL::__anon5051
12 enum { value = 1 }; enumerator in enum:EQUAL::__anon5052
18 int equals_x_x = EQUAL<&x,&x>::value; // expected value: 1
19 int equals_x_y = EQUAL<&x,&y>::value; // expected value: 0
20 int equals_y_x = EQUAL<&y,&x>::value; // expected value: 0
21 int equals_y_y = EQUAL<&y,&y>::value; // expected value
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/ieee/
H A Dmzero3.c26 expectd (double value, double expected) argument
28 if (value != expected
29 || memcmp ((void *)&value, (void *) &expected, sizeof (double)) != 0)
34 expectf (float value, float expected) argument
36 if (value != expected
37 || memcmp ((void *)&value, (void *) &expected, sizeof (float)) != 0)
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/20_util/reference_wrapper/
H A Dtypedefs.cc53 VERIFY((is_same<reference_wrapper<int_result_type>::result_type, int>::value));
54 VERIFY((is_same<reference_wrapper<derives_unary>::result_type, int>::value));
55 VERIFY((is_same<reference_wrapper<derives_binary>::result_type, int>::value));
56 VERIFY((is_same<reference_wrapper<derives_unary_binary>::result_type, int>::value));
57 VERIFY((is_same<reference_wrapper<int(void)>::result_type, int>::value));
58 VERIFY((is_same<reference_wrapper<int(*)(void)>::result_type, int>::value));
59 VERIFY((is_same<reference_wrapper<int (::X::*)()>::result_type, int>::value));
60 VERIFY((is_same<reference_wrapper<int (::X::*)(float)>::result_type, int>::value));
63 VERIFY((is_convertible<reference_wrapper<derives_unary>*, unary_function<int, int>*>::value));
64 VERIFY((is_convertible<reference_wrapper<derives_unary_binary>*, unary_function<int, int>*>::value));
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/3_function_objects/reference_wrapper/
H A Dtypedefs.cc54 VERIFY((is_same<reference_wrapper<int_result_type>::result_type, int>::value));
55 VERIFY((is_same<reference_wrapper<derives_unary>::result_type, int>::value));
56 VERIFY((is_same<reference_wrapper<derives_binary>::result_type, int>::value));
57 VERIFY((is_same<reference_wrapper<derives_unary_binary>::result_type, int>::value));
58 VERIFY((is_same<reference_wrapper<int(void)>::result_type, int>::value));
59 VERIFY((is_same<reference_wrapper<int(*)(void)>::result_type, int>::value));
60 VERIFY((is_same<reference_wrapper<int (::X::*)()>::result_type, int>::value));
61 VERIFY((is_same<reference_wrapper<int (::X::*)(float)>::result_type, int>::value));
64 VERIFY((is_convertible<reference_wrapper<derives_unary>*, unary_function<int, int>*>::value));
65 VERIFY((is_convertible<reference_wrapper<derives_unary_binary>*, unary_function<int, int>*>::value));
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_pointer/
H A Dvalue.cc33 VERIFY( (is_same<add_pointer<int>::type, int*>::value) );
34 VERIFY( (is_same<add_pointer<int*>::type, int**>::value) );
35 VERIFY( (is_same<add_pointer<const int>::type, const int*>::value) );
36 VERIFY( (is_same<add_pointer<int&>::type, int*>::value) );
37 VERIFY( (is_same<add_pointer<ClassType*>::type, ClassType**>::value) );
38 VERIFY( (is_same<add_pointer<ClassType>::type, ClassType*>::value) );
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_pointer/
H A Dvalue.cc33 VERIFY( (is_same<remove_pointer<int*>::type, int>::value) );
34 VERIFY( (is_same<remove_pointer<int>::type, int>::value) );
35 VERIFY( (is_same<remove_pointer<const int*>::type, const int>::value) );
36 VERIFY( (is_same<remove_pointer<int**>::type, int*>::value) );
37 VERIFY( (is_same<remove_pointer<ClassType*>::type, ClassType>::value) );
38 VERIFY( (is_same<remove_pointer<ClassType>::type, ClassType>::value) );
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_reference/
H A Dvalue.cc33 VERIFY( (is_same<remove_reference<int&>::type, int>::value) );
34 VERIFY( (is_same<remove_reference<int>::type, int>::value) );
35 VERIFY( (is_same<remove_reference<const int&>::type, const int>::value) );
36 VERIFY( (is_same<remove_reference<int*&>::type, int*>::value) );
37 VERIFY( (is_same<remove_reference<ClassType&>::type, ClassType>::value) );
38 VERIFY( (is_same<remove_reference<ClassType>::type, ClassType>::value) );
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.jason/
H A Dtemplate43.C7 enum { value = 0 }; enumerator in enum:EQUAL::__anon3417
12 enum { value = 1 }; enumerator in enum:EQUAL::__anon3418
18 int equals_x_x = EQUAL<&x,&x>::value; // expected value: 1
19 int equals_x_y = EQUAL<&x,&y>::value; // expected value: 0
20 int equals_y_x = EQUAL<&y,&x>::value; // expected value: 0
21 int equals_y_y = EQUAL<&y,&y>::value; // expected value
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/ieee/
H A Dmzero3.c26 expectd (double value, double expected) argument
28 if (value != expected
29 || memcmp ((void *)&value, (void *) &expected, sizeof (double)) != 0)
34 expectf (float value, float expected) argument
36 if (value != expected
37 || memcmp ((void *)&value, (void *) &expected, sizeof (float)) != 0)
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/makeinfo/tests/
H A Dnode-value2 # Test @value expansion in node names.
7 ../makeinfo $srcdir/node-value.txi
8 grep -v "No Value" node-value.info >/dev/null
11 rm -f node-value.info
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.dwarf2/
H A Ddw2-entry-value.exp22 if { [prepare_for_testing dw2-entry-value.exp "dw2-entry-value" {dw2-entry-value-main.c dw2-entry-value.S} {nodebug}] } {
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.hp/gdb.aCC/
H A Drun.c62 int factorial (int value) argument
63 /*int value;*/
67 if (value > 1) {
68 value *= factorial (value - 1);
70 local_var = value;
71 return (value);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/tr1/3_function_objects/reference_wrapper/
H A Dtypedefs.cc55 VERIFY((is_same<reference_wrapper<int_result_type>::result_type, int>::value));
56 VERIFY((is_same<reference_wrapper<derives_unary>::result_type, int>::value));
57 VERIFY((is_same<reference_wrapper<derives_binary>::result_type, int>::value));
58 VERIFY((is_same<reference_wrapper<derives_unary_binary>::result_type, int>::value));
59 VERIFY((is_same<reference_wrapper<int(void)>::result_type, int>::value));
60 VERIFY((is_same<reference_wrapper<int(*)(void)>::result_type, int>::value));
61 VERIFY((is_same<reference_wrapper<int (::X::*)()>::result_type, int>::value));
62 VERIFY((is_same<reference_wrapper<int (::X::*)(float)>::result_type, int>::value));
65 VERIFY((is_convertible<reference_wrapper<derives_unary>*, unary_function<int, int>*>::value));
66 VERIFY((is_convertible<reference_wrapper<derives_unary_binary>*, unary_function<int, int>*>::value));
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/tr1/4_metaprogramming/pointer_modifications/
H A Dadd_pointer.cc34 VERIFY( (is_same<add_pointer<int>::type, int*>::value) );
35 VERIFY( (is_same<add_pointer<int*>::type, int**>::value) );
36 VERIFY( (is_same<add_pointer<const int>::type, const int*>::value) );
37 VERIFY( (is_same<add_pointer<int&>::type, int*>::value) );
38 VERIFY( (is_same<add_pointer<ClassType*>::type, ClassType**>::value) );
39 VERIFY( (is_same<add_pointer<ClassType>::type, ClassType*>::value) );
H A Dremove_pointer.cc34 VERIFY( (is_same<remove_pointer<int*>::type, int>::value) );
35 VERIFY( (is_same<remove_pointer<int>::type, int>::value) );
36 VERIFY( (is_same<remove_pointer<const int*>::type, const int>::value) );
37 VERIFY( (is_same<remove_pointer<int**>::type, int*>::value) );
38 VERIFY( (is_same<remove_pointer<ClassType*>::type, ClassType>::value) );
39 VERIFY( (is_same<remove_pointer<ClassType>::type, ClassType>::value) );
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/tr1/4_metaprogramming/reference_modifications/
H A Dadd_reference.cc34 VERIFY( (is_same<add_reference<int>::type, int&>::value) );
35 VERIFY( (is_same<add_reference<int&>::type, int&>::value) );
36 VERIFY( (is_same<add_reference<const int>::type, const int&>::value) );
37 VERIFY( (is_same<add_reference<int*>::type, int*&>::value) );
38 VERIFY( (is_same<add_reference<ClassType&>::type, ClassType&>::value) );
39 VERIFY( (is_same<add_reference<ClassType>::type, ClassType&>::value) );

Completed in 130 milliseconds

1234567891011>>