Searched refs:is_const (Results 1 - 25 of 36) sorted by relevance

12

/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/is_const/
H A Dvalue.cc26 using std::is_const;
30 static_assert(test_property<is_const, const int>(true), "");
31 static_assert(test_property<is_const, const volatile int>(true), "");
32 static_assert(test_property<is_const, cClassType>(true), "");
33 static_assert(test_property<is_const, cvClassType>(true), "");
36 static_assert(test_property<is_const, int>(false), "");
37 static_assert(test_property<is_const, volatile int>(false), "");
38 static_assert(test_property<is_const, ClassType>(false), "");
39 static_assert(test_property<is_const, vClassType>(false), "");
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/is_const/requirements/
H A Dexplicit_instantiation.cc28 template struct is_const<test_type>;
H A Dtypedefs.cc29 typedef std::is_const<int> test_type;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_const/
H A Dvalue.cc29 using std::tr1::is_const;
33 VERIFY( (test_property<is_const, const int>(true)) );
34 VERIFY( (test_property<is_const, const volatile int>(true)) );
35 VERIFY( (test_property<is_const, cClassType>(true)) );
36 VERIFY( (test_property<is_const, cvClassType>(true)) );
39 VERIFY( (test_property<is_const, int>(false)) );
40 VERIFY( (test_property<is_const, volatile int>(false)) );
41 VERIFY( (test_property<is_const, ClassType>(false)) );
42 VERIFY( (test_property<is_const, vClassType>(false)) );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_const/requirements/
H A Dexplicit_instantiation.cc31 template struct is_const<test_type>;
H A Dtypedefs.cc30 typedef std::tr1::is_const<int> test_type;
/haiku-buildtools/gcc/libstdc++-v3/include/ext/pb_ds/detail/
H A Dtype_utils.hpp56 using std::tr1::is_const;
81 value = is_const<T>::value && is_pointer<T>::value
90 value = is_const<T>::value && is_reference<T>::value
/haiku-buildtools/gcc/gcc/
H A Dgenattr.c41 int is_const = GET_CODE (XEXP (attr, 2)) == CONST; local
43 if (is_const)
52 (is_const ? "void" : "rtx_insn *"));
58 (is_const ? "void" : "rtx_insn *"));
62 (is_const ? "void" : "rtx_insn *"));
H A Dgenattrtab.c182 unsigned is_const : 1; /* Attribute value constant for each run. */ member in struct:attr_desc
749 check_attr_test (rtx exp, int is_const, int lineno) argument
764 is_const, lineno);
777 if (is_const && ! attr->is_const)
788 if (attr->is_const)
833 return check_attr_test (orexp, is_const, lineno);
850 XEXP (exp, 0) = check_attr_test (XEXP (exp, 0), is_const, lineno);
851 XEXP (exp, 1) = check_attr_test (XEXP (exp, 1), is_const, lineno);
855 XEXP (exp, 0) = check_attr_test (XEXP (exp, 0), is_const, linen
[all...]
H A Dcse.c424 The `is_const' flag is set if the element is a constant (including
450 char is_const; member in struct:table_elt
1616 elt->is_const = (CONSTANT_P (x) || fixed_base_plus_p (x));
1676 if (elt->is_const && classp && REG_P (classp->exp)
1689 && ! elt->is_const)
1695 if (p->is_const && !REG_P (p->exp))
3021 if (p->is_const)
3875 if (elt->is_const && CONSTANT_P (elt->exp))
4775 if (p->is_const)
5222 if (p->is_const
[all...]
/haiku-buildtools/legacy/gcc/libobjc/objc/
H A Druntime.h84 struct objc_selector*, BOOL is_const);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dreference_collapsing.C32 template <class T> struct is_const : public integral_constant<bool, false> {}; struct in inherits:integral_constant
33 template <class T> struct is_const<T const> : public integral_constant<bool, true> {}; struct in inherits:integral_constant
55 sa<is_const <typename remove_reference<T>::type>::value == s_const> t3;
57 sa<is_const <typename remove_reference<const T>::type>::value == s_const > t5;
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20000815-1.c14 char is_const; member in struct:table_elt
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/4_metaprogramming/headers/type_traits/
H A Dsynopsis.cc55 template <class T> struct is_const;
/haiku-buildtools/legacy/gcc/libobjc/
H A Dselector.c326 /* is_const parameter tells us if the name and types parameters
332 struct objc_selector *orig, BOOL is_const)
376 if ((is_const) || (types == 0))
395 if ((is_const) || (types == 0))
412 if ((is_const) || (name == 0))
438 copied before put into a runtime structure. is_const == NO */
452 be copied before put into a runtime structure. is_const == NO */
331 __sel_register_typed_name(const char *name, const char *types, struct objc_selector *orig, BOOL is_const) argument
H A Dinit.c69 struct objc_selector *orig, BOOL is_const);
507 pointers to them in the runtime structures. is_const == YES */
/haiku-buildtools/legacy/gcc/gcc/
H A Dcalls.c382 call_fusage, is_const)
393 int is_const;
484 if (is_const)
512 if (flag_defer_pop && inhibit_defer_pop == 0 && !is_const)
881 old_pending_adj, must_preallocate, is_const)
893 int *is_const;
1035 *is_const = 0;
1083 *is_const = 0;
1219 precompute_arguments (is_const, must_preallocate, num_actuals, args, args_size)
1220 int is_const;
1616 int is_const = 0; local
3076 int is_const; local
[all...]
H A Dgenattrtab.c179 unsigned is_const : 1; /* Attribute value constant for each run. */ member in struct:attr_desc
926 check_attr_test (exp, is_const)
928 int is_const;
943 is_const);
961 if (is_const && ! attr->is_const)
972 if (attr->is_const)
1005 return check_attr_test (orexp, is_const);
1021 XEXP (exp, 0) = check_attr_test (XEXP (exp, 0), is_const);
1022 XEXP (exp, 1) = check_attr_test (XEXP (exp, 1), is_const);
[all...]
H A Dcse.c420 The `is_const' flag is set if the element is a constant (including
444 char is_const; member in struct:table_elt
1496 elt->is_const = (CONSTANT_P (x)
1557 if (elt->is_const && classp && GET_CODE (classp->exp) == REG
1566 && ! elt->is_const)
1572 if (p->is_const && GET_CODE (p->exp) != REG)
5645 int is_const = 0;
5656 is_const = 1, const_arg0 = XEXP (const_arg0, 0);
5661 if (new != 0 && is_const)
6089 if (elt->is_const
5623 int is_const = 0; local
[all...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/type_traits/
H A Dvalue.cc115 static_assert(is_const_v<const int> && is_const<const int>::value, "");
116 static_assert(!is_const_v<int> && !is_const<int>::value, "");
/haiku-buildtools/legacy/gcc/gcc/config/v850/
H A Dv850.h1187 int is_const; \
1193 is_const = FALSE; \
1195 is_const = TRUE; \
1200 if (is_const) \
1211 if (is_const) \
1218 if (is_const) \
/haiku-buildtools/gcc/gcc/config/v850/
H A Dv850.c2985 int is_const;
2991 is_const = FALSE;
2993 is_const = TRUE;
2998 return is_const ? rozdata_section : zdata_section;
3004 return is_const ? rosdata_section : sdata_section;
3007 return is_const ? readonly_data_section : data_section;
2973 int is_const; local
/haiku-buildtools/gcc/gcc/config/nvptx/
H A Dnvptx.c1183 bool is_const = (CONSTANT_CLASS_P (decl)
1186 if (is_const)
1207 bool is_const = (CONSTANT_CLASS_P (decl)
1210 if (is_const)
1178 bool is_const = (CONSTANT_CLASS_P (decl) local
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/opt/
H A Ddump1.C110 struct is_const struct in namespace:std
196 bool _IsConst = is_const<_Qualified>::value,
/haiku-buildtools/gcc/gcc/go/gofrontend/
H A Dgogo.h1988 is_const() const function in class:Named_object
2995 is_const() function in class:Translate_context

Completed in 620 milliseconds

12