Home
last modified time | relevance | path

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

12

/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::__anonb55a26d40111::SharedPtrTestThread
108 : m_ptr (ptr) in WeakPtrTestThread()
124 WeakPtr<Object> ptrA(m_ptr); in run()
136 SharedPtr<Object> m_ptr; member in de::__anonb55a26d40111::WeakPtrTestThread
/external/spirv-llvm/lib/SPIRV/Mangler/
DRefcount.h23 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/
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/libaom/libaom/aom_dsp/x86/
Dmasked_sad_intrin_ssse3.c29 const uint8_t *m_ptr, int m_stride,
98 const uint8_t *m_ptr, int m_stride, in masked_sad_ssse3() argument
109 const __m128i m = _mm_loadu_si128((const __m128i *)&m_ptr[x]); in masked_sad_ssse3()
132 m_ptr += m_stride; in masked_sad_ssse3()
143 const uint8_t *m_ptr, int m_stride, in aom_masked_sad8xh_ssse3() argument
158 _mm_unpacklo_epi64(_mm_loadl_epi64((const __m128i *)m_ptr), in aom_masked_sad8xh_ssse3()
159 _mm_loadl_epi64((const __m128i *)&m_ptr[m_stride])); in aom_masked_sad8xh_ssse3()
178 m_ptr += m_stride * 2; in aom_masked_sad8xh_ssse3()
188 const uint8_t *m_ptr, int m_stride, in aom_masked_sad4xh_ssse3() argument
207 _mm_unpacklo_epi32(_mm_cvtsi32_si128(*(uint32_t *)m_ptr), in aom_masked_sad4xh_ssse3()
[all …]
Dmasked_sad_intrin_avx2.c24 const uint8_t *b_ptr, int b_stride, const uint8_t *m_ptr, int m_stride, in masked_sad32xh_avx2() argument
36 const __m256i m = _mm256_lddqu_si256((const __m256i *)&m_ptr[x]); in masked_sad32xh_avx2()
59 m_ptr += m_stride; in masked_sad32xh_avx2()
79 const uint8_t *b_ptr, int b_stride, const uint8_t *m_ptr, int m_stride, in masked_sad16xh_avx2() argument
90 const __m256i m = xx_loadu2_m128i(m_ptr + m_stride, m_ptr); in masked_sad16xh_avx2()
112 m_ptr += m_stride << 1; in masked_sad16xh_avx2()
204 const uint8_t *b8, int b_stride, const uint8_t *m_ptr, int m_stride, in highbd_masked_sad8xh_avx2() argument
222 _mm_loadl_epi64((const __m128i *)(m_ptr)), in highbd_masked_sad8xh_avx2()
223 _mm_loadl_epi64((const __m128i *)(m_ptr + m_stride)))); in highbd_masked_sad8xh_avx2()
250 m_ptr += m_stride << 1; in highbd_masked_sad8xh_avx2()
[all …]
Dmasked_sad_intrin_ssse3.h18 const uint8_t *m_ptr, int m_stride,
24 const uint8_t *m_ptr, int m_stride,
30 const uint8_t *m_ptr, int m_stride,
Dmasked_variance_intrin_ssse3.c40 const uint8_t *m_ptr, int m_stride, int width,
45 const uint8_t *m_ptr, int m_stride, int height,
50 const uint8_t *m_ptr, int m_stride, int height,
432 const uint8_t *m_ptr, int m_stride, int width, in masked_variance() argument
442 const __m128i m = _mm_loadu_si128((const __m128i *)&m_ptr[x]); in masked_variance()
449 m_ptr += m_stride; in masked_variance()
460 const uint8_t *m_ptr, int m_stride, int height, in masked_variance8xh() argument
472 _mm_unpacklo_epi64(_mm_loadl_epi64((const __m128i *)m_ptr), in masked_variance8xh()
473 _mm_loadl_epi64((const __m128i *)&m_ptr[m_stride])); in masked_variance8xh()
479 m_ptr += m_stride * 2; in masked_variance8xh()
[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/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/swiftshader/third_party/llvm-7.0/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/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktAtomicOperationTests.cpp224 m_ptr = static_cast<BufferData<dataTypeT>*>(ptr); in setBuffer()
239 m_ptr->inout[i] = static_cast<dataTypeT>(rnd.getUint64()); in fillWithTestData()
243 m_ptr->compare[i] = m_ptr->inout[i] + (i % 2); in fillWithTestData()
244 m_ptr->compare[i + NUM_ELEMENTS / 2] = m_ptr->inout[i] + 1 - (i % 2); in fillWithTestData()
248 m_ptr->input[i] = static_cast<dataTypeT>(rnd.getUint64()); in fillWithTestData()
249 m_ptr->output[i] = pattern; in fillWithTestData()
251 m_ptr->index = 0; in fillWithTestData()
254 m_original = *m_ptr; in fillWithTestData()
259 checkOperation(m_original, *m_ptr, resultCollector); in checkResults()
289 BufferData<dataTypeT>* m_ptr; member in vkt::shaderexecutor::__anonffe0b4930111::TestBuffer
/external/eigen/Eigen/src/Core/util/
DMemory.h565 : 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/libcxx/test/support/
Dunique_ptr_test_helper.h74 std::unique_ptr<IncompleteT, Del> m_ptr;
81 StoresIncomplete(Args&&... args) : m_ptr(std::forward<Args>(args)...) {
93 IncompleteType* get() const { return m_ptr.get(); }
94 Del& get_deleter() { return m_ptr.get_deleter(); }
/external/v8/tools/clang/rewrite_to_chrome_style/tests/
Dmethods-original.cc89 operator UnspecifiedBoolType() { return m_ptr ? &Testable::m_ptr : 0; } in operator UnspecifiedBoolType()
92 int m_ptr; member in blink::Testable
/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::__anon27d66a3b0111::HostPtr
61 , m_ptr (mapMemory(vkd, device, memory, offset, size, flags)) in HostPtr()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp770 void* m_ptr; member in vkt::memory::__anond26d821d0111::MemoryMapping
778 , m_ptr (ptr) in MemoryMapping()
791 const deUint8 val = ((deUint8*)m_ptr)[pos]; in randomRead()
806 ((deUint8*)m_ptr)[pos] = val; in randomWrite()
818 const deUint8 val = ((deUint8*)m_ptr)[pos]; in randomModify()
821 ((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
/external/python/cpython2/Modules/
Dmathmodule.c906 double *ps, Py_ssize_t *m_ptr) in _fsum_realloc() argument
909 Py_ssize_t m = *m_ptr; in _fsum_realloc()
927 *m_ptr = m; in _fsum_realloc()

12