Home
last modified time | relevance | path

Searched refs:parseType (Results 1 – 25 of 115) sorted by relevance

12345

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithParameters.java32 import static com.github.javaparser.StaticJavaParser.parseType;
58 return addParameter(parseType(paramClass.getSimpleName()), name); in addParameter()
68 return addParameter(parseType(className), name); in addParameter()
83 return addAndGetParameter(parseType(paramClass.getSimpleName()), name); in addAndGetParameter()
94 return addAndGetParameter(parseType(className), name); in addAndGetParameter()
DNodeWithType.java28 import static com.github.javaparser.StaticJavaParser.parseType;
66 return setType((T) parseType(typeClass.getSimpleName())); in setType()
72 return setType((T) parseType(typeString)); in setType()
DNodeWithMembers.java35 import static com.github.javaparser.StaticJavaParser.parseType;
97 return addField(parseType(type), name, modifiers); in addField()
141 return addFieldWithInitializer(parseType(type), name, initializer, modifiers); in addFieldWithInitializer()
/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp179 Ty = parseType("i32", Error, M, &Mapping); in TEST()
185 Ty = parseType("i13", Error, M, &Mapping); in TEST()
191 Ty = parseType("float", Error, M, &Mapping); in TEST()
195 Ty = parseType("double", Error, M, &Mapping); in TEST()
201 Ty = parseType("%st", Error, M, &Mapping); in TEST()
215 Ty = parseType("%0", Error, M, &Mapping); in TEST()
229 Ty = parseType("<5 x i32>", Error, M, &Mapping); in TEST()
242 Ty = parseType("%opaque", Error, M, &Mapping); in TEST()
251 Ty = parseType("i32*", Error, M, &Mapping); in TEST()
261 Ty = parseType("i32**", Error, M, &Mapping); in TEST()
[all …]
/external/llvm-project/llvm/unittests/AsmParser/
DAsmParserTest.cpp178 Ty = parseType("i32", Error, M, &Mapping); in TEST()
184 Ty = parseType("i13", Error, M, &Mapping); in TEST()
190 Ty = parseType("float", Error, M, &Mapping); in TEST()
194 Ty = parseType("double", Error, M, &Mapping); in TEST()
200 Ty = parseType("%st", Error, M, &Mapping); in TEST()
214 Ty = parseType("%0", Error, M, &Mapping); in TEST()
228 Ty = parseType("<5 x i32>", Error, M, &Mapping); in TEST()
241 Ty = parseType("%opaque", Error, M, &Mapping); in TEST()
250 Ty = parseType("i32*", Error, M, &Mapping); in TEST()
260 Ty = parseType("i32**", Error, M, &Mapping); in TEST()
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/type/
DTypeTest.java14 import static com.github.javaparser.StaticJavaParser.parseType;
55 Type type = parseType("int[]"); in arrayType()
65 final Type type = parseType("TypeUtilsTest<String>.Tester"); in issue1251()
/external/llvm-project/mlir/lib/Parser/
DTypeParser.cpp38 return failure(!(type = parseType())); in parseOptionalType()
50 Type Parser::parseType() { in parseType() function in Parser
79 auto elt = parseType(); in parseTypeListNoParens()
118 auto elementType = parseType(); in parseComplexType()
215 auto elementType = parseType(); in parseMemRefType()
403 auto elementType = parseType(); in parseTensorType()
463 auto elementType = parseType(); in parseVectorType()
DDialectSymbolParser.cpp301 ParseResult parseType(Type &result) override { in parseType() function in __anon8dbb0c750111::CustomDialectAsmParser
302 result = parser.parseType(); in parseType()
525 if (consumeIf(Token::colon) && !(attrType = parseType())) in parseExtendedAttr()
573 return dialect->parseType(customParser); in parseExtendedType()
627 Type mlir::parseType(StringRef typeStr, MLIRContext *context) { in parseType() function in mlir
629 return parseType(typeStr, context, numRead); in parseType()
632 Type mlir::parseType(StringRef typeStr, MLIRContext *context, size_t &numRead) { in parseType() function in mlir
634 [](Parser &parser) { return parser.parseType(); }); in parseType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DTypeParser.java33 JavaType type = parseType(tokens); in parse()
41 protected JavaType parseType(MyTokenizer tokens) in parseType() method in TypeParser
68 types.add(parseType(tokens)); in parseTypes()
/external/llvm-project/llvm/unittests/Demangle/
DItaniumDemangleTest.cpp44 Node *parseType() { in TEST() function
46 return AbstractManglingParser<TestParser, TestAllocator>::parseType(); in TEST()
/external/turbine/java/com/google/turbine/bytecode/sig/
DSigParser.java93 params.add(parseType()); in parseMethodSig()
97 TySig result = parseType(); in parseMethodSig()
149 public TySig parseType() { in parseType() method in SigParser
185 TySig elementType = parseType(); in parseArraySig()
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/node/
DPropertyGenerator.java21 import static com.github.javaparser.StaticJavaParser.parseType;
57 …dDeclaration setter = new MethodDeclaration(createModifierList(PUBLIC), parseType(property.getCont… in generateSetter()
59 setter.setType(parseType("T")); in generateSetter()
97 …dDeclaration getter = new MethodDeclaration(createModifierList(PUBLIC), parseType(property.getType… in generateGetter()
/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DTypeParser.cpp34 if (parser.parseType(type)) in parseStorageType()
99 if (failed(parser.parseType(type))) { in parseExpressedTypeAndRange()
149 if (parser.parseType(expressedType)) { in parseAnyType()
227 if (parser.parseColon() || parser.parseType(expressedType)) { in parseUniformType()
320 Type QuantizationDialect::parseType(DialectAsmParser &parser) const { in parseType() function in QuantizationDialect
/external/llvm-project/libcxxabi/src/demangle/
DItaniumDemangle.h2502 Node *parseType();
2757 Node *P = getDerived().parseType(); in parseUnnamedTypeName()
2887 Node *Ty = getDerived().parseType(); in parseOperatorName()
3519 Node *T = getDerived().parseType(); in parseFunctionType()
3535 Node *ReturnType = getDerived().parseType(); in parseFunctionType()
3554 Node *T = getDerived().parseType(); in parseFunctionType()
3582 Node *ElemType = getDerived().parseType(); in parseVectorType()
3594 Node *ElemType = getDerived().parseType(); in parseVectorType()
3599 Node *ElemType = getDerived().parseType(); in parseVectorType()
3645 Node *Ty = getDerived().parseType(); in parseArrayType()
[all …]
/external/llvm-project/llvm/include/llvm/Demangle/
DItaniumDemangle.h2502 Node *parseType();
2757 Node *P = getDerived().parseType(); in parseUnnamedTypeName()
2887 Node *Ty = getDerived().parseType(); in parseOperatorName()
3519 Node *T = getDerived().parseType(); in parseFunctionType()
3535 Node *ReturnType = getDerived().parseType(); in parseFunctionType()
3554 Node *T = getDerived().parseType(); in parseFunctionType()
3582 Node *ElemType = getDerived().parseType(); in parseVectorType()
3594 Node *ElemType = getDerived().parseType(); in parseVectorType()
3599 Node *ElemType = getDerived().parseType(); in parseVectorType()
3645 Node *Ty = getDerived().parseType(); in parseArrayType()
[all …]
/external/javaparser/javaparser-core-serialization/src/test/java/com/github/javaparser/serialization/
DJavaParserJsonDeserializerTest.java64 Type type = parseType("Blub"); in testRawType()
75 Type type = parseType("Blub<>"); in testDiamondType()
86 Type type = parseType("Blub<Blab, Bleb>"); in testGenerics()
108 Type type = parseType("int"); in testPrimitiveType()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DItaniumDemangle.h2438 Node *parseType();
2693 Node *P = getDerived().parseType(); in parseUnnamedTypeName()
2823 Node *Ty = getDerived().parseType(); in parseOperatorName()
3455 Node *T = getDerived().parseType(); in parseFunctionType()
3471 Node *ReturnType = getDerived().parseType(); in parseFunctionType()
3490 Node *T = getDerived().parseType(); in parseFunctionType()
3518 Node *ElemType = getDerived().parseType(); in parseVectorType()
3530 Node *ElemType = getDerived().parseType(); in parseVectorType()
3535 Node *ElemType = getDerived().parseType(); in parseVectorType()
3581 Node *Ty = getDerived().parseType(); in parseArrayType()
[all …]
/external/libcxxabi/src/demangle/
DItaniumDemangle.h2259 Node *parseType();
2472 Node *P = getDerived().parseType(); in parseUnnamedTypeName()
2595 Node *Ty = getDerived().parseType(); in parseOperatorName()
3224 Node *T = getDerived().parseType(); in parseFunctionType()
3240 Node *ReturnType = getDerived().parseType(); in parseFunctionType()
3259 Node *T = getDerived().parseType(); in parseFunctionType()
3285 Node *ElemType = getDerived().parseType(); in parseVectorType()
3297 Node *ElemType = getDerived().parseType(); in parseVectorType()
3302 Node *ElemType = getDerived().parseType(); in parseVectorType()
3346 Node *Ty = getDerived().parseType(); in parseArrayType()
[all …]
/external/llvm-project/mlir/include/mlir/IR/
DDialectImplementation.h311 virtual ParseResult parseType(Type &result) = 0;
314 template <typename TypeType> ParseResult parseType(TypeType &result) { in parseType() function
319 if (parseType(type)) in parseType()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DArrayCreationExpr.java35 import static com.github.javaparser.StaticJavaParser.parseType;
179 return setElementType(parseType(typeClass.getSimpleName())); in setElementType()
183 return setElementType(parseType(type)); in setElementType()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/
DCloneVisitorTest.java35 import static com.github.javaparser.StaticJavaParser.parseType;
104 Type type = parseType("List<@C ? extends Object>").clone(); in cloneAnnotationOnWildcardTypeArgument()
/external/llvm-project/llvm/lib/AsmParser/
DLLParser.h392 bool parseType(Type *&Result, const Twine &Msg, bool AllowVoid = false);
393 bool parseType(Type *&Result, bool AllowVoid = false) {
394 return parseType(Result, "expected type", AllowVoid);
396 bool parseType(Type *&Result, const Twine &Msg, LocTy &Loc,
399 return parseType(Result, Msg, AllowVoid);
401 bool parseType(Type *&Result, LocTy &Loc, bool AllowVoid = false) {
403 return parseType(Result, AllowVoid);
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/
DNodeWithMembersBuildersTest.java137 classOrInterfaceDeclaration.addPrivateField(parseType("java.lang.String"), "name"); in testAddPrivateFieldWithType()
152 classOrInterfaceDeclaration.addPublicField(parseType("java.lang.String"), "name"); in testAddPublicFieldWithType()
167 classOrInterfaceDeclaration.addProtectedField(parseType("java.lang.String"), "name"); in testAddProtectedFieldWithType()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp74 parser.getCurrentLocation(&trailingTypeLoc) || parser.parseType(type) || in parseCmpOp()
141 parser.parseType(elemType) || in parseAllocaOp()
143 parser.getCurrentLocation(&trailingTypeLoc) || parser.parseType(type)) in parseAllocaOp()
243 parser.getCurrentLocation(&trailingTypeLoc) || parser.parseType(type) || in parseLoadOp()
292 parser.getCurrentLocation(&trailingTypeLoc) || parser.parseType(type)) in parseStoreOp()
390 parser.getCurrentLocation(&trailingTypeLoc) || parser.parseType(funcType)) in parseInvokeOp()
530 parser.parseType(ty) || in parseLandingpadOp()
537 if (parser.parseColon() || parser.parseType(type)) in parseLandingpadOp()
666 parser.getCurrentLocation(&trailingTypeLoc) || parser.parseType(type)) in parseCallOp()
841 parser.parseType(containerType) || in parseExtractValueOp()
[all …]
/external/llvm-project/mlir/lib/Dialect/Async/IR/
DAsync.cpp28 Type AsyncDialect::parseType(DialectAsmParser &parser) const { in parseType() function in AsyncDialect
38 if (parser.parseLess() || parser.parseType(ty) || parser.parseGreater()) { in parseType()
332 if (parser.parseType(operandType)) in parseAwaitResultType()

12345