HomeSort by relevance Sort by last modified time
    Searched refs:is_const (Results 1 - 25 of 44) sorted by null

1 2

  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/
is_const.pass.cpp 12 // is_const
19 static_assert(!std::is_const<T>::value, "");
20 static_assert( std::is_const<const T>::value, "");
21 static_assert(!std::is_const<volatile T>::value, "");
22 static_assert( std::is_const<const volatile T>::value, "");
35 static_assert(!std::is_const<int&>::value, "");
36 static_assert(!std::is_const<const int&>::value, "");
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.unary/meta.unary.prop/
is_const.pass.cpp 12 // is_const
20 static_assert(!std::is_const<T>::value, "");
21 static_assert( std::is_const<const T>::value, "");
22 static_assert(!std::is_const<volatile T>::value, "");
23 static_assert( std::is_const<const volatile T>::value, "");
42 static_assert(!std::is_const<int&>::value, "");
43 static_assert(!std::is_const<const int&>::value, "");
  /external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
is_const.pass.cpp 12 // is_const
20 static_assert(!std::is_const<T>::value, "");
21 static_assert( std::is_const<const T>::value, "");
22 static_assert(!std::is_const<volatile T>::value, "");
23 static_assert( std::is_const<const volatile T>::value, "");
46 static_assert(!std::is_const<int&>::value, "");
47 static_assert(!std::is_const<const int&>::value, "");
  /external/parameter-framework/asio-1.10.6/include/asio/detail/
type_traits.hpp 23 using std::is_const;
  /system/libvintf/include/vintf/
MapValueIterator.h 33 template<bool is_const>
38 typename std::conditional<is_const, const V *, V *>::type /* Pointer */,
39 typename std::conditional<is_const, const V &, V &>::type /* Reference */
47 using map_iter = typename std::conditional<is_const,
82 template<bool is_const>
84 using map_ref = typename std::conditional<is_const, const Map &, Map &>::type;
87 IteratorImpl<is_const> begin() const {
88 return IteratorImpl<is_const>(mMap.begin());
91 IteratorImpl<is_const> end() const {
92 return IteratorImpl<is_const>(mMap.end())
    [all...]
  /external/libcxx/test/std/utilities/utility/as_const/
as_const.pass.cpp 25 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const (t))>::type>::value, "");
26 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const< T>(t))>::type>::value, "");
27 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const T>(t))>::type>::value, "");
28 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<volatile T>(t))>::type>::value, "");
29 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const volatile T>(t))>::type>::value, "");
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/utility/as_const/
as_const.pass.cpp 25 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const (t))>::type>::value, "");
26 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const< T>(t))>::type>::value, "");
27 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const T>(t))>::type>::value, "");
28 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<volatile T>(t))>::type>::value, "");
29 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const volatile T>(t))>::type>::value, "");
  /external/llvm/unittests/Support/
ThreadLocalTest.cpp 30 std::is_const<std::remove_pointer<decltype(x.get())>::type>::value,
45 !std::is_const<std::remove_pointer<decltype(y.get())>::type>::value,
  /external/mesa3d/src/glsl/
loop_analysis.h 202 const bool is_const = (this->num_assignments == 0) local
216 assert(!this->var->read_only || (this->var->read_only && is_const));
218 return is_const;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/
type_utils.hpp 56 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
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/
type_utils.hpp 56 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
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/
type_utils.hpp 56 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
  /prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/
type_utils.hpp 56 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
  /prebuilts/ndk/r11/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/
type_utils.hpp 56 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
  /prebuilts/ndk/r13/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/
type_utils.hpp 56 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
  /external/clang/test/SemaTemplate/
temp_class_spec.cpp 35 struct is_const { struct
40 struct is_const<const T> { struct
44 int is_const0[is_const<int>::value? -1 : 1];
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];
  /frameworks/native/libs/vr/libpdx/private/pdx/rpc/
copy_cv_reference.h 18 typename std::conditional<std::is_const<R>::value,
  /test/vts/utils/python/mirror/
mirror_object_for_types.py 86 if not attribute.is_const and attribute.name == type_name:
90 if not attribute.is_const and attribute.name == type_name:
142 if attribute.is_const and attribute.name == type_name:
149 if attribute.is_const and attribute.name == type_name:
  /external/clang/test/Analysis/Inputs/
system-header-simulator-cxx.h 137 template <class _Tp> struct is_const : public false_type {}; struct in namespace:std
138 template <class _Tp> struct is_const<_Tp const> : public true_type {}; struct in namespace:std
146 template <class _Tp, bool = is_const<_Tp>::value || is_reference<_Tp>::value >
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
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/libpcap/
optimize.c 520 int is_const; member in struct:vmapinfo
556 vmap[val].is_const = 1;
804 if (vmap[val].is_const) {
875 if (vmap[val].is_const && BPF_SRC(b->s.code) == BPF_X) {
885 if (vmap[val].is_const && BPF_SRC(b->s.code) == BPF_K) {
942 if (alter && vmap[v].is_const) {
974 if (alter && vmap[val[A_ATOM]].is_const) {
1011 if (vmap[val[A_ATOM]].is_const) {
1031 if (alter && vmap[val[X_ATOM]].is_const) {
1032 if (vmap[val[A_ATOM]].is_const) {
    [all...]
  /external/skia/include/private/
SkTLogic.h 77 using type = skstd::conditional_t<std::is_const<S>::value, skstd::add_const_t<D>, D>;
  /hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
StreamIoUtil.h 30 static_assert(std::is_const<CharT>::value == false, "cannot use const type");
  /frameworks/base/media/mca/filterfw/native/core/
shader_program.cpp 57 : is_const(true),
956 attrib.is_const = false;
982 attrib.is_const = false;
1022 attrib.is_const = false;
1052 if (attrib.is_const) {
    [all...]
shader_program.h 411 bool is_const; member in struct:android::filterfw::ShaderProgram::VertexAttrib

Completed in 3035 milliseconds

1 2