/external/deqp/framework/common/ |
D | tcuMaybe.hpp | 50 operator bool (void) const { return !!m_ptr; } in operator bool() 53 T* m_ptr; member in tcu::Maybe 76 : m_ptr (DE_NULL) in Maybe() 83 if (m_ptr) in ~Maybe() 84 m_ptr->~T(); in ~Maybe() 89 : m_ptr (DE_NULL) in Maybe() 91 m_ptr = new(m_data)T(val); in Maybe() 97 if (m_ptr) in operator =() 98 m_ptr->~T(); in operator =() 100 m_ptr = new(m_data)T(val); in operator =() [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deSharedPtr.hpp | 71 : m_ptr (ptr) in SharedPtrState() 78 DE_ASSERT(!m_ptr); in ~SharedPtrState() 83 m_deleter(m_ptr); in deletePtr() 84 m_ptr = DE_NULL; in deletePtr() 88 Type* m_ptr; member 133 T* get (void) const throw() { return m_ptr; } //!< Get stored pointer. in get() 134 T* operator-> (void) const throw() { return m_ptr; } //!< Get stored pointer. in operator ->() 135 T& operator* (void) const throw() { return *m_ptr; } //!< De-reference pointer. in operator *() 137 operator bool (void) const throw() { return !!m_ptr; } in operator bool() 151 T* m_ptr; member in de::SharedPtr [all …]
|
D | deArrayBuffer.hpp | 69 void* m_ptr; member in de::ArrayBuffer 75 : m_ptr (DE_NULL) in ArrayBuffer() 82 : m_ptr (DE_NULL) in ArrayBuffer() 94 m_ptr = ptr; in ArrayBuffer() 101 : m_ptr (DE_NULL) in ArrayBuffer() 111 deMemcpy(tmp.m_ptr, other.m_ptr, (int)storageSize); in ArrayBuffer() 133 detail::ArrayBuffer_AlignedFree(m_ptr); in clear() 135 m_ptr = DE_NULL; in clear() 150 void* const otherPtr = other.m_ptr; in swap() 153 other.m_ptr = m_ptr; in swap() [all …]
|
D | deSharedPtr.cpp | 72 : m_ptr (ptr) in SharedPtrTestThread() 88 SharedPtr<Object> ptrA(m_ptr); in run() 100 SharedPtr<Object> m_ptr; member in de::__anon14593d0b0111::SharedPtrTestThread 108 : m_ptr (ptr) in WeakPtrTestThread() 124 WeakPtr<Object> ptrA(m_ptr); in run() 136 SharedPtr<Object> m_ptr; member in de::__anon14593d0b0111::WeakPtrTestThread
|
/external/clang/test/Analysis/ |
D | pointer-to-member.cpp | 8 operator MemberPointer() const { return m_ptr ? &A::m_ptr : 0; } in operator MemberPointer() 10 A *m_ptr; member 19 obj.m_ptr = &obj; in testConditionalUse() 20 clang_analyzer_eval(obj.m_ptr); // expected-warning{{TRUE}} in testConditionalUse() 21 clang_analyzer_eval(&A::m_ptr); // expected-warning{{TRUE}} in testConditionalUse() 24 obj.m_ptr = 0; in testConditionalUse() 25 clang_analyzer_eval(obj.m_ptr); // expected-warning{{FALSE}} in testConditionalUse() 39 clang_analyzer_eval(&A::m_ptr == &A::m_ptr); // expected-warning{{UNKNOWN}} in testComparison() 71 obj.m_ptr = 0; in testDereferencing() 73 A::MemberPointer member = &A::m_ptr; in testDereferencing()
|
/external/valgrind/drd/tests/ |
D | annotate_smart_pointer.cpp | 167 : m_ptr(NULL), m_count_ptr(NULL) in smart_ptr() 171 : m_ptr(NULL), m_count_ptr(NULL) in smart_ptr() 178 : m_ptr(NULL), m_count_ptr(NULL) in smart_ptr() 189 : m_ptr(NULL), m_count_ptr(NULL) in smart_ptr() 191 set(sp.m_ptr, sp.m_count_ptr); in smart_ptr() 196 : m_ptr(NULL), m_count_ptr(NULL) in smart_ptr() 198 set(sp.m_ptr, sp.m_count_ptr); in smart_ptr() 203 set(sp.m_ptr, sp.m_count_ptr); in operator =() 222 assert(m_ptr); in operator ->() 223 return m_ptr; in operator ->() [all …]
|
/external/deqp/framework/opengl/wrapper/ |
D | glwWrapper.cpp | 64 : m_ptr(deThreadLocal_create()) 66 if (!m_ptr) 72 deThreadLocal_set(m_ptr, (void*)gl); 77 return (const glw::Functions*)deThreadLocal_get(m_ptr); 81 deThreadLocal m_ptr;
|
/external/clang/test/SemaCXX/ |
D | warn-tautological-undefined-compare.cpp | 90 int& (B::*m_ptr)() = &B::get; in test() local 91 if (&(b.*m_ptr)() == 0) {} in test() 93 if (&((b.*m_ptr)()) == 0) {} in test() 96 if (&(b.*m_ptr)() != 0) {} in test() 98 if (&((b.*m_ptr)()) != 0) {} in test()
|
D | warn-undefined-bool-conversion.cpp | 81 int& (B::*m_ptr)() = &B::get; in test() local 82 if (&(b.*m_ptr)()) {} in test() 84 if (&((b.*m_ptr)())) {} in test() 86 if (!&(b.*m_ptr)()) {} in test()
|
/external/clang/test/SemaTemplate/ |
D | virtual-member-functions.cpp | 134 T *m_ptr; member 135 ~RefPtr() { m_ptr->deref(); } in ~RefPtr() 157 T *m_ptr; member 158 …~RefPtr() { m_ptr->deref(); } // expected-error {{member access into incomplete type 'vtable_uses… in ~RefPtr()
|
/external/llvm/test/Transforms/JumpThreading/ |
D | landing-pad.ll | 101 %m_ptr.i = getelementptr inbounds %class.B, %class.B* %this, i64 0, i32 0 102 store %class.D* %p1, %class.D** %m_ptr.i, align 8 118 %m_ptr = getelementptr inbounds %class.B, %class.B* %this, i64 0, i32 0 119 %0 = load %class.D*, %class.D** %m_ptr, align 8 127 %m_ptr.i = getelementptr inbounds %class.B, %class.B* %this, i64 0, i32 0 128 %0 = load %class.D*, %class.D** %m_ptr.i, align 8 149 %m_ptr = getelementptr inbounds %class.B, %class.B* %this, i64 0, i32 0 150 %0 = load %class.D*, %class.D** %m_ptr, align 8 187 %m_ptr = getelementptr inbounds %class.B, %class.B* %this, i64 0, i32 0 188 store %class.D* %p1, %class.D** %m_ptr, align 8
|
/external/clang/test/Sema/ |
D | parentheses.cpp | 72 void test(S *s, bool (S::*m_ptr)()) { in test() argument 84 (void)((s->*m_ptr)() ? "foo" : "bar"); in test()
|
/external/eigen/Eigen/src/Core/util/ |
D | Memory.h | 545 : m_ptr(ptr), m_size(size), m_deallocate(dealloc) 547 if(NumTraits<T>::RequireInitialization && m_ptr) 548 Eigen::internal::construct_elements_of_array(m_ptr, size); 552 if(NumTraits<T>::RequireInitialization && m_ptr) 553 Eigen::internal::destruct_elements_of_array<T>(m_ptr, m_size); 555 Eigen::internal::aligned_free(m_ptr); 558 T* m_ptr;
|
/external/deqp/modules/gles31/functional/ |
D | es31fBasicComputeShaderTests.cpp | 56 , m_ptr (DE_NULL) in BufferMemMap() 58 m_ptr = gl.mapBufferRange(target, offset, size, access); in BufferMemMap() 60 TCU_CHECK(m_ptr); in BufferMemMap() 68 void* getPtr (void) const { return m_ptr; } in getPtr() 69 void* operator* (void) const { return m_ptr; } in operator *() 77 void* m_ptr; member in deqp::gles31::Functional::BufferMemMap
|
D | es31fShaderImageLoadStoreTests.cpp | 485 , m_ptr (DE_NULL) in BufferMemMap() 487 m_ptr = gl.mapBufferRange(target, offset, size, access); in BufferMemMap() 489 TCU_CHECK(m_ptr); in BufferMemMap() 497 void* getPtr (void) const { return m_ptr; } in getPtr() 498 void* operator* (void) const { return m_ptr; } in operator *() 506 void* m_ptr; member in deqp::gles31::Functional::__anon0a49b9df0111::BufferMemMap
|