/external/llvm/unittests/ADT/ |
MakeUniqueTest.cpp | 1 //===- llvm/unittest/ADT/MakeUniqueTest.cpp - make_unique unit tests ------===// 18 auto p0 = make_unique<int>(); 22 auto p1 = make_unique<int>(5); 26 auto p2 = make_unique<std::tuple<int, int>>(0, 1); 30 auto p3 = make_unique<std::tuple<int, int, int>>(0, 1, 2); 34 auto p4 = make_unique<std::tuple<int, int, int, int>>(0, 1, 2, 3); 38 auto p5 = make_unique<std::tuple<int, int, int, int, int>>(0, 1, 2, 3, 4); 43 make_unique<std::tuple<int, int, int, int, int, int>>(0, 1, 2, 3, 4, 5); 47 auto p7 = make_unique<std::tuple<int, int, int, int, int, int, int>>( 52 auto p8 = make_unique<std::tuple<int, int, int, int, int, int, int, int>> [all...] |
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.create/ |
make_unique.single.pass.cpp | 18 std::unique_ptr<int> p1 = std::make_unique<int>(1); 20 p1 = std::make_unique<int> (); 25 std::unique_ptr<std::string> p2 = std::make_unique<std::string> ( "Meow!" ); 27 p2 = std::make_unique<std::string> (); 29 p2 = std::make_unique<std::string> ( 6, 'z' );
|
make_unique.array.pass.cpp | 28 auto p1 = std::make_unique<int[]>(5); 34 auto p2 = std::make_unique<std::string[]>(5); 40 auto p3 = std::make_unique<foo[]>(7);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.create/ |
make_unique.single.pass.cpp | 18 std::unique_ptr<int> p1 = std::make_unique<int>(1); 20 p1 = std::make_unique<int> (); 25 std::unique_ptr<std::string> p2 = std::make_unique<std::string> ( "Meow!" ); 27 p2 = std::make_unique<std::string> (); 29 p2 = std::make_unique<std::string> ( 6, 'z' );
|
make_unique.array.pass.cpp | 28 auto p1 = std::make_unique<int[]>(5); 34 auto p2 = std::make_unique<std::string[]>(5); 40 auto p3 = std::make_unique<foo[]>(7);
|
/hardware/libhardware/tests/input/evdev/ |
InputDevice_test.cpp | 71 auto device = std::make_unique<EvdevDevice>(&mHost, node); 100 auto device = std::make_unique<EvdevDevice>(&mHost, node); 116 auto device = std::make_unique<EvdevDevice>(&mHost, node); 133 auto device = std::make_unique<EvdevDevice>(&mHost, node); 140 auto device = std::make_unique<EvdevDevice>(&mHost, node); 154 auto device = std::make_unique<EvdevDevice>(&mHost, node); 160 auto device = std::make_unique<EvdevDevice>(&mHost, node); 166 auto device = std::make_unique<EvdevDevice>(&mHost, node); 172 auto device = std::make_unique<EvdevDevice>(&mHost, node); 178 auto device = std::make_unique<EvdevDevice>(&mHost, node) [all...] |
/frameworks/base/tools/aapt2/link/ |
AutoVersioner_test.cpp | 32 entry.values.push_back(util::make_unique<ResourceConfigValue>(defaultConfig, "")); 33 entry.values.push_back(util::make_unique<ResourceConfigValue>(landConfig, "")); 34 entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dpLandConfig, "")); 46 entry.values.push_back(util::make_unique<ResourceConfigValue>(defaultConfig, "")); 47 entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dpV13Config, "")); 48 entry.values.push_back(util::make_unique<ResourceConfigValue>(v21Config, "")); 60 util::make_unique<Id>()) 62 util::make_unique<Id>()) 64 ResourceId(0x01010364), util::make_unique<Id>()) 66 util::make_unique<Id>() [all...] |
/frameworks/base/tools/aapt2/test/ |
Builders.h | 34 std::unique_ptr<ResourceTable> mTable = util::make_unique<ResourceTable>(); 50 return addValue(name, id, util::make_unique<Id>()); 59 return addValue(name, id, util::make_unique<Reference>(parseNameOrDie(ref))); 68 return addValue(name, id, util::make_unique<String>(mTable->stringPool.makeRef(str))); 74 util::make_unique<String>(mTable->stringPool.makeRef(str))); 84 util::make_unique<FileReference>(mTable->stringPool.makeRef(path))); 90 util::make_unique<FileReference>(mTable->stringPool.makeRef(path))); 130 std::unique_ptr<Reference> reference = util::make_unique<Reference>(parseNameOrDie(ref)); 140 return util::make_unique<BinaryPrimitive>(value); 174 AttributeBuilder(bool weak = false) : mAttr(util::make_unique<Attribute>(weak)) [all...] |
/frameworks/base/tools/aapt2/io/ |
FileSystem.cpp | 36 return util::make_unique<MmappedData>(std::move(map.value())); 38 return util::make_unique<EmptyData>(); 62 return (mFiles[path.toString()] = util::make_unique<RegularFile>(Source(path))).get(); 74 return util::make_unique<FileCollectionIterator>(this);
|
ZipArchive.cpp | 41 return util::make_unique<MmappedData>(std::move(fileMap)); 51 return util::make_unique<MallocData>(std::move(data), mZipEntry.uncompressed_length); 111 collection->mFiles[zipEntryPath] = util::make_unique<ZipFile>(collection->mHandle, 132 return util::make_unique<ZipFileCollectionIterator>(this);
|
/external/llvm/lib/DebugInfo/PDB/DIA/ |
DIASession.cpp | 127 auto RawSymbol = llvm::make_unique<DIARawSymbol>(*this, GlobalScope); 139 auto RawSymbol = llvm::make_unique<DIARawSymbol>(*this, LocatedSymbol); 156 auto RawSymbol = llvm::make_unique<DIARawSymbol>(*this, Symbol); 166 return llvm::make_unique<DIAEnumLineNumbers>(LineNumbers); 174 return llvm::make_unique<DIAEnumSourceFiles>(*this, Files); 187 return llvm::make_unique<DIAEnumSourceFiles>(*this, Files); 196 return llvm::make_unique<DIASourceFile>(*this, LocatedFile); 204 return llvm::make_unique<DIAEnumDebugStreams>(DiaEnumerator);
|
/external/llvm/lib/ExecutionEngine/Orc/ |
OrcCBindingsStack.cpp | 27 return llvm::make_unique<CCMgrT>(0); 39 return llvm::make_unique<
|
/external/llvm/unittests/Support/ |
StreamingMemoryObject.cpp | 27 auto DS = make_unique<NullDataStreamer>(); 33 auto DS = make_unique<NullDataStreamer>();
|
IteratorTest.cpp | 62 V.push_back(make_unique<int>(1)); 63 V.push_back(make_unique<int>(2)); 64 V.push_back(make_unique<int>(3)); 65 V.push_back(make_unique<int>(4));
|
/external/clang/lib/Frontend/ |
PCHContainerOperations.cpp | 54 return llvm::make_unique<RawPCHContainerGenerator>(OS, Buffer); 64 registerWriter(llvm::make_unique<RawPCHContainerWriter>()); 65 registerReader(llvm::make_unique<RawPCHContainerReader>());
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldCOFF.cpp | 52 return make_unique<RuntimeDyldCOFFI386>(MemMgr, Resolver); 54 return make_unique<RuntimeDyldCOFFX86_64>(MemMgr, Resolver); 60 return llvm::make_unique<LoadedCOFFObjectInfo>(*this, loadObjectImpl(O));
|
/external/libbrillo/brillo/ |
make_unique_ptr.h | 16 // Deliberately not named "make_unique" to avoid conflicting with the similar,
|
/frameworks/base/tools/aapt2/java/ |
ManifestClassGenerator.cpp | 75 std::unique_ptr<StringMember> stringMember = util::make_unique<StringMember>( 96 util::make_unique<ClassDefinition>("permission", ClassQualifier::Static, false); 98 util::make_unique<ClassDefinition>("permission_group", ClassQualifier::Static, false); 118 util::make_unique<ClassDefinition>("Manifest", ClassQualifier::None, false);
|
JavaClassGenerator_test.cpp | 33 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 55 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 83 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 105 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 129 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 176 Source{ "lib.xml", 33 }, util::make_unique<Id>())); 215 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 237 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 270 .addValue(u"@android:attr/one", util::make_unique<Attribute>(attr)) 276 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get()) [all...] |
/external/clang/unittests/Basic/ |
FileManagerTest.cpp | 101 manager.addStatCache(llvm::make_unique<FakeStatCache>()); 111 manager.addStatCache(llvm::make_unique<FakeStatCache>()); 128 auto statCache = llvm::make_unique<FakeStatCache>(); 162 manager.addStatCache(llvm::make_unique<FakeStatCache>()); 179 auto statCache = llvm::make_unique<FakeStatCache>(); 196 auto statCache = llvm::make_unique<FakeStatCache>(); 215 auto statCache = llvm::make_unique<FakeStatCache>(); 228 auto statCache = llvm::make_unique<FakeStatCache>(); 241 manager.addStatCache(llvm::make_unique<FakeStatCache>()); 242 auto statCacheOwner = llvm::make_unique<FakeStatCache>() [all...] |
/external/parameter-framework/upstream/utility/ |
Memory.hpp | 36 /** Implementation of C++14's std::make_unique. 41 std::unique_ptr<T> make_unique(Args &&... args) function in namespace:utility
|
/frameworks/base/tools/aapt2/proto/ |
TableProtoDeserializer.cpp | 164 std::unique_ptr<Reference> ref = util::make_unique<Reference>(); 175 return util::make_unique<BinaryPrimitive>(prim); 178 return util::make_unique<Id>(); 195 return util::make_unique<StyledString>( 198 return util::make_unique<String>( 204 return util::make_unique<RawString>( 210 return util::make_unique<FileReference>( 235 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(isWeak); 252 std::unique_ptr<Style> style = util::make_unique<Style>(); 286 std::unique_ptr<Styleable> styleable = util::make_unique<Styleable>() [all...] |
/frameworks/base/tools/aapt2/flatten/ |
Archive.cpp | 105 mWriter = util::make_unique<ZipWriter>(mFile.get()); 168 std::unique_ptr<DirectoryWriter> writer = util::make_unique<DirectoryWriter>(); 177 std::unique_ptr<ZipFileWriter> writer = util::make_unique<ZipFileWriter>();
|
/external/llvm/unittests/ExecutionEngine/Orc/ |
ObjectTransformLayerTest.cpp | 36 return llvm::make_unique<MockObjectFile>(*Obj + 1); 214 Objs1.push_back(llvm::make_unique<MockObjectFile>(MockObject1)); 215 Objs1.push_back(llvm::make_unique<MockObjectFile>(MockObject2)); 216 auto MM = llvm::make_unique<MockMemoryManager>(MockManager); 217 auto SR = llvm::make_unique<MockSymbolResolver>(MockResolver); 270 auto OwnedObj = llvm::make_unique<MockObjectFile>(288);
|
/hardware/libhardware/modules/input/evdev/ |
InputDevice.cpp | 142 mMappers.push_back(std::make_unique<MouseInputMapper>()); 158 //mMappers.push_back(std::make_unique<MultiTouchInputMapper>()); 165 //mMappers.push_back(std::make_unique<SingleTouchInputMapper>()); 170 //mMappers.push_back(std::make_unique<ExternalStylusInputMapper>()); 186 //mMappers.push_back(std::make_unique<KeyboardInputMapper>()); 200 //mMappers.push_back(std::make_unique<JoystickInputMapper>()); 210 mMappers.push_back(std::make_unique<SwitchInputMapper>()); 219 //mMappers.push_back(std::make_unique<VibratorInputMapper>());
|