/external/conscrypt/src/compat/native/ |
H A D | UniquePtr.h | 53 // 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 D | tcuMain.cpp | 49 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 D | deUniquePtr.cpp | 68 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 D | deUniquePtr.hpp | 185 * 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 D | es3fASTCDecompressionCases.hpp | 93 de::UniquePtr<ASTCDecompressionCaseInternal::ASTCRenderer2D> m_renderer; 126 de::UniquePtr<ASTCDecompressionCaseInternal::ASTCRenderer2D> m_renderer;
|
/external/deqp/modules/egl/ |
H A D | teglImageUtil.hpp | 58 de::UniquePtr<eglu::UniqueSurface> m_surface;
|
H A D | teglTestCase.hpp | 80 de::UniquePtr<eglu::NativeDisplay> m_nativeDisplay;
|
H A D | teglImageTests.cpp | 68 using de::UniquePtr; 263 UniquePtr<ManagedSurface> m_surface; 357 UniquePtr<ClientBuffer> clientBuffer (m_source->createBuffer(context.gl())); 375 UniquePtr<ImageSource> m_source;
|
H A D | teglCreateSurfaceTests.cpp | 142 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 D | teglQuerySurfaceTests.cpp | 317 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 D | teglImageUtil.cpp | 52 using de::UniquePtr; 91 UniquePtr<T> m_native;
|
H A D | teglNativeColorMappingTests.cpp | 534 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 D | teglNativeCoordMappingTests.cpp | 567 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 D | teglRenderCase.cpp | 137 de::UniquePtr<eglu::NativeWindow> window (windowFactory.createWindow(&nativeDisplay, display, config, DE_NULL, params));
|
H A D | teglSwapBuffersTests.cpp | 292 de::UniquePtr<eglu::NativeWindow> window (factory.createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(128, 128, eglu::WindowParams::VISIBILITY_VISIBLE)));
|
H A D | teglCreateContextExtTests.cpp | 925 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 D | tcuX11EglPlatform.cpp | 58 using de::UniquePtr; 118 UniquePtr<x11::Display> m_display; 230 UniquePtr<x11::Pixmap> m_pixmap;
|
H A D | tcuX11GlxPlatform.cpp | 45 using de::UniquePtr; 181 UniquePtr<GlxDrawable> m_glxDrawable;
|
/external/deqp/framework/common/ |
H A D | tcuImageIO.cpp | 84 de::UniquePtr<Resource> resource(archive.getResource(fileName)); 230 de::UniquePtr<Resource> resource(archive.getResource(fileName));
|
H A D | tcuFloatFormat.cpp | 304 using de::UniquePtr; 318 UniquePtr<FloatFormat> m_fmt;
|
/external/scrypt/tests/ |
H A D | scrypt_test.cpp | 18 #include <UniquePtr.h>
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fSeparateShaderTests.cpp | 73 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 D | es31fShaderBuiltinConstantTests.cpp | 203 const de::UniquePtr<ShaderExecutor> shaderExecutor (createGetConstantExecutor(m_context.getRenderContext(), shaderType, glu::dataTypeOf<DataType>(), m_varName, m_requiredExt));
|
/external/conscrypt/src/main/native/ |
H A D | org_conscrypt_NativeCrypto.cpp | 88 #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 D | glsFboUtil.cpp | 51 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));
|