Home
last modified time | relevance | path

Searched refs:annos (Results 1 – 25 of 32) sorted by relevance

12

/external/turbine/java/com/google/turbine/parse/
DParser.java102 ImmutableList.Builder<Anno> annos = ImmutableList.builder(); in compilationUnit() local
108 pkg = Optional.of(packageDeclaration(annos.build())); in compilationUnit()
109 annos = ImmutableList.builder(); in compilationUnit()
154 decls.add(annotationDeclaration(access, annos.build())); in compilationUnit()
156 annos = ImmutableList.builder(); in compilationUnit()
158 annos.add(annotation()); in compilationUnit()
163 decls.add(classDeclaration(access, annos.build())); in compilationUnit()
165 annos = ImmutableList.builder(); in compilationUnit()
168 decls.add(interfaceDeclaration(access, annos.build())); in compilationUnit()
170 annos = ImmutableList.builder(); in compilationUnit()
[all …]
/external/turbine/java/com/google/turbine/tree/
DTree.java120 private final ImmutableList<Anno> annos; field in Tree.Type
122 public Type(int position, ImmutableList<Anno> annos) { in Type() argument
124 this.annos = annos; in Type()
127 public ImmutableList<Anno> annos() { in annos() method in Tree.Type
128 return annos; in annos()
145 int position, ImmutableList<Anno> annos, Optional<Type> upper, Optional<Type> lower) { in WildTy() argument
146 super(position, annos); in WildTy()
184 public ArrTy(int position, ImmutableList<Anno> annos, Type elem) { in ArrTy() argument
185 super(position, annos); in ArrTy()
213 public PrimTy(int position, ImmutableList<Anno> annos, TurbineConstantTypeKind tykind) { in PrimTy() argument
[all …]
DPretty.java91 printAnnos(wildTy.annos()); in visitWildTy()
107 if (!arrTy.annos().isEmpty()) { in visitArrTy()
109 printAnnos(arrTy.annos()); in visitArrTy()
133 printAnnos(classTy.annos()); in visitClassTy()
287 printAnnos(varDecl.annos()); in printVarDecl()
297 private void printAnnos(ImmutableList<Anno> annos) { in printAnnos() argument
298 for (Tree.Anno anno : annos) { in printAnnos()
306 for (Tree.Anno anno : methDecl.annos()) { in visitMethDecl()
384 for (Tree.Anno anno : tyDecl.annos()) { in visitTyDecl()
512 printAnnos(tyParam.annos()); in visitTyParam()
[all …]
/external/turbine/java/com/google/turbine/type/
DType.java133 ClassSymbol sym, ImmutableList<Type> targs, ImmutableList<AnnoInfo> annos) { in create() argument
134 return new AutoValue_Type_ClassTy_SimpleClassTy(sym, targs, annos); in create()
144 public abstract ImmutableList<AnnoInfo> annos(); in annos() method in Type.ClassTy.SimpleClassTy
152 public static ArrayTy create(Type elem, ImmutableList<AnnoInfo> annos) { in create() argument
153 return new AutoValue_Type_ArrayTy(elem, annos); in create()
165 public abstract ImmutableList<AnnoInfo> annos(); in annos() method in Type.ArrayTy
172 public static TyVar create(TyVarSymbol sym, ImmutableList<AnnoInfo> annos) { in create() argument
173 return new AutoValue_Type_TyVar(sym, annos); in create()
190 public abstract ImmutableList<AnnoInfo> annos(); in annos() method in Type.TyVar
197 public static PrimTy create(TurbineConstantTypeKind tykind, ImmutableList<AnnoInfo> annos) { in create() argument
[all …]
/external/turbine/java/com/google/turbine/binder/bound/
DModuleInfo.java30 private final ImmutableList<AnnoInfo> annos; field in ModuleInfo
41 ImmutableList<AnnoInfo> annos, in ModuleInfo() argument
50 this.annos = annos; in ModuleInfo()
71 public ImmutableList<AnnoInfo> annos() { in annos() method in ModuleInfo
72 return annos; in annos()
DSourceModuleInfo.java38 ImmutableList<AnnoInfo> annos, in SourceModuleInfo() argument
45 super(name, version, flags, annos, requires, exports, opens, uses, provides); in SourceModuleInfo()
/external/turbine/javatests/com/google/turbine/lower/
DIntegrationTestSupport.java245 for (List<AnnotationNode> annos : parameters) { in sortParameterAnnotations()
246 sortAnnotations(annos); in sortParameterAnnotations()
250 private static void sortTypeAnnotations(List<TypeAnnotationNode> annos) { in sortTypeAnnotations() argument
251 if (annos == null) { in sortTypeAnnotations()
254 annos.sort( in sortTypeAnnotations()
261 private static void sortAnnotations(List<AnnotationNode> annos) { in sortAnnotations() argument
262 if (annos == null) { in sortAnnotations()
265 annos.sort( in sortAnnotations()
334 for (List<AnnotationNode> annos : parameterAnnotations) { in addTypesFromParameterAnnotations()
335 addTypesInAnnotations(types, annos); in addTypesFromParameterAnnotations()
[all …]
/external/turbine/java/com/google/turbine/binder/
DConstBinder.java82 ImmutableList<AnnoInfo> annos = in bind() local
108 bindAnnotationMetadata(base.kind(), annos), in bind()
109 annos, in bind()
151 ImmutableList<AnnoInfo> annos = constEvaluator.evaluateAnnotations(base.annotations()); in bindParameter() local
152 return new ParamInfo(bindType(base.type()), base.name(), annos, base.access()); in bindParameter()
299 return TyVar.create(tyVar.sym(), constEvaluator.evaluateAnnotations(tyVar.annos())); in bindType()
305 bindType(arrayTy.elementType()), constEvaluator.evaluateAnnotations(arrayTy.annos())); in bindType()
341 c.sym(), bindTypes(c.targs()), constEvaluator.evaluateAnnotations(c.annos()))); in bindClassType()
DTypeBinder.java170 ImmutableList<AnnoInfo> annotations = bindAnnotations(enclosingScope, base.decl().annos()); in bind()
397 ImmutableList<AnnoInfo> annotations = bindAnnotations(scope, tree.annos()); in bindTyParams()
457 bindAnnotations(scope, p.annos()), /*synthetic*/ in bindMethod()
502 ImmutableList<AnnoInfo> annotations = bindAnnotations(scope, t.annos()); in bindMethod()
541 ImmutableList<AnnoInfo> annotations = bindAnnotations(scope, decl.annos()); in bindField()
655 ImmutableList<AnnoInfo> annos = bindAnnotations(scope, flat.get(annoIdx).annos()); in bindClassTy() local
659 return bindClassTyRest(scope, flat, names, result, (ClassSymbol) sym, annos); in bindClassTy()
665 return Type.TyVar.create((TyVarSymbol) sym, annos); in bindClassTy()
690 annotations = bindAnnotations(scope, curr.annos()); in bindClassTyRest()
698 return Type.PrimTy.create(t.tykind(), bindAnnotations(scope, t.annos())); in bindPrimTy()
[all …]
DDisambiguateTypeAnnotations.java203 return Type.PrimTy.create(primTy.primkind(), appendAnnotations(primTy.annos(), extra)); in addAnnotationsToType()
208 SimpleClassTy.create(base.sym(), base.targs(), appendAnnotations(base.annos(), extra)); in addAnnotationsToType()
216 return ArrayTy.create(addAnnotationsToType(arrayTy.elementType(), extra), arrayTy.annos()); in addAnnotationsToType()
219 return Type.TyVar.create(tyVar.sym(), appendAnnotations(tyVar.annos(), extra)); in addAnnotationsToType()
230 ImmutableList<AnnoInfo> annos, ImmutableList<AnnoInfo> extra) { in appendAnnotations() argument
231 return ImmutableList.<AnnoInfo>builder().addAll(annos).addAll(extra).build(); in appendAnnotations()
DModuleBinder.java97 for (Tree.Anno annoTree : module.module().annos()) { in bind()
101 ImmutableList<AnnoInfo> annos = constEvaluator.evaluateAnnotations(annoInfos.build()); in bind() local
155 annos, in bind()
DCompUnitPreprocessor.java108 if (!unit.pkg().get().annos().isEmpty()) { in preprocess()
216 pkgDecl.annos(), in packageInfoTree()
/external/deqp-deps/SPIRV-Tools/source/opt/
Ddef_use_manager.cpp211 std::vector<Instruction*> annos; in GetAnnotations() local
213 if (!def) return annos; in GetAnnotations()
215 ForEachUser(def, [&annos](Instruction* user) { in GetAnnotations()
217 annos.push_back(user); in GetAnnotations()
220 return annos; in GetAnnotations()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddef_use_manager.cpp211 std::vector<Instruction*> annos; in GetAnnotations() local
213 if (!def) return annos; in GetAnnotations()
215 ForEachUser(def, [&annos](Instruction* user) { in GetAnnotations()
217 annos.push_back(user); in GetAnnotations()
220 return annos; in GetAnnotations()
/external/tensorflow/tensorflow/python/autograph/converters/
Dcontrol_flow.py27 from tensorflow.python.autograph.pyct.static_analysis import annos
193 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
194 orelse_scope = anno.getanno(node, annos.NodeAnno.ORELSE_SCOPE)
316 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
391 cond_scope = anno.getanno(node, annos.NodeAnno.COND_SCOPE)
Dbreak_statements.py24 from tensorflow.python.autograph.pyct.static_analysis.annos import NodeAnno
/external/turbine/java/com/google/turbine/types/
DErasure.java64 return ArrayTy.create(erase(ty.elementType(), tenv), ty.annos()); in eraseArrayTy()
73 classes.add(SimpleClassTy.create(c.sym(), ImmutableList.of(), c.annos())); in eraseClassTy()
DCanonicalize.java109 return Type.ArrayTy.create(canonicalize(base, arrayTy.elementType()), arrayTy.annos()); in canonicalize()
295 return ArrayTy.create(elem, arrayTy.annos()); in instantiate()
329 simples.add(SimpleClassTy.create(simple.sym(), args.build(), simple.annos())); in instantiateClassTy()
350 args.add(SimpleClassTy.create(s.sym(), canonicalize(s.targs(), base), s.annos())); in canonicalizeClassTy()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DClassGen.java176 final AnnotationEntry[] annos = rva.getAnnotationEntries(); in unpackAnnotations() local
177 for (final AnnotationEntry a : annos) { in unpackAnnotations()
186 final AnnotationEntry[] annos = ria.getAnnotationEntries(); in unpackAnnotations() local
187 for (final AnnotationEntry a : annos) { in unpackAnnotations()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DGeneratingAnnotatedClassesTestCase.java287 final AnnotationEntry[] annos= method.getAnnotationEntries(); in assertMethodAnnotations() local
288 assertEquals("For "+methodName, expectedNumberAnnotations, annos.length); in assertMethodAnnotations()
291 assertArrayElementValue(nExpectedArrayValues, annos[0]); in assertMethodAnnotations()
313 final AnnotationEntry[] annos= parameterAnnotation.getAnnotationEntries(); in assertParameterAnnotations() local
315 assertEquals(methodName+" parameter "+i, expectedLength, annos.length); in assertParameterAnnotations()
318 assertSimpleElementValue(annos[0]); in assertParameterAnnotations()
/external/turbine/java/com/google/turbine/lower/
DLower.java163 ImmutableList<AnnotationInfo> annotations = lowerAnnotations(module.annos()); in lower()
725 lowerTypeAnnotations(((TyVar) type).annos(), path); in lowerTypeAnnotations()
737 lowerTypeAnnotations(((Type.PrimTy) type).annos(), path); in lowerTypeAnnotations()
747 private void lowerTypeAnnotations(ImmutableList<AnnoInfo> annos, TypePath path) { in lowerTypeAnnotations() argument
748 for (AnnoInfo anno : groupRepeated(env, annos)) { in lowerTypeAnnotations()
781 lowerTypeAnnotations(arrayTy.annos(), path); in lowerArrayTypeAnnotations()
789 lowerTypeAnnotations(simple.annos(), path); in lowerClassTypeTypeAnnotations()
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dliveness.py37 from tensorflow.python.autograph.pyct.static_analysis import annos
128 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
Dreaching_definitions.py38 from tensorflow.python.autograph.pyct.static_analysis import annos
202 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
DBUILD21 "annos.py",
/external/icu/icu4c/source/data/unit/
Dia.txt187 dnam{"annos"}
263 dnam{"annos lumine"}
751 dnam{"annos"}

12