Home
last modified time | relevance | path

Searched refs:typeExpr (Results 1 – 25 of 148) sorted by relevance

123456

/dports/devel/splint/splint-3.1.2/src/Headers/
H A DtypeExpr.h20 /*@null@*/ typeExpr pointer;
22 /*@null@*/ typeExpr elementtype;
26 /*@null@*/ typeExpr returntype; /* not really ... return-part maybe */
33 extern void typeExpr_free (/*@only@*/ /*@null@*/ typeExpr p_x);
34 extern /*@only@*/ cstring typeExpr_unparse (/*@null@*/ typeExpr p_x);
35 extern /*@only@*/ cstring typeExpr_unparseNoBase (/*@null@*/ typeExpr p_x);
38 typedef typeExpr abstDeclaratorNode;
H A Dabstract.h402 extern /*@only@*/ typeExpr makeTypeExpr (/*@only@*/ ltoken p_t);
405 makeDeclaratorNode (/*@only@*/ typeExpr p_t);
407 extern /*@only@*/ typeExpr
408 makeFunctionNode (/*@null@*/ /*@only@*/ typeExpr p_x, /*@only@*/ paramNodeList p_p);
410 extern /*@only@*/ typeExpr
411 makePointerNode (/*@only@*/ ltoken p_star, /*@null@*/ /*@only@*/ /*@returned@*/ typeExpr p_x);
413 extern /*@only@*/ typeExpr
414 makeArrayNode (/*@only@*/ /*@returned@*/ /*@null@*/ typeExpr p_x,
418 makeParamNode (/*@only@*/ lclTypeSpecNode p_t, /*@only@*/ typeExpr p_d);
503 extern sort typeExpr2ptrSort(sort p_base, /*@null@*/ typeExpr p_t);
[all …]
/dports/misc/py-tvm/incubator-tvm-0.6.1/python/tvm/relay/grammar/
H A DRelay.g4119 func: 'fn' typeParamList? '(' argList ')' ('->' typeExpr)? body ;
121 : 'def' globalVar typeParamList? '(' argList ')' ('->' typeExpr)? body # funcDefn
129 adtConsDefn: constructorName ('(' typeExpr (',' typeExpr)* ')')? ;
138 | localVar (':' typeExpr)? # varPattern
153 var: localVar (':' typeExpr)? ;
158 typeExpr
160 | '(' typeExpr ')' # typeParen
161 | '(' typeExpr ',' ')' # tupleType
162 | '(' typeExpr (',' typeExpr)+ ')' # tupleType
166 | 'fn' typeParamList? '(' (typeExpr (',' typeExpr)*)? ')' '->' typeExpr # funcType
[all …]
/dports/misc/tvm/incubator-tvm-0.6.1/python/tvm/relay/grammar/
H A DRelay.g4119 func: 'fn' typeParamList? '(' argList ')' ('->' typeExpr)? body ;
121 : 'def' globalVar typeParamList? '(' argList ')' ('->' typeExpr)? body # funcDefn
129 adtConsDefn: constructorName ('(' typeExpr (',' typeExpr)* ')')? ;
138 | localVar (':' typeExpr)? # varPattern
153 var: localVar (':' typeExpr)? ;
158 typeExpr
160 | '(' typeExpr ')' # typeParen
161 | '(' typeExpr ',' ')' # tupleType
162 | '(' typeExpr (',' typeExpr)+ ')' # tupleType
166 | 'fn' typeParamList? '(' (typeExpr (',' typeExpr)*)? ')' '->' typeExpr # funcType
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/matcher/schema/
H A Djson_schema_parser.cpp166 invariantOK(typeExpr->init(path, restrictionType)); in makeRestriction()
169 invariantOK(notExpr->init(typeExpr.release())); in makeRestriction()
239 return {std::move(typeExpr)}; in parseType()
521 InternalSchemaTypeExpression* typeExpr) { in translateRequired() argument
553 InternalSchemaTypeExpression* typeExpr, in parseProperties() argument
1073 typeExpr, in parseItemsAndAdditionalItems()
1263 path, minPropertiesElt, typeExpr); in translateObjectKeywords()
1272 path, maxPropertiesElt, typeExpr); in translateObjectKeywords()
1539 if (path.empty() && typeExpr && !typeExpr->typeSet().hasType(BSONType::Object)) { in _parse()
1545 if (!path.empty() && typeExpr) { in _parse()
[all …]
/dports/devel/apitrace/apitrace-9.0/specs/scripts/
H A Dxml2api.py71 typeExpr = parser.parse_type()
75 typeExpr = 'Pointer(%s)' % (typeExpr)
79 typeExpr = 'Array(%s, %s)' % (typeExpr, lenExpr)
81 return typeExpr
/dports/dns/dnscrypt-proxy2/dnscrypt-proxy-2.1.1/vendor/github.com/go-critic/go-critic/checkers/internal/lintutil/
H A Dzero_value.go46 func ZeroValueOf(typeExpr ast.Expr, typ types.Type) ast.Expr {
65 Fun: typeExpr,
71 Fun: typeExpr,
76 return &ast.CompositeLit{Type: typeExpr}
/dports/multimedia/navidrome/navidrome-0.40.0/vendor/github.com/kunwardeep/paralleltest/tools/vendor/github.com/go-critic/go-critic/checkers/internal/lintutil/
H A Dzero_value.go46 func ZeroValueOf(typeExpr ast.Expr, typ types.Type) ast.Expr {
65 Fun: typeExpr,
71 Fun: typeExpr,
76 return &ast.CompositeLit{Type: typeExpr}
/dports/multimedia/navidrome/navidrome-0.40.0/vendor/github.com/go-critic/go-critic/checkers/internal/lintutil/
H A Dzero_value.go46 func ZeroValueOf(typeExpr ast.Expr, typ types.Type) ast.Expr {
65 Fun: typeExpr,
71 Fun: typeExpr,
76 return &ast.CompositeLit{Type: typeExpr}
/dports/devel/tinygo/tinygo-0.14.1/cgo/
H A Dcgo.go65 typeExpr ast.Expr member
70 typeExpr ast.Expr member
77 typeExpr *ast.StructType member
97 typeExpr ast.Expr member
103 typeExpr ast.Expr member
501 Type: arg.typeExpr,
635 Type: global.typeExpr,
756 typeExpr := typ.typeExpr
768 if typeExpr == nil {
780 Type: typeExpr,
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/matcher/
H A Dexpression_type_test.cpp68 TypeMatchExpression typeExpr; in TEST() local
71 ASSERT_OK(typeExpr.init("a", std::move(typeSet))); in TEST()
72 ASSERT_EQ("a", typeExpr.path()); in TEST()
73 ASSERT_TRUE(typeExpr.matchesSingleElement(match1["a"])); in TEST()
74 ASSERT_TRUE(typeExpr.matchesSingleElement(match2["a"])); in TEST()
75 ASSERT_TRUE(typeExpr.matchesSingleElement(match3["a"])); in TEST()
76 ASSERT_FALSE(typeExpr.matchesSingleElement(notMatch["a"])); in TEST()
/dports/devel/splint/splint-3.1.2/src/
H A Dabstract.c83 static /*@null@*/ typeExpr typeExpr_copy (/*@null@*/ typeExpr p_x) /*@*/ ;
2132 /*@only@*/ typeExpr
2135 typeExpr y = (typeExpr) dmalloc (sizeof (*y)); in makeFunctionNode()
2167 /*@only@*/ typeExpr
2170 typeExpr x = (typeExpr) dmalloc (sizeof (*x)); in makeTypeExpr()
2261 static /*@null@*/ typeExpr typeExpr_copy (/*@null@*/ typeExpr x) in typeExpr_copy()
2269 typeExpr ret = (typeExpr) dmalloc (sizeof (*ret)); in typeExpr_copy()
2494 /*@only@*/ typeExpr
2504 typeExpr y = (typeExpr) dmalloc (sizeof (*y)); in makePointerNode()
2516 typeExpr makeArrayNode (/*@returned@*/ typeExpr x, in makeArrayNode()
[all …]
/dports/sysutils/nomad/nomad-1.1.0/vendor/golang.org/x/tools/internal/analysisinternal/
H A Danalysis.go51 texpr := typeExpr(fset, f, pkg, typ) // typ because we want the name here.
59 texpr := typeExpr(fset, f, pkg, u.Elem())
73 func typeExpr(fset *token.FileSet, f *ast.File, pkg *types.Package, typ types.Type) ast.Expr { func
/dports/sysutils/terraform-provider-gridscale/terraform-provider-gridscale-1.6.2/vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/
H A Dload_hcl.go94 var typeExpr string
99 typeExpr = typeExprAsStr
106 typeExpr = string(rng.SliceBytes(source))
115 typeExpr = ""
120 v.Type = typeExpr
/dports/sysutils/terraform-switcher/terraform-switcher-0.13.1201/vendor/github.com/kiranjthomas/terraform-config-inspect/tfconfig/
H A Dload_hcl.go94 var typeExpr string
99 typeExpr = typeExprAsStr
106 typeExpr = string(rng.SliceBytes(source))
115 typeExpr = ""
120 v.Type = typeExpr
/dports/sysutils/terraform-provider-vultr/terraform-provider-vultr-0.1.10/vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/
H A Dload_hcl.go94 var typeExpr string
99 typeExpr = typeExprAsStr
106 typeExpr = string(rng.SliceBytes(source))
115 typeExpr = ""
120 v.Type = typeExpr
/dports/misc/tvm/incubator-tvm-0.6.1/python/tvm/relay/
H A D_parser.py380 return self.visit(ctx.typeExpr())
444 typeExpr = self.getTypeExpr(ctx.typeExpr())
446 return self.mk_var(ident.getText()[1:], typeExpr)
488 type_params = type_params.typeExpr()
497 ret_type = self.getTypeExpr(ctx.typeExpr())
535 for type_ident in type_params.typeExpr()]
557 inputs = [self.visit(inp) for inp in cons_defn.typeExpr()]
595 typ = ctx.typeExpr()
691 dtype = self.visit(ctx.typeExpr())
701 return ty.TupleType(self.visit_list(ctx.typeExpr()))
[all …]
/dports/misc/py-tvm/incubator-tvm-0.6.1/python/tvm/relay/
H A D_parser.py380 return self.visit(ctx.typeExpr())
444 typeExpr = self.getTypeExpr(ctx.typeExpr())
446 return self.mk_var(ident.getText()[1:], typeExpr)
488 type_params = type_params.typeExpr()
497 ret_type = self.getTypeExpr(ctx.typeExpr())
535 for type_ident in type_params.typeExpr()]
557 inputs = [self.visit(inp) for inp in cons_defn.typeExpr()]
595 typ = ctx.typeExpr()
691 dtype = self.visit(ctx.typeExpr())
701 return ty.TupleType(self.visit_list(ctx.typeExpr()))
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/langtools/tools/javac/tree/
H A DMakeTypeTest.java124 JCExpression typeExpr = TreeMaker.instance(ctx).Type(type); in doTest() local
126 if (!typeExpr.getKind().equals(testType.expectedKind())) { in doTest()
127 throw new IllegalStateException("was=" + typeExpr + ", kind=" + in doTest()
128 typeExpr.getKind() + "; expected kind: " + in doTest()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/langtools/tools/javac/tree/
H A DMakeTypeTest.java124 JCExpression typeExpr = TreeMaker.instance(ctx).Type(type); in doTest() local
126 if (!typeExpr.getKind().equals(testType.expectedKind())) { in doTest()
127 throw new IllegalStateException("was=" + typeExpr + ", kind=" + in doTest()
128 typeExpr.getKind() + "; expected kind: " + in doTest()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/langtools/tools/javac/tree/
H A DMakeTypeTest.java124 JCExpression typeExpr = TreeMaker.instance(ctx).Type(type); in doTest() local
126 if (!typeExpr.getKind().equals(testType.expectedKind())) { in doTest()
127 throw new IllegalStateException("was=" + typeExpr + ", kind=" + in doTest()
128 typeExpr.getKind() + "; expected kind: " + in doTest()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/langtools/tools/javac/tree/
H A DMakeTypeTest.java124 JCExpression typeExpr = TreeMaker.instance(ctx).Type(type); in doTest() local
126 if (!typeExpr.getKind().equals(testType.expectedKind())) { in doTest()
127 throw new IllegalStateException("was=" + typeExpr + ", kind=" + in doTest()
128 typeExpr.getKind() + "; expected kind: " + in doTest()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/langtools/tools/javac/tree/
H A DMakeTypeTest.java124 JCExpression typeExpr = TreeMaker.instance(ctx).Type(type); in doTest() local
126 if (!typeExpr.getKind().equals(testType.expectedKind())) { in doTest()
127 throw new IllegalStateException("was=" + typeExpr + ", kind=" + in doTest()
128 typeExpr.getKind() + "; expected kind: " + in doTest()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/langtools/tools/javac/tree/
H A DMakeTypeTest.java124 JCExpression typeExpr = TreeMaker.instance(ctx).Type(type); in doTest() local
126 if (!typeExpr.getKind().equals(testType.expectedKind())) { in doTest()
127 throw new IllegalStateException("was=" + typeExpr + ", kind=" + in doTest()
128 typeExpr.getKind() + "; expected kind: " + in doTest()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/langtools/tools/javac/tree/
H A DMakeTypeTest.java124 JCExpression typeExpr = TreeMaker.instance(ctx).Type(type); in doTest() local
126 if (!typeExpr.getKind().equals(testType.expectedKind())) { in doTest()
127 throw new IllegalStateException("was=" + typeExpr + ", kind=" + in doTest()
128 typeExpr.getKind() + "; expected kind: " + in doTest()

123456