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

1 2

  /external/webkit/Source/WebKit/chromium/public/
WebPrivateOwnPtr.h 42 WebPrivateOwnPtr() : m_ptr(0) {}
43 ~WebPrivateOwnPtr() { WEBKIT_ASSERT(!m_ptr); }
47 : m_ptr(ptr)
53 delete m_ptr;
54 m_ptr = ptr;
57 T* get() const { return m_ptr; }
61 WEBKIT_ASSERT(m_ptr);
62 return m_ptr;
67 T* m_ptr; member in class:WebKit::WebPrivateOwnPtr
WebPrivatePtr.h 46 WebPrivatePtr() : m_ptr(0) { }
47 ~WebPrivatePtr() { WEBKIT_ASSERT(!m_ptr); }
49 bool isNull() const { return !m_ptr; }
53 : m_ptr(prp.releaseRef())
64 T* p = other.m_ptr;
79 return m_ptr;
84 ASSERT(m_ptr);
85 return m_ptr;
94 if (m_ptr)
95 m_ptr->deref()
100 T* m_ptr; member in class:WebKit::WebPrivatePtr
    [all...]
WebVector.h 78 initializeFrom(other.m_ptr, other.m_size);
121 return m_ptr[i];
126 return m_ptr[i];
132 if (m_ptr[i] == value)
138 T* data() { return m_ptr; }
139 const T* data() const { return m_ptr; }
143 std::swap(m_ptr, other.m_ptr);
152 m_ptr = 0;
154 m_ptr = static_cast<T*>(::operator new(sizeof(T) * m_size))
    [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
16 obj.m_ptr = &obj;
17 clang_analyzer_eval(obj.m_ptr); // expected-warning{{TRUE}}
18 clang_analyzer_eval(&A::m_ptr); // expected-warning{{TRUE}}
21 obj.m_ptr = 0;
22 clang_analyzer_eval(obj.m_ptr); // expected-warning{{FALSE}}
33 obj.m_ptr = 0;
35 A::MemberPointer member = &A::m_ptr;
    [all...]
  /external/webkit/Source/JavaScriptCore/runtime/
LiteralParser.cpp 47 while (m_ptr < m_end && isJSONWhiteSpace(*m_ptr))
48 ++m_ptr;
50 ASSERT(m_ptr <= m_end);
51 if (m_ptr >= m_end) {
53 token.start = token.end = m_ptr;
57 token.start = m_ptr;
58 switch (*m_ptr) {
61 token.end = ++m_ptr;
65 token.end = ++m_ptr;
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/
OwnFastMallocPtr.h 32 explicit OwnFastMallocPtr(T* ptr) : m_ptr(ptr)
38 fastFree(const_cast<void*>(static_cast<const void*>(const_cast<const T*>(m_ptr))));
41 T* get() const { return m_ptr; }
42 T* release() { T* ptr = m_ptr; m_ptr = 0; return ptr; }
45 T* m_ptr; member in class:WTF::OwnFastMallocPtr
OwnArrayPtr.h 39 OwnArrayPtr() : m_ptr(0) { }
50 ~OwnArrayPtr() { deleteOwnedArrayPtr(m_ptr); }
52 PtrType get() const { return m_ptr; }
58 T& operator*() const { ASSERT(m_ptr); return *m_ptr; }
59 PtrType operator->() const { ASSERT(m_ptr); return m_ptr; }
61 T& operator[](std::ptrdiff_t i) const { ASSERT(m_ptr); ASSERT(i >= 0); return m_ptr[i]; }
63 bool operator!() const { return !m_ptr; }
85 PtrType m_ptr; member in class:WTF::OwnArrayPtr
    [all...]
OwnPtr.h 46 OwnPtr() : m_ptr(0) { }
57 ~OwnPtr() { deleteOwnedPtr(m_ptr); }
59 PtrType get() const { return m_ptr; }
65 ValueType& operator*() const { ASSERT(m_ptr); return *m_ptr; }
66 PtrType operator->() const { ASSERT(m_ptr); return m_ptr; }
68 bool operator!() const { return !m_ptr; }
72 operator UnspecifiedBoolType() const { return m_ptr ? &OwnPtr::m_ptr : 0;
86 PtrType m_ptr; member in class:WTF::OwnPtr
    [all...]
RefPtr.h 42 ALWAYS_INLINE RefPtr() : m_ptr(0) { }
43 ALWAYS_INLINE RefPtr(T* ptr) : m_ptr(ptr) { refIfNotNull(ptr); }
44 ALWAYS_INLINE RefPtr(const RefPtr& o) : m_ptr(o.m_ptr) { refIfNotNull(m_ptr); }
45 template<typename U> RefPtr(const RefPtr<U>& o) : m_ptr(o.get()) { refIfNotNull(m_ptr); }
55 RefPtr(HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) { }
56 bool isHashTableDeletedValue() const { return m_ptr == hashTableDeletedValue(); }
58 ALWAYS_INLINE ~RefPtr() { derefIfNotNull(m_ptr); }
90 T* m_ptr; member in class:WTF::RefPtr
    [all...]
PassRefPtr.h 66 PassRefPtr() : m_ptr(0) { }
67 PassRefPtr(T* ptr) : m_ptr(ptr) { refIfNotNull(ptr); }
71 PassRefPtr(const PassRefPtr& o) : m_ptr(o.leakRef()) { }
72 template<typename U> PassRefPtr(const PassRefPtr<U>& o) : m_ptr(o.leakRef()) { }
74 ALWAYS_INLINE ~PassRefPtr() { derefIfNotNull(m_ptr); }
78 T* get() const { return m_ptr; }
83 T& operator*() const { return *m_ptr; }
84 T* operator->() const { return m_ptr; }
86 bool operator!() const { return !m_ptr; }
90 operator UnspecifiedBoolType() const { return m_ptr ? &PassRefPtr::m_ptr : 0;
109 mutable T* m_ptr; member in class:WTF::PassRefPtr
168 mutable T* m_ptr; member in class:WTF::NonNullPassRefPtr
    [all...]
RetainPtr.h 60 RetainPtr() : m_ptr(0) {}
61 RetainPtr(PtrType ptr) : m_ptr(ptr) { if (ptr) CFRetain(ptr); }
63 RetainPtr(AdoptCFTag, PtrType ptr) : m_ptr(ptr) { }
64 RetainPtr(AdoptNSTag, PtrType ptr) : m_ptr(ptr) { adoptNSReference(ptr); }
66 RetainPtr(const RetainPtr& o) : m_ptr(o.m_ptr) { if (PtrType ptr = m_ptr) CFRetain(ptr); }
69 RetainPtr(HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) { }
70 bool isHashTableDeletedValue() const { return m_ptr == hashTableDeletedValue(); }
72 ~RetainPtr() { if (PtrType ptr = m_ptr) CFRelease(ptr);
108 PtrType m_ptr; member in class:WTF::RetainPtr
    [all...]
PassOwnArrayPtr.h 44 PassOwnArrayPtr() : m_ptr(0) { }
47 PassOwnArrayPtr(std::nullptr_t) : m_ptr(0) { }
53 PassOwnArrayPtr(const PassOwnArrayPtr& o) : m_ptr(o.leakPtr()) { }
54 template<typename U> PassOwnArrayPtr(const PassOwnArrayPtr<U>& o) : m_ptr(o.leakPtr()) { }
56 ~PassOwnArrayPtr() { deleteOwnedArrayPtr(m_ptr); }
58 PtrType get() const { return m_ptr; }
63 T& operator*() const { ASSERT(m_ptr); return *m_ptr; }
64 PtrType operator->() const { ASSERT(m_ptr); return m_ptr; }
94 mutable PtrType m_ptr; member in class:WTF::PassOwnArrayPtr
    [all...]
PassOwnPtr.h 50 PassOwnPtr() : m_ptr(0) { }
55 PassOwnPtr(const PassOwnPtr& o) : m_ptr(o.leakPtr()) { }
56 template<typename U> PassOwnPtr(const PassOwnPtr<U>& o) : m_ptr(o.leakPtr()) { }
58 ~PassOwnPtr() { deleteOwnedPtr(m_ptr); }
60 PtrType get() const { return m_ptr; }
65 ValueType& operator*() const { ASSERT(m_ptr); return *m_ptr; }
66 PtrType operator->() const { ASSERT(m_ptr); return m_ptr; }
68 bool operator!() const { return !m_ptr; }
92 mutable PtrType m_ptr; member in class:WTF::PassOwnPtr
    [all...]
  /system/core/libpixelflinger/tinyutils/
smartpointer.h 23 return m_ptr _op_ o.m_ptr; \
26 return m_ptr _op_ o; \
30 return m_ptr _op_ o.m_ptr; \
34 return m_ptr _op_ o; \
43 inline sp() : m_ptr(0) { }
65 inline T& operator* () const { return *m_ptr; }
66 inline T* operator-> () const { return m_ptr; }
67 inline T* get() const { return m_ptr; }
    [all...]
  /development/tools/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...]
  /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...]
  /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...]
  /external/webkit/Source/JavaScriptCore/wtf/gobject/
GOwnPtr.h 46 explicit GOwnPtr(T* ptr = 0) : m_ptr(ptr) { }
47 ~GOwnPtr() { freeOwnedGPtr(m_ptr); }
49 T* get() const { return m_ptr; }
52 T* ptr = m_ptr;
53 m_ptr = 0;
59 ASSERT(!m_ptr);
60 return m_ptr;
65 ASSERT(!ptr || m_ptr != ptr);
66 freeOwnedGPtr(m_ptr);
67 m_ptr = ptr
98 T* m_ptr; member in class:WTF::GOwnPtr
    [all...]
GRefPtr.h 46 GRefPtr() : m_ptr(0) { }
49 : m_ptr(ptr)
56 : m_ptr(o.m_ptr)
58 if (T* ptr = m_ptr)
63 : m_ptr(o.get())
65 if (T* ptr = m_ptr)
71 if (T* ptr = m_ptr)
77 T* ptr = m_ptr;
78 m_ptr = 0
116 T* m_ptr; member in class:WTF::GRefPtr
    [all...]
  /frameworks/native/include/utils/
StrongPointer.h 38 return m_ptr _op_ o.m_ptr; \
41 return m_ptr _op_ o; \
45 return m_ptr _op_ o.m_ptr; \
49 return m_ptr _op_ o; \
52 return m_ptr _op_ o.m_ptr; \
56 return m_ptr _op_ o.m_ptr; \
    [all...]
RefBase.h 40 return m_ptr _op_ o.m_ptr; \
43 return m_ptr _op_ o; \
47 return m_ptr _op_ o.m_ptr; \
51 return m_ptr _op_ o; \
203 inline wp() : m_ptr(0) { }
238 inline T* unsafe_get() const { return m_ptr; }
250 return (m_ptr == o.m_ptr) && (m_refs == o.m_refs)
    [all...]
  /external/webkit/Source/WebCore/platform/win/
COMPtr.h 52 COMPtr() : m_ptr(0) { }
53 COMPtr(T* ptr) : m_ptr(ptr) { if (m_ptr) m_ptr->AddRef(); }
54 COMPtr(AdoptCOMTag, T* ptr) : m_ptr(ptr) { }
55 COMPtr(const COMPtr& o) : m_ptr(o.m_ptr) { if (T* ptr = m_ptr) ptr->AddRef(); }
57 COMPtr(QueryTag, IUnknown* ptr) : m_ptr(copyQueryInterfaceRef(ptr)) { }
58 template<typename U> COMPtr(QueryTag, const COMPtr<U>& ptr) : m_ptr(copyQueryInterfaceRef(ptr.get())) {
104 T* m_ptr; member in class:COMPtr
    [all...]
  /external/webkit/Source/JavaScriptCore/API/
JSRetainPtr.h 42 JSRetainPtr() : m_ptr(0) { }
43 JSRetainPtr(T ptr) : m_ptr(ptr) { if (ptr) JSRetain(ptr); }
44 JSRetainPtr(AdoptTag, T ptr) : m_ptr(ptr) { }
49 T get() const { return m_ptr; }
54 T operator->() const { return m_ptr; }
56 bool operator!() const { return !m_ptr; }
60 operator UnspecifiedBoolType() const { return m_ptr ? &JSRetainPtr::m_ptr : 0; }
75 T m_ptr; member in class:JSRetainPtr
79 : m_ptr(o.m_ptr
    [all...]
  /external/webkit/Source/WebKit2/UIProcess/API/cpp/
WKRetainPtr.h 41 : m_ptr(0)
46 : m_ptr(ptr)
53 : m_ptr(ptr)
58 : m_ptr(o.get())
60 if (PtrType ptr = m_ptr)
65 : m_ptr(o.m_ptr)
67 if (PtrType ptr = m_ptr)
73 if (PtrType ptr = m_ptr)
77 PtrType get() const { return m_ptr; }
110 PtrType m_ptr; member in class:WebKit::WKRetainPtr
    [all...]
  /external/webkit/Source/WebCore/storage/
IDBKeyPath.cpp 50 , m_ptr(s.characters())
72 const UChar* m_ptr; member in class:WebCore::IDBKeyPathLexer
79 while (m_ptr < m_end && isASCIISpace(*m_ptr))
80 ++m_ptr;
82 if (m_ptr >= m_end)
85 ASSERT(m_ptr < m_end);
86 switch (*m_ptr) {
88 ++m_ptr;
91 ++m_ptr;
    [all...]

Completed in 544 milliseconds

1 2