Home
last modified time | relevance | path

Searched refs:in_place (Results 1 – 25 of 39) sorted by relevance

12

/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Din_place_t.pass.cpp25 using std::in_place;
65 constexpr optional<int> opt(in_place, 5); in main()
73 : optional<int>(in_place, i) {} in main()
78 optional<const int> opt(in_place, 5); in main()
82 const optional<X> opt(in_place); in main()
87 const optional<X> opt(in_place, 5); in main()
92 const optional<X> opt(in_place, 5, 4); in main()
97 constexpr optional<Y> opt(in_place); in main()
105 : optional<Y>(in_place) {} in main()
110 constexpr optional<Y> opt(in_place, 5); in main()
[all …]
Dinitializer_list.pass.cpp26 using std::in_place;
77 optional<std::vector<int>> opt(in_place, {3, 1}); in main()
83 optional<std::vector<int>> opt(in_place, {3, 1}, std::allocator<int>()); in main()
90 constexpr optional<Y> opt(in_place, {3, 1}); in main()
98 : optional<Y>(in_place, i) {} in main()
107 optional<Z> opt(in_place, {3, 1}); in main()
/external/yapf/yapf/
D__init__.py158 if args.in_place or args.diff:
198 in_place=args.in_place,
210 in_place=False, argument
244 no_local_style, in_place, print_diff, verify, verbose)
252 in_place, print_diff, verify, verbose)
260 in_place=False, argument
272 in_place=in_place,
278 if not in_place and reformatted_code:
280 in_place)
/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade_v2_main.py101 if not args.in_place and not args.output_file:
105 if args.in_place and args.output_file:
108 output_file = args.input_file if args.in_place else args.output_file
114 if not args.in_place and not args.output_tree:
118 if args.in_place and args.output_tree:
121 output_tree = args.input_tree if args.in_place else args.output_tree
/external/libchrome/base/
Doptional_unittest.cc304 Optional<DeletedCopy> first(in_place, 42); in TEST()
314 Optional<DeletedMove> first(in_place, 42); in TEST()
324 Optional<NonTriviallyDestructibleDeletedCopyConstructor> first(in_place, in TEST()
423 Optional<Test1> first(in_place, 42); in TEST()
432 constexpr Optional<float> a(base::in_place, 0.1f); in TEST()
438 Optional<float> a(base::in_place, 0.1f); in TEST()
444 Optional<std::string> a(base::in_place, "foo"); in TEST()
450 Optional<TestObject> a(base::in_place, 0, 0.1); in TEST()
458 Optional<std::vector<int>> opt(in_place, {3, 1}); in TEST()
465 Optional<std::vector<int>> opt(in_place, {3, 1}, std::allocator<int>()); in TEST()
[all …]
Doptional.h28 constexpr in_place_t in_place = {}; variable
227 : storage_(in_place, std::forward<Args>(args)...) {}
491 : internal::OptionalBase<T>(in_place, std::forward<Args>(args)...) {}
502 : internal::OptionalBase<T>(in_place, il, std::forward<Args>(args)...) {}
515 : internal::OptionalBase<T>(in_place, std::forward<U>(value)) {}
526 : internal::OptionalBase<T>(in_place, std::forward<U>(value)) {}
889 return Optional<T>(in_place, std::forward<Args>(args)...);
895 return Optional<T>(in_place, il, std::forward<Args>(args)...);
Doptional_unittest.nc27 const Optional<int> arg(in_place, 1);
44 ([](Optional<Test> param) {})(Optional<int>(in_place, 1));
/external/perfetto/src/base/
Doptional_unittest.cc321 Optional<DeletedCopy> first(in_place, 42); in TEST()
331 Optional<DeletedMove> first(in_place, 42); in TEST()
341 Optional<NonTriviallyDestructibleDeletedCopyConstructor> first(in_place, in TEST()
440 Optional<Test1> first(in_place, 42); in TEST()
449 constexpr Optional<float> a(base::in_place, 0.1f); in TEST()
455 Optional<float> a(base::in_place, 0.1f); in TEST()
461 Optional<std::string> a(base::in_place, "foo"); in TEST()
467 Optional<TestObject> a(base::in_place, 0, 0.1); in TEST()
475 Optional<std::vector<int>> opt(in_place, {3, 1}); in TEST()
482 Optional<std::vector<int>> opt(in_place, {3, 1}, std::allocator<int>()); in TEST()
[all …]
/external/vixl/tools/
Dclang_format.py93 def ClangFormat(filename, clang_format, in_place = False, progress_prefix = ''): argument
122 if in_place:
150 def ClangFormatFiles(files, clang_format, in_place = False, jobs = 1, argument
165 tasks = [(f, clang_format, in_place, progress_prefix) for f in files]
226 in_place = args.in_place, jobs = args.jobs)
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/
Dvalue_const.pass.cpp32 using std::in_place;
53 constexpr optional<X> opt(in_place); in main()
57 const optional<X> opt(in_place); in main()
Dvalue_const_rvalue.pass.cpp32 using std::in_place;
53 constexpr optional<X> opt(in_place); in main()
57 const optional<X> opt(in_place); in main()
Dvalue_or.pass.cpp23 using std::in_place;
47 optional<X> opt(in_place, 2); in test()
53 optional<X> opt(in_place, 2); in test()
/external/yapf/yapf/yapflib/
Dyapf_api.py60 in_place=False, argument
81 if in_place and print_diff:
95 if in_place:
98 encoding, in_place)
Dfile_resources.py82 in_place=False): argument
94 if in_place:
/external/tensorflow/tensorflow/core/framework/
Dvariant.h168 : value_(new Value<VT>(in_place, std::forward<T>(value))) {} in Variant()
258 static constexpr in_place_t in_place{};
291 return std::unique_ptr<ValueInterface>(new Value(in_place, value)); in Clone()
/external/tensorflow/tensorflow/core/kernels/
Dmatrix_band_part_op.cc148 const bool in_place = input.data() == output.data(); in operator ()() local
150 if (!in_place) { in operator ()()
167 if (in_place) { in operator ()()
/external/perfetto/include/perfetto/base/
Doptional.h41 constexpr in_place_t in_place = {}; variable
206 : storage_(in_place, std::forward<Args>(args)...) {}
476 : internal::OptionalBase<T>(in_place, std::forward<Args>(args)...) {}
487 : internal::OptionalBase<T>(in_place, il, std::forward<Args>(args)...) {}
500 : internal::OptionalBase<T>(in_place, std::forward<U>(value)) {}
511 : internal::OptionalBase<T>(in_place, std::forward<U>(value)) {}
868 return Optional<T>(in_place, std::forward<Args>(args)...);
874 return Optional<T>(in_place, il, std::forward<Args>(args)...);
/external/libcxx/test/std/utilities/optional/optional.syn/
Doptional_in_place_t.fail.cpp22 using std::in_place; in main()
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dwrapper_union_class_declaration.tmpl8 return {{union.name}}Ptr(base::in_place);
16 auto result = {{union.name}}Ptr(base::in_place);
/external/yapf/yapftests/
Dfile_resources_test.py338 fname, s, in_place=True, encoding='utf-8')
349 None, s, in_place=False, encoding='utf-8')
357 None, s, in_place=False, encoding='utf-8')
/external/libcxx/test/std/utilities/utility/utility.inplace/
Dinplace.pass.cpp50 static_assert(check_tag<T>(std::in_place)); in main()
/external/harfbuzz_ng/src/
Dhb-aat-layout-morx-table.hh57 enum { in_place = true }; enumerator
207 enum { in_place = true }; enumerator
427 enum { in_place = false }; enumerator
663 enum { in_place = false }; enumerator
/external/libcxx/test/std/utilities/any/any.class/any.cons/
Dvalue.pass.cpp123 OKTag ot = std::in_place; in test_sfinae_constraints()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorConvolution.h518 const Scalar* in_place = m_kernelImpl.data();
519 if (in_place) {
520 m_kernel = in_place;
826 const Scalar* in_place = m_kernelImpl.data();
827 if (in_place) {
828 m_kernel = in_place;
/external/v8/src/base/
Doptional.h31 constexpr in_place_t in_place = {}; variable
148 : storage_(base::in_place, std::forward<Args>(args)...) {}

12