/external/chromium_org/third_party/WebKit/Source/wtf/ |
PrintStream.h | 275 : m_ptr(ptr) 281 if (m_ptr) 282 printInternal(out, *m_ptr); 287 const T* m_ptr; member in class:WTF::PointerDump
|
OwnPtr.h | 45 OwnPtr() : m_ptr(0) { } 46 OwnPtr(std::nullptr_t) : m_ptr(0) { } 62 OwnedPtrDeleter<T>::deletePtr(m_ptr); 63 m_ptr = 0; 66 PtrType get() const { return m_ptr; } 72 ValueType& operator*() const { ASSERT(m_ptr); return *m_ptr; } 73 PtrType operator->() const { ASSERT(m_ptr); return m_ptr; } 77 bool operator!() const { return !m_ptr; } 110 PtrType m_ptr; member in class:WTF::OwnPtr [all...] |
PassOwnPtr.h | 46 PassOwnPtr() : m_ptr(0) { } 47 PassOwnPtr(std::nullptr_t) : m_ptr(0) { } 52 PassOwnPtr(const PassOwnPtr& o) : m_ptr(o.leakPtr()) { } 55 ~PassOwnPtr() { OwnedPtrDeleter<T>::deletePtr(m_ptr); } 57 PtrType get() const { return m_ptr; } 61 ValueType& operator*() const { ASSERT(m_ptr); return *m_ptr; } 62 PtrType operator->() const { ASSERT(m_ptr); return m_ptr; } 64 bool operator!() const { return !m_ptr; } 86 mutable PtrType m_ptr; member in class:WTF::PassOwnPtr [all...] |
PassRefPtr.h | 61 PassRefPtr() : m_ptr(0) { } 62 PassRefPtr(T* ptr) : m_ptr(ptr) { refIfNotNull(ptr); } 63 explicit PassRefPtr(T& ptr) : m_ptr(&ptr) { m_ptr->ref(); } 67 PassRefPtr(const PassRefPtr& o) : m_ptr(o.leakRef()) { } 68 template<typename U> PassRefPtr(const PassRefPtr<U>& o, EnsurePtrConvertibleArgDecl(U, T)) : m_ptr(o.leakRef()) { } 70 ALWAYS_INLINE ~PassRefPtr() { derefIfNotNull(m_ptr); } 74 T* get() const { return m_ptr; } 78 T& operator*() const { return *m_ptr; } 79 T* operator->() const { return m_ptr; } 95 mutable T* m_ptr; member in class:WTF::PassRefPtr [all...] |
RefPtr.h | 36 ALWAYS_INLINE RefPtr() : m_ptr(0) { } 37 ALWAYS_INLINE RefPtr(T* ptr) : m_ptr(ptr) { refIfNotNull(ptr); } 38 ALWAYS_INLINE explicit RefPtr(T& ref) : m_ptr(&ref) { m_ptr->ref(); } 39 ALWAYS_INLINE RefPtr(const RefPtr& o) : m_ptr(o.m_ptr) { refIfNotNull(m_ptr); } 40 template<typename U> RefPtr(const RefPtr<U>& o, EnsurePtrConvertibleArgDecl(U, T)) : m_ptr(o.get()) { refIfNotNull(m_ptr); } 46 RefPtr(HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) { 79 T* m_ptr; member in class:WTF::RefPtr [all...] |
WeakPtr.h | 48 return m_ptr; 54 m_ptr = 0; 59 ASSERT(!m_ptr); 63 m_ptr = ptr; 67 WeakReference() : m_ptr(0) { } 70 : m_ptr(ptr) 77 T* m_ptr; member in class:WTF::WeakReference
|
RetainPtr.h | 69 RetainPtr() : m_ptr(0) {} 70 RetainPtr(PtrType ptr) : m_ptr(ptr) { if (ptr) CFRetain(ptr); } 72 RetainPtr(AdoptCFTag, PtrType ptr) : m_ptr(ptr) { } 73 RetainPtr(AdoptNSTag, PtrType ptr) : m_ptr(ptr) { adoptNSReference(ptr); } 75 RetainPtr(const RetainPtr& o) : m_ptr(o.m_ptr) { if (PtrType ptr = m_ptr) CFRetain(ptr); } 78 RetainPtr(RetainPtr&& o) : m_ptr(o.leakRef()) { } 82 RetainPtr(HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) { } 83 bool isHashTableDeletedValue() const { return m_ptr == hashTableDeletedValue(); 126 PtrType m_ptr; member in class:WTF::RetainPtr [all...] |
/external/chromium_org/third_party/WebKit/public/platform/ |
WebPrivateOwnPtr.h | 48 WebPrivateOwnPtr() : m_ptr(0) {} 49 ~WebPrivateOwnPtr() { BLINK_ASSERT(!m_ptr); } 52 : m_ptr(ptr) 56 T* get() const { return m_ptr; } 63 delete m_ptr; 64 m_ptr = ptr; 74 T* ptr = m_ptr; 75 m_ptr = 0; 81 BLINK_ASSERT(m_ptr); 82 return m_ptr; 87 T* m_ptr; member in class:blink::WebPrivateOwnPtr [all...] |
WebPrivatePtr.h | 78 WebPrivatePtr() : m_ptr(0) { } 79 ~WebPrivatePtr() { BLINK_ASSERT(!m_ptr); } 81 bool isNull() const { return !m_ptr; } 85 : m_ptr(prp.leakRef()) 96 T* p = other.m_ptr; 111 return m_ptr; 116 ASSERT(m_ptr); 117 return m_ptr; 126 if (m_ptr) 127 m_ptr->deref() 141 T* m_ptr; member in class:blink::WebPrivatePtr [all...] |
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
SmartPtr.h | 33 m_ptr = ptr; 48 m_ptr = rhs.m_ptr; 61 m_ptr = rhs.m_ptr; 78 return m_ptr; 83 return m_ptr; 87 return m_ptr; 91 return *m_ptr; 96 return m_ptr < t1.m_ptr 134 T* m_ptr; member in class:SmartPtr [all...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
SmartPtr.h | 33 m_ptr = ptr; 48 m_ptr = rhs.m_ptr; 61 m_ptr = rhs.m_ptr; 78 return m_ptr; 83 return m_ptr; 87 return m_ptr; 91 return *m_ptr; 95 return (void *)m_ptr; 138 T* m_ptr; member in class:SmartPtr [all...] |
/external/chromium_org/third_party/WebKit/public/testing/ |
WebScopedPtr.h | 42 inline WebScopedPtrBase() : m_ptr(0) { } 45 explicit inline WebScopedPtrBase(T* ptr) : m_ptr(ptr) { } 50 : m_ptr(rhs.m_ptr) 52 const_cast<WebScopedPtrBase<Deallocator, T>&>(rhs).m_ptr = 0; 60 if (m_ptr) 61 Deallocator::Delete(m_ptr); 64 inline T* operator->() const { return m_ptr; } 67 inline T* operator*() { return m_ptr; } 72 return m_ptr[i] 106 T* m_ptr; member in class:WebTestRunner::WebScopedPtrBase [all...] |
/external/clang/test/Analysis/ |
pointer-to-member.cpp | 8 operator MemberPointer() const { return m_ptr ? &A::m_ptr : 0; } 10 A *m_ptr; member in struct:A 19 obj.m_ptr = &obj; 20 clang_analyzer_eval(obj.m_ptr); // expected-warning{{TRUE}} 21 clang_analyzer_eval(&A::m_ptr); // expected-warning{{TRUE}} 24 obj.m_ptr = 0; 25 clang_analyzer_eval(obj.m_ptr); // expected-warning{{FALSE}} 39 clang_analyzer_eval(&A::m_ptr == &A::m_ptr); // expected-warning{{UNKNOWN} [all...] |
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
SmartPtr.h | 33 m_ptr = ptr; 48 m_ptr = rhs.m_ptr; 61 m_ptr = rhs.m_ptr; 78 return m_ptr; 83 return m_ptr; 87 return m_ptr; 91 return *m_ptr; 95 return (void *)m_ptr; 138 T* m_ptr; member in class:SmartPtr [all...] |
/external/valgrind/main/drd/tests/ |
annotate_smart_pointer.cpp | 166 : m_ptr(NULL), m_count_ptr(NULL) 170 : m_ptr(NULL), m_count_ptr(NULL) 177 : m_ptr(NULL), m_count_ptr(NULL) 188 : m_ptr(NULL), m_count_ptr(NULL) 190 set(sp.m_ptr, sp.m_count_ptr); 195 : m_ptr(NULL), m_count_ptr(NULL) 197 set(sp.m_ptr, sp.m_count_ptr); 202 set(sp.m_ptr, sp.m_count_ptr); 221 assert(m_ptr); 222 return m_ptr; 257 T* m_ptr; member in class:smart_ptr [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
HarfBuzzShaper.cpp | 57 : m_ptr(ptr) 64 if (m_ptr) 65 (*m_destroy)(m_ptr); 68 T* get() { return m_ptr; } 69 void set(T* ptr) { m_ptr = ptr; } 71 T* m_ptr; member in class:WebCore::HarfBuzzScopedPtr [all...] |
/external/eigen/Eigen/src/Core/util/ |
Memory.h | 520 : m_ptr(ptr), m_size(size), m_deallocate(dealloc) 522 if(NumTraits<T>::RequireInitialization && m_ptr) 523 Eigen::internal::construct_elements_of_array(m_ptr, size); 527 if(NumTraits<T>::RequireInitialization && m_ptr) 528 Eigen::internal::destruct_elements_of_array<T>(m_ptr, m_size); 530 Eigen::internal::aligned_free(m_ptr); 533 T* m_ptr; member in class:Eigen::internal::aligned_stack_memory_handler [all...] |