/external/llvm-project/lldb/source/Interpreter/ |
D | Property.cpp | 35 std::make_shared<OptionValueArch>(definition.default_cstr_value); in Property() 40 m_value_sp = std::make_shared<OptionValueArgs>(); in Property() 46 std::make_shared<OptionValueArray>(OptionValue::ConvertTypeToMask( in Property() 57 std::make_shared<OptionValueBoolean>(OptionArgParser::ToBoolean( in Property() 60 m_value_sp = std::make_shared<OptionValueBoolean>( in Property() 66 m_value_sp = std::make_shared<OptionValueChar>( in Property() 73 std::make_shared<OptionValueDictionary>(OptionValue::ConvertTypeToMask( in Property() 105 m_value_sp = std::make_shared<OptionValueFileColonLine>(); in Property() 115 m_value_sp = std::make_shared<OptionValueFileSpec>(file_spec, resolve); in Property() 122 m_value_sp = std::make_shared<OptionValueFileSpecList>(); in Property() [all …]
|
D | OptionValue.cpp | 511 value_sp = std::make_shared<OptionValueArch>(); in CreateValueFromCStringForTypeMask() 514 value_sp = std::make_shared<OptionValueBoolean>(false); in CreateValueFromCStringForTypeMask() 517 value_sp = std::make_shared<OptionValueChar>('\0'); in CreateValueFromCStringForTypeMask() 520 value_sp = std::make_shared<OptionValueFileSpec>(); in CreateValueFromCStringForTypeMask() 523 value_sp = std::make_shared<OptionValueFormat>(eFormatInvalid); in CreateValueFromCStringForTypeMask() 526 value_sp = std::make_shared<OptionValueFormatEntity>(nullptr); in CreateValueFromCStringForTypeMask() 529 value_sp = std::make_shared<OptionValueLanguage>(eLanguageTypeUnknown); in CreateValueFromCStringForTypeMask() 532 value_sp = std::make_shared<OptionValueSInt64>(); in CreateValueFromCStringForTypeMask() 535 value_sp = std::make_shared<OptionValueString>(); in CreateValueFromCStringForTypeMask() 538 value_sp = std::make_shared<OptionValueUInt64>(); in CreateValueFromCStringForTypeMask() [all …]
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
D | make_shared.volatile.pass.cpp | 24 std::shared_ptr<T> p0 = std::make_shared<T>(t0); in test() 25 std::shared_ptr<T> p1 = std::make_shared<T>(t1); in test() 32 std::shared_ptr<const T> p0 = std::make_shared<const T>(t0); in test() 33 std::shared_ptr<const T> p1 = std::make_shared<const T>(t1); in test() 40 std::shared_ptr<volatile T> p0 = std::make_shared<volatile T>(t0); in test() 41 std::shared_ptr<volatile T> p1 = std::make_shared<volatile T>(t1); in test() 48 std::shared_ptr<const volatile T> p0 = std::make_shared<const volatile T>(t0); in test() 49 std::shared_ptr<const volatile T> p1 = std::make_shared<const volatile T>(t1); in test()
|
D | make_shared.pass.cpp | 83 std::shared_ptr<A> p = std::make_shared<A>(i, c); in main() 91 std::shared_ptr<Foo> p1 = std::make_shared<Foo>(); in main() 93 std::shared_ptr<const Foo> p2 = std::make_shared<const Foo>(); in main() 103 std::shared_ptr<A> p = std::make_shared<A>(67, c); in main()
|
/external/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
D | make_shared.volatile.pass.cpp | 25 std::shared_ptr<T> p0 = std::make_shared<T>(t0); in test() 26 std::shared_ptr<T> p1 = std::make_shared<T>(t1); in test() 33 std::shared_ptr<const T> p0 = std::make_shared<const T>(t0); in test() 34 std::shared_ptr<const T> p1 = std::make_shared<const T>(t1); in test() 41 std::shared_ptr<volatile T> p0 = std::make_shared<volatile T>(t0); in test() 42 std::shared_ptr<volatile T> p1 = std::make_shared<volatile T>(t1); in test() 49 std::shared_ptr<const volatile T> p0 = std::make_shared<const volatile T>(t0); in test() 50 std::shared_ptr<const volatile T> p1 = std::make_shared<const volatile T>(t1); in test()
|
D | make_shared.pass.cpp | 82 std::shared_ptr<A> p = std::make_shared<A>(i, c); in main() 90 std::shared_ptr<Foo> p1 = std::make_shared<Foo>(); in main() 92 std::shared_ptr<const Foo> p2 = std::make_shared<const Foo>(); in main() 102 std::shared_ptr<A> p = std::make_shared<A>(67, c); in main()
|
/external/llvm-project/lldb/unittests/Core/ |
D | ModuleSpecTest.cpp | 36 std::make_shared<DataBufferUnowned>(Invalid, sizeof(Invalid)); in TEST() 39 auto InvalidModuleSP = std::make_shared<Module>(Spec); in TEST() 46 std::make_shared<DataBufferUnowned>(Invalid, sizeof(Invalid)); in TEST() 49 auto InvalidModuleSP = std::make_shared<Module>(Spec); in TEST() 72 auto M = std::make_shared<Module>(ExpectedFile->moduleSpec()); in TEST() 113 auto M = std::make_shared<Module>(ExpectedFile->moduleSpec()); in TEST() 162 auto M = std::make_shared<Module>(ExpectedFile->moduleSpec()); in TEST()
|
/external/llvm-project/lldb/unittests/Process/ |
D | ProcessEventDataTest.cpp | 130 ThreadSP thread_sp = std::make_shared<DummyThread>(*process_sp.get(), 0); in CreateThread() 137 std::make_shared<DummyStopInfo>(*thread_sp.get(), 0); in CreateThread() 164 ProcessSP process_sp = std::make_shared<DummyProcess>(target_sp, listener_sp); in TEST_F() 171 std::make_shared<DummyProcessEventData>(process_sp, eStateStopped); in TEST_F() 172 EventSP event_sp = std::make_shared<Event>(0, event_data_sp); in TEST_F() 183 std::make_shared<DummyProcessEventData>(process_sp, eStateStepping); in TEST_F() 184 event_sp = std::make_shared<Event>(0, event_data_sp); in TEST_F() 204 ProcessSP process_sp = std::make_shared<DummyProcess>(target_sp, listener_sp); in TEST_F() 211 std::make_shared<Process::ProcessEventData>(process_sp, eStateStopped); in TEST_F() 212 EventSP event_sp = std::make_shared<Event>(0, event_data_sp); in TEST_F() [all …]
|
/external/llvm-project/lldb/unittests/Utility/ |
D | StreamTeeTest.cpp | 23 lldb::StreamSP s1(std::make_shared<StreamString>()); in TEST() 32 lldb::StreamSP s1(std::make_shared<StreamString>()); in TEST() 33 lldb::StreamSP s2(std::make_shared<StreamString>()); in TEST() 43 lldb::StreamSP s1(std::make_shared<StreamString>()); in TEST() 44 lldb::StreamSP s2(std::make_shared<StreamString>()); in TEST() 55 lldb::StreamSP s1(std::make_shared<StreamString>()); in TEST() 56 lldb::StreamSP s2(std::make_shared<StreamString>()); in TEST() 142 lldb::StreamSP s1(std::make_shared<StreamString>()); in TEST() 159 lldb::StreamSP s1(std::make_shared<StreamString>()); in TEST() 166 lldb::StreamSP s2(std::make_shared<StreamString>()); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | google_auth_provider_test.cc | 99 std::make_shared<FakeHttpRequestFactory>(&requests); in TEST_F() 100 auto metadataClient = std::make_shared<ComputeEngineMetadataClient>( in TEST_F() 134 std::make_shared<FakeHttpRequestFactory>(&requests); in TEST_F() 135 auto metadataClient = std::make_shared<ComputeEngineMetadataClient>( in TEST_F() 183 std::make_shared<FakeHttpRequestFactory>(&requests); in TEST_F() 184 auto metadataClient = std::make_shared<ComputeEngineMetadataClient>( in TEST_F() 211 std::make_shared<FakeHttpRequestFactory>(&empty_requests); in TEST_F() 212 auto metadataClient = std::make_shared<ComputeEngineMetadataClient>( in TEST_F() 233 std::make_shared<FakeHttpRequestFactory>(&requests); in TEST_F() 234 auto metadataClient = std::make_shared<ComputeEngineMetadataClient>( in TEST_F()
|
D | compute_engine_zone_provider_test.cc | 35 auto httpRequestFactory = std::make_shared<FakeHttpRequestFactory>(&requests); in TEST_F() 37 auto metadata_client = std::make_shared<ComputeEngineMetadataClient>( in TEST_F() 56 auto httpRequestFactory = std::make_shared<FakeHttpRequestFactory>(&requests); in TEST_F() 58 auto metadata_client = std::make_shared<ComputeEngineMetadataClient>( in TEST_F()
|
/external/libbrillo/brillo/http/ |
D | http_transport.cc | 16 return std::make_shared<http::curl::Transport>(std::make_shared<CurlApi>()); in CreateDefault() 24 return std::make_shared<http::curl::Transport>(std::make_shared<CurlApi>(), in CreateDefaultWithProxy()
|
/external/angle/src/libANGLE/ |
D | WorkerThread_unittest.cpp | 35 {std::make_shared<TestTask>(), std::make_shared<TestTask>(), in TEST() 36 std::make_shared<TestTask>(), std::make_shared<TestTask>()}}; in TEST()
|
/external/llvm-project/lldb/source/Core/ |
D | StreamFile.cpp | 20 m_file_sp = std::make_shared<File>(); in StreamFile() 25 std::make_shared<NativeFile>(fd, File::eOpenOptionWrite, transfer_ownership); in StreamFile() 29 m_file_sp = std::make_shared<NativeFile>(fh, transfer_ownership); in StreamFile() 42 m_file_sp = std::make_shared<File>(); in StreamFile()
|
D | SearchFilter.cpp | 177 auto type_dict_sp = std::make_shared<StructuredData::Dictionary>(); in WrapOptionsDict() 193 auto module_array_sp = std::make_shared<StructuredData::Array>(); in SerializeFileSpecList() 195 module_array_sp->AddItem(std::make_shared<StructuredData::String>( in SerializeFileSpecList() 369 return std::make_shared<SearchFilterForUnconstrainedSearches>(target_sp); in CreateFromStructuredData() 375 auto result_sp = std::make_shared<StructuredData::Dictionary>(); in SerializeToStructuredData() 394 return std::make_shared<SearchFilterForUnconstrainedSearches>(*this); in DoCreateCopy() 463 return std::make_shared<SearchFilterByModule>(*this); in DoCreateCopy() 493 return std::make_shared<SearchFilterByModule>(target_sp, module_spec); in CreateFromStructuredData() 497 auto options_dict_sp = std::make_shared<StructuredData::Dictionary>(); in SerializeToStructuredData() 498 auto module_array_sp = std::make_shared<StructuredData::Array>(); in SerializeToStructuredData() [all …]
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | modernize-make-shared.rst | 8 to ``std::make_shared``. 16 auto my_ptr = std::make_shared<MyPair>(1, 2); 19 expression, and replaces it with a call to ``std::make_shared``. 27 my_ptr = std::make_shared<MyPair>(1, 2); 35 `std::make_shared`.
|
/external/llvm-project/llvm/lib/DebugInfo/CodeView/ |
D | StringsAndChecksums.cpp | 37 OwnedStrings = std::make_shared<DebugStringTableSubsectionRef>(); in initializeStrings() 59 OwnedStrings = std::make_shared<DebugStringTableSubsectionRef>(); in setStrings() 66 OwnedChecksums = std::make_shared<DebugChecksumsSubsectionRef>(); in setChecksums() 77 OwnedChecksums = std::make_shared<DebugChecksumsSubsectionRef>(); in initializeChecksums()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | StringsAndChecksums.cpp | 37 OwnedStrings = std::make_shared<DebugStringTableSubsectionRef>(); in initializeStrings() 59 OwnedStrings = std::make_shared<DebugStringTableSubsectionRef>(); in setStrings() 66 OwnedChecksums = std::make_shared<DebugChecksumsSubsectionRef>(); in setChecksums() 77 OwnedChecksums = std::make_shared<DebugChecksumsSubsectionRef>(); in initializeChecksums()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | CodeViewYAMLDebugSections.cpp | 374 auto SS = std::make_shared<YAMLChecksumsSubsection>(); in mapping() 377 Subsection.Subsection = std::make_shared<YAMLLinesSubsection>(); in mapping() 379 Subsection.Subsection = std::make_shared<YAMLInlineeLinesSubsection>(); in mapping() 382 std::make_shared<YAMLCrossModuleExportsSubsection>(); in mapping() 385 std::make_shared<YAMLCrossModuleImportsSubsection>(); in mapping() 387 Subsection.Subsection = std::make_shared<YAMLSymbolsSubsection>(); in mapping() 389 Subsection.Subsection = std::make_shared<YAMLStringTableSubsection>(); in mapping() 391 Subsection.Subsection = std::make_shared<YAMLFrameDataSubsection>(); in mapping() 393 Subsection.Subsection = std::make_shared<YAMLCoffSymbolRVASubsection>(); in mapping() 405 auto Result = std::make_shared<DebugChecksumsSubsection>(*SC.strings()); in toCodeViewSubsection() [all …]
|
/external/llvm-project/llvm/lib/ObjectYAML/ |
D | CodeViewYAMLDebugSections.cpp | 374 auto SS = std::make_shared<YAMLChecksumsSubsection>(); in mapping() 377 Subsection.Subsection = std::make_shared<YAMLLinesSubsection>(); in mapping() 379 Subsection.Subsection = std::make_shared<YAMLInlineeLinesSubsection>(); in mapping() 382 std::make_shared<YAMLCrossModuleExportsSubsection>(); in mapping() 385 std::make_shared<YAMLCrossModuleImportsSubsection>(); in mapping() 387 Subsection.Subsection = std::make_shared<YAMLSymbolsSubsection>(); in mapping() 389 Subsection.Subsection = std::make_shared<YAMLStringTableSubsection>(); in mapping() 391 Subsection.Subsection = std::make_shared<YAMLFrameDataSubsection>(); in mapping() 393 Subsection.Subsection = std::make_shared<YAMLCoffSymbolRVASubsection>(); in mapping() 405 auto Result = std::make_shared<DebugChecksumsSubsection>(*SC.strings()); in toCodeViewSubsection() [all …]
|
/external/llvm-project/clang/lib/Tooling/Transformer/ |
D | Stencil.cpp | 342 return std::make_shared<StencilImpl<RawTextData>>(std::string(Text)); in makeStencil() 346 return std::make_shared<StencilImpl<SelectorData>>(std::move(Selector)); in makeStencil() 350 return std::make_shared<StencilImpl<DebugPrintNodeData>>(std::string(Id)); in dPrint() 354 return std::make_shared<StencilImpl<UnaryOperationData>>( in expression() 359 return std::make_shared<StencilImpl<UnaryOperationData>>( in deref() 364 return std::make_shared<StencilImpl<UnaryOperationData>>( in maybeDeref() 369 return std::make_shared<StencilImpl<UnaryOperationData>>( in addressOf() 374 return std::make_shared<StencilImpl<UnaryOperationData>>( in maybeAddressOf() 379 return std::make_shared<StencilImpl<UnaryOperationData>>( in describe() 384 return std::make_shared<StencilImpl<AccessData>>(BaseId, std::move(Member)); in access() [all …]
|
/external/catch2/include/internal/ |
D | catch_test_spec_parser.cpp | 197 … TestSpec::PatternPtr pattern = std::make_shared<TestSpec::NamePattern>(token, m_substring); in addNamePattern() 199 pattern = std::make_shared<TestSpec::ExcludedPattern>(pattern); in addNamePattern() 215 … TestSpec::PatternPtr pattern = std::make_shared<TestSpec::TagPattern>(".", m_substring); in addTagPattern() 217 pattern = std::make_shared<TestSpec::ExcludedPattern>(pattern); in addTagPattern() 222 … TestSpec::PatternPtr pattern = std::make_shared<TestSpec::TagPattern>(token, m_substring); in addTagPattern() 225 pattern = std::make_shared<TestSpec::ExcludedPattern>(pattern); in addTagPattern()
|
/external/llvm-project/clang/unittests/Index/ |
D | IndexTests.cpp | 157 auto Index = std::make_shared<Indexer>(); in TEST() 165 auto Index = std::make_shared<Indexer>(); in TEST() 179 auto Index = std::make_shared<Indexer>(); in TEST() 203 auto Index = std::make_shared<Indexer>(); in TEST() 224 auto Index = std::make_shared<Indexer>(); in TEST() 240 auto Index = std::make_shared<Indexer>(); in TEST() 268 auto Index = std::make_shared<Indexer>(); in TEST() 282 auto Index = std::make_shared<Indexer>(); in TEST() 308 auto Index = std::make_shared<Indexer>(); in TEST() 327 auto Index = std::make_shared<Indexer>(); in TEST() [all …]
|
/external/llvm-project/libcxx/benchmarks/ |
D | util_smartptr.bench.cpp | 15 auto sp = std::make_shared<int>(42); in BM_SharedPtrCreateDestroy() 22 auto sp = std::make_shared<int>(42); in BM_SharedPtrIncDecRef() 32 auto sp = std::make_shared<int>(42); in BM_WeakPtrIncDecRef()
|
/external/libcxx/benchmarks/ |
D | util_smartptr.bench.cpp | 16 auto sp = std::make_shared<int>(42); in BM_SharedPtrCreateDestroy() 23 auto sp = std::make_shared<int>(42); in BM_SharedPtrIncDecRef() 33 auto sp = std::make_shared<int>(42); in BM_WeakPtrIncDecRef()
|