Home
last modified time | relevance | path

Searched +full:symbol +full:- +full:tree (Results 1 – 25 of 1122) sorted by relevance

12345678910>>...45

/aosp_15_r20/external/nullaway/nullaway/src/main/java/com/uber/nullaway/
H A DNullAway.java26 import static com.sun.source.tree.Tree.Kind.EXPRESSION_STATEMENT;
27 import static com.sun.source.tree.Tree.Kind.IDENTIFIER;
28 import static com.sun.source.tree.Tree.Kind.OTHER;
29 import static com.sun.source.tree.Tree.Kind.PARENTHESIZED;
30 import static com.sun.source.tree.Tree.Kind.TYPE_CAST;
56 import com.sun.source.tree.ArrayAccessTree;
57 import com.sun.source.tree.AssignmentTree;
58 import com.sun.source.tree.BinaryTree;
59 import com.sun.source.tree.BlockTree;
60 import com.sun.source.tree.ClassTree;
[all …]
H A DErrorBuilder.java46 import com.sun.source.tree.AnnotationTree;
47 import com.sun.source.tree.ClassTree;
48 import com.sun.source.tree.MethodInvocationTree;
49 import com.sun.source.tree.MethodTree;
50 import com.sun.source.tree.ModifiersTree;
51 import com.sun.source.tree.Tree;
52 import com.sun.source.tree.VariableTree;
54 import com.sun.tools.javac.code.Symbol;
55 import com.sun.tools.javac.tree.JCTree.JCCompilationUnit;
91 * @param nonNullTarget if non-null, this error involved a pseudo-assignment of a @Nullable
[all …]
H A DNullabilityUtil.java31 import com.sun.source.tree.BlockTree;
32 import com.sun.source.tree.ClassTree;
33 import com.sun.source.tree.ExpressionTree;
34 import com.sun.source.tree.LambdaExpressionTree;
35 import com.sun.source.tree.MemberReferenceTree;
36 import com.sun.source.tree.MethodTree;
37 import com.sun.source.tree.Tree;
38 import com.sun.source.tree.VariableTree;
41 import com.sun.tools.javac.code.Symbol;
46 import com.sun.tools.javac.tree.JCTree;
[all …]
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/
Dcgraph.h2 Copyright (C) 2003-2013 Free Software Foundation, Inc.
24 #include "is-a.h"
25 #include "plugin-api.h"
27 #include "tree.h"
28 #include "basic-block.h"
30 #include "ipa-ref.h"
32 /* Symbol table consists of functions and variables.
41 /* Base of all entries in the symbol table.
45 /* Type of the symbol. */
69 tree decl;
[all …]
/aosp_15_r20/external/libxml2/doc/
H A Dlibxml2-api.xml1 <?xml version="1.0" encoding="ISO-8859-1"?>
5 <summary>interface for an HTML 4.0 non-verifying parser</summary>
6 …<description>this module implements an HTML 4.0 non-verifying parser with API compatible with the …
8 <exports symbol='htmlDefaultSubelement' type='macro'/>
9 <exports symbol='htmlElementAllowedHereDesc' type='macro'/>
10 <exports symbol='htmlRequiredAttrs' type='macro'/>
11 <exports symbol='HTML_DEPRECATED' type='enum'/>
12 <exports symbol='HTML_INVALID' type='enum'/>
13 <exports symbol='HTML_NA' type='enum'/>
14 <exports symbol='HTML_PARSE_COMPACT' type='enum'/>
[all …]
/aosp_15_r20/external/nullaway/nullaway/src/main/java/com/uber/nullaway/generics/
H A DGenericsChecks.java10 import com.sun.source.tree.AnnotatedTypeTree;
11 import com.sun.source.tree.AnnotationTree;
12 import com.sun.source.tree.AssignmentTree;
13 import com.sun.source.tree.ConditionalExpressionTree;
14 import com.sun.source.tree.ExpressionTree;
15 import com.sun.source.tree.MemberSelectTree;
16 import com.sun.source.tree.MethodInvocationTree;
17 import com.sun.source.tree.MethodTree;
18 import com.sun.source.tree.NewClassTree;
19 import com.sun.source.tree.ParameterizedTypeTree;
[all …]
/aosp_15_r20/external/antlr/runtime/Ruby/lib/antlr3/
H A Derror.rb2 # encoding: utf-8
7 Copyright (c) 2009-2010 Kyle Yetter
36 # - ported from the ANTLR3 Python Runtime library by
56 - functions more as an internal signal, simillar to exception
58 - used to inform the recognizer that it needs to rewind
62 - not a subclass of RecognitionError
68 # To avoid English-only error messages and to generally make things
77 # that you can compute the complete trace of rules from the start symbol.
89 # knows its state (such as current input symbol and line info) that
100 to the recognizer by the rules of a grammar and an input symbol which failed to
[all …]
/aosp_15_r20/external/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/
H A DHandler.java27 import com.sun.source.tree.ClassTree;
28 import com.sun.source.tree.ExpressionTree;
29 import com.sun.source.tree.LambdaExpressionTree;
30 import com.sun.source.tree.MemberReferenceTree;
31 import com.sun.source.tree.MethodInvocationTree;
32 import com.sun.source.tree.MethodTree;
33 import com.sun.source.tree.ReturnTree;
34 import com.sun.tools.javac.code.Symbol;
65 * <p>This also means we are starting a new Compilation Unit, which allows us to clear CU-specific
69 * @param tree The AST node for the class being matched.
[all …]
H A DBaseNoOpHandler.java27 import com.sun.source.tree.ClassTree;
28 import com.sun.source.tree.ExpressionTree;
29 import com.sun.source.tree.LambdaExpressionTree;
30 import com.sun.source.tree.MemberReferenceTree;
31 import com.sun.source.tree.MethodInvocationTree;
32 import com.sun.source.tree.MethodTree;
33 import com.sun.source.tree.ReturnTree;
34 import com.sun.tools.javac.code.Symbol;
54 * Provides a default (No-Op) implementation of every method defined by the Handler interface.
59 * long as we define the corresponding No-Op behavior here.
[all …]
H A DAbstractFieldContractHandler.java2 * Copyright (c) 2017-2020 Uber Technologies, Inc.
31 import com.sun.source.tree.MethodTree;
32 import com.sun.tools.javac.code.Symbol;
45 * Abstract base class for handlers that process pre- and post-condition annotations for fields.
64 * @param tree Method tree under processing.
66 * @param methodSymbol Processing method symbol.
70 NullAway analysis, MethodTree tree, VisitorState state, Symbol.MethodSymbol methodSymbol) { in onMatchMethod() argument
77 castToNonNull(annotationContent), analysis, tree, state, methodSymbol) in onMatchMethod()
78 && validateAnnotationSemantics(analysis, state, tree, methodSymbol); in onMatchMethod()
82 Symbol.MethodSymbol closestOverriddenMethod = in onMatchMethod()
[all …]
/aosp_15_r20/external/python/cpython2/Demo/parser/
Dexample.py10 import symbol
18 """Retrieve information from the parse tree of a source file.
33 def __init__(self, tree = None): argument
36 if tree:
37 self._extract_info(tree)
39 def _extract_info(self, tree): argument
41 if len(tree) == 2:
42 found, vars = match(DOCSTRING_STMT_PATTERN[1], tree[1])
44 found, vars = match(DOCSTRING_STMT_PATTERN, tree[3])
48 for node in tree[1:]:
[all …]
/aosp_15_r20/out/soong/.intermediates/packages/providers/MediaProvider/errorprone/error_prone_mediaprovider_lib/linux_glibc_common/javac/
Derror_prone_mediaprovider_lib.jar ... META-INF/ META-INF/MANIFEST.MF META-INF/services/ META-INF/ ...
/aosp_15_r20/packages/apps/TV/libs/m2/
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/aosp_15_r20/external/rust/android-crates-io/crates/tokio/src/runtime/task/trace/
Dtree.rs5 use super::{Backtrace, Symbol, SymbolTrace, Trace};
7 /// An adjacency list representation of an execution tree.
9 /// This tree provides a convenient intermediate representation for formatting
10 /// [`Trace`] as a tree.
11 pub(super) struct Tree { struct
15 roots: HashSet<Symbol>,
17 /// The adjacency list of symbols in the execution tree(s).
18 edges: HashMap<Symbol, HashSet<Symbol>>,
21 impl Tree { argument
22 /// Constructs a [`Tree`] from [`Trace`]
[all …]
/aosp_15_r20/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
H A DBluetoothPermissionChecker.java8 * http://www.apache.org/licenses/LICENSE-2.0
46 import com.sun.source.tree.ClassTree;
47 import com.sun.source.tree.MethodTree;
48 import com.sun.source.tree.Tree;
50 import com.sun.tools.javac.code.Symbol;
51 import com.sun.tools.javac.code.Symbol.MethodSymbol;
108 public Description matchMethod(MethodTree tree, VisitorState state) { in matchMethod() argument
110 if (!BLUETOOTH_API.matches(tree, state)) return Description.NO_MATCH; in matchMethod()
113 if (BINDER_INTERNALS.matches(tree, state)) return Description.NO_MATCH; in matchMethod()
114 if (GENERIC_INTERNALS.matches(tree, state)) return Description.NO_MATCH; in matchMethod()
[all …]
H A DRequiresPermissionChecker.java8 * http://www.apache.org/licenses/LICENSE-2.0
44 import com.sun.source.tree.AssignmentTree;
45 import com.sun.source.tree.ClassTree;
46 import com.sun.source.tree.ExpressionTree;
47 import com.sun.source.tree.IdentifierTree;
48 import com.sun.source.tree.MemberSelectTree;
49 import com.sun.source.tree.MethodInvocationTree;
50 import com.sun.source.tree.MethodTree;
51 import com.sun.source.tree.NewClassTree;
52 import com.sun.source.tree.Tree;
[all …]
/aosp_15_r20/external/turbine/java/com/google/turbine/binder/
H A DTypeBinder.java8 * http://www.apache.org/licenses/LICENSE-2.0
44 import com.google.turbine.binder.sym.Symbol;
52 import com.google.turbine.tree.Tree;
53 import com.google.turbine.tree.Tree.Anno;
54 import com.google.turbine.tree.Tree.ClassTy;
55 import com.google.turbine.tree.Tree.Ident;
56 import com.google.turbine.tree.Tree.Kind;
57 import com.google.turbine.tree.Tree.MethDecl;
58 import com.google.turbine.tree.Tree.PrimTy;
59 import com.google.turbine.tree.TurbineModifier;
[all …]
/aosp_15_r20/out/soong/.intermediates/frameworks/base/errorprone/error_prone_android_framework_lib/linux_glibc_common/javac/
Derror_prone_android_framework_lib.jar ... META-INF/ META-INF/MANIFEST.MF META-INF/services/ META-INF/ ...
/aosp_15_r20/external/python/cpython2/Lib/compiler/
Dtransformer.py1 """Parse tree transformation module.
3 Transforms Python source code into an abstract syntax tree (AST)
7 parse(buf) -> AST
8 parseFile(path) -> AST
22 # Copyright (C) 1997-1998 Greg Stein. All Rights Reserved.
24 # This module is provided under a BSD-ish license. See
25 # http://www.opensource.org/licenses/bsd-license.html
30 import symbol
98 tree = transform(ast_tree)
99 tree = parsesuite(text)
[all …]
/aosp_15_r20/external/nullaway/nullaway/src/main/java/com/uber/nullaway/dataflow/
H A DAccessPath.java32 import com.sun.source.tree.LiteralTree;
33 import com.sun.source.tree.MethodInvocationTree;
34 import com.sun.source.tree.Tree;
35 import com.sun.tools.javac.code.Symbol;
68 * field names. Here, we also allow no-argument methods to appear in the access path, as well as
78 * be proven to be class-initialization time constants (i.e. static final fields of a type known
189 * Returns an access path rooted at {@code newRoot} with the same elements and map-get argument as
223 * method arguments, but rather the string representation of primitive-type compile-time constants
274 // Required to have Node type match Tree type in some instances. in argumentToMapKeySpecifier()
278 // A switch at the Tree level should be faster than multiple if checks at the Node level. in argumentToMapKeySpecifier()
[all …]
/aosp_15_r20/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jar ... META-INF/ META-INF/MANIFEST.MF com/ com/google ...
/aosp_15_r20/external/pytorch/torch/export/
H A Ddynamic_shapes.py1 # mypy: allow-untyped-defs
27 from sympy import Symbol
46 - AUTO means automatic inference of shape (static or dynamic).
47 - STATIC means static shape (always specialized).
88 # e.g., dim - 1
94 return cls._derive(lambda x: x - other)
133 return self.value # type: ignore[attr-defined]
137 return self.value # type: ignore[attr-defined]
146 x is a regular Dim (i.e., non-derived Dim), A and B are integers, and A is positive.
164 if self.root.min is -int_oo: # type: ignore[attr-defined]
[all …]
/aosp_15_r20/external/turbine/java/com/google/turbine/processing/
H A DTurbineMessager.java8 * http://www.apache.org/licenses/LICENSE-2.0
30 import com.google.turbine.binder.sym.Symbol;
37 import com.google.turbine.tree.Tree;
59 // TODO(cushon): null-check `msg` after fixing affected processors in printMessage()
69 Symbol sym = ((TurbineElement) e).sym(); in printMessage()
82 int position = ((TurbineAnnotationMirror) a).anno().tree().position(); in printMessage()
96 if (position == -1) { in printMessage()
97 position = anno.tree().position(); in printMessage()
103 * Returns the {@link SourceFile} that contains the declaration of the given {@link Symbol}, or
104 * {@code null} if the symbol was not compiled from source.
[all …]
/aosp_15_r20/external/truth/refactorings/src/main/java/com/google/common/truth/refactorings/
H A DCorrespondenceSubclassToFactoryCall.java8 * http://www.apache.org/licenses/LICENSE-2.0
36 import static com.sun.source.tree.Tree.Kind.EXPRESSION_STATEMENT;
37 import static com.sun.source.tree.Tree.Kind.IDENTIFIER;
38 import static com.sun.source.tree.Tree.Kind.MEMBER_SELECT;
39 import static com.sun.source.tree.Tree.Kind.METHOD_INVOCATION;
40 import static com.sun.source.tree.Tree.Kind.NEW_CLASS;
41 import static com.sun.source.tree.Tree.Kind.NULL_LITERAL;
42 import static com.sun.source.tree.Tree.Kind.RETURN;
63 import com.sun.source.tree.ClassTree;
64 import com.sun.source.tree.CompilationUnitTree;
[all …]
/aosp_15_r20/external/python/cpython2/Modules/zlib/
Dalgorithm.txt4 LZ77 (Lempel-Ziv 1977, see reference below). It finds duplicated strings in
13 Literals or match lengths are compressed with one Huffman tree, and
14 match distances are compressed with another tree. The trees are stored
19 somewhat similar to the behavior of LZW-based _compress_.)
32 To avoid a worst-case situation, very long hash chains are arbitrarily
83 For inflate, which has 286 possible codes for the literal/length tree, the size
94 Ok, you want to know what this cleverly obfuscated inflate tree actually
95 looks like. You are correct that it's not a Huffman tree. It is simply a
96 lookup table for the first, let's say, nine bits of a Huffman symbol. The
97 symbol could be as short as one bit or as long as 15 bits. If a particular
[all …]

12345678910>>...45