Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/framework/common/
DtcuMaybe.hpp60 operator bool (void) const { return !!m_ptr; } in operator bool()
63 T* m_ptr; member in tcu::Maybe
86 : m_ptr (nullptr) in Maybe()
92 : m_ptr (nullptr) in Maybe()
99 if (m_ptr) in ~Maybe()
100 m_ptr->~T(); in ~Maybe()
105 : m_ptr (nullptr) in Maybe()
107 m_ptr = new(m_data)T(val); in Maybe()
113 if (m_ptr) in operator =()
114 m_ptr->~T(); in operator =()
[all …]
/third_party/vk-gl-cts/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::__anon342808e90111::SharedPtrTestThread
108 : m_ptr (ptr) in WeakPtrTestThread()
124 WeakPtr<Object> ptrA(m_ptr); in run()
136 SharedPtr<Object> m_ptr; member in de::__anon342808e90111::WeakPtrTestThread
/third_party/FreeBSD/sys/dev/usb/
Dusb_mbuf.c42 struct usb_mbuf *m_ptr; in usb_alloc_mbufs() local
58 m_ptr = free_ptr; in usb_alloc_mbufs()
59 data_ptr = (void *)(m_ptr + nblocks); in usb_alloc_mbufs()
63 m_ptr->cur_data_ptr = in usb_alloc_mbufs()
64 m_ptr->min_data_ptr = data_ptr; in usb_alloc_mbufs()
66 m_ptr->cur_data_len = in usb_alloc_mbufs()
67 m_ptr->max_data_len = block_size; in usb_alloc_mbufs()
69 USB_IF_ENQUEUE(ifq, m_ptr); in usb_alloc_mbufs()
71 m_ptr++; in usb_alloc_mbufs()
/third_party/vk-gl-cts/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;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktAtomicOperationTests.cpp290 m_ptr = static_cast<BufferData<dataTypeT>*>(ptr); in setBuffer()
305 m_ptr->inout[i] = static_cast<dataTypeT>(rnd.getUint64()); in fillWithTestData()
309 m_ptr->compare[i] = m_ptr->inout[i] + (i % 2); in fillWithTestData()
310 m_ptr->compare[i + NUM_ELEMENTS / 2] = m_ptr->inout[i] + 1 - (i % 2); in fillWithTestData()
314 m_ptr->input[i] = static_cast<dataTypeT>(rnd.getUint64()); in fillWithTestData()
315 m_ptr->output[i] = pattern; in fillWithTestData()
316 m_ptr->invocationHitCount[i] = 0; in fillWithTestData()
318 m_ptr->index = 0; in fillWithTestData()
321 m_original = *m_ptr; in fillWithTestData()
326 checkOperation(m_original, *m_ptr, resultCollector); in checkResults()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktAtomicOperationTests.cpp290 m_ptr = static_cast<BufferData<dataTypeT>*>(ptr); in setBuffer()
305 m_ptr->inout[i] = static_cast<dataTypeT>(rnd.getUint64()); in fillWithTestData()
309 m_ptr->compare[i] = m_ptr->inout[i] + (i % 2); in fillWithTestData()
310 m_ptr->compare[i + NUM_ELEMENTS / 2] = m_ptr->inout[i] + 1 - (i % 2); in fillWithTestData()
314 m_ptr->input[i] = static_cast<dataTypeT>(rnd.getUint64()); in fillWithTestData()
315 m_ptr->output[i] = pattern; in fillWithTestData()
316 m_ptr->invocationHitCount[i] = 0; in fillWithTestData()
318 m_ptr->index = 0; in fillWithTestData()
321 m_original = *m_ptr; in fillWithTestData()
326 checkOperation(m_original, *m_ptr, resultCollector); in checkResults()
[all …]
/third_party/rust/crates/bindgen/bindgen-integration/cpp/
DTest.cc37 : m_ptr(ptr) in AutoRestoreBool()
42 *m_ptr = m_value; in ~AutoRestoreBool()
DTest.h189 bool* m_ptr; member
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan.hpp250 , m_ptr( nullptr ) in ArrayProxy()
255 , m_ptr( nullptr ) in ArrayProxy()
260 , m_ptr( &value ) in ArrayProxy()
266 , m_ptr( &value ) in ArrayProxy()
271 , m_ptr( ptr ) in ArrayProxy()
277 , m_ptr( ptr ) in ArrayProxy()
287 , m_ptr( list.begin() ) in ArrayProxy()
293 , m_ptr( list.begin() ) in ArrayProxy()
298 , m_ptr( list.begin() ) in ArrayProxy()
304 , m_ptr( list.begin() ) in ArrayProxy()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp54 void* get (void) const { return m_ptr; } in get()
60 void* const m_ptr; member in vk::__anon88e9b5300111::HostPtr
67 , m_ptr (mapMemory(vkd, device, memory, offset, size, flags)) in HostPtr()
/third_party/vulkan-headers/include/vulkan/
Dvulkan.hpp590 , m_ptr( nullptr ) in ArrayProxy()
596 , m_ptr( nullptr ) in ArrayProxy()
602 , m_ptr( &value ) in ArrayProxy()
608 , m_ptr( ptr ) in ArrayProxy()
615 , m_ptr( ptr ) in ArrayProxy()
626 , m_ptr( list.begin() ) in ArrayProxy()
633 , m_ptr( list.begin() ) in ArrayProxy()
648 , m_ptr( v.data() ) in ArrayProxy()
654 return m_ptr; in begin()
659 return m_ptr + m_count; in end()
[all …]
/third_party/vk-gl-cts/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.cpp530 , m_ptr (DE_NULL) in BufferMemMap()
532 m_ptr = gl.mapBufferRange(target, offset, size, access); in BufferMemMap()
534 TCU_CHECK(m_ptr); in BufferMemMap()
542 void* getPtr (void) const { return m_ptr; } in getPtr()
543 void* operator* (void) const { return m_ptr; } in operator *()
551 void* m_ptr; member in deqp::gles31::Functional::__anon4bfa703d0111::BufferMemMap
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp909 void* m_ptr; member in vkt::memory::__anon1cecb5b20111::MemoryMapping
917 , m_ptr (ptr) in MemoryMapping()
930 const deUint8 val = ((deUint8*)m_ptr)[pos]; in randomRead()
945 ((deUint8*)m_ptr)[pos] = val; in randomWrite()
957 const deUint8 val = ((deUint8*)m_ptr)[pos]; in randomModify()
960 ((deUint8*)m_ptr)[pos] = val ^ mask; in randomModify()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryMappingTests.cpp909 void* m_ptr; member in vkt::memory::__anon3630f4320111::MemoryMapping
917 , m_ptr (ptr) in MemoryMapping()
930 const deUint8 val = ((deUint8*)m_ptr)[pos]; in randomRead()
945 ((deUint8*)m_ptr)[pos] = val; in randomWrite()
957 const deUint8 val = ((deUint8*)m_ptr)[pos]; in randomModify()
960 ((deUint8*)m_ptr)[pos] = val ^ mask; in randomModify()
/third_party/python/Modules/
Dmathmodule.c1365 double *ps, Py_ssize_t *m_ptr) in _fsum_realloc() argument
1368 Py_ssize_t m = *m_ptr; in _fsum_realloc()
1386 *m_ptr = m; in _fsum_realloc()
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest-libaaudio.so.abi613 …<var-decl name='m_ptr' type-id='8b0056d4' visibility='default' filepath='system/core/libutils/incl…
657 …<var-decl name='m_ptr' type-id='b4bea132' visibility='default' filepath='system/core/libutils/incl…
Dtest-libandroid.so.abi875 …<var-decl name='m_ptr' type-id='d3c9a98f' visibility='default' filepath='system/core/libutils/incl…
913 …<var-decl name='m_ptr' type-id='af0cbf96' visibility='default' filepath='system/core/libutils/incl…
19058 …<var-decl name='m_ptr' type-id='0c8c7ff1' visibility='default' filepath='system/core/libutils/incl…
19141 …<var-decl name='m_ptr' type-id='1ff143c9' visibility='default' filepath='system/core/libutils/incl…
21486 …<var-decl name='m_ptr' type-id='96ae8d47' visibility='default' filepath='system/core/libutils/incl…
21530 …<var-decl name='m_ptr' type-id='f83d180b' visibility='default' filepath='system/core/libutils/incl…
22201 …<var-decl name='m_ptr' type-id='da4b431d' visibility='default' filepath='system/core/libutils/incl…
23100 …<var-decl name='m_ptr' type-id='df7f8372' visibility='default' filepath='system/core/libutils/incl…
23156 …<var-decl name='m_ptr' type-id='7376f3a6' visibility='default' filepath='system/core/libutils/incl…
23207 …<var-decl name='m_ptr' type-id='b5a5bc13' visibility='default' filepath='system/core/libutils/incl…
[all …]