Home
last modified time | relevance | path

Searched refs:is_const (Results 1 – 25 of 32) sorted by relevance

12

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_const.pass.cpp19 static_assert(!std::is_const<T>::value, ""); in test_is_const()
20 static_assert( std::is_const<const T>::value, ""); in test_is_const()
21 static_assert(!std::is_const<volatile T>::value, ""); in test_is_const()
22 static_assert( std::is_const<const volatile T>::value, ""); in test_is_const()
35 static_assert(!std::is_const<int&>::value, ""); in main()
36 static_assert(!std::is_const<const int&>::value, ""); in main()
/external/clang/test/SemaTemplate/
Dtemp_class_spec.cpp35 struct is_const { struct
40 struct is_const<const T> { argument
44 int is_const0[is_const<int>::value? -1 : 1]; argument
45 int is_const1[is_const<const int>::value? 1 : -1];
46 int is_const2[is_const<const volatile int>::value? 1 : -1];
47 int is_const3[is_const<const int [3]>::value? 1 : -1];
48 int is_const4[is_const<const volatile int[3]>::value? 1 : -1];
49 int is_const5[is_const<volatile int[3]>::value? -1 : 1];
/external/mesa3d/src/glsl/
Dloop_analysis.h202 const bool is_const = (this->num_assignments == 0) in is_loop_constant() local
216 assert(!this->var->read_only || (this->var->read_only && is_const)); in is_loop_constant()
218 return is_const; in is_loop_constant()
/external/llvm/unittests/Support/
DThreadLocalTest.cpp30 std::is_const<std::remove_pointer<decltype(x.get())>::type>::value, in TEST_F()
45 !std::is_const<std::remove_pointer<decltype(y.get())>::type>::value, in TEST_F()
/external/llvm/test/CodeGen/NVPTX/
Disspacep.ll8 ; CHECK: is_const
9 define i1 @is_const(i8* %addr) {
/external/v8/src/runtime/
Druntime-scopes.cc37 bool is_const, bool is_function) { in DeclareGlobals() argument
54 if (is_const) return ThrowRedeclarationError(isolate, name); in DeclareGlobals()
108 bool is_const = initial_value->IsTheHole(); in RUNTIME_FUNCTION() local
111 BoolToInt(is_var) + BoolToInt(is_const) + BoolToInt(is_function)); in RUNTIME_FUNCTION()
131 if (is_const) attr |= READ_ONLY; in RUNTIME_FUNCTION()
133 if (!is_const && !is_eval) attr |= DONT_DELETE; in RUNTIME_FUNCTION()
137 is_var, is_const, is_function); in RUNTIME_FUNCTION()
220 bool is_const = initial_value->IsTheHole(); in DeclareLookupSlot() local
223 BoolToInt(is_var) + BoolToInt(is_const) + BoolToInt(is_function)); in DeclareLookupSlot()
258 value, attr, is_var, is_const, is_function); in DeclareLookupSlot()
[all …]
/external/libchrome/base/
Dtemplate_util.h53 template <class T> struct is_const : false_type {};
54 template <class T> struct is_const<const T> : true_type {};
Dcallback_internal.h115 !is_const<T>::value;
/external/dbus-binding-generator/chromeos-dbus-bindings/
Dxml_interface_parser_unittest.cc89 EXPECT_FALSE(interface.methods[0].is_const); in TEST_F()
102 EXPECT_TRUE(interface.methods[1].is_const); in TEST_F()
Dinterface.h43 bool is_const{false};
Dadaptor_generator_unittest.cc289 interface2.methods.back().is_const = true; in TEST_F()
Dxml_interface_parser.cc159 method.is_const = (value == kTrue); in OnOpenElement()
Dadaptor_generator.cc246 if (method.is_const) in AddInterfaceMethods()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dtype_traits.hpp23 using std::is_const;
/external/libpcap/
Doptimize.c520 int is_const; member
556 vmap[val].is_const = 1; in F()
804 if (vmap[val].is_const) { in opt_peep()
875 if (vmap[val].is_const && BPF_SRC(b->s.code) == BPF_X) { in opt_peep()
885 if (vmap[val].is_const && BPF_SRC(b->s.code) == BPF_K) { in opt_peep()
942 if (alter && vmap[v].is_const) { in opt_stmt()
974 if (alter && vmap[val[A_ATOM]].is_const) { in opt_stmt()
1011 if (vmap[val[A_ATOM]].is_const) { in opt_stmt()
1031 if (alter && vmap[val[X_ATOM]].is_const) { in opt_stmt()
1032 if (vmap[val[A_ATOM]].is_const) { in opt_stmt()
[all …]
/external/eigen/Eigen/src/Core/util/
DMeta.h74 template <typename T> struct is_const { enum { value = 0 }; };
75 template <typename T> struct is_const<T const> { enum { value = 1 }; };
DXprHelper.h290 bool(internal::is_const<T1>::value),
461 enum { value = !bool(is_const<ExpressionType>::value) &&
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
Dtype_traits.hpp136 enum { is_const = type_traits_detail::UnConst<T>::value }; enumerator
/external/libweave/third_party/chromium/base/
Dcallback_internal.h114 !std::is_const<T>::value;
/external/clang/test/Misc/
Ddiag-template-diffing.cpp1253 struct is_const {
1257 using T = condition<(is_const())>;
/external/skia/include/private/
DSkTLogic.h98 using type = skstd::conditional_t<std::is_const<S>::value, skstd::add_const_t<D>, D>;
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
Dmeta.unary.prop.pass.cpp44 static_assert(ex::is_const_v<T> == std::is_const<T>::value, ""); in type_properties_test()
49 static_assert(ex::is_const_v<T> == std::is_const<T>::value, ""); in type_properties_test()
/external/libcxx/include/experimental/
Dtype_traits72 = is_const<T>::value;
265 = is_const<_Tp>::value;
/external/libcxx/test/support/
Dmin_allocator.h80 !std::is_const<T>::value
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py3384 is_const = True
3408 is_const = False
3410 if not is_const:

12