Home
last modified time | relevance | path

Searched refs:m_ptr (Results 1 – 23 of 23) sorted by relevance

/external/deqp/framework/common/
DtcuMaybe.hpp50 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/
DdeSharedPtr.hpp71 : 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 …]
DdeArrayBuffer.hpp72 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 …]
DdeSharedPtr.cpp72 : m_ptr (ptr) in SharedPtrTestThread()
88 SharedPtr<Object> ptrA(m_ptr); in run()
100 SharedPtr<Object> m_ptr; member in de::__anon63c143d70111::SharedPtrTestThread
108 : m_ptr (ptr) in WeakPtrTestThread()
124 WeakPtr<Object> ptrA(m_ptr); in run()
136 SharedPtr<Object> m_ptr; member in de::__anon63c143d70111::WeakPtrTestThread
/external/pdfium/xfa/src/fxfa/src/fm2js/
Dxfa_lexer.cpp162 m_ptr = m_pScript; in CXFA_FMLexer()
186 if (!XFA_FMDChar::isAvalid(m_ptr)) { in Scan()
187 ch = XFA_FMDChar::get(m_ptr); in Scan()
193 if (!XFA_FMDChar::isAvalid(m_ptr)) { in Scan()
194 ch = XFA_FMDChar::get(m_ptr); in Scan()
198 ch = XFA_FMDChar::get(m_ptr); in Scan()
206 XFA_FMDChar::inc(m_ptr); in Scan()
209 XFA_FMDChar::inc(m_ptr); in Scan()
213 Comment(m_ptr, pTemp); in Scan()
214 m_ptr = pTemp; in Scan()
[all …]
Dxfa_lexer.h114 const FX_WCHAR* SavePos() { return m_ptr; } in SavePos()
115 void RestorePos(const FX_WCHAR* pPos) { m_ptr = pPos; } in RestorePos()
122 const FX_WCHAR* m_ptr; variable
/external/clang/test/Analysis/
Dpointer-to-member.cpp8 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/
Dannotate_smart_pointer.cpp167 : 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/
DglwWrapper.cpp64 : 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/
Dwarn-tautological-undefined-compare.cpp90 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()
Dwarn-undefined-bool-conversion.cpp81 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/
Dvirtual-member-functions.cpp134 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/
Ddefault.pass.cpp37 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()
Dpointer.pass.cpp69 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/
Dlanding-pad.ll101 %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/
Dparentheses.cpp72 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/
DvkMemUtil.cpp48 void* get (void) const { return m_ptr; } in get()
54 void* const m_ptr; member in vk::__anoncc4b7f5e0111::HostPtr
69 , m_ptr (mapMemory(vkd, device, memory, offset, size, flags)) in HostPtr()
/external/eigen/Eigen/src/Core/util/
DMemory.h545 : 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/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtSerializer.h137 void* m_ptr; member
550 return uptr->m_ptr; in getUniquePointer()
565 return uid.m_ptr; in getUniquePointer()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp507 void* m_ptr; member in vkt::memory::__anoned55e1a00111::MemoryMapping
515 , m_ptr (ptr) in MemoryMapping()
528 const deUint8 val = ((deUint8*)m_ptr)[pos]; in randomRead()
543 ((deUint8*)m_ptr)[pos] = val; in randomWrite()
555 const deUint8 val = ((deUint8*)m_ptr)[pos]; in randomModify()
558 ((deUint8*)m_ptr)[pos] = val ^ mask; in randomModify()
/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp56 , 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
Des31fShaderImageLoadStoreTests.cpp495 , m_ptr (DE_NULL) in BufferMemMap()
497 m_ptr = gl.mapBufferRange(target, offset, size, access); in BufferMemMap()
499 TCU_CHECK(m_ptr); in BufferMemMap()
507 void* getPtr (void) const { return m_ptr; } in getPtr()
508 void* operator* (void) const { return m_ptr; } in operator *()
516 void* m_ptr; member in deqp::gles31::Functional::__anone424c1ab0111::BufferMemMap
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletFileLoader/
DbFile.cpp1232 *tptr = findLibPointer(dp.m_ptr); in resolvePointersMismatch()