/external/libchrome/libchrome_tools/patch/ |
D | 0001-Use-qualified-base-make_optional-in-optional_unittes.patch | 4 Subject: [PATCH] Use qualified base::make_optional in optional_unittest.cc 6 Unqualified usage of make_optional causes a compile error if: 8 - The parameter of make_optional is in std namespace, such as 10 As std::make_optional is pulled by ADL rule and conflicts to 11 base::make_optional in this situation. 13 This CL replaces them with qualified base::make_optional, and 34 - Optional<float> o = make_optional(32.f); 35 + // Use qualified base::make_optional here and elsewhere to avoid the name 36 + // confliction to std::make_optional. 38 + // std::string. The other qualified base::make_optional usages are just for [all …]
|
/external/libcxx/test/std/utilities/optional/optional.specalg/ |
D | make_optional.pass.cpp | 34 using std::make_optional; in main() 37 ASSERT_SAME_TYPE(decltype(make_optional(arr)), optional<int*>); in main() 40 constexpr auto opt = make_optional(2); in main() 45 optional<int> opt = make_optional(2); in main() 50 optional<std::string> opt = make_optional(s); in main() 55 optional<std::unique_ptr<int>> opt = make_optional(std::move(s)); in main()
|
D | make_optional_explicit.pass.cpp | 24 using std::make_optional; in main() 27 constexpr auto opt = make_optional<int>('a'); in main() 32 auto opt = make_optional<std::string>(s); in main() 37 auto opt = make_optional<std::unique_ptr<int>>(std::move(s)); in main() 42 auto opt = make_optional<std::string>(4, 'X'); in main()
|
D | make_optional_explicit_initializer_list.pass.cpp | 33 using std::make_optional; in main() 35 constexpr auto opt = make_optional<TestT>({42, 2, 3}); in main() 41 constexpr auto opt = make_optional<TestT>({42, 2, 3}, nullptr); in main() 46 auto opt = make_optional<std::string>({'1', '2', '3'}); in main() 50 auto opt = make_optional<std::string>({'a', 'b', 'c'}, std::allocator<char>{}); in main()
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | optional.h | 25 using absl::make_optional;
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | maybe_owning_device_memory.cc | 38 return absl::make_optional<OwningDeviceMemory>(std::move(result)); in Release()
|
D | hlo_opcode.cc | 66 : absl::make_optional(arity); in HloOpcodeArity()
|
/external/libchrome/base/ |
D | optional_unittest.cc | 1907 Optional<float> o = base::make_optional(32.f); in TEST() 1912 o = base::make_optional(std::move(value)); in TEST() 1918 Optional<std::string> o = base::make_optional(std::string("foo")); in TEST() 1923 o = base::make_optional(std::move(value)); in TEST() 1929 Optional<TestObject> o = base::make_optional(TestObject(3, 0.1)); in TEST() 1934 o = base::make_optional(std::move(value)); in TEST() 1941 base::make_optional(std::move(value))->state()); in TEST() 1953 Optional<Test> o = base::make_optional<Test>(1, 2.0, true); in TEST() 1961 auto str1 = base::make_optional<std::string>({'1', '2', '3'}); in TEST() 1964 auto str2 = base::make_optional<std::string>({'a', 'b', 'c'}, in TEST() [all …]
|
D | optional.h | 883 constexpr Optional<std::decay_t<T>> make_optional(T&& value) { 888 constexpr Optional<T> make_optional(Args&&... args) { 893 constexpr Optional<T> make_optional(std::initializer_list<U> il,
|
/external/perfetto/src/base/ |
D | optional_unittest.cc | 1921 Optional<float> o = base::make_optional(32.f); in TEST() 1926 o = base::make_optional(std::move(value)); in TEST() 1932 Optional<std::string> o = base::make_optional(std::string("foo")); in TEST() 1937 o = base::make_optional(std::move(value)); in TEST() 1943 Optional<TestObject> o = base::make_optional(TestObject(3, 0.1)); in TEST() 1948 o = base::make_optional(std::move(value)); in TEST() 1955 base::make_optional(std::move(value))->state()); in TEST() 1967 Optional<Test> o = base::make_optional<Test>(1, 2.0, true); in TEST() 1975 auto str1 = base::make_optional<std::string>({'1', '2', '3'}); in TEST() 1978 auto str2 = base::make_optional<std::string>({'a', 'b', 'c'}, in TEST() [all …]
|
/external/perfetto/src/profiling/memory/ |
D | shared_ring_buffer.cc | 305 return base::make_optional(std::move(buf)); in Create() 314 return base::make_optional(std::move(buf)); in Attach()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_resource.h | 111 representation_shape_ = absl::make_optional(shape); in SetRepresentationShape()
|
/external/tensorflow/tensorflow/core/grappler/ |
D | graph_topology_view.cc | 186 : absl::make_optional(it->second); in GetNodeIndex()
|
/external/libcxx/include/ |
D | optional | 74 template <class T> constexpr optional<see below > make_optional(T&&); 76 constexpr optional<T> make_optional(Args&&... args); 78 constexpr optional<T> make_optional(initializer_list<U> il, Args&&... args); 1374 optional<decay_t<_Tp>> make_optional(_Tp&& __v) 1381 optional<_Tp> make_optional(_Args&&... __args) 1388 optional<_Tp> make_optional(initializer_list<_Up> __il, _Args&&... __args)
|
/external/perfetto/src/traced/probes/power/ |
D | android_power_data_source.cc | 85 return base::make_optional(value); in GetCounter()
|
/external/perfetto/include/perfetto/base/ |
D | optional.h | 862 constexpr Optional<typename std::decay<T>::type> make_optional(T&& value) { 867 constexpr Optional<T> make_optional(Args&&... args) { 872 constexpr Optional<T> make_optional(std::initializer_list<U> il,
|
/external/bcc/src/cc/vendor/ |
D | optional.hpp | 999 constexpr optional<typename decay<T>::type> make_optional(T&& v) in make_optional() function 1005 constexpr optional<X&> make_optional(reference_wrapper<X> v) in make_optional() function
|
/external/v8/src/base/ |
D | optional.h | 483 constexpr Optional<typename std::decay<T>::type> make_optional(T&& value) {
|
/external/pdfium/third_party/base/ |
D | optional.h | 484 constexpr Optional<typename std::decay<T>::type> make_optional(T&& value) {
|
/external/perfetto/src/traced/probes/ftrace/ |
D | cpu_reader.cc | 144 return base::make_optional(page_header); in ParsePageHeader()
|