Home
last modified time | relevance | path

Searched full:auto (Results 1 – 25 of 20420) sorted by relevance

12345678910>>...817

/external/swiftshader/third_party/llvm-16.0/configs/common/include/llvm/Frontend/OpenMP/
DOMP.h.inc124 constexpr auto OMPD_allocate = llvm::omp::Directive::OMPD_allocate;
125 constexpr auto OMPD_assumes = llvm::omp::Directive::OMPD_assumes;
126 constexpr auto OMPD_atomic = llvm::omp::Directive::OMPD_atomic;
127 constexpr auto OMPD_barrier = llvm::omp::Directive::OMPD_barrier;
128 constexpr auto OMPD_begin_assumes = llvm::omp::Directive::OMPD_begin_assumes;
129 constexpr auto OMPD_begin_declare_target = llvm::omp::Directive::OMPD_begin_declare_target;
130 constexpr auto OMPD_begin_declare_variant = llvm::omp::Directive::OMPD_begin_declare_variant;
131 constexpr auto OMPD_cancel = llvm::omp::Directive::OMPD_cancel;
132 constexpr auto OMPD_cancellation_point = llvm::omp::Directive::OMPD_cancellation_point;
133 constexpr auto OMPD_critical = llvm::omp::Directive::OMPD_critical;
[all …]
/external/vulkan-validation-layers/layers/generated/
Dchassis.cpp292 auto result = VkValFeatureEnableLookup.find(token); in SetLocalEnableSetting()
296 auto result2 = VkValFeatureEnableLookup2.find(token); in SetLocalEnableSetting()
319 auto result = VkValFeatureDisableLookup.find(token); in SetLocalDisableSetting()
325 auto result = ValidationDisableLookup.find(token); in SetLocalDisableSetting()
359 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in GetDeviceProcAddr()
363 const auto &item = name_to_funcptr_map.find(funcName); in GetDeviceProcAddr()
371 auto &table = layer_data->device_dispatch_table; in GetDeviceProcAddr()
377 const auto &item = name_to_funcptr_map.find(funcName); in GetInstanceProcAddr()
381 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in GetInstanceProcAddr()
382 auto &table = layer_data->instance_dispatch_table; in GetInstanceProcAddr()
[all …]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
Dp5.cpp6 auto a; // expected-error{{'auto' not allowed in non-static struct member}}
7 auto *b; // expected-error{{'auto' not allowed in non-static struct member}}
8 const auto c; // expected-error{{'auto' not allowed in non-static struct member}}
10 void f() throw (auto); // expected-error{{'auto' not allowed here}}
12 friend auto; // expected-error{{'auto' not allowed in non-static struct member}}
14 operator auto(); // expected-error{{'auto' not allowed in conversion function type}}
17 // PR 9278: auto is not allowed in typedefs, except with a trailing return type.
18 typedef auto *AutoPtr; // expected-error{{'auto' not allowed in typedef}}
19 typedef auto (*PFun)(int a); // expected-error{{'auto' not allowed in typedef}}
20 typedef auto Fun(int a) -> decltype(a + a);
[all …]
Dp7-1y.cpp23 auto x3a = i;
24 decltype(auto) x3d = i;
28 auto x4a = (i);
29 decltype(auto) x4d = (i);
33 auto x5a = f();
34 decltype(auto) x5d = f();
38 auto x6a = { 1, 2 };
39 decltype(auto) x6d = { 1, 2 }; // expected-error {{cannot deduce 'decltype(auto)' from initializer …
42 auto *x7a = &i;
43 decltype(auto) *x7d = &i; // expected-error {{cannot form pointer to 'decltype(auto)'}}
[all …]
/external/sdv/vsomeip/third_party/boost/numeric/ublas/test/tensor/
Dtest_multi_index_utility.cpp26 constexpr auto tuple = std::tuple<>{}; in BOOST_AUTO_TEST_CASE()
27 constexpr auto has_a = has_index<decltype(_a),decltype(tuple)>::value; in BOOST_AUTO_TEST_CASE()
28 constexpr auto has_b = has_index<decltype(_b),decltype(tuple)>::value; in BOOST_AUTO_TEST_CASE()
35 constexpr auto tuple = std::make_tuple(_a); in BOOST_AUTO_TEST_CASE()
36 constexpr auto has_a = has_index<decltype(_a),decltype(tuple)>::value; in BOOST_AUTO_TEST_CASE()
37 constexpr auto has_b = has_index<decltype(_b),decltype(tuple)>::value; in BOOST_AUTO_TEST_CASE()
43 constexpr auto tuple = std::make_tuple(_a,_b,_,_c,_d); in BOOST_AUTO_TEST_CASE()
44 constexpr auto has_a = has_index<decltype(_a),decltype(tuple)>::value; in BOOST_AUTO_TEST_CASE()
45 constexpr auto has_b = has_index<decltype(_b),decltype(tuple)>::value; in BOOST_AUTO_TEST_CASE()
46 constexpr auto has_c = has_index<decltype(_c),decltype(tuple)>::value; in BOOST_AUTO_TEST_CASE()
[all …]
Dtest_functions.cpp63 for(auto const& n : extents){ in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
65 auto a = tensor_type(n, value_type{2}); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
67 for(auto m = 0u; m < n.size(); ++m){ in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
69 auto b = vector_type (n[m], value_type{1} ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
71 auto c = ublas::prod(a, b, m+1); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
73 for(auto i = 0u; i < c.size(); ++i) in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
92 for(auto const& n : extents) { in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
94 auto a = tensor_type(n, value_type{2}); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
96 for(auto m = 0u; m < n.size(); ++m){ in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
98 auto b = matrix_type ( n[m], n[m], value_type{1} ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
[all …]
Dtest_multiplication.cpp67 for(auto const& na : extents) { in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
72 auto a = vector_type(na.product(), value_type{2}); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
73 auto wa = strides_type(na); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
74 for(auto m = 0u; m < na.size(); ++m){ in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
75 auto nb = extents_type {na[m],1}; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
76 auto wb = strides_type (nb); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
77 auto b = vector_type (nb.product(), value_type{1} ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
79 auto nc_base = extents_type_base(std::max(na.size()-1, size_type{2}), 1); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
81 for(auto i = 0u, j = 0u; i < na.size(); ++i) in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
85 auto nc = extents_type (nc_base); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
[all …]
/external/clang/test/SemaCXX/
Dcxx1y-generic-lambdas-capturing.cpp35 auto L = [](auto a) { return a; }; in foo()
38 auto L = [](auto a) -> void { in foo2()
39 auto M = [](char b) -> void { in foo2()
40 auto N = [](auto c) -> void { in foo2()
63 auto L = [](auto a, auto b) { in doit()
69 auto L2 = [](auto a, int i) { in doit()
76 auto B = []() { return ^{ return a; }; }; //expected-error{{cannot be implicitly capture}}\ in doit()
80 //auto X = ^{ return a; }; in doit()
82 //auto Y = []() -> auto { return 3; return 'c'; }; in doit()
94 auto L = [=](auto a) { in doit()
[all …]
Dcxx1y-deduced-return-type.cpp4 auto f(); // expected-note {{previous}}
7 auto &g();
8 auto g() -> auto &;
10 auto h() -> auto *;
11 auto *h();
14 operator auto(); // expected-note {{declared here}}
16 int conv1a = conv1; // expected-error {{function 'operator auto' with deduced return type cannot be…
18 Conv1::operator auto() { return 123; } in operator auto()
20 int conv1c = conv1.operator auto();
24 operator auto() { return 0; } // expected-note {{previous}} in operator auto()
[all …]
Dcxx1y-generic-lambdas.cpp12 auto L = [i](auto a) { return i + a; }; in test()
19 auto L = [](auto a) { return a; }; in test()
30 T (*fp)(T) = [](auto a) { return a; }; in __anonbb94b2a90302()
37 void fooT(T t, T (*fp)(T) = [](auto a) { return a; }) { in __anonbb94b2a90402()
43 auto L = [](auto a) { return a; }; in test()
56 auto L = [](auto a) ->int { return a; }; //expected-note 2{{candidate template ignored}} in test()
63 auto L = [=](auto b, char c = 'x') { in test()
65 return [](auto a) ->decltype(a) { return a; }; in test()
79 auto L = [=](auto b) { in test()
80 return [](auto a) ->decltype(b)* { return (decltype(b)*)0; }; in test()
[all …]
/external/swiftshader/third_party/llvm-16.0/configs/common/include/llvm/Frontend/OpenACC/
DACC.h.inc38 constexpr auto ACCD_atomic = llvm::acc::Directive::ACCD_atomic;
39 constexpr auto ACCD_cache = llvm::acc::Directive::ACCD_cache;
40 constexpr auto ACCD_data = llvm::acc::Directive::ACCD_data;
41 constexpr auto ACCD_declare = llvm::acc::Directive::ACCD_declare;
42 constexpr auto ACCD_enter_data = llvm::acc::Directive::ACCD_enter_data;
43 constexpr auto ACCD_exit_data = llvm::acc::Directive::ACCD_exit_data;
44 constexpr auto ACCD_host_data = llvm::acc::Directive::ACCD_host_data;
45 constexpr auto ACCD_init = llvm::acc::Directive::ACCD_init;
46 constexpr auto ACCD_kernels = llvm::acc::Directive::ACCD_kernels;
47 constexpr auto ACCD_kernels_loop = llvm::acc::Directive::ACCD_kernels_loop;
[all …]
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dprelu_test.cc35 auto rng = std::mt19937(random_device()); in TEST()
36 auto shape_rng = in TEST()
38 const auto batch = shape_rng(); in TEST()
39 const auto height = shape_rng(); in TEST()
40 const auto width = shape_rng(); in TEST()
41 const auto channels = shape_rng(); in TEST()
55 auto rng = std::mt19937(random_device());
56 auto shape_rng =
58 const auto batch = shape_rng();
59 const auto height = shape_rng();
[all …]
Ddiv_test.cc34 auto rng = std::mt19937(random_device());
35 auto shape_rng =
37 const auto batch = shape_rng();
38 const auto height = shape_rng();
39 const auto width = shape_rng();
40 const auto channels = shape_rng();
54 auto rng = std::mt19937(random_device());
55 auto shape_rng =
57 const auto batch = shape_rng();
58 const auto height = shape_rng();
[all …]
Dmul_test.cc34 auto rng = std::mt19937(random_device());
35 auto shape_rng =
37 const auto batch = shape_rng();
38 const auto height = shape_rng();
39 const auto width = shape_rng();
40 const auto channels = shape_rng();
54 auto rng = std::mt19937(random_device());
55 auto shape_rng =
57 const auto batch = shape_rng();
58 const auto height = shape_rng();
[all …]
Dadd_test.cc34 auto rng = std::mt19937(random_device());
35 auto shape_rng =
37 const auto batch = shape_rng();
38 const auto height = shape_rng();
39 const auto width = shape_rng();
40 const auto channels = shape_rng();
54 auto rng = std::mt19937(random_device());
55 auto shape_rng =
57 const auto batch = shape_rng();
58 const auto height = shape_rng();
[all …]
Dsub_test.cc34 auto rng = std::mt19937(random_device());
35 auto shape_rng =
37 const auto batch = shape_rng();
38 const auto height = shape_rng();
39 const auto width = shape_rng();
40 const auto channels = shape_rng();
54 auto rng = std::mt19937(random_device());
55 auto shape_rng =
57 const auto batch = shape_rng();
58 const auto height = shape_rng();
[all …]
Dfully_connected_test.cc34 auto rng = std::mt19937(random_device());
35 auto channels_rng =
37 const auto input_channels = channels_rng();
38 const auto output_channels = channels_rng();
53 auto rng = std::mt19937(random_device());
54 auto channels_rng =
56 const auto input_channels = channels_rng();
57 const auto output_channels = channels_rng();
73 auto rng = std::mt19937(random_device());
74 auto batch_rng =
[all …]
Dsquared_difference_test.cc34 auto rng = std::mt19937(random_device());
35 auto shape_rng =
37 const auto batch = shape_rng();
38 const auto height = shape_rng();
39 const auto width = shape_rng();
40 const auto channels = shape_rng();
54 auto rng = std::mt19937(random_device());
55 auto shape_rng =
57 const auto batch = shape_rng();
58 const auto height = shape_rng();
[all …]
Dminimum_test.cc34 auto rng = std::mt19937(random_device());
35 auto shape_rng =
37 const auto batch = shape_rng();
38 const auto height = shape_rng();
39 const auto width = shape_rng();
40 const auto channels = shape_rng();
54 auto rng = std::mt19937(random_device());
55 auto shape_rng =
57 const auto batch = shape_rng();
58 const auto height = shape_rng();
[all …]
Dmaximum_test.cc34 auto rng = std::mt19937(random_device());
35 auto shape_rng =
37 const auto batch = shape_rng();
38 const auto height = shape_rng();
39 const auto width = shape_rng();
40 const auto channels = shape_rng();
54 auto rng = std::mt19937(random_device());
55 auto shape_rng =
57 const auto batch = shape_rng();
58 const auto height = shape_rng();
[all …]
Dunsigned_quantized_mean_test.cc34 auto rng = std::mt19937(random_device()); in TEST()
35 auto shape_rng = in TEST()
37 const auto batch = shape_rng(); in TEST()
38 const auto height = shape_rng(); in TEST()
39 const auto width = shape_rng(); in TEST()
40 const auto channels = shape_rng(); in TEST()
56 auto rng = std::mt19937(random_device()); in TEST()
57 auto shape_rng = in TEST()
59 const auto batch = shape_rng(); in TEST()
60 const auto height = shape_rng(); in TEST()
[all …]
Dmean_test.cc34 auto rng = std::mt19937(random_device()); in TEST()
35 auto shape_rng = in TEST()
37 const auto batch = shape_rng(); in TEST()
38 const auto height = shape_rng(); in TEST()
39 const auto width = shape_rng(); in TEST()
40 const auto channels = shape_rng(); in TEST()
55 auto rng = std::mt19937(random_device()); in TEST()
56 auto shape_rng = in TEST()
58 const auto batch = shape_rng(); in TEST()
59 const auto height = shape_rng(); in TEST()
[all …]
Dsigned_quantized_mean_test.cc34 auto rng = std::mt19937(random_device()); in TEST()
35 auto shape_rng = in TEST()
37 const auto batch = shape_rng(); in TEST()
38 const auto height = shape_rng(); in TEST()
39 const auto width = shape_rng(); in TEST()
40 const auto channels = shape_rng(); in TEST()
55 auto rng = std::mt19937(random_device()); in TEST()
56 auto shape_rng = in TEST()
58 const auto batch = shape_rng(); in TEST()
59 const auto height = shape_rng(); in TEST()
[all …]
/external/rust/beto-rust/nearby/presence/np_cpp_ffi/tests/
Dv0_unencrypted_deserialization_tests.cc29 auto deserialize_result = in TEST_F()
37 ASSERT_DEATH({ [[maybe_unused]] auto failure = deserialize_result.IntoV1(); }, in TEST_F()
45 auto deserialize_result = in TEST_F()
51 auto v0_adv = deserialize_result.IntoV0(); in TEST_F()
55 auto legible_adv = v0_adv.IntoLegible(); in TEST_F()
56 auto identity = legible_adv.GetIdentityKind(); in TEST_F()
59 auto num_des = legible_adv.GetNumberOfDataElements(); in TEST_F()
61 auto payload = legible_adv.IntoPayload(); in TEST_F()
63 auto de_result = payload.TryGetDataElement(0); in TEST_F()
65 auto de = de_result.value(); in TEST_F()
[all …]
/external/pigweed/pw_bluetooth_sapphire/host/testing/
Dfake_dynamic_channel_test.cc34 auto send_cb = [&received_packet]( in TEST()
35 auto kConnectionHandle, auto cid, auto& buffer) { in TEST()
38 auto fake_l2cap = FakeL2cap(send_cb); in TEST()
39 auto server = std::make_unique<FakeSignalingServer>(); in TEST()
41 auto channel_cb = [](auto fake_dynamic_channel) {}; in TEST()
48 auto connection_acl_packet = l2cap::testing::AclConnectionReq( in TEST()
50 const auto& connection_header = in TEST()
52 auto connection_header_len = sizeof(connection_header); in TEST()
53 auto connection_payload_len = le16toh(connection_header.data_total_length); in TEST()
54 auto connection_packet = DynamicByteBuffer(connection_payload_len); in TEST()
[all …]

12345678910>>...817