/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/ |
D | is_const.pass.cpp | 20 static_assert(!std::is_const<T>::value, ""); in test_is_const() 21 static_assert( std::is_const<const T>::value, ""); in test_is_const() 22 static_assert(!std::is_const<volatile T>::value, ""); in test_is_const() 23 static_assert( std::is_const<const volatile T>::value, ""); in test_is_const() 46 static_assert(!std::is_const<int&>::value, ""); in main() 47 static_assert(!std::is_const<const int&>::value, ""); in main()
|
/external/libcxx/test/std/utilities/utility/as_const/ |
D | as_const.pass.cpp | 25 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const … in test() 26 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const< T… in test() 27 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const T… in test() 28 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<volatile T… in test() 29 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const volatile T… in test()
|
/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/clang/test/Analysis/Inputs/ |
D | system-header-simulator-cxx.h | 137 template <class _Tp> struct is_const : public false_type {}; 138 template <class _Tp> struct is_const<_Tp const> : public true_type {}; 146 template <class _Tp, bool = is_const<_Tp>::value || is_reference<_Tp>::value >
|
/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/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorTraits.h | 57 … Flags = compute_tensor_flags<Scalar_, Options_>::ret | (is_const<Scalar_>::value ? 0 : LvalueBit) 75 Flags = compute_tensor_flags<Scalar_, Options_>::ret | (is_const<Scalar_>::value ? 0: LvalueBit)
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 414 bool is_const = IsProbablyConst(decl, context); in GetNameForDecl() local 415 if (is_const) { in GetNameForDecl() 437 if (!is_const && decl.isStaticDataMember()) { in GetNameForDecl()
|
/external/skia/include/private/ |
D | SkTLogic.h | 77 using type = skstd::conditional_t<std::is_const<S>::value, skstd::add_const_t<D>, D>;
|
/external/eigen/Eigen/src/Core/util/ |
D | Meta.h | 115 template <typename T> struct is_const { enum { value = 0 }; }; 116 template <typename T> struct is_const<T const> { enum { value = 1 }; };
|
D | XprHelper.h | 416 bool(internal::is_const<T1>::value), 641 enum { value = (!bool(is_const<ExpressionType>::value)) &&
|
/external/clang/test/Misc/ |
D | diag-template-diffing.cpp | 1247 struct is_const { 1251 using T = condition<(is_const())>;
|
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/ |
D | meta.unary.prop.pass.cpp | 43 static_assert(ex::is_const_v<T> == std::is_const<T>::value, ""); in type_properties_test() 48 static_assert(ex::is_const_v<T> == std::is_const<T>::value, ""); in type_properties_test()
|
/external/libcxx/include/ |
D | __tuple | 41 typename enable_if<!is_const<_Tp>::value>::type, 338 is_const<_RawTp>::value,
|
D | type_traits | 60 template <class T> struct is_const; 268 = is_const<T>::value; // C++17 605 // is_const 607 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_const : public false_type {}; 608 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_const<_Tp const> : public true_type {}; 612 = is_const<_Tp>::value; 1024 is_const<_Tp>::value > 1420 && (!is_const<typename remove_reference<_T2>::type>::value 1833 template <class _Tp, class _Up, bool = is_const<typename remove_reference<_Tp>::type>::value,
|
D | __hash_table | 154 static_assert(!is_reference<_Tp>::value && !is_const<_Tp>::value, ""); 269 static_assert(!is_const<__node_type>::value, 405 static_assert(!is_const<typename pointer_traits<_NodePtr>::element_type>::value, "");
|
/external/libcxx/include/experimental/ |
D | type_traits | 72 = is_const<T>::value; 304 = is_const<_Tp>::value;
|
/external/Microsoft-GSL/gsl/ |
D | span | 403 std::is_const<element_type>::value && !details::is_span<Container>::value && 621 class = std::enable_if_t<!std::is_const<ElementType>::value>>
|
/external/libcxx/test/support/ |
D | min_allocator.h | 172 !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:
|
/external/libvpx/libvpx/tools/ |
D | cpplint.py | 3961 is_const = True 3985 is_const = False 3987 if not is_const:
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
D | buffer.hpp | 754 : public buffer_types_base<is_const<PodType>::value>
|