Home
last modified time | relevance | path

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

12345678910>>...46

/external/sdv/vsomeip/third_party/boost/tti/include/boost/tti/
Dhas_union.hpp26 /// A macro which expands to a metafunction which tests whether an inner union with a particular na…
30 The metafunction tests whether an inner union with a particular name exists
31 and, optionally, whether an MPL lambda expression invoked with the inner union
35 name = the name of the inner union.
44 static const value = unspecified;
45 typedef mpl::bool_<true-or-false> type;
51 The enclosing type can be a class, struct, or union.
55 with the inner union found and must return a constant boolean
56 value.
58 … returns = 'value' depends on whether or not the optional BOOST_TTI_TP_U is specified.
[all …]
Dhas_static_member_data.hpp41 static const value = unspecified;
42 typedef mpl::bool_<true-or-false> type;
48 The enclosing type can be a class, struct, or union.
49 If the type is a union, static member data can only
50 be found if the C++11 unrestricted union is implemented
51 by the compiler being used, since prior to C++11 a union
56 returns = 'value' is true if the 'name' exists,
59 otherwise 'value' is false.
71 BOOST_STATIC_CONSTANT(bool,value=type::value); \
91 static const value = unspecified;
[all …]
Dhas_data.hpp42 static const value = unspecified;
43 typedef mpl::bool_<true-or-false> type;
49 The enclosing type can be a class, struct, or union.
50 If the type is a union, static member data can only
51 be found if the C++11 unrestricted union is implemented
52 by the compiler being used, since prior to C++11 a union
57 returns = 'value' is true if the 'name' exists, with the correct data type,
58 otherwise 'value' is false.
74 BOOST_STATIC_CONSTANT(bool,value=type::value); \
94 static const value = unspecified;
[all …]
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/
Dunion_definition.tmpl1 {%- macro union_def(union, generate_fuzzing=false) %}
2 function {{union.name}}(value) {
4 this.initValue_(value);
7 {{tags(union)}}
9 {{union.name}}.prototype.initDefault_ = function() {
14 {{union.name}}.prototype.initValue_ = function(value) {
15 if (value == undefined) {
19 var keys = Object.keys(value);
25 throw new TypeError("You may set only one member on a union.");
29 {%- for field in union.fields %}
[all …]
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dtranslate.py2 # Use of this source code is governed by a BSD-style license that can be
23 for value in values:
24 if value.mojom_name in names:
25 return value.mojom_name
26 names.add(value.mojom_name)
69 base_kind = _MapKind(kind[0:-1])
71 # cross-reference is established.
73 if re.split('[^a-z]', base_kind, 1)[0] not in reference_kinds:
79 value = kind[0:lbracket]
80 return 'm[' + _MapKind(kind[lbracket+1:-1]) + '][' + _MapKind(value) + ']'
[all …]
/external/clang/test/SemaCXX/
Dcxx0x-nontrivial-union.cpp1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
10 union u {
13 union u2 {
20 union static_data_member {
25 union bad {
26 int &i; // expected-error {{union member 'i' has reference type 'int &'}}
30 union {
37 union TemplateCtorMember { TemplateCtor s; };
51 union disable_dtor {
71 union { T value; }; member
[all …]
/external/ComputeLibrary/arm_compute/core/
DPixelValue.h2 * Copyright (c) 2016-2021 Arm Limited.
4 * SPDX-License-Identifier: MIT
33 /** Class describing the value of a pixel for any image format. */
37 /** Default constructor: value initialized to 0 */
39 : value in PixelValue()
45 /** Initialize the union with a pixel value of chosen datatype
47 * @param[in] v value.
57 value.u8 = static_cast<uint8_t>(v); in PixelValue()
60 value.s8 = static_cast<int8_t>(v); in PixelValue()
63 value.u8 = quantize_qasymm8(static_cast<float>(v), qinfo); in PixelValue()
[all …]
/external/libxml2/test/schemas/
Dbug306806_1.xsd1 <?xml version="1.0" encoding="UTF-8"?>
5 <xs:group minOccurs="0" maxOccurs="unbounded" ref="geometry-element"/>
8 <xs:element name="geometryGroup" type="geometryGroup-content"/>
9 <xs:complexType name="geometryGroup-content">
10 <xs:group maxOccurs="unbounded" ref="geometry-element"/>
13 <xs:group name="geometry-element">
35 <xs:attributeGroup ref="name-attribute"/>
41 <xs:extension base="three-doubles-list">
42 <xs:attributeGroup ref="dimension-attribute"/>
43 <xs:attributeGroup ref="Length-attribute"/>
[all …]
/external/cronet/third_party/libxml/fuzz/seed_corpus/
D8887177540290a0076f883559c2a98cffd3cc2f61 <?xml version="1.0" encoding="UTF-8"?>
5 <xs:group minOccurs="0" maxOccurs="unbounded" ref="geometry-element"/>
8 <xs:element name="geometryGroup" type="geometryGroup-content"/>
9 <xs:complexType name="geometryGroup-content">
10 <xs:group maxOccurs="unbounded" ref="geometry-element"/>
13 <xs:group name="geometry-element">
35 <xs:attributeGroup ref="name-attribute"/>
41 <xs:extension base="three-doubles-list">
42 <xs:attributeGroup ref="dimension-attribute"/>
43 <xs:attributeGroup ref="Length-attribute"/>
[all …]
/external/clang/test/Index/
Dcomplete-call.cpp97 // RUN: c-index-test -code-completion-at=%s:47:9 %s | FileCheck -check-prefix=CHECK-CC1 %s
98 // CHECK-CC1: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{RightParen )} (1)
99 // CHECK-CC1: Completion contexts:
100 // CHECK-CC1-NEXT: Any type
101 // CHECK-CC1-NEXT: Any value
102 // CHECK-CC1-NEXT: Enum tag
103 // CHECK-CC1-NEXT: Union tag
104 // CHECK-CC1-NEXT: Struct tag
105 // CHECK-CC1-NEXT: Class name
106 // CHECK-CC1-NEXT: Nested name specifier
[all …]
/external/perfetto/src/trace_processor/metrics/sql/android/startup/
Dslow_start_reasons.sql1 --
2 -- Copyright 2022 The Android Open Source Project
3 --
4 -- Licensed under the Apache License, Version 2.0 (the "License");
5 -- you may not use this file except in compliance with the License.
6 -- You may obtain a copy of the License at
7 --
8 -- https://www.apache.org/licenses/LICENSE-2.0
9 --
10 -- Unless required by applicable law or agreed to in writing, software
[all …]
/external/mesa3d/include/drm-uapi/
Dd3dkmthk.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
23 union {
35 * value indicates a failure. A positive number is a success and needs to be
40 union {
98 union {
105 __u32 value; member
111 union {
116 __u32 value; member
175 union {
184 __u32 value; member
[all …]
/external/rust/beto-rust/nearby/presence/np_c_ffi/include/cpp/
Dnp_cpp_ffi_functions.h7 http://www.apache.org/licenses/LICENSE-2.0
16 // clang-format off
26 structs and unions if you want your code to be forward-compatible,
28 a guaranteed forward-compatible layout.
45 /// This method will only have an effect on the global panic-handler
51 /// If the passed function pointer is non-null,
54 /// the platform (in the case where the user-specified
69 /// internal handle-maps, which places an upper bound on the number
73 /// By default, this value will be set to 16, or in `std` environments,
75 /// A shard value override of zero will be interpreted the same
[all …]
/external/rust/crates/rustix/src/
Dutils.rs12 pub(crate) const fn as_ptr<T>(t: &T) -> *const T { in as_ptr()
18 pub(crate) fn as_mut_ptr<T>(t: &mut T) -> *mut T { in as_mut_ptr()
22 /// Convert an `Option<&T>` into a possibly-null `*const T`.
24 pub(crate) const fn option_as_ptr<T>(t: Option<&T>) -> *const T { in option_as_ptr()
31 /// Convert an `Option<&mut T>` into a possibly-null `*mut T`.
33 pub(crate) fn option_as_mut_ptr<T>(t: Option<&mut T>) -> *mut T { in option_as_mut_ptr()
43 pub(crate) fn check_raw_pointer<T>(value: *mut c_void) -> Option<NonNull<T>> { in check_raw_pointer()
44 if (value as usize).checked_add(size_of::<T>()).is_none() in check_raw_pointer()
45 || (value as usize) % align_of::<T>() != 0 in check_raw_pointer()
50 NonNull::new(value.cast()) in check_raw_pointer()
[all …]
/external/libbpf/src/
Dbpf.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
6 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org>
72 static inline int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf()
78 static inline int sys_bpf_fd(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf_fd()
87 int sys_bpf_prog_load(union bpf_attr *attr, unsigned int size, int attempts) in sys_bpf_prog_load()
93 } while (fd < 0 && errno == EAGAIN && --attempts > 0); in sys_bpf_prog_load()
98 /* Probe whether kernel switched from memlock-based (RLIMIT_MEMLOCK) to
99 * memcg-based memory accounting for BPF maps and progs. This was done in [0].
101 * the same 5.11 Linux release ([1]), to detect memcg-based accounting for BPF.
103 * [0] https://lore.kernel.org/bpf/20201201215900.3569844-1-guro@fb.com/
[all …]
Dskel_internal.h1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
30 /* This file is a base header for auto-generated *.lskel.h files.
31 * Its contents will change and may become part of auto-generation in the future.
71 static inline int skel_sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in skel_sys_bpf()
93 ctx->flags |= BPF_SKEL_KERNEL; in skel_alloc()
102 /* skel->bss/rodata maps are populated the following way:
106 * Generated lskel stores the pointer in skel->rodata and in skel->maps.rodata.initial_value.
108 * skel_finalize_map_data() sets skel->rodata to point to actual value in a bpf map and
113 * skel_prep_map_data() mmaps anon memory into skel->rodata that can be accessed directly.
114 * Generated lskel stores the pointer in skel->rodata and in skel->maps.rodata.initial_value.
[all …]
/external/strace/
Dbpf_attr_check.c8 # define SoM(type_, member_) (sizeof(((type_ *)0)->member_))
11 static_assert(SoM(struct BPF_MAP_CREATE_struct, map_type) == SoM(union bpf_attr, map_type),
13 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, map_type) == offsetof(union bpf_attr, map_typ…
18 static_assert(SoM(struct BPF_MAP_CREATE_struct, key_size) == SoM(union bpf_attr, key_size),
20 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, key_size) == offsetof(union bpf_attr, key_siz…
25 static_assert(SoM(struct BPF_MAP_CREATE_struct, value_size) == SoM(union bpf_attr, value_size),
27 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, value_size) == offsetof(union bpf_attr, value…
32 static_assert(SoM(struct BPF_MAP_CREATE_struct, max_entries) == SoM(union bpf_attr, max_entries),
34 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, max_entries) == offsetof(union bpf_attr, max_…
39 static_assert(SoM(struct BPF_MAP_CREATE_struct, map_flags) == SoM(union bpf_attr, map_flags),
[all …]
/external/perfetto/src/trace_processor/metrics/sql/android/
Dandroid_hwcomposer.sql1 --
2 -- Copyright 2021 The Android Open Source Project
3 --
4 -- Licensed under the Apache License, Version 2.0 (the "License");
5 -- you may not use this file except in compliance with the License.
6 -- You may obtain a copy of the License at
7 --
8 -- https://www.apache.org/licenses/LICENSE-2.0
9 --
10 -- Unless required by applicable law or agreed to in writing, software
[all …]
/external/clang/test/CXX/drs/
Ddr14xx.cpp1 // RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
2 // RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
3 // RUN: %clang_cc1 -std=c++14 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
4 // RUN: %clang_cc1 -std=c++1z %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
7 // expected-no-diagnostics
13 union A {
14 union {};
15 union {};
20 union B {
21 union {};
[all …]
/external/sandboxed-api/sandboxed_api/sandbox2/util/
Dbpf_helper.h7 // https://www.apache.org/licenses/LICENSE-2.0
18 // Copyright (c) 2012 The Chromium OS Authors <chromium-os-dev@chromium.org>
100 /* Map all width-sensitive operations */
123 union arg64 {
131 JEQ64(((union arg64){.u64 = (x)}).lo32, \
132 ((union arg64){.u64 = (x)}).hi32, \
135 JGT64(((union arg64){.u64 = (x)}).lo32, \
136 ((union arg64){.u64 = (x)}).hi32, \
139 JGE64(((union arg64){.u64 = (x)}).lo32, \
140 ((union arg64){.u64 = (x)}).hi32, \
[all …]
/external/rust/beto-rust/nearby/presence/np_c_ffi/include/c/
Dnp_c_ffi.h7 http://www.apache.org/licenses/LICENSE-2.0
16 // clang-format off
26 structs and unions if you want your code to be forward-compatible,
28 a guaranteed forward-compatible layout.
51 * Result type for trying to add a V0 credential to a credential-slab.
93 * Result type for trying to add a V1 credential to a credential-slab.
182 * allowed -100dBm to 20dBm range.
204 * The slab that we tried to create a credential-book from
244 * A result-type enum which tells the caller whether/not a deallocation
370 * out-of-bounds or due to the advertisement
[all …]
/external/cronet/third_party/libc++/src/test/std/utilities/function.objects/func.invoke/
Dinvoke.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 // ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX20_REMOVED_TYPE_TRAITS
14 // ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS
23 /// comma-separated list of zero or more argument types.
34 /// (1.1) - (t1.*f)(t2, ..., tN) when f is a pointer to a member function of a class T and t1 is …
36 /// (1.2) - ((*t1).*f)(t2, ..., tN) when f is a pointer to a member function of a class T and t1 …
38 /// (1.3) - t1.*f when N == 1 and f is a pointer to member data of a class T and t1 is an object …
40 /// (1.4) - (*t1).*f when N == 1 and f is a pointer to member data of a class T and t1 is not one…
[all …]
/external/clang/test/CodeGen/
Dunion.c1 // RUN: %clang_cc1 %s -emit-llvm -o -
3 union u_tag {
12 float get_b(union u_tag *my_u) { in get_b()
13 return my_u->b; in get_b()
17 union{ in f2()
24 typedef union { int i; int *j; } value; typedef
26 int f3(value v) { in f3()
31 union S65 { enum E9 a; } ; union S65 s65;
34 typedef union{
39 union RR {_Bool a : 1;} RRU;
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dbdzlr.ll1 ; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=-crbits | FileCheck %s
2 ; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s -check-prefix=CHECK-
3 target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f…
4 target triple = "powerpc64-unknown-linux-gnu"
6 %struct.lua_TValue.17.692 = type { %union.Value.16.691, i32 }
7 %union.Value.16.691 = type { %union.GCObject.15.690* }
8 %union.GCObject.15.690 = type { %struct.lua_State.14.689 }
9union.GCObject.15.690*, i8, i8, i8, %struct.lua_TValue.17.692*, %struct.lua_TValue.17.692*, %struc…
10union.GCObject.15.690*, %union.GCObject.15.690**, %union.GCObject.15.690*, %union.GCObject.15.690*…
11 %struct.stringtable.0.675 = type { %union.GCObject.15.690**, i32, i32 }
[all …]
/external/clang/test/CodeGenCXX/
Ddebug-info-anon-union-vars.cpp1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple x86_64-linux-gnu %s -o - | FileCheck…
4 // anonymous union.
6 static union {
9 union {
25 union { in foo()
35 static union { in buildBytes()
37 T value; in buildBytes() member
39 value = v; in buildBytes()
48 // CHECK: [[FILE]] = !DIFile(filename: "{{.*}}debug-info-anon-union-vars.cpp",
53 // CHECK: !DIGlobalVariable(name: "value", {{.*}} isLocal: false, isDefinition: true
[all …]

12345678910>>...46