Home
last modified time | relevance | path

Searched refs:UniquePtr (Results 1 – 25 of 76) sorted by relevance

1234

/external/conscrypt/src/compat/native/
DUniquePtr.h55 class UniquePtr {
58 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) {
61 ~UniquePtr() {
89 void swap(UniquePtr<T>& other) {
98 template <typename T2> bool operator==(const UniquePtr<T2>& p) const;
99 template <typename T2> bool operator!=(const UniquePtr<T2>& p) const;
102 UniquePtr(const UniquePtr&);
103 void operator=(const UniquePtr&);
109 class UniquePtr<T[], D> {
111 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) {
[all …]
/external/conscrypt/src/openjdk/native/
DUniquePtr.h55 class UniquePtr {
58 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) {
61 ~UniquePtr() {
89 void swap(UniquePtr<T>& other) {
98 template <typename T2> bool operator==(const UniquePtr<T2>& p) const;
99 template <typename T2> bool operator!=(const UniquePtr<T2>& p) const;
102 UniquePtr(const UniquePtr&);
103 void operator=(const UniquePtr&);
109 class UniquePtr<T[], D> {
111 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) {
[all …]
/external/deqp/framework/delibs/decpp/
DdeUniquePtr.hpp201 class UniquePtr : public UniqueBase<T, Deleter> class
204 explicit UniquePtr (T* ptr, Deleter deleter = Deleter());
205 UniquePtr (PtrData<T, Deleter> data);
209 UniquePtr (const UniquePtr<T>& other); // Not allowed!
210 UniquePtr operator= (const UniquePtr<T>& other); // Not allowed!
220 inline UniquePtr<T, Deleter>::UniquePtr (T* ptr, Deleter deleter) in UniquePtr() function in de::details::UniquePtr
226 inline UniquePtr<T, Deleter>::UniquePtr (PtrData<T, Deleter> data) in UniquePtr() function in de::details::UniquePtr
238 inline MovePtr<T, Deleter> UniquePtr<T, Deleter>::move (void) in move()
245 using details::UniquePtr;
DdeUniquePtr.cpp68 UniquePtr<Object> objectPtr(new Object(exists)); in createObject()
80 UniquePtr<Object> ptr(new Object(exists)); in UniquePtr_selfTest()
92 UniquePtr<Object> ptr(new Object(exists)); in UniquePtr_selfTest()
107 bool test = (UniquePtr<Object>(new Object(exists))).get() != DE_NULL && exists; in UniquePtr_selfTest()
117 UniquePtr<Object, CustomDeleter> ptr(new Object(exists), CustomDeleter(&deleterCalled)); in UniquePtr_selfTest()
142 UniquePtr<Object> ptr(new Object(exists)); in UniquePtr_selfTest()
156 UniquePtr<Object> ptr(createObject(exists)); in UniquePtr_selfTest()
211 UniquePtr<Object> ptr(new Object(exists)); in UniquePtr_selfTest()
213 UniquePtr<Object> ptr2(ptr); in UniquePtr_selfTest()
/external/deqp/framework/platform/
DtcuMain.cpp49 de::UniquePtr<tcu::Platform> platform (createPlatform()); in main()
50 de::UniquePtr<tcu::App> app (new tcu::App(*platform, archive, log, cmdLine)); in main()
/external/deqp/modules/gles3/functional/
Des3fASTCDecompressionCases.hpp74 de::UniquePtr<ASTCDecompressionCaseInternal::ASTCRenderer2D> m_renderer;
105 de::UniquePtr<ASTCDecompressionCaseInternal::ASTCRenderer2D> m_renderer;
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.hpp72 typedef de::SharedPtr<de::UniquePtr<UniformDataBase> > UniformDataSp;
82 m_uniforms.push_back(UniformDataSp(new de::UniquePtr<UniformDataBase>(uniformData))); in addData()
161 typedef de::SharedPtr<de::UniquePtr<UniformInfo> > UniformInfoSp;
163 typedef de::SharedPtr<de::UniquePtr<BufferUniform> > BufferUniformSp;
165 typedef de::SharedPtr<de::UniquePtr<SamplerUniform> > SamplerUniformSp;
/external/deqp/external/vulkancts/modules/vulkan/
DvktBuildPrograms.cpp43 using de::UniquePtr;
137 UniquePtr<vk::ProgramBinary> binary; // Null if build failed
182 const UniquePtr<tcu::TestPackageRoot> root (createRoot(testCtx)); in buildPrograms()
186 UniquePtr<vk::BinaryRegistryWriter> writer (new vk::BinaryRegistryWriter(dstPath)); in buildPrograms()
DvktTestCase.hpp80 const de::UniquePtr<DefaultDevice> m_device;
81 const de::UniquePtr<vk::Allocator> m_allocator;
DvktTestPackage.cpp136 using de::UniquePtr;
170 const UniquePtr<vk::Library> m_library;
173 const UniquePtr<vk::DebugReportRecorder> m_debugReportRecorder;
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp82 using de::UniquePtr;
174 const UniquePtr<Display> display;
175 const UniquePtr<Window> window;
508 …const UniquePtr<Display> nativeDisplay (createDisplay(context.getTestContext().getPlatform().getV… in createSurfaceInitialSizeTest()
525 const UniquePtr<Window> nativeWindow (createWindow(*nativeDisplay, tcu::just(testSize))); in createSurfaceInitialSizeTest()
552 …const UniquePtr<Display> nativeDisplay (createDisplay(context.getTestContext().getPlatform().getV… in resizeSurfaceTest()
555 UniquePtr<Window> nativeWindow (createWindow(*nativeDisplay, tcu::nothing<UVec2>())); in resizeSurfaceTest()
/external/deqp/framework/platform/win32/
DtcuWin32VulkanPlatform.cpp46 using de::UniquePtr;
66 UniquePtr<win32::Window> m_window;
/external/deqp/framework/platform/X11/
DtcuX11EglPlatform.cpp58 using de::UniquePtr;
119 UniquePtr<x11::Display> m_display;
231 UniquePtr<x11::Pixmap> m_pixmap;
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp128 …const de::UniquePtr<Allocator> allocator(new SimpleAllocator(deviceInterface, *m_logicalDevice, de… in iterate()
245 …const de::UniquePtr<Buffer> inputBuffer(new Buffer(deviceInterface, *m_logicalDevice, *allocator, … in iterate()
282 …const de::UniquePtr<Buffer> outputBuffer(new Buffer(deviceInterface, *m_logicalDevice, *allocator,… in iterate()
DvktSparseResourcesBufferSparseResidency.cpp167 …const de::UniquePtr<Allocator> allocator(new SimpleAllocator(deviceInterface, *m_logicalDevice, de… in iterate()
277 …de::UniquePtr<Buffer> inputBuffer(new Buffer(deviceInterface, *m_logicalDevice, *allocator, input… in iterate()
293 …de::UniquePtr<Buffer> outputBuffer(new Buffer(deviceInterface, *m_logicalDevice, *allocator, outp… in iterate()
DvktSparseResourcesImageSparseBinding.cpp148 …const de::UniquePtr<Allocator> allocator(new SimpleAllocator(deviceInterface, *m_logicalDevice, de… in iterate()
291 …const de::UniquePtr<Buffer> inputBuffer(new Buffer(deviceInterface, *m_logicalDevice, *allocator, … in iterate()
351 …const de::UniquePtr<Buffer> outputBuffer(new Buffer(deviceInterface, *m_logicalDevice, *allocator,… in iterate()
DvktSparseResourcesTestsUtil.hpp76 de::UniquePtr<vk::Allocation> m_allocation;
97 de::UniquePtr<vk::Allocation> m_allocation;
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp60 using de::UniquePtr;
360 …const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(… in renderTriangleTest()
377 …const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequirement… in renderTriangleTest()
401 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleTest()
972 …const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(… in renderTriangleUnusedResolveAttachmentTest()
989 …const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequirement… in renderTriangleUnusedResolveAttachmentTest()
1013 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleUnusedResolveAttachmentTest()
/external/deqp/framework/common/
DtcuImageIO.cpp84 de::UniquePtr<Resource> resource(archive.getResource(fileName)); in loadPNG()
230 de::UniquePtr<Resource> resource(archive.getResource(fileName)); in loadPKM()
/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp36 using de::UniquePtr;
156 const UniquePtr<HostPtr> m_hostPtr;
/external/deqp/modules/egl/
DteglImageTests.cpp68 using de::UniquePtr;
268 UniquePtr<ManagedSurface> m_surface;
376 UniquePtr<ClientBuffer> clientBuffer (m_source->createBuffer(context.gl())); in iterate()
394 const UniquePtr<ImageSource> m_source;
DteglTestCase.hpp80 de::UniquePtr<eglu::NativeDisplay> m_nativeDisplay;
DteglImageUtil.hpp58 de::UniquePtr<eglu::UniqueSurface> m_surface;
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.hpp236 const de::UniquePtr<const ShaderEvaluator> m_evaluator;
237 const de::UniquePtr<const UniformSetup> m_uniformSetup;
518 typedef de::SharedPtr<de::UniquePtr<UniformInfo> > UniformInfoSp;
/external/deqp/modules/gles31/functional/
Des31fSeparateShaderTests.cpp73 using de::UniquePtr;
935 UniquePtr<ProgramPipeline> pipeline;
936 UniquePtr<ProgramWrapper> fullProg;
937 UniquePtr<ProgramWrapper> vtxProg;
938 UniquePtr<ProgramWrapper> frgProg;
1332 UniquePtr<ProgramWrapper> refProgram (createReferenceProgram(pp)); in testPipelineRendering()
1364 UniquePtr<ProgramWrapper> program (createReferenceProgram(programPp)); in testCurrentProgPriority()
1404 UniquePtr<ProgramWrapper> refProg (createReferenceProgram(refPp)); in testActiveProgramUniform()
1418 UniquePtr<ProgramWrapper> changeProg (createReferenceProgram(changePp)); in testActiveProgramUniform()

1234