/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/ |
D | is_const.pass.cpp | 19 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/ |
D | temp_class_spec.cpp | 35 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/ |
D | loop_analysis.h | 202 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/ |
D | ThreadLocalTest.cpp | 30 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/ |
D | isspacep.ll | 8 ; CHECK: is_const 9 define i1 @is_const(i8* %addr) {
|
/external/v8/src/runtime/ |
D | runtime-scopes.cc | 37 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/ |
D | template_util.h | 53 template <class T> struct is_const : false_type {}; 54 template <class T> struct is_const<const T> : true_type {};
|
D | callback_internal.h | 115 !is_const<T>::value;
|
/external/dbus-binding-generator/chromeos-dbus-bindings/ |
D | xml_interface_parser_unittest.cc | 89 EXPECT_FALSE(interface.methods[0].is_const); in TEST_F() 102 EXPECT_TRUE(interface.methods[1].is_const); in TEST_F()
|
D | interface.h | 43 bool is_const{false};
|
D | adaptor_generator_unittest.cc | 289 interface2.methods.back().is_const = true; in TEST_F()
|
D | xml_interface_parser.cc | 159 method.is_const = (value == kTrue); in OnOpenElement()
|
D | adaptor_generator.cc | 246 if (method.is_const) in AddInterfaceMethods()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | type_traits.hpp | 23 using std::is_const;
|
/external/libpcap/ |
D | optimize.c | 520 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/ |
D | Meta.h | 74 template <typename T> struct is_const { enum { value = 0 }; }; 75 template <typename T> struct is_const<T const> { enum { value = 1 }; };
|
D | XprHelper.h | 290 bool(internal::is_const<T1>::value), 461 enum { value = !bool(is_const<ExpressionType>::value) &&
|
/external/opencv3/modules/cudev/include/opencv2/cudev/util/ |
D | type_traits.hpp | 136 enum { is_const = type_traits_detail::UnConst<T>::value }; enumerator
|
/external/libweave/third_party/chromium/base/ |
D | callback_internal.h | 114 !std::is_const<T>::value;
|
/external/clang/test/Misc/ |
D | diag-template-diffing.cpp | 1253 struct is_const { 1257 using T = condition<(is_const())>;
|
/external/skia/include/private/ |
D | SkTLogic.h | 98 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/ |
D | meta.unary.prop.pass.cpp | 44 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/ |
D | type_traits | 72 = is_const<T>::value; 265 = is_const<_Tp>::value;
|
/external/libcxx/test/support/ |
D | min_allocator.h | 80 !std::is_const<T>::value
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
D | cpplint.py | 3384 is_const = True 3408 is_const = False 3410 if not is_const:
|