Home
last modified time | relevance | path

Searched refs:is_pointer (Results 1 – 25 of 116) sorted by relevance

12345

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dis_pointer.pass.cpp21 static_assert( std::is_pointer<T>::value, ""); in test_is_pointer()
22 static_assert( std::is_pointer<const T>::value, ""); in test_is_pointer()
23 static_assert( std::is_pointer<volatile T>::value, ""); in test_is_pointer()
24 static_assert( std::is_pointer<const volatile T>::value, ""); in test_is_pointer()
36 static_assert(!std::is_pointer<T>::value, ""); in test_is_not_pointer()
37 static_assert(!std::is_pointer<const T>::value, ""); in test_is_not_pointer()
38 static_assert(!std::is_pointer<volatile T>::value, ""); in test_is_not_pointer()
39 static_assert(!std::is_pointer<const volatile T>::value, ""); in test_is_not_pointer()
Dpointer.pass.cpp28 static_assert( std::is_pointer<T>::value, ""); in test_pointer_imp()
58 static_assert(!std::is_pointer<incomplete_type>::value, ""); in main()
Drvalue_ref.pass.cpp29 static_assert(!std::is_pointer<T>::value, ""); in test_rvalue_ref()
Dlvalue_ref.pass.cpp28 static_assert(!std::is_pointer<T>::value, ""); in test_lvalue_ref()
Dunion.pass.cpp27 static_assert(!std::is_pointer<T>::value, ""); in test_union_imp()
/external/protobuf/src/google/protobuf/stubs/
Dtype_traits_unittest.cc231 EXPECT_TRUE(is_pointer<int*>::value); in TEST()
232 EXPECT_TRUE(is_pointer<void*>::value); in TEST()
233 EXPECT_TRUE(is_pointer<string*>::value); in TEST()
234 EXPECT_TRUE(is_pointer<const void*>::value); in TEST()
235 EXPECT_TRUE(is_pointer<volatile float* const*>::value); in TEST()
238 EXPECT_FALSE(is_pointer<void>::value); in TEST()
239 EXPECT_FALSE(is_pointer<float&>::value); in TEST()
240 EXPECT_FALSE(is_pointer<long>::value); in TEST()
241 EXPECT_FALSE(is_pointer<vector<int*> >::value); in TEST()
242 EXPECT_FALSE(is_pointer<int[5]>::value); in TEST()
[all …]
Dtype_traits.h91 template <class T> struct is_pointer;
166 template <class T> struct is_pointer : false_type { };
167 template <class T> struct is_pointer<T*> : true_type { };
168 template <class T> struct is_pointer<const T> : is_pointer<T> { };
169 template <class T> struct is_pointer<volatile T> : is_pointer<T> { };
170 template <class T> struct is_pointer<const volatile T> : is_pointer<T> { };
237 is_pointer<T>::value)> { };
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_llvm_types.py29 def gen_llvm_type(type, name, idx, is_pointer, is_pointer_pointer, is_array, is_array_array, array_… argument
34 if is_pointer or is_pointer_pointer:
88 if is_pointer:
216 is_pointer = re.search('\*', line)
218 if is_pointer is not None:
219 is_pointer = True
221 is_pointer = False
256 if is_const and is_pointer:
269 elif is_pointer:
299 … type, name, idx+1, is_pointer, is_pointer_pointer, is_array, is_array_array,
/external/tensorflow/tensorflow/stream_executor/
Dhost_or_device_scalar.h37 bool is_pointer() const { return is_pointer_; } in is_pointer() function
39 CHECK(is_pointer()); in pointer()
43 CHECK(!is_pointer()); in value()
/external/clang/test/SemaTemplate/
Dtemp_class_spec.cpp3 struct is_pointer { struct
8 struct is_pointer<T*> { struct
13 struct is_pointer<const T*> { argument
17 int array0[is_pointer<int>::value? -1 : 1]; argument
18 int array1[is_pointer<int*>::value? 1 : -1];
19 int array2[is_pointer<const int*>::value? 1 : -1];
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
Dtype_traits.h70 !std::is_pointer<UnderlyingT>::value &&
82 T, typename std::enable_if<std::is_pointer<T>::value>::type> {
93 T, typename std::enable_if<std::is_pointer<T>::value>::type> {
103 T, typename std::enable_if<std::is_pointer<T>::value>::type> {
/external/llvm/include/llvm/Support/
Dtype_traits.h71 !std::is_pointer<UnderlyingT>::value &&
83 T, typename std::enable_if<std::is_pointer<T>::value>::type> {
94 T, typename std::enable_if<std::is_pointer<T>::value>::type> {
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Dtype_traits.h71 !std::is_pointer<UnderlyingT>::value &&
83 T, typename std::enable_if<std::is_pointer<T>::value>::type> {
94 T, typename std::enable_if<std::is_pointer<T>::value>::type> {
/external/v8/src/torque/
Dutils.h57 std::is_pointer<typename T::value_type>::value, int>::type = 0>
72 !std::is_pointer<typename T::value_type>::value, int>::type = 0>
/external/libbrillo/brillo/dbus/
Ddbus_param_reader.h74 static typename std::enable_if<!std::is_pointer<ParamType>::value, bool>::type
117 std::is_pointer<ParamType>::value, bool>::type
/external/webrtc/webrtc/base/
Dtemplate_util.h34 template <class T> struct is_pointer : false_type {}; struct
35 template <class T> struct is_pointer<T*> : true_type {};
/external/v8/src/
Dsimulator-base.h59 static typename std::enable_if<std::is_pointer<T>::value, T>::type
98 static typename std::enable_if<std::is_pointer<T>::value, intptr_t>::type
Dlsan.h25 static_assert(std::is_pointer<decltype(ptr)>::value || \
Dasan.h21 (std::is_pointer<decltype(start)>::value || \
Dmsan.h27 static_assert((std::is_pointer<decltype(p)>::value || \
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtree_iterator.h39 static_assert(!std::is_pointer<NodeTy>::value &&
133 static_assert(!std::is_pointer<NodeTy>::value &&
/external/deqp-deps/SPIRV-Tools/source/opt/
Dtree_iterator.h39 static_assert(!std::is_pointer<NodeTy>::value &&
133 static_assert(!std::is_pointer<NodeTy>::value &&
/external/google-breakpad/src/testing/test/
Dgmock-internal-utils_test.cc480 TEST(TypeTraitsTest, is_pointer) { in TEST() argument
481 EXPECT_FALSE(is_pointer<int>::value); in TEST()
482 EXPECT_FALSE(is_pointer<char&>::value); in TEST()
483 EXPECT_TRUE(is_pointer<const int*>::value); in TEST()
/external/libchrome/base/memory/
Draw_scoped_refptr_mismatch_checker.h43 value = std::is_pointer<T>::value &&
/external/mesa3d/src/mapi/glapi/gen/
Dmarshal_XML.py80 …if p.is_pointer() and not (p.count or p.counter) and not (self.marshal == 'draw' and p.name == 'in…

12345