Home
last modified time | relevance | path

Searched refs:in_place (Results 1 – 25 of 43) 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/vixl/tools/
Dclang_format.py91 in_place = test.args['in_place']
119 if in_place:
152 def ClangFormatFiles(files, clang_format, in_place = False, jobs = 1, argument
165 queue.AddTest(f, filename = f, clang_format = clang_format, in_place = in_place)
182 in_place = args.in_place, jobs = args.jobs)
/external/libgav1/libgav1/src/post_filter/
Dsuper_res.cc33 template <bool in_place>
51 if (!in_place) { in ApplySuperRes()
54 ExtendLine<uint16_t>(in_place ? input : line_buffer_start, plane_width, in ApplySuperRes()
57 dsp_.super_res_row(in_place ? input : line_buffer_start, in ApplySuperRes()
61 input - (in_place ? input_stride : 0)); in ApplySuperRes()
67 if (!in_place) { in ApplySuperRes()
70 ExtendLine<uint8_t>(in_place ? input : line_buffer_start, plane_width, in ApplySuperRes()
72 dsp_.super_res_row(in_place ? input : line_buffer_start, in ApplySuperRes()
76 input - (in_place ? input_stride : 0)); in ApplySuperRes()
/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade_v2_main.py145 if not args.in_place and not args.output_file:
149 if args.in_place and args.output_file:
152 output_file = args.input_file if args.in_place else args.output_file
158 if not args.in_place and not args.output_tree:
162 if args.in_place and args.output_tree:
165 output_tree = args.input_tree if args.in_place else args.output_tree
/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/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_unittest.nc27 const Optional<int> arg(in_place, 1);
44 ([](Optional<Test> param) {})(Optional<int>(in_place, 1));
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)...);
/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/kernels/
Dmatrix_band_part_op.cc148 const bool in_place = input.data() == output.data(); in operator ()() local
150 if (!in_place) { in operator ()()
168 if (in_place) { in operator ()()
/external/libcxx/test/std/utilities/optional/optional.syn/
Doptional_in_place_t.fail.cpp22 using std::in_place; in main()
/external/v8/src/base/
Doptional.h32 constexpr in_place_t in_place = {}; variable
220 : storage_(in_place, std::forward<Args>(args)...) {}
480 : 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)) {}
859 return Optional<T>(in_place, std::forward<Args>(args)...);
865 return Optional<T>(in_place, il, std::forward<Args>(args)...);
/external/perfetto/include/perfetto/ext/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/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/tensorflow/tensorflow/core/nccl/
Dnccl_manager_test.cc211 bool in_place) { in MakeBroadcastTestCase() argument
222 if (in_place) { in MakeBroadcastTestCase()
358 const bool in_place) { in RunMultiNodeBroadcastTest() argument
367 src_local_rank, in_place)); in RunMultiNodeBroadcastTest()
619 const bool in_place = in_place_idx == 0; in TYPED_TEST() local
621 /*src_node=*/0, src_rank, in_place); in TYPED_TEST()
/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/libcxx/test/std/utilities/any/any.class/any.cons/
Dvalue.pass.cpp123 OKTag ot = std::in_place; in test_sfinae_constraints()
/external/harfbuzz_ng/src/
Dhb-aat-layout-morx-table.hh57 static constexpr bool in_place = true; member
205 static constexpr bool in_place = true; member
424 static constexpr bool in_place = false; member
655 static constexpr bool in_place = false; member

12