/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 | 72 void* m_ptr; member in de::ArrayBuffer 78 : m_ptr (DE_NULL) in ArrayBuffer() 85 : m_ptr (DE_NULL) in ArrayBuffer() 97 m_ptr = ptr; in ArrayBuffer() 104 : m_ptr (DE_NULL) in ArrayBuffer() 116 deMemcpy(tmp.m_ptr, ptr, (int)storageSize); in ArrayBuffer() 131 : m_ptr (DE_NULL) in ArrayBuffer() 141 deMemcpy(tmp.m_ptr, other.m_ptr, (int)storageSize); in ArrayBuffer() 163 detail::ArrayBuffer_AlignedFree(m_ptr); in clear() 165 m_ptr = DE_NULL; in clear() [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/pdfium/xfa/fxfa/fm2js/ |
D | xfa_lexer.cpp | 164 : m_ptr(wsFormCalc.c_str()), m_uCurrentLine(1), m_pErrorInfo(pErrorInfo) {} in CXFA_FMLexer() 176 if (!XFA_FMDChar::isAvalid(m_ptr)) { in Scan() 177 ch = XFA_FMDChar::get(m_ptr); in Scan() 183 if (!XFA_FMDChar::isAvalid(m_ptr)) { in Scan() 184 ch = XFA_FMDChar::get(m_ptr); in Scan() 188 ch = XFA_FMDChar::get(m_ptr); in Scan() 196 XFA_FMDChar::inc(m_ptr); in Scan() 199 XFA_FMDChar::inc(m_ptr); in Scan() 203 Comment(m_ptr, pTemp); in Scan() 204 m_ptr = pTemp; in Scan() [all …]
|
D | xfa_lexer.h | 122 const FX_WCHAR* SavePos() { return m_ptr; } in SavePos() 123 void RestorePos(const FX_WCHAR* pPos) { m_ptr = pPos; } in RestorePos() 130 const FX_WCHAR* m_ptr; variable
|
/external/spirv-llvm/lib/SPIRV/Mangler/ |
D | Refcount.h | 23 RefCount(): m_refCount(0), m_ptr(0) { in RefCount() 26 RefCount(T* ptr): m_ptr(ptr) { in RefCount() 49 assert(!m_ptr && "overrunning non NULL pointer"); in init() 52 m_ptr = ptr; in init() 56 return (!m_ptr); in isNull() 62 return *m_ptr; 67 return *m_ptr; 71 return m_ptr; 75 return m_ptr; 79 return m_ptr; [all …]
|
/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/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
D | default.pass.cpp | 37 std::unique_ptr<IncompleteT, Del> m_ptr; member 41 IncompleteT* get() const { return m_ptr.get(); } in get() 42 Del& get_deleter() { return m_ptr.get_deleter(); } in get_deleter()
|
D | pointer.pass.cpp | 69 std::unique_ptr<IncompleteT, Del> m_ptr; member 71 explicit StoresIncomplete(IncompleteT* ptr) : m_ptr(ptr) {} in StoresIncomplete() 74 IncompleteT* get() const { return m_ptr.get(); } in get() 75 Del& get_deleter() { return m_ptr.get_deleter(); } in get_deleter()
|
/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/eigen/Eigen/src/Core/util/ |
D | Memory.h | 565 : m_ptr(ptr), m_size(size), m_deallocate(dealloc) 567 if(NumTraits<T>::RequireInitialization && m_ptr) 568 Eigen::internal::construct_elements_of_array(m_ptr, size); 572 if(NumTraits<T>::RequireInitialization && m_ptr) 573 Eigen::internal::destruct_elements_of_array<T>(m_ptr, m_size); 575 Eigen::internal::aligned_free(m_ptr); 578 T* m_ptr; 585 T* m_ptr; 589 m_ptr = new T[size]; 593 delete[] m_ptr; [all …]
|
/external/v8/tools/clang/rewrite_to_chrome_style/tests/ |
D | methods-original.cc | 96 operator UnspecifiedBoolType() { return m_ptr ? &Testable::m_ptr : 0; } in operator UnspecifiedBoolType() 99 int m_ptr; member in blink::Testable
|
/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/deqp/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.cpp | 48 void* get (void) const { return m_ptr; } in get() 54 void* const m_ptr; member in vk::__anon37c4d0120111::HostPtr 69 , m_ptr (mapMemory(vkd, device, memory, offset, size, flags)) in HostPtr()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryMappingTests.cpp | 575 void* m_ptr; member in vkt::memory::__anon2c2930d40111::MemoryMapping 583 , m_ptr (ptr) in MemoryMapping() 596 const deUint8 val = ((deUint8*)m_ptr)[pos]; in randomRead() 611 ((deUint8*)m_ptr)[pos] = val; in randomWrite() 623 const deUint8 val = ((deUint8*)m_ptr)[pos]; in randomModify() 626 ((deUint8*)m_ptr)[pos] = val ^ mask; in randomModify()
|
/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 | 496 , m_ptr (DE_NULL) in BufferMemMap() 498 m_ptr = gl.mapBufferRange(target, offset, size, access); in BufferMemMap() 500 TCU_CHECK(m_ptr); in BufferMemMap() 508 void* getPtr (void) const { return m_ptr; } in getPtr() 509 void* operator* (void) const { return m_ptr; } in operator *() 517 void* m_ptr; member in deqp::gles31::Functional::__anon0a49b9df0111::BufferMemMap
|
/external/vulkan-validation-layers/include/vulkan/ |
D | vulkan.hpp | 185 Optional(RefType & reference) { m_ptr = &reference; } in Optional() 186 Optional(std::nullptr_t) { m_ptr = nullptr; } in Optional() 188 operator RefType*() const { return m_ptr; } in operator RefType*() 189 RefType const* operator->() const { return m_ptr; } in operator ->() 190 explicit operator bool() const { return !!m_ptr; } in operator bool() 193 RefType *m_ptr; member in vk::Optional 203 , m_ptr(nullptr) in ArrayProxy() 208 , m_ptr(&ptr) in ArrayProxy() 213 , m_ptr(ptr) in ArrayProxy() 219 , m_ptr(data.data()) in ArrayProxy() [all …]
|