/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
default.pass.cpp | 37 std::unique_ptr<IncompleteT, Del> m_ptr; member in struct:StoresIncomplete 41 IncompleteT* get() const { return m_ptr.get(); } 42 Del& get_deleter() { return m_ptr.get_deleter(); }
|
pointer.pass.cpp | 69 std::unique_ptr<IncompleteT, Del> m_ptr; member in struct:StoresIncomplete 71 explicit StoresIncomplete(IncompleteT* ptr) : m_ptr(ptr) {} 74 IncompleteT* get() const { return m_ptr.get(); } 75 Del& get_deleter() { return m_ptr.get_deleter(); }
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
SmartPtr.h | 33 m_ptr = ptr; 48 m_ptr = rhs.m_ptr; 61 m_ptr = rhs.m_ptr; 78 return m_ptr; 83 return m_ptr; 87 return m_ptr; 91 return *m_ptr; 95 return (void *)m_ptr; 138 T* m_ptr; member in class:SmartPtr [all...] |
/external/clang/test/Analysis/ |
pointer-to-member.cpp | 8 operator MemberPointer() const { return m_ptr ? &A::m_ptr : 0; } 10 A *m_ptr; member in struct:A 19 obj.m_ptr = &obj; 20 clang_analyzer_eval(obj.m_ptr); // expected-warning{{TRUE}} 21 clang_analyzer_eval(&A::m_ptr); // expected-warning{{TRUE}} 24 obj.m_ptr = 0; 25 clang_analyzer_eval(obj.m_ptr); // expected-warning{{FALSE}} 39 clang_analyzer_eval(&A::m_ptr == &A::m_ptr); // expected-warning{{UNKNOWN} [all...] |
/external/deqp/framework/common/ |
tcuMaybe.hpp | 50 operator bool (void) const { return !!m_ptr; } 53 T* m_ptr; member in class:tcu::Maybe 76 : m_ptr (DE_NULL) 83 if (m_ptr) 84 m_ptr->~T(); 89 : m_ptr (DE_NULL) 91 m_ptr = new(m_data)T(val); 97 if (m_ptr) 98 m_ptr->~T(); 100 m_ptr = new(m_data)T(val) [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkMemUtil.cpp | 48 void* get (void) const { return m_ptr; } 54 void* const m_ptr; member in class:vk::__anon10302::HostPtr 69 , m_ptr (mapMemory(vkd, device, memory, offset, size, flags))
|
/external/deqp/framework/delibs/decpp/ |
deSharedPtr.cpp | 72 : m_ptr (ptr) 88 SharedPtr<Object> ptrA(m_ptr); 100 SharedPtr<Object> m_ptr; member in class:de::__anon10549::SharedPtrTestThread 108 : m_ptr (ptr) 124 WeakPtr<Object> ptrA(m_ptr); 136 SharedPtr<Object> m_ptr; member in class:de::__anon10549::WeakPtrTestThread
|
deSharedPtr.hpp | 71 : m_ptr (ptr) 78 DE_ASSERT(!m_ptr); 83 m_deleter(m_ptr); 84 m_ptr = DE_NULL; 88 Type* m_ptr; member in struct:de::SharedPtrState 133 T* get (void) const throw() { return m_ptr; } //!< Get stored pointer. 134 T* operator-> (void) const throw() { return m_ptr; } //!< Get stored pointer. 135 T& operator* (void) const throw() { return *m_ptr; } //!< De-reference pointer. 137 operator bool (void) const throw() { return !!m_ptr; } 151 T* m_ptr; member in class:de::SharedPtr 191 T* m_ptr; member in class:de::WeakPtr [all...] |
/external/clang/test/SemaTemplate/ |
virtual-member-functions.cpp | 134 T *m_ptr; member in struct:PR7114::avoid_using_vtable::RefPtr 135 ~RefPtr() { m_ptr->deref(); } 157 T *m_ptr; member in struct:PR7114::vtable_uses_incomplete::RefPtr 158 ~RefPtr() { m_ptr->deref(); } // expected-error {{member access into incomplete type 'vtable_uses_incomplete::DeclaredOnly'}}
|
/system/extras/mmap-perf/ |
mmapPerf.cpp | 49 void *m_ptr = nullptr; member in class:FileMap 66 m_ptr = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_SHARED, m_fileFd.get(), 0); 67 if ((int)(uintptr_t)m_ptr == -1) { 68 cout << "Error: mmap failed: " << (int)(uintptr_t)m_ptr << ": " << strerror(errno) << endl; 74 madvise(m_ptr, m_size, MADV_RANDOM); 77 madvise(m_ptr, m_size, MADV_SEQUENTIAL); 81 uint8_t *targetPtr = (uint8_t*)m_ptr + 4096ull * i; 86 uint8_t *targetPtr = (uint8_t*)m_ptr + pageSize * targetPage; 90 uint8_t *targetPtr = (uint8_t*)m_ptr + pageSize * targetPage; 94 uint8_t *targetPtr = (uint8_t*)m_ptr + pageSize * j [all...] |
/system/extras/zram-perf/ |
zram-perf.cpp | 31 void *m_ptr; member in class:AlignedAlloc 34 posix_memalign(&m_ptr, align, size); 37 free(m_ptr); 40 return m_ptr;
|
/external/deqp/modules/gles31/functional/ |
es31fBasicComputeShaderTests.cpp | 56 , m_ptr (DE_NULL) 58 m_ptr = gl.mapBufferRange(target, offset, size, access); 60 TCU_CHECK(m_ptr); 68 void* getPtr (void) const { return m_ptr; } 69 void* operator* (void) const { return m_ptr; } 77 void* m_ptr; member in class:deqp::gles31::Functional::BufferMemMap [all...] |
es31fShaderImageLoadStoreTests.cpp | 495 , m_ptr (DE_NULL) 497 m_ptr = gl.mapBufferRange(target, offset, size, access); 499 TCU_CHECK(m_ptr); 507 void* getPtr (void) const { return m_ptr; } 508 void* operator* (void) const { return m_ptr; } 516 void* m_ptr; member in class:deqp::gles31::Functional::__anon11246::BufferMemMap [all...] |
/external/valgrind/drd/tests/ |
annotate_smart_pointer.cpp | 167 : m_ptr(NULL), m_count_ptr(NULL) 171 : m_ptr(NULL), m_count_ptr(NULL) 178 : m_ptr(NULL), m_count_ptr(NULL) 189 : m_ptr(NULL), m_count_ptr(NULL) 191 set(sp.m_ptr, sp.m_count_ptr); 196 : m_ptr(NULL), m_count_ptr(NULL) 198 set(sp.m_ptr, sp.m_count_ptr); 203 set(sp.m_ptr, sp.m_count_ptr); 222 assert(m_ptr); 223 return m_ptr; 258 T* m_ptr; member in class:smart_ptr [all...] |
/external/eigen/Eigen/src/Core/util/ |
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; member in class:Eigen::internal::aligned_stack_memory_handler [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
btSerializer.h | 137 void* m_ptr; member in union:btPointerUid::__anon16302 550 return uptr->m_ptr; 565 return uid.m_ptr;
|
/external/pdfium/xfa/src/fxfa/src/fm2js/ |
xfa_lexer.h | 114 const FX_WCHAR* SavePos() { return m_ptr; }
115 void RestorePos(const FX_WCHAR* pPos) { m_ptr = pPos; }
122 const FX_WCHAR* m_ptr;
member in class:CXFA_FMLexer
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
vktMemoryMappingTests.cpp | 507 void* m_ptr; member in class:vkt::memory::__anon10376::MemoryMapping 515 , m_ptr (ptr) 528 const deUint8 val = ((deUint8*)m_ptr)[pos]; 543 ((deUint8*)m_ptr)[pos] = val; 555 const deUint8 val = ((deUint8*)m_ptr)[pos]; 558 ((deUint8*)m_ptr)[pos] = val ^ mask; [all...] |