Home
last modified time | relevance | path

Searched +full:array +full:- +full:union (Results 1 – 25 of 1303) sorted by relevance

12345678910>>...53

/aosp_15_r20/system/tools/aidl/tests/
Daidl_test_client_parcelables.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
46 using android::aidl::tests::Union;
66 if (!cpp_java_tests) GTEST_SKIP() << "Service does not support the CPP/Java-only tests."; in TEST_F()
71 Status status = cpp_java_tests->RepeatBadParcelable(bad, &output); in TEST_F()
77 Status status = cpp_java_tests->RepeatBadParcelable(not_bad, &output); in TEST_F()
86 Status status = service->RepeatSimpleParcelable(input, &out_param, &returned); in TEST_F()
93 if (!cpp_java_tests) GTEST_SKIP() << "Service does not support the CPP/Java-only tests."; in TEST_F()
98 Status status = cpp_java_tests->RepeatGenericParcelable(input, &out_param, &returned); in TEST_F()
113 Status status = service->ReverseSimpleParcelables(original, &repeated, &reversed); in TEST_F()
132 Status status = service->RepeatExtendableParcelable(ep, &ep2); in TEST_F()
[all …]
Daidl_test_service.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
27 #include <android-base/unique_fd.h>
58 #include "android/aidl/tests/Union.h"
119 using android::aidl::tests::Union;
182 ALOGI("Reversing array of length %zu", input.size()); in ReverseArray()
185 std::reverse(_aidl_return->begin(), _aidl_return->end()); in ReverseArray()
228 Status ReverseUnion(const Union& input, Union* repeated, Union* _aidl_return) override { in ReverseUnion()
229 ALOGI("Repeated a Union"); in ReverseUnion()
236 case Union::ns: // int[] in ReverseUnion()
237 reverse(_aidl_return->get<Union::ns>()); in ReverseUnion()
[all …]
Daidl_test_client_ndk_parcelables.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
29 #include <aidl/android/aidl/tests/Union.h>
48 using aidl::android::aidl::tests::Union;
63 android::ProcessState::self()->setThreadPoolMaxThreadCount(1); in getService()
64 android::ProcessState::self()->startThreadPool(); in getService()
75 auto status = getService<ITestService>()->RepeatSimpleParcelable(input, &out_param, &returned); in TEST_F()
83 auto status = getService<ITestService>()->getBackendType(&backend); in TEST_F()
93 status = getService<ITestService>()->ReverseSimpleParcelables(original, &repeated, &reversed); in TEST_F()
106 node->value = i; in TEST_F()
107 node->next = std::move(head); in TEST_F()
[all …]
/aosp_15_r20/external/wayland/src/
H A Dwayland-util.c2 * Copyright © 2008-2011 Kristian Høgsberg
34 #include "wayland-util.h"
35 #include "wayland-private.h"
40 list->prev = list; in wl_list_init()
41 list->next = list; in wl_list_init()
47 elm->prev = list; in wl_list_insert()
48 elm->next = list->next; in wl_list_insert()
49 list->next = elm; in wl_list_insert()
50 elm->next->prev = elm; in wl_list_insert()
56 elm->prev->next = elm->next; in wl_list_remove()
[all …]
/aosp_15_r20/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/parse/
H A Dparser_unittest.py2 # Use of this source code is governed by a BSD-style license that can be
47 """Tests a .mojom source with CR-LFs instead of LFs."""
74 // Isolated C++-style comments.
85 // Consecutive C++-style comments.
102 /* Single-line C-style comments. */
114 /* Multi-line C-style comments.
256 # Another similar case, but make sure that line-number tracking/reporting
335 VALUE1 = -1,
339 VALUE5 = -0x09bcd,
355 ast.EnumValueList([ast.EnumValue('VALUE1', None, '-1'),
[all …]
/aosp_15_r20/external/clang/test/SemaCXX/
H A Dgnu-flags.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify %s -DNONE -Wno-gnu
2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s -DNONE -Wno-gnu
3 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s -DNONE -Wno-gnu
5 // RUN: %clang_cc1 -fsyntax-only -verify %s -DALL -Wgnu
6 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s -DALL -Wgnu
7 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s -DALL -Wgnu
9 // RUN: %clang_cc1 -fsyntax-only -verify %s -DALL -Wno-gnu \
10 // RUN: -Wgnu-anonymous-struct -Wredeclared-class-member \
11 // RUN: -Wgnu-flexible-array-union-member -Wgnu-folding-constant \
12 // RUN: -Wgnu-empty-struct
[all …]
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/progs/
H A Dcore_reloc_types.h31 /* we have test_progs[-flavor], so cut flavor part */
60 union core_reloc_nesting_subunion {
65 union {
69 union core_reloc_nesting_subunion b;
73 /* inlined anonymous struct/union instead of named structs in original */
76 union {
82 union {
93 union {
99 union {
101 union {
[all …]
/aosp_15_r20/external/clang/test/Sema/
H A Ddesignated-initializers.c1 // RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-unknown-unknown %s
5 int complete_array_from_init_check[((sizeof(complete_array_from_init) / sizeof(int)) == 13)? 1 : -1…
11 [ 8 ... 7 ] = 4, // expected-error{{array designator range [8, 7] is empty}}
13 [-1] = 6 // expected-error{{array designator value '-1' is negative}}
17 [10] = 1, // expected-error{{array designator index (10) exceeds array bounds (10)}}
21 [3] 2, // expected-warning{{use of GNU 'missing =' extension in designator}}
22 [5 ... 12] = 2 // expected-error{{array designator index (12) exceeds array bounds (10)}}
32 x: 2.0, // expected-warning{{}}
33 ….a = 4.0, // expected-error{{field designator 'a' does not refer to any field in type 'struct poin…
37 [1] = 1.0 // expected-error{{array designator cannot initialize non-array type}}
[all …]
H A Dgnu-flags.c1 // RUN: %clang_cc1 -fsyntax-only -verify %s -DNONE -Wno-gnu
2 // RUN: %clang_cc1 -fsyntax-only -verify %s -DALL -Wgnu
3 // RUN: %clang_cc1 -fsyntax-only -verify %s -DALL -Wno-gnu \
4 // RUN: -Wgnu-alignof-expression -Wgnu-case-range -Wgnu-complex-integer -Wgnu-conditional-omitted
5 // RUN: -Wgnu-empty-initializer -Wgnu-label-as-value -Wgnu-statement-expression \
6 // RUN: -Wgnu-compound-literal-initializer -Wgnu-flexible-array-initializer \
7 // RUN: -Wgnu-redeclared-enum -Wgnu-folding-constant -Wgnu-empty-struct \
8 // RUN: -Wgnu-union-cast -Wgnu-variable-sized-type-not-at-end
9 // RUN: %clang_cc1 -fsyntax-only -verify %s -DNONE -Wgnu \
10 // RUN: -Wno-gnu-alignof-expression -Wno-gnu-case-range -Wno-gnu-complex-integer -Wno-gnu-conditi…
[all …]
/aosp_15_r20/prebuilts/cmake/linux-x86/share/cmake-3.22/Help/manual/
Dcmake-presets.7.rst1 .. cmake-manual-description: CMakePresets.json
3 cmake-presets(7)
21 (though at least one must be present if ``--preset`` is specified.)
22 ``CMakePresets.json`` is meant to save project-wide builds, while
63 An optional map containing vendor-specific information. CMake does not
65 it does exist. However, the keys should be a vendor-specific domain name
66 followed by a ``/``-separated path. For example, the Example IDE 1.0 could
72 An optional array of `Configure Preset`_ objects.
77 An optional array of `Build Preset`_ objects.
82 An optional array of `Test Preset`_ objects.
[all …]
/aosp_15_r20/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/generate/
H A Ddata_unittest.py2 # Use of this source code is governed by a BSD-style license that can be
48 """Tests that a union can be converted from data."""
56 union = data.UnionFromData(module, union_data)
57 union.fields = map(lambda field:
58 data.UnionFieldFromData(module, field, union), union.fields_data)
59 self.assertEquals(union_data, data.UnionToData(union))
74 union = mojom.Union('TestUnion', module=module)
75 imported_module.kinds[union.spec] = union
89 self.assertIn(union.spec, module.kinds)
90 self.assertEquals(union.name, module.kinds[union.spec].name)
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DLiveIntervalUnion.h1 //===- LiveIntervalUnion.h - Live interval union data struct ---*- C++ -*--===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // LiveIntervalUnion is a union of live segments across multiple live virtual
14 //===----------------------------------------------------------------------===//
38 /// Union of live intervals that are strong candidates for coalescing into a
41 /// eventually make exceptions to handle value-based interference.
62 LiveSegments Segments; // union of virtual reg segments
67 // Iterate over all segments in the union of live virtual registers ordered
84 /// getTag - Return an opaque tag representing the current state of the union.
[all …]
/aosp_15_r20/prebuilts/cmake/linux-x86/share/cmake-3.22/Help/manual/presets/
Dschema.json2 "$schema": "http://json-schema.org/draft-07/schema#",
72-specific information. CMake does not interpret the contents of this field except to verify that i…
76 "type": "array",
88 …is used. Note that for Visual Studio generators, unlike in the command line -G argument, you canno…
103 "type": "array",
104 "description": "An optional array of configure preset objects.",
111 …ing the machine-friendly name of the preset. This identifier is used in the --preset argument. The…
116 …a preset should be hidden. If a preset is hidden, it cannot be used in the --preset= argument, wil…
126 "type": "array",
127 …"description": "An optional array of strings representing the names of presets to inherit from. Th…
[all …]
/aosp_15_r20/external/libbpf/src/
H A Dbtf_dump.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
4 * BTF-to-C type converter.
26 static const size_t PREFIX_CNT = sizeof(PREFIXES) - 1;
30 return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; in pfx()
45 /* per-type auxiliary state */
53 /* whether unique non-duplicate name was already assigned */
88 /* per-type auxiliary state */
91 /* per-type optional cached unique name, must be freed, if present */
95 /* topo-sorted list of dependent type definitions */
108 /* maps struct/union/enum name to a number of name occurrences */
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/CodeGen/
DLiveIntervalUnion.h1 //===- LiveIntervalUnion.h - Live interval union data struct ---*- C++ -*--===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // LiveIntervalUnion is a union of live segments across multiple live virtual
14 //===----------------------------------------------------------------------===//
38 /// Union of live intervals that are strong candidates for coalescing into a
41 /// eventually make exceptions to handle value-based interference.
62 LiveSegments Segments; // union of virtual reg segments
67 // Iterate over all segments in the union of live virtual registers ordered
84 /// getTag - Return an opaque tag representing the current state of the union.
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/
H A DLiveIntervalUnion.h1 //===- LiveIntervalUnion.h - Live interval union data struct ---*- C++ -*--===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // LiveIntervalUnion is a union of live segments across multiple live virtual
14 //===----------------------------------------------------------------------===//
38 /// Union of live intervals that are strong candidates for coalescing into a
41 /// eventually make exceptions to handle value-based interference.
62 LiveSegments Segments; // union of virtual reg segments
67 // Iterate over all segments in the union of live virtual registers ordered
84 /// getTag - Return an opaque tag representing the current state of the union.
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/CodeGen/
DLiveIntervalUnion.h1 //===- LiveIntervalUnion.h - Live interval union data struct ---*- C++ -*--===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // LiveIntervalUnion is a union of live segments across multiple live virtual
14 //===----------------------------------------------------------------------===//
38 /// Union of live intervals that are strong candidates for coalescing into a
41 /// eventually make exceptions to handle value-based interference.
62 LiveSegments Segments; // union of virtual reg segments
67 // Iterate over all segments in the union of live virtual registers ordered
84 /// getTag - Return an opaque tag representing the current state of the union.
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/CodeGen/
DLiveIntervalUnion.h1 //===- LiveIntervalUnion.h - Live interval union data struct ---*- C++ -*--===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // LiveIntervalUnion is a union of live segments across multiple live virtual
14 //===----------------------------------------------------------------------===//
38 /// Union of live intervals that are strong candidates for coalescing into a
41 /// eventually make exceptions to handle value-based interference.
62 LiveSegments Segments; // union of virtual reg segments
67 // Iterate over all segments in the union of live virtual registers ordered
84 /// getTag - Return an opaque tag representing the current state of the union.
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/CodeGen/
DLiveIntervalUnion.h1 //===- LiveIntervalUnion.h - Live interval union data struct ---*- C++ -*--===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // LiveIntervalUnion is a union of live segments across multiple live virtual
14 //===----------------------------------------------------------------------===//
38 /// Union of live intervals that are strong candidates for coalescing into a
41 /// eventually make exceptions to handle value-based interference.
62 LiveSegments Segments; // union of virtual reg segments
67 // Iterate over all segments in the union of live virtual registers ordered
84 /// getTag - Return an opaque tag representing the current state of the union.
[all …]
/aosp_15_r20/external/llvm/include/llvm/CodeGen/
H A DLiveIntervalUnion.h1 //===-- LiveIntervalUnion.h - Live interval union data struct --*- C++ -*--===//
8 //===----------------------------------------------------------------------===//
10 // LiveIntervalUnion is a union of live segments across multiple live virtual
15 //===----------------------------------------------------------------------===//
40 /// Union of live intervals that are strong candidates for coalescing into a
43 /// eventually make exceptions to handle value-based interference.
63 LiveSegments Segments; // union of virtual reg segments
68 // Iterate over all segments in the union of live virtual registers ordered
80 /// getTag - Return an opaque tag representing the current state of the union.
83 /// changedSince - Return true if the union change since getTag returned tag.
[all …]
/aosp_15_r20/external/clang/test/CXX/special/class.ctor/
H A Dp5-0x.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
5 struct DeletedDefCtor { DeletedDefCtor() = delete; DeletedDefCtor(int); }; // expected-note {{expli…
7 struct DeletedDtor { ~DeletedDtor() = delete; }; // expected-note 4{{explicitly marked deleted here…
22 // - X is a union-like class that has a variant member with a non-trivial
24 union Deleted1a { UserProvidedDefCtor u; }; // expected-note {{default constructor of 'Deleted1a' i…
25 Deleted1a d1a; // expected-error {{implicitly-deleted default constructor}}
26 union NotDeleted1a { DefaultedDefCtor1 nu; };
28 union NotDeleted1b { DefaultedDefCtor2 nu; };
31 // - any non-static data member with no brace-or-equal-initializer is of
34 Deleted2a() = default; // expected-note 4{{implicitly deleted here}}
[all …]
/aosp_15_r20/external/kernel-headers/original/uapi/drm/
H A Dhabanalabs_accel.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
3 * Copyright 2016-2023 HabanaLabs, Ltd.
14 * Defines that are asic-specific but constitutes as ABI between kernel driver
195 * stream id is a running number from 0 up to (N-1), where N is the number
656 * enum hl_goya_dma_direction - Direction of DMA operation inside a LIN_DMA packet that is
683 * enum hl_device_status - Device status information.
715 * Notifier event values - for the notification mechanism and the HL_INFO_GET_EVENTS command
717 * HL_NOTIFIER_EVENT_TPC_ASSERT - Indicates TPC assert event
718 * HL_NOTIFIER_EVENT_UNDEFINED_OPCODE - Indicates undefined operation code
719 * HL_NOTIFIER_EVENT_DEVICE_RESET - Indicates device requires a reset
[all …]
/aosp_15_r20/system/tools/aidl/tests/rust/
Dtest_client.rs8 * http://www.apache.org/licenses/LICENSE-2.0
38 StructuredParcelable, Union,
68 fn get_test_service() -> binder::Strong<dyn ITestService::ITestService> { in get_test_service()
73 fn get_test_trunk_stable_service() -> binder::Strong<dyn ITrunkStableTest> { in get_test_trunk_stable_service()
138 assert_eq!(ITestService::FLOAT_CONSTANT5, -2.2_f32); in test_constants()
140 assert_eq!(ITestService::DOUBLE_CONSTANT5, -2.2_f64); in test_constants()
162 test_primitive! {test_primitive_byte, RepeatByte, -128i8}
231 ($test:ident, $func:ident, $array:expr) => {
234 let mut array = $array.to_vec(); localVariable
237 let mut repeated = vec![Default::default(); array.len()];
[all …]
/aosp_15_r20/external/intel-media-driver/media_driver/agnostic/Xe_R/Xe_HP_base/hw/blt/
H A Dmhw_blt_xe_hp_base.h2 * Copyright (c) 2020 - 2021, Intel Corporation
38 #define __CODEGEN_BITFIELD(l, h) (h) - (l) + 1
59 union
74 union
87 union
96 union
105 union
113 union
125 union
134 union
[all …]
/aosp_15_r20/external/flatbuffers/docs/source/
H A DTutorial.md10 - Write a FlatBuffer `schema` file.
11 - Use the `flatc` FlatBuffer compiler.
12 - Parse [JSON](http://json.org) files that conform to a schema into
14 - Use the generated files in many of the supported languages (such as C++,
45 * Check if an HTML `class` attribute is in the language-specific format.
47 * 'language-{lang}', where {lang} is a programming language (e.g. 'cpp',
50 * format, prefixed with 'language-'. Otherwise, it returns false.
53 if (languageClass && languageClass.substring(0, 9) == 'language-' &&
62 * Given a language-specific HTML `class` attribute, extract the language.
64 * in the format `language-{lang}`, where {lang} is a programming language
[all …]

12345678910>>...53