Searched refs:element_type (Results 1 - 25 of 107) sorted by relevance

12345

/external/libcxx/test/utilities/memory/pointer.traits/pointer.traits.functions/
H A Dpointer_to.pass.cpp28 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/utilities/memory/pointer.traits/pointer.traits.types/
H A Delement_type.pass.cpp15 // typedef <details> element_type;
24 typedef char element_type; typedef in struct:A
30 typedef char element_type; typedef in struct:B
45 static_assert((std::is_same<std::pointer_traits<A>::element_type, char>::value), "");
46 static_assert((std::is_same<std::pointer_traits<B<int> >::element_type, char>::value), "");
47 static_assert((std::is_same<std::pointer_traits<C<int> >::element_type, int>::value), "");
48 static_assert((std::is_same<std::pointer_traits<D<double, int> >::element_type, double>::value), "");
H A Ddifference_type.pass.cpp24 typedef short element_type; typedef in struct:A
30 typedef short element_type; typedef in struct:B
H A DAndroid.mk27 test_name := utilities/memory/pointer.traits/pointer.traits.types/element_type
28 test_src := element_type.pass.cpp
/external/libcxx/test/utilities/memory/pointer.traits/
H A Delement_type.pass.cpp15 // typedef T element_type;
24 static_assert((std::is_same<std::pointer_traits<const short*>::element_type, const short>::value), "");
H A Dpointer_to.pass.cpp30 (std::pointer_traits<void*>::element_type)0;
H A Dpointer.pass.cpp24 typedef short element_type; typedef in struct:A
/external/clang/test/CodeGenCXX/
H A Dlinetable-eh.cpp22 typedef _Tp element_type; typedef in class:shared_ptr
23 element_type* __ptr_;
25 element_type* operator->() const noexcept {return __ptr_;}
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/
H A Dtypes.pass.cpp15 // typedef T element_type;
25 static_assert((std::is_same<std::shared_ptr<A>::element_type, A>::value), "");
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/
H A Dtypes.pass.cpp15 // typedef T element_type;
25 static_assert((std::is_same<std::weak_ptr<A>::element_type, A>::value), "");
/external/libcxx/test/depr/depr.auto.ptr/auto.ptr/
H A Delement_type.pass.cpp16 // typedef X element_type;
27 static_assert((std::is_same<typename std::auto_ptr<T>::element_type, T>::value), "");
H A DAndroid.mk19 test_name := depr/depr.auto.ptr/auto.ptr/element_type
20 test_src := element_type.pass.cpp
/external/lldb/include/lldb/Utility/
H A DPythonPointer.h27 typedef PyObject* element_type; typedef in class:lldb_private::PythonPointer
29 element_type* ptr_;
33 PythonPointer(element_type p, bool steal_ref = false) :
67 element_type get() const {return ptr_;}
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/util/
H A Dscoped_ptr.h213 typedef T element_type; typedef in class:i18n::addressinput::scoped_ptr
220 explicit scoped_ptr(element_type* p) : impl_(p) { }
223 scoped_ptr(element_type* p, const D& d) : impl_(p, d) { }
259 void reset(element_type* p = NULL) { impl_.reset(p); }
263 element_type& operator*() const {
267 element_type* operator->() const {
271 element_type* get() const { return impl_.get(); }
277 // Allow scoped_ptr<element_type> to be used in boolean expressions, but not
280 typedef scoped_ptr_impl<element_type, deleter_type> scoped_ptr::*Testable;
288 bool operator==(const element_type*
322 typedef T element_type; typedef in class:i18n::addressinput::scoped_ptr
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/memory/
H A Dscoped_ptr.h218 typedef T element_type; typedef in class:i18n::phonenumbers::scoped_ptr
225 explicit scoped_ptr(element_type* p) : impl_(p) { }
228 scoped_ptr(element_type* p, const D& d) : impl_(p, d) { }
264 void reset(element_type* p = NULL) { impl_.reset(p); }
268 element_type& operator*() const {
272 element_type* operator->() const {
276 element_type* get() const { return impl_.get(); }
282 // Allow scoped_ptr<element_type> to be used in boolean expressions, but not
285 typedef scoped_ptr_impl<element_type, deleter_type> scoped_ptr::*Testable;
293 bool operator==(const element_type*
327 typedef T element_type; typedef in class:i18n::phonenumbers::scoped_ptr
[all...]
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dscoped_ptr.h309 typedef T element_type; typedef in class:webrtc::scoped_ptr
316 explicit scoped_ptr(element_type* p) : impl_(p) { }
319 scoped_ptr(element_type* p, const D& d) : impl_(p, d) { }
358 void reset(element_type* p = NULL) { impl_.reset(p); }
362 element_type& operator*() const {
366 element_type* operator->() const {
370 element_type* get() const { return impl_.get(); }
376 // Allow scoped_ptr<element_type> to be used in boolean expressions, but not
384 typedef webrtc::internal::scoped_ptr_impl<element_type, deleter_type>
393 bool operator==(const element_type*
443 typedef T element_type; typedef in class:webrtc::scoped_ptr
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dscoped_ptr.h316 typedef T element_type; typedef in class:rtc::scoped_ptr
323 explicit scoped_ptr(element_type* p) : impl_(p) { }
326 scoped_ptr(element_type* p, const D& d) : impl_(p, d) { }
365 void reset(element_type* p = NULL) { impl_.reset(p); }
369 element_type& operator*() const {
373 element_type* operator->() const {
377 element_type* get() const { return impl_.get(); }
383 // Allow scoped_ptr<element_type> to be used in boolean expressions, but not
391 typedef rtc::internal::scoped_ptr_impl<element_type, deleter_type>
400 bool operator==(const element_type*
461 typedef T element_type; typedef in class:rtc::scoped_ptr
[all...]
/external/chromium_org/base/
H A Dscoped_generic.h72 typedef T element_type; typedef in class:base::ScopedGeneric
79 explicit ScopedGeneric(const element_type& value) : data_(value) {}
82 ScopedGeneric(const element_type& value, const traits_type& traits)
98 void reset(const element_type& value = traits_type::InvalidValue()) {
117 element_type release() WARN_UNUSED_RESULT {
118 element_type old_generic = data_.generic;
123 const element_type& get() const { return data_.generic; }
129 bool operator==(const element_type& value) const {
132 bool operator!=(const element_type& value) const {
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/
H A Didl_types.py270 def __init__(self, element_type):
272 self.element_type = element_type
275 self.element_type = self.element_type.resolve_typedefs(typedefs)
280 def __init__(self, element_type):
281 super(IdlArrayType, self).__init__(element_type)
284 return '%s[]' % self.element_type
288 return self.element_type.name + 'Array'
292 def __init__(self, element_type)
[all...]
/external/chromium_org/base/memory/
H A Dscoped_ptr.h318 typedef T element_type; typedef in class:scoped_ptr
325 explicit scoped_ptr(element_type* p) : impl_(p) { }
328 scoped_ptr(element_type* p, const D& d) : impl_(p, d) { }
367 void reset(element_type* p = NULL) { impl_.reset(p); }
371 element_type& operator*() const {
375 element_type* operator->() const {
379 element_type* get() const { return impl_.get(); }
385 // Allow scoped_ptr<element_type> to be used in boolean expressions, but not
393 typedef base::internal::scoped_ptr_impl<element_type, deleter_type>
402 bool operator==(const element_type*
452 typedef T element_type; typedef in class:scoped_ptr
[all...]
/external/lldb/tools/debugserver/source/MacOSX/
H A DCFUtils.h31 typedef T element_type; typedef in class:CFReleaser
76 element_type _ptr;
/external/chromium_org/third_party/mesa/src/src/glsl/tests/
H A Duniform_initializer_utils.cpp152 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/glsl/tests/
H A Duniform_initializer_utils.cpp152 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/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_fs_channel_expressions.cpp177 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/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_channel_expressions.cpp177 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,

Completed in 1091 milliseconds

12345