Searched refs:UniquePtr (Results 1 - 25 of 42) sorted by relevance

12

/external/conscrypt/src/compat/native/
H A DUniquePtr.h53 // UniquePtr<C> c(new C);
55 class UniquePtr { class
57 // Construct a new UniquePtr, taking ownership of the given raw pointer.
58 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) { function in class:UniquePtr
61 ~UniquePtr() {
71 // The pointer will not be deleted by 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(cons
109 class UniquePtr<T[], D> { class
111 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) { function in class:UniquePtr
[all...]
/external/deqp/framework/platform/
H A DtcuMain.cpp49 de::UniquePtr<tcu::Platform> platform (createPlatform());
50 de::UniquePtr<tcu::App> app (new tcu::App(*platform, archive, log, cmdLine));
/external/deqp/framework/delibs/decpp/
H A DdeUniquePtr.cpp68 UniquePtr<Object> objectPtr(new Object(exists));
80 UniquePtr<Object> ptr(new Object(exists));
92 UniquePtr<Object> ptr(new Object(exists));
107 bool test = (UniquePtr<Object>(new Object(exists))).get() != DE_NULL && exists;
117 UniquePtr<Object, CustomDeleter> ptr(new Object(exists), CustomDeleter(&deleterCalled));
139 // UniquePtr -> MovePtr moving
142 UniquePtr<Object> ptr(new Object(exists));
152 // MovePtr -> UniquePtr moving
156 UniquePtr<Object> ptr(createObject(exists));
205 // UniquePtr assignmen
[all...]
H A DdeUniquePtr.hpp185 * UniquePtr is smart pointer that retains sole ownership of a pointer
186 * and destroys it when UniquePtr is destroyed (for example when UniquePtr
189 * UniquePtr is not copyable or assignable. Pointer ownership can be transferred
190 * from a UniquePtr only explicitly with the move() member function.
192 * A UniquePtr can be constructed from a MovePtr. In this case it assumes
193 * ownership of the pointer from the MovePtr. Because a UniquePtr cannot be
197 * UniquePtr<Foo> fooPtr(createFoo()); // NOT fooPtr = createFoo();
201 class UniquePtr : public UniqueBase<T, Deleter> class in namespace:de::details
204 explicit UniquePtr (
220 inline UniquePtr<T, Deleter>::UniquePtr (T* ptr, Deleter deleter) function in class:de::details::UniquePtr
226 inline UniquePtr<T, Deleter>::UniquePtr (PtrData<T, Deleter> data) function in class:de::details::UniquePtr
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fASTCDecompressionCases.hpp93 de::UniquePtr<ASTCDecompressionCaseInternal::ASTCRenderer2D> m_renderer;
126 de::UniquePtr<ASTCDecompressionCaseInternal::ASTCRenderer2D> m_renderer;
/external/deqp/modules/egl/
H A DteglImageUtil.hpp58 de::UniquePtr<eglu::UniqueSurface> m_surface;
H A DteglTestCase.hpp80 de::UniquePtr<eglu::NativeDisplay> m_nativeDisplay;
H A DteglImageTests.cpp68 using de::UniquePtr;
263 UniquePtr<ManagedSurface> m_surface;
357 UniquePtr<ClientBuffer> clientBuffer (m_source->createBuffer(context.gl()));
375 UniquePtr<ImageSource> m_source;
H A DteglCreateSurfaceTests.cpp142 de::UniquePtr<eglu::NativeWindow> window (windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(width, height, eglu::parseWindowVisibility(m_testCtx.getCommandLine()))));
200 de::UniquePtr<eglu::NativePixmap> pixmap (pixmapFactory.createPixmap(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, width, height));
H A DteglQuerySurfaceTests.cpp317 de::UniquePtr<eglu::NativeWindow> window (windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(width, height, eglu::parseWindowVisibility(m_testCtx.getCommandLine()))));
348 de::UniquePtr<eglu::NativePixmap> pixmap (pixmapFactory.createPixmap(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, width, height));
590 de::UniquePtr<eglu::NativeWindow> window (windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(width, height, eglu::parseWindowVisibility(m_testCtx.getCommandLine()))));
619 de::UniquePtr<eglu::NativePixmap> pixmap (pixmapFactory.createPixmap(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, width, height));
H A DteglImageUtil.cpp52 using de::UniquePtr;
91 UniquePtr<T> m_native;
H A DteglNativeColorMappingTests.cpp534 de::UniquePtr<eglu::NativeWindow> nativeWindow (windowFactory->createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(width, height, eglu::WindowParams::VISIBILITY_VISIBLE)));
543 de::UniquePtr<eglu::NativePixmap> nativePixmap (pixmapFactory->createPixmap(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, width, height));
552 de::UniquePtr<eglu::NativePixmap> nativePixmap (pixmapFactory->createPixmap(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, width, height));
H A DteglNativeCoordMappingTests.cpp567 de::UniquePtr<eglu::NativeWindow> nativeWindow (windowFactory->createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(width, height, eglu::WindowParams::VISIBILITY_VISIBLE)));
577 de::UniquePtr<eglu::NativePixmap> nativePixmap (pixmapFactory->createPixmap(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, width, height));
587 de::UniquePtr<eglu::NativePixmap> nativePixmap (pixmapFactory->createPixmap(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, width, height));
H A DteglRenderCase.cpp137 de::UniquePtr<eglu::NativeWindow> window (windowFactory.createWindow(&nativeDisplay, display, config, DE_NULL, params));
H A DteglSwapBuffersTests.cpp292 de::UniquePtr<eglu::NativeWindow> window (factory.createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(128, 128, eglu::WindowParams::VISIBILITY_VISIBLE)));
H A DteglCreateContextExtTests.cpp925 de::UniquePtr<eglu::NativeWindow> window (factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_display, config, DE_NULL, eglu::WindowParams(256, 256, eglu::parseWindowVisibility(m_testCtx.getCommandLine()))));
934 de::UniquePtr<eglu::NativePixmap> pixmap (factory.createPixmap(&m_eglTestCtx.getNativeDisplay(), m_display, config, DE_NULL, 256, 256));
/external/deqp/framework/platform/X11/
H A DtcuX11EglPlatform.cpp58 using de::UniquePtr;
118 UniquePtr<x11::Display> m_display;
230 UniquePtr<x11::Pixmap> m_pixmap;
H A DtcuX11GlxPlatform.cpp45 using de::UniquePtr;
181 UniquePtr<GlxDrawable> m_glxDrawable;
/external/deqp/framework/common/
H A DtcuImageIO.cpp84 de::UniquePtr<Resource> resource(archive.getResource(fileName));
230 de::UniquePtr<Resource> resource(archive.getResource(fileName));
H A DtcuFloatFormat.cpp304 using de::UniquePtr;
318 UniquePtr<FloatFormat> m_fmt;
/external/scrypt/tests/
H A Dscrypt_test.cpp18 #include <UniquePtr.h>
/external/deqp/modules/gles31/functional/
H A 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));
1364 UniquePtr<ProgramWrapper> program (createReferenceProgram(programPp));
1404 UniquePtr<ProgramWrapper> refProg (createReferenceProgram(refPp));
1418 UniquePtr<ProgramWrapper> changeProg (createReferenceProgram(changePp));
H A Des31fShaderBuiltinConstantTests.cpp203 const de::UniquePtr<ShaderExecutor> shaderExecutor (createGetConstantExecutor(m_context.getRenderContext(), shaderType, glu::dataTypeOf<DataType>(), m_varName, m_requiredExt));
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp88 #include "UniquePtr.h"
155 typedef UniquePtr<unsigned char, OPENSSL_Delete> Unique_OPENSSL_str;
162 typedef UniquePtr<BIO, BIO_Delete> Unique_BIO;
169 typedef UniquePtr<BIGNUM, BIGNUM_Delete> Unique_BIGNUM;
176 typedef UniquePtr<BN_CTX, BN_CTX_Delete> Unique_BN_CTX;
183 typedef UniquePtr<ASN1_INTEGER, ASN1_INTEGER_Delete> Unique_ASN1_INTEGER;
190 typedef UniquePtr<DH, DH_Delete> Unique_DH;
197 typedef UniquePtr<DSA, DSA_Delete> Unique_DSA;
204 typedef UniquePtr<EC_GROUP, EC_GROUP_Delete> Unique_EC_GROUP;
211 typedef UniquePtr<EC_POIN
[all...]
/external/deqp/modules/glshared/
H A DglsFboUtil.cpp51 using de::UniquePtr;
203 const de::UniquePtr<ContextInfo> info(ContextInfo::create(ctx));
233 const UniquePtr<ContextInfo> ctxInfo(ctx != DE_NULL ? ContextInfo::create(*ctx) : DE_NULL);
576 const UniquePtr<Checker> cctx(m_factory.createChecker(m_renderCtx));

Completed in 554 milliseconds

12