Home
last modified time | relevance | path

Searched refs:UnionType (Results 1 – 25 of 91) sorted by relevance

1234

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DUnionType.java63 public final class UnionType extends Type implements NodeWithAnnotations<UnionType> { class
68 public UnionType() { in UnionType() method in UnionType
76 public UnionType(TokenRange tokenRange, NodeList<ReferenceType> elements) { in UnionType() method in UnionType
83 public UnionType(NodeList<ReferenceType> elements) { in UnionType() method in UnionType
93 public UnionType setElements(final NodeList<ReferenceType> elements) { in setElements()
96 return (UnionType) this; in setElements()
107 public UnionType setAnnotations(NodeList<AnnotationExpr> annotations) { in setAnnotations()
108 return (UnionType) super.setAnnotations(annotations); in setAnnotations()
144 public UnionType clone() { in clone()
145 return (UnionType) accept(new CloneVisitor(), null); in clone()
[all …]
DType.java226 public UnionType asUnionType() { in asUnionType()
285 public void ifUnionType(Consumer<UnionType> action) { in ifUnionType()
334 public Optional<UnionType> toUnionType() { in toUnionType()
/external/swiftshader/third_party/LLVM/test/Transforms/ScalarRepl/
D2007-05-29-MemcpyPreserve.ll9 %struct.UnionType = type { %struct.LongestMember }
11 define void @_Z4testP9UnionTypePS0_(%struct.UnionType* %p, %struct.UnionType** %pointerToUnion) {
13 %tmp = alloca %struct.UnionType, align 8
14 %tmp2 = getelementptr %struct.UnionType* %tmp, i32 0, i32 0, i32 0
15 %tmp13 = getelementptr %struct.UnionType* %p, i32 0, i32 0, i32 0
17 %tmp5 = load %struct.UnionType** %pointerToUnion
18 %tmp56 = getelementptr %struct.UnionType* %tmp5, i32 0, i32 0, i32 0
19 %tmp7 = getelementptr %struct.UnionType* %tmp, i32 0, i32 0, i32 0
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dunion_traits_definition.tmpl7 using UnionType = {{mojom_type}};
8 using Tag = UnionType::Tag;
21 *output = UnionType::New{{field.name|under_to_camel}}(
24 *output = UnionType::New{{field.name|under_to_camel}}(
28 *output = UnionType::New{{field.name|under_to_camel}}(
36 *output = UnionType::New{{field.name|under_to_camel}}(result_{{name}});
38 *output = UnionType::New{{field.name|under_to_camel}}(input.{{name}}());
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/type/
DUnionType.java14 public class UnionType extends Type<UnionType> implements NodeWithAnnotations<UnionType> { class
18 public UnionType(Range range, List<ReferenceType> elements) { in UnionType() method in UnionType
23 public UnionType(List<ReferenceType> elements) { in UnionType() method in UnionType
32 public UnionType setElements(List<ReferenceType> elements) { in setElements()
/external/v8/src/torque/
Dtypes.cc36 if (const UnionType* union_type = UnionType::DynamicCast(supertype)) { in IsSubtypeOf()
103 std::string UnionType::ToExplicitString() const { in ToExplicitString()
118 std::string UnionType::MangledName() const { in MangledName()
128 std::string UnionType::GetGeneratedTNodeTypeName() const { in GetGeneratedTNodeTypeName()
144 const Type* UnionType::NonConstexprVersion() const { in NonConstexprVersion()
147 UnionType result((*it)->NonConstexprVersion()); in NonConstexprVersion()
157 void UnionType::RecomputeParent() { in RecomputeParent()
169 void UnionType::Subtract(const Type* t) { in Subtract()
182 UnionType result = UnionType::FromType(a); in SubtractType()
Dtypes.h216 class UnionType final : public Type {
218 DECLARE_TYPE_BOILERPLATE(UnionType);
232 friend size_t hash_value(const UnionType& p) { in hash_value()
239 bool operator==(const UnionType& other) const {
268 if (const UnionType* union_type = UnionType::DynamicCast(t)) { in Extend()
286 static UnionType FromType(const Type* t) { in FromType()
287 const UnionType* union_type = UnionType::DynamicCast(t); in FromType()
288 return union_type ? UnionType(*union_type) : UnionType(t); in FromType()
292 explicit UnionType(const Type* t) : Type(Kind::kUnionType, t), types_({t}) {} in UnionType() function
Dtype-oracle.h47 static const Type* GetUnionType(UnionType type) { in GetUnionType()
57 UnionType result = UnionType::FromType(a); in GetUnionType()
110 Deduplicator<UnionType> union_types_;
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_type_UnionType.txt1 …Line 20) setElements(elements) ==> com.github.javaparser.ast.type.UnionType.setElements(java.util.…
2 …Line 25) setElements(elements) ==> com.github.javaparser.ast.type.UnionType.setElements(java.util.…
5 …com.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.type.UnionType, A)
6 …=> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.type.UnionType, A)
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/validator/
DJava7ValidatorTest.java11 import com.github.javaparser.ast.type.UnionType;
83 UnionType unionType = new UnionType(); in multiCatchWithoutElements()
93 UnionType unionType = new UnionType(); in multiCatchWithOneElement()
/external/v8/src/compiler/
Dtypes.h225 class UnionType; variable
322 friend class UnionType; variable
438 const UnionType* AsUnionForTesting() { return AsUnion(); } in AsUnionForTesting()
447 friend UnionType; variable
474 const UnionType* AsUnion() const;
486 static int UpdateRange(Type type, UnionType* result, int size, Zone* zone);
494 static int AddToUnion(Type type, UnionType* result, int size, Zone* zone);
495 static int IntersectAux(Type type, Type other, UnionType* result, int size,
497 static Type NormalizeUnion(UnionType* unioned, int size, Zone* zone);
624 class UnionType : public StructuralType {
[all …]
Dtypes.cc599 bool UnionType::Wellformed() const { in Wellformed()
659 UnionType* result = UnionType::New(size, zone); in Intersect()
681 int Type::UpdateRange(Type range, UnionType* result, int size, Zone* zone) { in UpdateRange()
719 int Type::IntersectAux(Type lhs, Type rhs, UnionType* result, int size, in IntersectAux()
860 UnionType* result = UnionType::New(size, zone); in Union()
892 int Type::AddToUnion(Type type, UnionType* result, int size, Zone* zone) { in AddToUnion()
907 Type Type::NormalizeUnion(UnionType* unioned, int size, Zone* zone) { in NormalizeUnion()
1086 return FromTypeBase(UnionType::New(length, zone)); in Union()
1109 const UnionType* Type::AsUnion() const { in AsUnion()
1111 return static_cast<const UnionType*>(ToTypeBase()); in AsUnion()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/
DJava7Validator.java5 import com.github.javaparser.ast.type.UnionType;
23 …protected final SingleNodeTypeValidator<UnionType> multiCatch = new SingleNodeTypeValidator<>(Unio…
DJava1_0Validator.java17 import com.github.javaparser.ast.type.UnionType;
88 protected final Validator noMultiCatch = new SimpleValidator<>(UnionType.class,
/external/syzkaller/prog/
Dtypes.go498 type UnionType struct { struct
504 func (t *UnionType) String() string { argument
508 func (t *UnionType) FieldName() string { argument
512 func (t *UnionType) makeDefaultArg() Arg { argument
516 func (t *UnionType) isDefaultArg(arg Arg) bool { argument
564 case *UnionType:
Dany.go8 union *UnionType
38 target.any.union = &UnionType{
176 case *UnionType:
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/metamodel/
DUnionTypeMetaModel.java8 …super(superBaseNodeMetaModel, com.github.javaparser.ast.type.UnionType.class, "UnionType", "com.gi… in UnionTypeMetaModel()
/external/syzkaller/sys/linux/gen/
D386.go170 &UnionType{Key: StructKey{Name: "action_gd_policy"}, FldName: "action_gd"},
171 &UnionType{Key: StructKey{Name: "action_dump_flags"}, FldName: "action_dump_flags"},
197 &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "sha"},
198 &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "spa"},
199 &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "tha"},
200 &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "tpa"},
208 &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "sha"},
209 &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "spa"},
210 &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "tha"},
211 &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "tpa"},
[all …]
Dppc64le.go167 &UnionType{Key: StructKey{Name: "action_gd_policy"}, FldName: "action_gd"},
168 &UnionType{Key: StructKey{Name: "action_dump_flags"}, FldName: "action_dump_flags"},
194 &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "sha"},
195 &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "spa"},
196 &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "tha"},
197 &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "tpa"},
205 &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "sha"},
206 &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "spa"},
207 &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "tha"},
208 &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "tpa"},
[all …]
Damd64.go176 &UnionType{Key: StructKey{Name: "action_gd_policy"}, FldName: "action_gd"},
177 &UnionType{Key: StructKey{Name: "action_dump_flags"}, FldName: "action_dump_flags"},
203 &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "sha"},
204 &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "spa"},
205 &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "tha"},
206 &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "tpa"},
214 &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "sha"},
215 &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "spa"},
216 &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "tha"},
217 &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "tpa"},
[all …]
/external/syzkaller/sys/freebsd/gen/
Damd64.go113 &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "ipi6_addr"},
125 &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "imr_multiaddr"},
126 &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "imr_interface"},
129 &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "imr_multiaddr"},
130 &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "imr_interface"},
133 &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "imr_multiaddr"},
134 &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "imr_interface"},
135 &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "imr_sourceaddr"},
138 &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "imr_multiaddr"},
139 &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "imr_interface"},
[all …]
/external/syzkaller/pkg/compiler/
Dgen.go158 case *prog.UnionType:
218 func (ctx *structGen) walkUnion(t *prog.UnionType) {
369 case *prog.UnionType:
/external/syzkaller/sys/netbsd/gen/
Damd64.go136 …&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{K…
141 …yType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &UnionType{Key: StructKey{N…
169 …ame: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{N…
219 …ame: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{N…
275 &UnionType{Key: StructKey{Name: "sockaddr_un"}, FldName: "un"},
280 &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}, FldName: "un"},
370 …ypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{N…
385 …ypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{N…
390 …&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{K…
405 …&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{K…
[all …]
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVValue.h183 union UnionType{ union
188 UnionType() { in UnionType() function
/external/syzkaller/sys/test/gen/
D64_fork.go35 …&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "got", TypeSize: 8}, Type: &UnionType{Ke…

1234