/external/turbine/java/com/google/turbine/parse/ |
D | Parser.java | 103 ImmutableList.Builder<Anno> annos = ImmutableList.builder(); in compilationUnit() local 109 pkg = Optional.of(packageDeclaration(annos.build())); in compilationUnit() 110 annos = ImmutableList.builder(); in compilationUnit() 156 decls.add(annotationDeclaration(access, annos.build())); in compilationUnit() 158 annos = ImmutableList.builder(); in compilationUnit() 160 annos.add(annotation(pos)); in compilationUnit() 165 decls.add(classDeclaration(access, annos.build())); in compilationUnit() 167 annos = ImmutableList.builder(); in compilationUnit() 170 decls.add(interfaceDeclaration(access, annos.build())); in compilationUnit() 172 annos = ImmutableList.builder(); in compilationUnit() [all …]
|
/external/turbine/java/com/google/turbine/tree/ |
D | Tree.java | 120 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 …]
|
D | Pretty.java | 91 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() 510 printAnnos(tyParam.annos()); in visitTyParam() [all …]
|
/external/turbine/java/com/google/turbine/type/ |
D | Type.java | 147 for (AnnoInfo anno : c.annos()) { in toString() 172 ClassSymbol sym, ImmutableList<Type> targs, ImmutableList<AnnoInfo> annos) { in create() argument 173 return new AutoValue_Type_ClassTy_SimpleClassTy(sym, targs, annos); in create() 183 public abstract ImmutableList<AnnoInfo> annos(); in annos() method in Type.ClassTy.SimpleClassTy 219 if (!simple.targs().isEmpty() || !simple.annos().isEmpty()) { in hasTargs() 231 public static ArrayTy create(Type elem, ImmutableList<AnnoInfo> annos) { in create() argument 232 return new AutoValue_Type_ArrayTy(elem, annos); in create() 244 public abstract ImmutableList<AnnoInfo> annos(); in annos() method in Type.ArrayTy 249 for (AnnoInfo anno : annos()) { in toString() 267 public static TyVar create(TyVarSymbol sym, ImmutableList<AnnoInfo> annos) { in create() argument [all …]
|
/external/turbine/java/com/google/turbine/binder/bound/ |
D | ModuleInfo.java | 30 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()
|
D | SourceModuleInfo.java | 38 ImmutableList<AnnoInfo> annos, in SourceModuleInfo() argument 45 super(name, version, flags, annos, requires, exports, opens, uses, provides); in SourceModuleInfo()
|
/external/turbine/java/com/google/turbine/processing/ |
D | TurbineTypeMirror.java | 71 protected abstract ImmutableList<AnnoInfo> annos(); in annos() method in TurbineTypeMirror 76 for (AnnoInfo anno : annos()) { in getAnnotationMirrors() 154 protected ImmutableList<AnnoInfo> annos() { in annos() method in TurbineTypeMirror.TurbinePrimitiveType 155 return type.annos(); in annos() 257 protected ImmutableList<AnnoInfo> annos() { in annos() method in TurbineTypeMirror.TurbineDeclaredType 258 return getLast(type.classes()).annos(); in annos() 293 protected ImmutableList<AnnoInfo> annos() { in annos() method in TurbineTypeMirror.TurbineArrayType 294 return type.annos(); in annos() 319 protected ImmutableList<AnnoInfo> annos() { in annos() method in TurbineTypeMirror.TurbineErrorType 391 protected ImmutableList<AnnoInfo> annos() { in annos() method in TurbineTypeMirror.TurbinePackageType [all …]
|
D | TurbineElement.java | 112 for (AnnoInfo anno : annos()) { in TurbineElement() 120 static AnnoInfo getAnnotation(Iterable<AnnoInfo> annos, ClassSymbol sym) { in getAnnotation() argument 121 for (AnnoInfo anno : annos) { in getAnnotation() 136 AnnoInfo anno = getAnnotation(annos(), sym); in getAnnotation() 155 for (AnnoInfo anno : annos()) { in getAnnotationsByType() 181 protected abstract ImmutableList<AnnoInfo> annos(); in annos() method in TurbineElement 466 protected ImmutableList<AnnoInfo> annos() { in annos() method in TurbineElement.TurbineTypeElement 473 AnnoInfo anno = getAnnotation(annos(), sym); in getAnnotation() 498 for (AnnoInfo anno : annos()) { in getAllAnnotationMirrors() 637 protected ImmutableList<AnnoInfo> annos() { in annos() method in TurbineElement.TurbineTypeParameterElement [all …]
|
/external/turbine/javatests/com/google/turbine/lower/ |
D | IntegrationTestSupport.java | 255 for (List<AnnotationNode> annos : parameters) { in sortParameterAnnotations() 256 sortAnnotations(annos); in sortParameterAnnotations() 260 private static void sortTypeAnnotations(List<TypeAnnotationNode> annos) { in sortTypeAnnotations() argument 261 if (annos == null) { in sortTypeAnnotations() 264 annos.sort( in sortTypeAnnotations() 271 private static void sortAnnotations(List<AnnotationNode> annos) { in sortAnnotations() argument 272 if (annos == null) { in sortAnnotations() 275 annos.sort( in sortAnnotations() 344 for (List<AnnotationNode> annos : parameterAnnotations) { in addTypesFromParameterAnnotations() 345 addTypesInAnnotations(types, annos); in addTypesFromParameterAnnotations() [all …]
|
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/ |
D | liveness_py3_test.py | 22 from tensorflow.python.autograph.pyct.static_analysis import annos 27 NodeAnno = annos.NodeAnno
|
D | activity_py3_test.py | 24 from tensorflow.python.autograph.pyct.static_analysis import annos 28 NodeAnno = annos.NodeAnno
|
/external/turbine/java/com/google/turbine/binder/ |
D | ConstBinder.java | 93 ImmutableList<AnnoInfo> annos = in bind() local 120 bindAnnotationMetadata(base.kind(), annos), in bind() 121 annos, in bind() 163 ImmutableList<AnnoInfo> annos = constEvaluator.evaluateAnnotations(base.annotations()); in bindParameter() local 164 return new ParamInfo(base.sym(), bindType(base.type()), annos, base.access()); in bindParameter() 316 return TyVar.create(tyVar.sym(), constEvaluator.evaluateAnnotations(tyVar.annos())); in bindType() 322 bindType(arrayTy.elementType()), constEvaluator.evaluateAnnotations(arrayTy.annos())); in bindType() 358 c.sym(), bindTypes(c.targs()), constEvaluator.evaluateAnnotations(c.annos()))); in bindClassType()
|
D | TypeBinder.java | 171 ImmutableList<AnnoInfo> annotations = bindAnnotations(enclosingScope, base.decl().annos()); in bind() 402 ImmutableList<AnnoInfo> annotations = bindAnnotations(scope, tree.annos()); in bindTyParams() 466 bindAnnotations(scope, p.annos()), /*synthetic*/ in bindMethod() 511 ImmutableList<AnnoInfo> annotations = bindAnnotations(scope, t.annos()); in bindMethod() 550 ImmutableList<AnnoInfo> annotations = bindAnnotations(scope, decl.annos()); in bindField() 664 ImmutableList<AnnoInfo> annos = bindAnnotations(scope, flat.get(annoIdx).annos()); in bindClassTy() local 668 return bindClassTyRest(scope, flat, names, result, (ClassSymbol) sym, annos); in bindClassTy() 674 return Type.TyVar.create((TyVarSymbol) sym, annos); in bindClassTy() 699 annotations = bindAnnotations(scope, curr.annos()); in bindClassTyRest() 707 return Type.PrimTy.create(t.tykind(), bindAnnotations(scope, t.annos())); in bindPrimTy() [all …]
|
D | DisambiguateTypeAnnotations.java | 220 return Type.PrimTy.create(primTy.primkind(), appendAnnotations(primTy.annos(), extra)); in addAnnotationsToType() 225 SimpleClassTy.create(base.sym(), base.targs(), appendAnnotations(base.annos(), extra)); in addAnnotationsToType() 233 return ArrayTy.create(addAnnotationsToType(arrayTy.elementType(), extra), arrayTy.annos()); in addAnnotationsToType() 236 return Type.TyVar.create(tyVar.sym(), appendAnnotations(tyVar.annos(), extra)); in addAnnotationsToType() 248 ImmutableList<AnnoInfo> annos, ImmutableList<AnnoInfo> extra) { in appendAnnotations() argument 249 return ImmutableList.<AnnoInfo>builder().addAll(annos).addAll(extra).build(); in appendAnnotations()
|
D | ModuleBinder.java | 103 for (Tree.Anno annoTree : module.module().annos()) { in bind() 107 ImmutableList<AnnoInfo> annos = constEvaluator.evaluateAnnotations(annoInfos.build()); in bind() local 159 annos, in bind()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | def_use_manager.cpp | 211 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/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | def_use_manager.cpp | 211 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/ |
D | def_use_manager.cpp | 211 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/ |
D | control_flow.py | 32 from tensorflow.python.autograph.pyct.static_analysis import annos 53 fn.scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE) 207 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE) 208 orelse_scope = anno.getanno(node, annos.NodeAnno.ORELSE_SCOPE) 264 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE) 314 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE) 315 iter_scope = anno.getanno(node, annos.NodeAnno.ITERATE_SCOPE)
|
D | control_flow_deprecated_py2.py | 35 from tensorflow.python.autograph.pyct.static_analysis import annos 201 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE) 202 orelse_scope = anno.getanno(node, annos.NodeAnno.ORELSE_SCOPE) 372 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE) 406 anno.getanno(node, annos.NodeAnno.BODY_SCOPE).modified) 495 node, (anno.getanno(node, annos.NodeAnno.BODY_SCOPE).modified 496 | anno.getanno(node, annos.NodeAnno.ITERATE_SCOPE).modified))
|
D | functions.py | 29 from tensorflow.python.autograph.pyct.static_analysis import annos 83 scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/ |
D | ClassGen.java | 176 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/ |
D | GeneratingAnnotatedClassesTestCase.java | 287 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/types/ |
D | Erasure.java | 81 return ArrayTy.create(erase(ty.elementType(), tenv), ty.annos()); in eraseArrayTy() 90 classes.add(SimpleClassTy.create(c.sym(), ImmutableList.of(), c.annos())); in eraseClassTy()
|
/external/tensorflow/tensorflow/python/tf_program/ |
D | mlir_gen.py | 33 from tensorflow.python.autograph.pyct.static_analysis import annos 241 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE) 242 orelse_scope = anno.getanno(node, annos.NodeAnno.ORELSE_SCOPE) 354 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE) 375 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
|