Home
last modified time | relevance | path

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

123

/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/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/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.h393 friend class UnionType; variable
493 class UnionType : public StructuralType {
498 UnionType(int length, Zone* zone) : StructuralType(kUnion, length, zone) {} in UnionType() function
501 return AsType(new (zone->New(sizeof(UnionType))) UnionType(length, zone)); in New()
504 static UnionType* cast(Type* type) { in cast()
506 return static_cast<UnionType*>(FromType(type)); in cast()
620 UnionType* AsUnionForTesting() { return AsUnion(); } in AsUnionForTesting()
627 friend UnionType; variable
641 UnionType* AsUnion() { return UnionType::cast(this); } in AsUnion()
652 static int UpdateRange(Type* type, UnionType* result, int size, Zone* zone);
[all …]
Dtypes.cc598 bool UnionType::Wellformed() { in Wellformed()
664 Type* result_type = UnionType::New(size, zone); in Intersect()
665 UnionType* result = result_type->AsUnion(); in Intersect()
687 int Type::UpdateRange(Type* range, UnionType* result, int size, Zone* zone) { in UpdateRange()
725 int Type::IntersectAux(Type* lhs, Type* rhs, UnionType* result, int size, in IntersectAux()
868 Type* result_type = UnionType::New(size, zone); in Union()
869 UnionType* result = result_type->AsUnion(); in Union()
901 int Type::AddToUnion(Type* type, UnionType* result, int size, Zone* zone) { in AddToUnion()
917 UnionType* unioned = union_type->AsUnion(); in NormalizeUnion()
/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/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/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVValue.h183 union UnionType{ union
188 UnionType() { in UnionType() function
/external/flatbuffers/reflection/
Dreflection.fbs33 // If base_type == Union, UnionType, or integral derived
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java473 } else if (type instanceof UnionType) { in convertToUsage()
474 UnionType unionType = (UnionType) type; in convertToUsage()
/external/javaparser/javaparser-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DMetaModelGenerator.java139 add(UnionType.class);
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DNoCommentEqualsVisitor.java407 public Boolean visit(final UnionType n, final Visitable arg) { in visit()
408 final UnionType n2 = (UnionType) arg; in visit()
DVoidVisitor.java269 void visit(UnionType n, A arg); in visit()
DGenericVisitor.java111 R visit(UnionType n, A arg); in visit()
DEqualsVisitor.java501 public Boolean visit(final UnionType n, final Visitable arg) { in visit()
502 final UnionType n2 = (UnionType) arg; in visit()
DObjectIdentityHashCodeVisitor.java426 public Integer visit(final UnionType n, final Void arg) { in visit()
DVoidVisitorWithDefaults.java402 public void visit(final UnionType n, final A arg) { in visit()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinterTest.java9 import com.github.javaparser.ast.type.UnionType;
434 UnionType unionType = (UnionType)catchClause.getParameter().getType(); in printUnionType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/
DEqualsVisitor.java698 @Override public Boolean visit(final UnionType n1, final Node arg) { in visit()
699 final UnionType n2 = (UnionType) arg; in visit()
DVoidVisitor.java132 void visit(UnionType n, A arg); in visit()
DGenericVisitor.java132 R visit(UnionType n, A arg); in visit()

123