/external/python/pybind11/tests/ |
D | object.h | 65 ref() : m_ptr(nullptr) { print_default_created(this); track_default_created((ref_tag*) this); } in ref() 68 ref(T *ptr) : m_ptr(ptr) { in ref() 69 if (m_ptr) ((Object *) m_ptr)->incRef(); in ref() 71 print_created(this, "from pointer", m_ptr); track_created((ref_tag*) this, "from pointer"); in ref() 76 ref(const ref &r) : m_ptr(r.m_ptr) { in ref() 77 if (m_ptr) in ref() 78 ((Object *) m_ptr)->incRef(); in ref() 80 print_copy_created(this, "with pointer", m_ptr); track_copy_created((ref_tag*) this); in ref() 84 ref(ref &&r) : m_ptr(r.m_ptr) { in ref() 85 r.m_ptr = nullptr; in ref() [all …]
|
/external/deqp/framework/common/ |
D | tcuMaybe.hpp | 53 operator bool (void) const { return !!m_ptr; } in operator bool() 56 T* m_ptr; member in tcu::Maybe 79 : m_ptr (DE_NULL) in Maybe() 86 if (m_ptr) in ~Maybe() 87 m_ptr->~T(); in ~Maybe() 92 : m_ptr (DE_NULL) in Maybe() 94 m_ptr = new(m_data)T(val); in Maybe() 100 if (m_ptr) in operator =() 101 m_ptr->~T(); in operator =() 103 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::__anon7b9d57720111::SharedPtrTestThread 108 : m_ptr (ptr) in WeakPtrTestThread() 124 WeakPtr<Object> ptrA(m_ptr); in run() 136 SharedPtr<Object> m_ptr; member in de::__anon7b9d57720111::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/python/pybind11/include/pybind11/ |
D | pytypes.h | 181 handle(PyObject *ptr) : m_ptr(ptr) { } // Allow implicit conversion from PyObject* in PYBIND11_NAMESPACE_END() 184 PyObject *ptr() const { return m_ptr; } in PYBIND11_NAMESPACE_END() 185 PyObject *&ptr() { return m_ptr; } in PYBIND11_NAMESPACE_END() 192 const handle& inc_ref() const & { Py_XINCREF(m_ptr); return *this; } in PYBIND11_NAMESPACE_END() 199 const handle& dec_ref() const & { Py_XDECREF(m_ptr); return *this; } in PYBIND11_NAMESPACE_END() 207 explicit operator bool() const { return m_ptr != nullptr; } in PYBIND11_NAMESPACE_END() 213 bool operator==(const handle &h) const { return m_ptr == h.m_ptr; } in PYBIND11_NAMESPACE_END() 215 bool operator!=(const handle &h) const { return m_ptr != h.m_ptr; } in PYBIND11_NAMESPACE_END() 217 bool check() const { return m_ptr != nullptr; } in PYBIND11_NAMESPACE_END() 219 PyObject *m_ptr = nullptr; in PYBIND11_NAMESPACE_END() [all …]
|
/external/llvm-project/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() 38 clang_analyzer_eval(&A::m_ptr == &A::m_ptr); // expected-warning{{TRUE}} in testComparison() 66 obj.m_ptr = 0; in testDereferencing() 68 A::MemberPointer member = &A::m_ptr; in testDereferencing()
|
/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/libaom/libaom/aom_dsp/x86/ |
D | masked_sad_intrin_ssse3.c | 29 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 …]
|
D | masked_sad4d_ssse3.c | 42 const uint8_t *m_ptr, int m_stride, in masked_sadx4d_ssse3() argument 62 const __m128i m_copy = _mm_loadu_si128((const __m128i *)&m_ptr[x]); in masked_sadx4d_ssse3() 79 m_ptr += m_stride; in masked_sadx4d_ssse3() 109 const uint8_t *m_ptr, int m_stride, int height, in aom_masked_sad8xhx4d_ssse3() argument 128 const __m128i m0 = _mm_loadl_epi64((__m128i *)m_ptr); in aom_masked_sad8xhx4d_ssse3() 129 const __m128i m1 = _mm_loadl_epi64((__m128i *)(m_ptr + m_stride)); in aom_masked_sad8xhx4d_ssse3() 146 m_ptr += 2 * m_stride; in aom_masked_sad8xhx4d_ssse3() 170 const uint8_t *m_ptr, int m_stride, int height, in aom_masked_sad4xhx4d_ssse3() argument 192 _mm_unpacklo_epi32(_mm_cvtsi32_si128(*(uint32_t *)m_ptr), in aom_masked_sad4xhx4d_ssse3() 193 _mm_cvtsi32_si128(*(uint32_t *)&m_ptr[m_stride])); in aom_masked_sad4xhx4d_ssse3() [all …]
|
D | masked_sad_intrin_avx2.c | 24 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 …]
|
D | masked_sad_intrin_ssse3.h | 18 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,
|
D | masked_variance_intrin_ssse3.c | 40 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/llvm-project/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/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/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktAtomicOperationTests.cpp | 277 m_ptr = static_cast<BufferData<dataTypeT>*>(ptr); in setBuffer() 292 m_ptr->inout[i] = static_cast<dataTypeT>(rnd.getUint64()); in fillWithTestData() 296 m_ptr->compare[i] = m_ptr->inout[i] + (i % 2); in fillWithTestData() 297 m_ptr->compare[i + NUM_ELEMENTS / 2] = m_ptr->inout[i] + 1 - (i % 2); in fillWithTestData() 301 m_ptr->input[i] = static_cast<dataTypeT>(rnd.getUint64()); in fillWithTestData() 302 m_ptr->output[i] = pattern; in fillWithTestData() 303 m_ptr->invocationHitCount[i] = 0; in fillWithTestData() 305 m_ptr->index = 0; in fillWithTestData() 308 m_original = *m_ptr; in fillWithTestData() 313 checkOperation(m_original, *m_ptr, resultCollector); in checkResults() [all …]
|
/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-project/clang/test/SemaTemplate/ |
D | virtual-member-functions.cpp | 180 T *m_ptr; member 181 ~RefPtr() { m_ptr->deref(); } in ~RefPtr() 203 T *m_ptr; member 204 …~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/llvm-project/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/llvm-project/libcxx/test/support/ |
D | unique_ptr_test_helper.h | 73 std::unique_ptr<IncompleteT, Del> m_ptr; 80 StoresIncomplete(Args&&... args) : m_ptr(std::forward<Args>(args)...) { 92 IncompleteType* get() const { return m_ptr.get(); } 93 Del& get_deleter() { return m_ptr.get_deleter(); }
|