/external/conscrypt/src/compat/native/ |
UniquePtr.h | 53 // UniquePtr<C> c(new C); 55 class UniquePtr { 57 // Construct a new UniquePtr, taking ownership of the given raw pointer. 58 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) { 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(const UniquePtr&) [all...] |
/libnativehelper/include/nativehelper/ |
UniquePtr.h | 53 // UniquePtr<C> c(new C); 55 class UniquePtr { 57 // Construct a new UniquePtr, taking ownership of the given raw pointer. 58 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) { 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(const UniquePtr&) [all...] |
/cts/suite/audio_quality/lib/include/task/ |
TaskProcess.h | 23 #include <UniquePtr.h> 45 typedef UniquePtr<TaskCase::Value> UniqueValue; 46 typedef UniquePtr<android::sp<Buffer> > UniqueBuffer; 51 UniquePtr<void_ptr, DefaultDelete<void_ptr[]> > & ptrs, 52 UniquePtr<UniqueValue, DefaultDelete<UniqueValue[]> > & values, 53 UniquePtr<UniqueBuffer, DefaultDelete<UniqueBuffer[]> > & buffers, 89 UniquePtr<SignalProcessingInterface> mSp;
|
/system/security/keystore-engine/ |
methods.h | 37 typedef UniquePtr<DSA, struct DSA_Delete> Unique_DSA; 44 typedef UniquePtr<EC_KEY, EC_KEY_Delete> Unique_EC_KEY; 51 typedef UniquePtr<RSA, struct RSA_Delete> Unique_RSA;
|
/cts/suite/audio_quality/lib/src/ |
SignalProcessingImpl.h | 20 #include <UniquePtr.h> 49 UniquePtr<ClientSocket> mSocket;
|
/external/deqp/framework/platform/ |
tcuMain.cpp | 49 de::UniquePtr<tcu::Platform> platform (createPlatform()); 50 de::UniquePtr<tcu::App> app (new tcu::App(*platform, archive, log, cmdLine));
|
/libcore/luni/src/main/native/ |
ZipUtilities.h | 21 #include "UniquePtr.h" 27 UniquePtr<jbyte[]> input; 37 UniquePtr<jbyte[]> mDict;
|
/cts/suite/audio_quality/test/ |
BufferTest.cpp | 20 #include <UniquePtr.h> 41 UniquePtr<Buffer> buffer(new Buffer(BUFFER_SIZE, BUFFER_SIZE, true)); 52 UniquePtr<Buffer> bufferRead(Buffer::loadFromFile(file)); 66 UniquePtr<Buffer> buffer(new Buffer(BUFFER_SIZE, BUFFER_SIZE, true)); 73 UniquePtr<Buffer> bufferl(new Buffer(BUFFER_SIZE/2, BUFFER_SIZE/2, false));
|
FileUtilTest.cpp | 20 #include <UniquePtr.h>
|
/system/keymaster/include/keymaster/ |
key_blob.h | 24 #include <UniquePtr.h> 136 UniquePtr<uint8_t[]> nonce_; 137 UniquePtr<uint8_t[]> key_material_; 138 UniquePtr<uint8_t[]> encrypted_key_material_; 139 UniquePtr<uint8_t[]> tag_;
|
/external/deqp/framework/delibs/decpp/ |
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 assignment or copy construction should not compile. Thi [all...] |
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> 204 explicit UniquePtr (T* ptr, Deleter deleter = Deleter()) [all...] |
/system/keymaster/ |
google_keymaster_messages_test.cpp | 17 #include <UniquePtr.h> 45 UniquePtr<uint8_t[]> buf(new uint8_t[size]); 74 UniquePtr<EmptyKeymasterResponse> deserialized(round_trip(msg, 5)); 81 UniquePtr<EmptyKeymasterResponse> deserialized(round_trip(msg, 4)); 91 UniquePtr<SupportedAlgorithmsResponse> deserialized(round_trip(rsp, 20)); 102 UniquePtr<SupportedResponse<keymaster_digest_t>> deserialized(round_trip(rsp, 20)); 118 UniquePtr<GenerateKeyRequest> deserialized(round_trip(req, 78)); 129 UniquePtr<GenerateKeyResponse> deserialized(round_trip(rsp, 109)); 142 UniquePtr<GenerateKeyResponse> deserialized(round_trip(rsp, 4)); 154 UniquePtr<GetKeyCharacteristicsRequest> deserialized(round_trip(req, 85)) [all...] |
openssl_utils.h | 37 inline void release_because_ownership_transferred(UniquePtr<T, Delete_T>& p) {
|
google_keymaster.cpp | 25 #include <UniquePtr.h> 52 typedef UniquePtr<ae_ctx, AE_CTX_Delete> Unique_ae_ctx; 166 UniquePtr<Key> key(Key::GenerateKey(request.key_description, logger(), &response->error)); 180 UniquePtr<KeyBlob> blob( 196 UniquePtr<Key> key(LoadKey(request.key_blob, request.additional_params, &response->error)); 200 UniquePtr<Operation> operation(key->CreateOperation(request.purpose, &response->error)); 272 UniquePtr<Key> to_export( 277 UniquePtr<uint8_t[]> out_key; 290 UniquePtr<Key> key(Key::ImportKey(request.key_description, request.key_format, request.key_data, 314 UniquePtr<uint8_t[]> key_material [all...] |
key.h | 44 virtual keymaster_error_t key_material(UniquePtr<uint8_t[]>*, size_t* size) const = 0; 50 UniquePtr<uint8_t[]>* material,
|
key_blob_test.cpp | 77 UniquePtr<KeyBlob> blob_; 85 UniquePtr<uint8_t[]> serialized_blob(new uint8_t[size]); 102 UniquePtr<uint8_t[]> serialized_blob(new uint8_t[size]); 116 UniquePtr<uint8_t[]> serialized_blob(new uint8_t[size]); 136 UniquePtr<uint8_t[]> serialized_blob(new uint8_t[size]); 156 UniquePtr<uint8_t[]> serialized_blob(new uint8_t[size]); 179 UniquePtr<uint8_t[]> serialized_blob(new uint8_t[size]); 196 UniquePtr<uint8_t[]> serialized_blob(new uint8_t[size]); 203 UniquePtr<uint8_t[]> enforced_data(new uint8_t[enforced_size]); 221 UniquePtr<uint8_t[]> serialized_blob(new uint8_t[size]) [all...] |
asymmetric_key.h | 38 virtual keymaster_error_t key_material(UniquePtr<uint8_t[]>* material, size_t* size) const; 44 UniquePtr<uint8_t[]>* material, 83 UniquePtr<RSA, RSA_Delete> rsa_key_; 111 UniquePtr<DSA, DSA_Delete> dsa_key_; 144 UniquePtr<EC_KEY, ECDSA_Delete> ecdsa_key_;
|
asymmetric_key.cpp | 39 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> evp_key(EVP_PKEY_new()); 55 keymaster_error_t AsymmetricKey::key_material(UniquePtr<uint8_t[]>* material, size_t* size) const { 59 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); 78 UniquePtr<uint8_t[]>* material, 86 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); 140 UniquePtr<BIGNUM, BIGNUM_Delete> exponent(BN_new()); 141 UniquePtr<RSA, RSA_Delete> rsa_key(RSA_new()); 142 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); 166 UniquePtr<RSA, RSA_Delete> rsa_key(EVP_PKEY_get1_RSA(pkey)); 175 UniquePtr<BIGNUM, BIGNUM_Delete> public_exponent_bn(BN_new()) [all...] |
/frameworks/minikin/include/minikin/ |
SparseBitSet.h | 22 #include <UniquePtr.h> 82 UniquePtr<uint32_t[]> mIndices; 83 UniquePtr<element[]> mBitmaps;
|
/cts/suite/audio_quality/lib/src/task/ |
TaskProcess.cpp | 55 UniquePtr<void_ptr, DefaultDelete<void_ptr[]> > & ptrs, 56 UniquePtr<UniqueValue, DefaultDelete<UniqueValue[]> > & values, 57 UniquePtr<UniqueBuffer, DefaultDelete<UniqueBuffer[]> > & buffers, 95 UniquePtr<android::sp<Buffer> > buffer(new android::sp<Buffer>()); 169 UniquePtr<void_ptr, DefaultDelete<void_ptr[]> > inputs; 171 UniquePtr<UniqueValue, DefaultDelete<UniqueValue[]> > inputValues; 173 UniquePtr<UniqueBuffer, DefaultDelete<UniqueBuffer[]> > inputBuffers; 175 UniquePtr<void_ptr, DefaultDelete<void_ptr[]> > outputs; 177 UniquePtr<UniqueValue, DefaultDelete<UniqueValue[]> > outputValues; 179 UniquePtr<UniqueBuffer, DefaultDelete<UniqueBuffer[]> > outputBuffers [all...] |
TaskSave.cpp | 21 #include <UniquePtr.h> 54 UniquePtr<std::vector<android::String8> > list(StringUtil::split(fileValue, ',')); 78 UniquePtr<std::list<TaskCase::BufferPair> > buffers( 107 UniquePtr<std::vector<android::String8> > list(StringUtil::split(reportValue, ',')); 116 UniquePtr<std::list<TaskCase::ValuePair> > values(
|
/external/deqp/modules/gles3/functional/ |
es3fASTCDecompressionCases.hpp | 93 de::UniquePtr<ASTCDecompressionCaseInternal::ASTCRenderer2D> m_renderer; 126 de::UniquePtr<ASTCDecompressionCaseInternal::ASTCRenderer2D> m_renderer;
|
/system/core/libutils/ |
CallStack.cpp | 23 #include <UniquePtr.h> 43 UniquePtr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, tid));
|
/system/security/softkeymaster/ |
module.cpp | 29 #include <UniquePtr.h> 37 typedef UniquePtr<keymaster_device_t> Unique_keymaster_device_t;
|