/external/libcxx/test/std/utilities/smartptr/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/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/smartptr/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);
|
/system/update_engine/ |
metrics_reporter_stub.cc | 26 return std::make_unique<MetricsReporterStub>();
|
/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...] |
/frameworks/base/tools/aapt2/filter/ |
Filter_test.cpp | 32 chain.AddFilter(util::make_unique<PrefixFilter>("keep/")); 38 chain.AddFilter(util::make_unique<PrefixFilter>("keep/")); 39 chain.AddFilter(util::make_unique<PrefixFilter>("keep/really/"));
|
/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
|
/hardware/google/easel/amber/camera/libhdrplusclient/ |
EaselManagerClient.cpp | 33 return std::make_unique<EaselManagerClientImpl>();
|
/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());
|
/system/connectivity/wifilogd/tests/ |
mock_command_processor.cpp | 34 std::make_unique<::testing::StrictMock<MockOs>>()) {}
|
/frameworks/base/tools/aapt2/ |
DominatorTree_test.cpp | 75 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); 76 configs.push_back(util::make_unique<ResourceConfigValue>(land_config, "")); 77 configs.push_back(util::make_unique<ResourceConfigValue>(sw600dp_land_config, "")); 95 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); 96 configs.push_back(util::make_unique<ResourceConfigValue>(land_config, "")); 97 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "phablet")); 98 configs.push_back(util::make_unique<ResourceConfigValue>(sw600dp_land_config, "phablet")); 124 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); 125 configs.push_back(util::make_unique<ResourceConfigValue>(en_config, "")); 126 configs.push_back(util::make_unique<ResourceConfigValue>(en_v21_config, "")) [all...] |
/frameworks/base/tools/aapt2/io/ |
FileSystem.cpp | 39 return util::make_unique<MmappedData>(std::move(map.value())); 41 return util::make_unique<EmptyData>(); 47 return util::make_unique<FileInputStream>(source_.path); 68 return (files_[path.to_string()] = util::make_unique<RegularFile>(Source(path))).get(); 80 return util::make_unique<FileCollectionIterator>(this);
|
/external/skia/src/gpu/ccpr/ |
GrCCCoverageProcessor.cpp | 89 shader = skstd::make_unique<GrCCTriangleShader>(); 92 shader = skstd::make_unique<GrCCTriangleCornerShader>(); 95 shader = skstd::make_unique<GrCCQuadraticHullShader>(); 98 shader = skstd::make_unique<GrCCQuadraticCornerShader>(); 101 shader = skstd::make_unique<GrCCCubicHullShader>(); 104 shader = skstd::make_unique<GrCCCubicCornerShader>();
|
/external/skqp/src/gpu/ccpr/ |
GrCCCoverageProcessor.cpp | 86 shader = skstd::make_unique<GrCCTriangleShader>(); 89 shader = skstd::make_unique<GrCCTriangleCornerShader>(); 92 shader = skstd::make_unique<GrCCQuadraticHullShader>(); 95 shader = skstd::make_unique<GrCCQuadraticCornerShader>(); 98 shader = skstd::make_unique<GrCCCubicHullShader>(); 101 shader = skstd::make_unique<GrCCCubicCornerShader>();
|
/frameworks/base/tools/aapt2/link/ |
AutoVersioner_test.cpp | 31 entry.values.push_back(util::make_unique<ResourceConfigValue>(ConfigDescription::DefaultConfig(), "")); 32 entry.values.push_back(util::make_unique<ResourceConfigValue>(land_config, "")); 33 entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dp_land_config, "")); 44 entry.values.push_back(util::make_unique<ResourceConfigValue>(ConfigDescription::DefaultConfig(), "")); 45 entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dp_v13_config, "")); 46 entry.values.push_back(util::make_unique<ResourceConfigValue>(v21_config, "")); 61 util::make_unique<Id>()) 63 util::make_unique<Id>()) 65 ResourceId(0x01010364), util::make_unique<Id>()) 67 util::make_unique<Id>() [all...] |