/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.types/ |
H A D | element_type.pass.cpp | 15 // typedef <details> element_type; 26 typedef char element_type; typedef in struct:A 32 typedef char element_type; typedef in struct:B 48 static int element_type; member in struct:E 54 typedef int element_type; typedef in struct:F 59 static_assert((std::is_same<std::pointer_traits<A>::element_type, char>::value), ""); 60 static_assert((std::is_same<std::pointer_traits<B<int> >::element_type, char>::value), ""); 61 static_assert((std::is_same<std::pointer_traits<C<int> >::element_type, int>::value), ""); 62 static_assert((std::is_same<std::pointer_traits<D<double, int> >::element_type, double>::value), ""); 63 static_assert((std::is_same<std::pointer_traits<E<double, int> >::element_type, doubl [all...] |
H A D | difference_type.pass.cpp | 26 typedef short element_type; typedef in struct:A 32 typedef short element_type; typedef in struct:B
|
/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.functions/ |
H A D | pointer_to.pass.cpp | 28 typedef T element_type; typedef in struct:A 29 element_type* t_; 31 A(element_type* t) : t_(t) {} 33 static A pointer_to(typename std::conditional<std::is_void<element_type>::value, 34 nat, element_type>::type& et) 46 (std::pointer_traits<A<void> >::element_type)0;
|
/external/libcxx/test/std/utilities/memory/pointer.traits/ |
H A D | element_type.pass.cpp | 15 // typedef T element_type; 24 static_assert((std::is_same<std::pointer_traits<const short*>::element_type, const short>::value), "");
|
H A D | pointer_to.pass.cpp | 30 (std::pointer_traits<void*>::element_type)0;
|
H A D | pointer.pass.cpp | 24 typedef short element_type; typedef in struct:A
|
/external/clang/test/CodeGenCXX/ |
H A D | linetable-eh.cpp | 22 typedef _Tp element_type; typedef in class:shared_ptr 23 element_type* __ptr_; 25 element_type* operator->() const noexcept {return __ptr_;}
|
H A D | 2010-07-23-DeclLoc.cpp | 17 typedef _Tp element_type; typedef in class:std::auto_ptr 18 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } 19 element_type& operator*() const throw() { }
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/ |
H A D | types.pass.cpp | 15 // typedef T element_type; 25 static_assert((std::is_same<std::weak_ptr<A>::element_type, A>::value), "");
|
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/ |
H A D | element_type.pass.cpp | 16 // typedef X element_type; 29 static_assert((std::is_same<typename std::auto_ptr<T>::element_type, T>::value), "");
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/ |
H A D | types.pass.cpp | 15 // typedef T element_type; 28 static_assert((std::is_same<std::shared_ptr<A>::element_type, A>::value), "");
|
/external/webrtc/webrtc/base/ |
H A D | scoped_ptr.h | 318 typedef T element_type; typedef in class:rtc::scoped_ptr 325 explicit scoped_ptr(element_type* p) : impl_(p) {} 328 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {} 385 void reset(element_type* p = nullptr) { impl_.reset(p); } 389 element_type& operator*() const { 393 element_type* operator->() const { 397 element_type* get() const { return impl_.get(); } 403 // Allow scoped_ptr<element_type> to be used in boolean expressions, but not 411 typedef rtc::internal::scoped_ptr_impl<element_type, deleter_type> 422 bool operator==(const element_type* 469 typedef T element_type; typedef in class:rtc::scoped_ptr [all...] |
/external/libchrome/base/ |
H A D | scoped_generic.h | 70 typedef T element_type; typedef in class:base::ScopedGeneric 77 explicit ScopedGeneric(const element_type& value) : data_(value) {} 80 ScopedGeneric(const element_type& value, const traits_type& traits) 102 void reset(const element_type& value = traits_type::InvalidValue()) { 121 element_type release() WARN_UNUSED_RESULT { 122 element_type old_generic = data_.generic; 127 const element_type& get() const { return data_.generic; } 133 bool operator==(const element_type& value) const { 136 bool operator!=(const element_type& value) const {
|
/external/llvm/utils/ |
H A D | shuffle_fuzz.py | 49 (width, element_type) = random.choice( 53 (width, element_type) = random.choice( 59 element_type = random.choice(element_types) 63 'f32': 1 << 32, 'f64': 1 << 64}[element_type] 113 (args.seed, width, element_type)) 143 integral_element_type = element_type 144 if element_type == 'f32': 146 element_type = 'float' 147 elif element_type == 'f64': 149 element_type [all...] |
/external/mesa3d/src/glsl/tests/ |
H A D | uniform_initializer_utils.cpp | 152 const glsl_type *const element_type = local 154 ASSERT_FALSE(element_type->is_error()); 157 glsl_type::get_array_instance(element_type, array_size); 166 generate_data_element(mem_ctx, element_type, element, i); 189 const glsl_type *const element_type = val->array_elements[0]->type; local 192 verify_data(storage + (i * element_type->components()), 0, 196 const unsigned components = element_type->components();
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_fs_channel_expressions.cpp | 177 const glsl_type *element_type = glsl_type::get_instance(ir->lhs->type->base_type, local 223 element_type, 253 element_type, 262 element_type, 268 element_type, 284 element_type, 289 element_type, 322 element_type, 327 element_type,
|
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
H A D | difference_type.pass.cpp | 64 typedef char element_type; typedef in struct:std::pointer_traits
|
/external/v8/tools/clang/rewrite_scoped_refptr/tests/ |
H A D | scoped_refptr.h | 12 typedef T element_type; typedef in class:scoped_refptr
|
/external/libbrillo/brillo/glib/ |
H A D | object.h | 31 typedef typename T::element_type element_type; typedef in class:brillo::details::ResetHelper 40 element_type*& lvalue() { 45 element_type* ptr_; 55 // \code T::element_type which can be assigned to. When the temporary object 343 typedef ::GPtrArray element_type; typedef in class:brillo::glib::ScopedPtrArray 457 typedef ::GHashTable element_type; typedef in class:brillo::glib::ScopedHashTable
|
/external/opencv/cv/src/ |
H A D | _cvlist.h | 116 #define INSERT_NEW(element_type, l, element)\ 120 element = (element_type*)(l->m_head_free.m_pos);\ 135 *(void**)l->m_buffer = cvAlloc(l->m_buf_size*sizeof(element_type) + sizeof(void*));\ 138 element = (element_type*)((char*)l->m_buffer + sizeof(void*));\ 142 element = (element_type*)((char*)l->m_buffer + sizeof(void*)) + l->m_size - 1;\ 147 #define INSERT_FREE(element_type, l, element)\ 150 ((element_type*)l->m_head_free.m_pos)->m_prev = element;\ 152 element->m_next = ((element_type*)l->m_head_free.m_pos);\
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | scoped_ptr.h | 63 typedef C element_type; typedef in class:google::protobuf::internal::scoped_ptr 150 typedef C element_type; typedef in class:google::protobuf::internal::scoped_array
|
/external/libchrome/base/containers/ |
H A D | scoped_ptr_hash_map.h | 28 typedef base::hash_map<Key, typename ScopedPtr::element_type*> Container; 120 typename ScopedPtr::element_type* get(const Key& k) const {
|
/external/mesa3d/src/glsl/ |
H A D | link_uniform_initializers.cpp | 100 const glsl_type *const element_type = type->fields.array; local 106 element_type, val->array_elements[i]);
|
/external/google-breakpad/src/common/ |
H A D | scoped_ptr.h | 87 typedef C element_type; typedef in class:google_breakpad::scoped_ptr 192 typedef C element_type; typedef in class:google_breakpad::scoped_array 300 typedef C element_type; typedef in class:google_breakpad::scoped_ptr_malloc
|
/external/clang/bindings/python/tests/cindex/ |
H A D | test_type.py | 255 """Ensure Type.element_type works.""" 265 assert c.type.element_type.kind == TypeKind.INT 267 assert i.type.element_type.kind == TypeKind.INT 269 assert v.type.element_type.kind == TypeKind.INT 273 """Ensure Type.element_type raises if type doesn't have elements.""" 277 i.element_type 405 assert a.element_type.kind == TypeKind.INT
|