/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.create/ |
make_unique.array2.fail.cpp | 16 auto up2 = std::make_unique<int[]>(10, 20, 30, 40);
|
make_unique.array3.fail.cpp | 16 auto up3 = std::make_unique<int[5]>(); // this is deleted
|
make_unique.array4.fail.cpp | 16 auto up4 = std::make_unique<int[5]>(11, 22, 33, 44, 55); // deleted
|
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.array1.fail.cpp | 16 auto up1 = std::make_unique<std::string[]>("error"); // doesn't compile - no bound
|
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);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.create/ |
make_unique.array2.fail.cpp | 16 auto up2 = std::make_unique<int[]>(10, 20, 30, 40);
|
make_unique.array3.fail.cpp | 16 auto up3 = std::make_unique<int[5]>(); // this is deleted
|
make_unique.array4.fail.cpp | 16 auto up4 = std::make_unique<int[5]>(11, 22, 33, 44, 55); // deleted
|
make_unique.array1.fail.cpp | 16 auto up1 = std::make_unique<std::string[]>("error"); // doesn't compile - no bound
|
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);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/unique.ptr/unique.ptr.create/ |
make_unique.array2.fail.cpp | 16 auto up2 = std::make_unique<int[]>(10, 20, 30, 40);
|
make_unique.array3.fail.cpp | 16 auto up3 = std::make_unique<int[5]>(); // this is deleted
|
make_unique.array4.fail.cpp | 16 auto up4 = std::make_unique<int[5]>(11, 22, 33, 44, 55); // deleted
|
make_unique.array1.fail.cpp | 16 auto up1 = std::make_unique<std::string[]>("error"); // doesn't compile - no bound
|
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);
|
/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/clang/lib/FrontendTool/ |
ExecuteCompilerInvocation.cpp | 41 case ASTDeclList: return llvm::make_unique<ASTDeclListAction>(); 42 case ASTDump: return llvm::make_unique<ASTDumpAction>(); 43 case ASTPrint: return llvm::make_unique<ASTPrintAction>(); 44 case ASTView: return llvm::make_unique<ASTViewAction>(); 45 case DumpRawTokens: return llvm::make_unique<DumpRawTokensAction>(); 46 case DumpTokens: return llvm::make_unique<DumpTokensAction>(); 47 case EmitAssembly: return llvm::make_unique<EmitAssemblyAction>(); 48 case EmitBC: return llvm::make_unique<EmitBCAction>(); 49 case EmitHTML: return llvm::make_unique<HTMLPrintAction>(); 50 case EmitLLVM: return llvm::make_unique<EmitLLVMAction>() [all...] |
/hardware/interfaces/automotive/vehicle/2.0/default/ |
VehicleService.cpp | 31 auto store = std::make_unique<VehiclePropertyStore>(); 32 auto hal = std::make_unique<impl::EmulatedVehicleHal>(store.get()); 33 auto emulator = std::make_unique<impl::VehicleEmulator>(hal.get()); 34 auto service = std::make_unique<VehicleHalManager>(hal.get());
|
/frameworks/base/tools/aapt2/ |
DominatorTree_test.cpp | 76 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); 77 configs.push_back(util::make_unique<ResourceConfigValue>(land_config, "")); 79 util::make_unique<ResourceConfigValue>(sw600dp_land_config, "")); 98 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); 99 configs.push_back(util::make_unique<ResourceConfigValue>(land_config, "")); 101 util::make_unique<ResourceConfigValue>(default_config, "phablet")); 103 util::make_unique<ResourceConfigValue>(sw600dp_land_config, "phablet")); 134 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); 135 configs.push_back(util::make_unique<ResourceConfigValue>(en_config, "")); 136 configs.push_back(util::make_unique<ResourceConfigValue>(en_v21_config, "")) [all...] |
ResourceValues_test.cpp | 27 a.values[Plural::One] = util::make_unique<String>(pool.MakeRef("one")); 28 a.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("other")); 31 b.values[Plural::One] = util::make_unique<String>(pool.MakeRef("une")); 32 b.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("autre")); 35 c.values[Plural::One] = util::make_unique<String>(pool.MakeRef("one")); 36 c.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("other")); 46 a.values[Plural::One] = util::make_unique<String>(pool.MakeRef("one")); 47 a.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("other")); 57 a.items.push_back(util::make_unique<String>(pool.MakeRef("one"))); 58 a.items.push_back(util::make_unique<String>(pool.MakeRef("two"))) [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
|
/system/connectivity/wifilogd/tests/ |
mock_command_processor.cpp | 34 std::make_unique<::testing::StrictMock<MockOs>>()) {}
|