HomeSort by relevance Sort by last modified time
    Searched defs:Scope (Results 1 - 25 of 38) sorted by null

1 2

  /sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/detector/api/
ScopeTest.java 24 assertTrue(Scope.SINGLE_FILE.within(Scope.SINGLE_FILE));
25 assertTrue(Scope.SINGLE_FILE.within(Scope.JAVA_CODE));
26 assertTrue(Scope.SINGLE_FILE.within(Scope.JAVA));
27 assertTrue(Scope.SINGLE_FILE.within(Scope.RESOURCES));
28 assertTrue(Scope.SINGLE_FILE.within(Scope.PROJECT))
    [all...]
  /sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
Scope.java 20 * The scope of a detector is the set of files a detector must consider when
24 public enum Scope {
44 * Returns true if this scope is within the given scope. For example a file
45 * scope is within a project scope, but a project scope is not within a file
46 * scope.
48 * @param scope the scope to compare wit
    [all...]
  /frameworks/compile/slang/
slang_rs_object_ref_count.h 44 // of scope.
47 class Scope {
50 std::list<clang::VarDecl*> mRSO; // Declared RS objects in this scope
53 explicit Scope(clang::CompoundStmt *CS) : mCS(CS) {
76 std::stack<Scope*> mScopeStack;
84 inline Scope *getCurrentScope() {
  /external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/
symbols.h 59 typedef struct Scope_Rec Scope;
68 Scope *next, *prev; // doubly-linked list of all scopes
69 Scope *parent;
70 Scope *funScope; // Points to base scope of enclosing function
71 MemoryPool *pool; // pool used for allocation in this scope
76 // Only used at global scope (level 1):
96 extern Scope *CurrentScope;
97 extern Scope *GlobalScope;
98 extern Scope *ScopeList
    [all...]
  /external/v8/src/
preparser.h 107 class Scope {
109 Scope(Scope** variable, ScopeType type)
118 ~Scope() { *variable_ = prev_; }
129 Scope** const variable_;
130 Scope* const prev_;
153 Scope top_scope(&scope_, kTopLevelScope);
270 Scope* scope_;
scopes.h 51 Variable* Declare(Scope* scope,
61 // The dynamic scope part holds hash maps for the variables that will
63 // are allocated on-demand from Scope::NonLocal to avoid wasting memory
87 class Scope: public ZoneObject {
93 EVAL_SCOPE, // the top-level scope for an 'eval' source
94 FUNCTION_SCOPE, // the top-level scope for a function
95 GLOBAL_SCOPE // the top-level scope for a program or a top-level eval
103 Scope(Scope* outer_scope, Type type)
    [all...]
scopes.cc 85 Variable* VariableMap::Declare(Scope* scope,
94 p->value = new Variable(scope, name, mode, is_valid_lhs, kind);
112 // Implementation of Scope
116 Scope::Scope(Type type)
128 Scope::Scope(Scope* outer_scope, Type type)
137 // eval scopes (by walking the stack and reading the scope info)
217 Scope* scope = NULL; local
    [all...]
  /external/llvm/lib/Bitcode/Writer/
ValueEnumerator.cpp 98 MDNode *Scope, *IA;
99 I->getDebugLoc().getScopeAndInlinedAt(Scope, IA, I->getContext());
100 if (Scope) EnumerateMetadata(Scope);
BitcodeWriter.cpp 135 default: llvm_unreachable("Unknown synchronization scope");
    [all...]
  /frameworks/compile/slang/BitWriter_2_9/
ValueEnumerator.cpp 98 MDNode *Scope, *IA;
99 I->getDebugLoc().getScopeAndInlinedAt(Scope, IA, I->getContext());
100 if (Scope) EnumerateMetadata(Scope);
BitcodeWriter.cpp     [all...]
  /external/clang/lib/Sema/
JumpDiagnostics.cpp 1 //===--- JumpDiagnostics.cpp - Protected scope jump analysis ------*- C++ -*-=//
11 // jumps that enter a protected scope in an invalid way.
36 /// scopes that are introduced by VLAs and other things that scope jumps like
37 /// gotos. This scope tree has nothing to do with the source scope tree,
41 /// ParentScope - The index in ScopeMap of the parent scope. This is 0 for
42 /// the parent scope is the function body.
45 /// InDiag - The diagnostic to emit if there is a jump into this scope.
49 /// of this scope. Direct jumps always clean up their current scope
    [all...]
Sema.cpp 26 #include "clang/Sema/Scope.h"
72 void Sema::ActOnTranslationUnitScope(Scope *S) {
187 // Tell the SemaConsumer to forget about us; we're going out of scope.
404 /// translation unit when EOF is reached and all but the top-level scope is
478 // scope without an initializer, and without a storage-class
484 // translation unit contains a file scope declaration of that
741 /// \brief Determines the active Scope associated with the given declaration
744 /// This routine maps a declaration context to the active Scope object that
746 /// from "scope-less" code (e.g., template instantiation, lazy creation of
748 /// must update the Scope
    [all...]
  /external/llvm/lib/CodeGen/
LexicalScopes.cpp 1 //===- LexicalScopes.cpp - Collecting lexical scope info ------------------===//
12 // This pass collects lexical scope information and maps machine instructions
42 /// initialize - Scan machine function and constuct lexical scope nest.
78 // If scope has not changed then skip this instruction.
90 // current instruction scope does not match scope of first instruction
114 /// findLexicalScope - Find lexical scope, either regular or inlined, for the
117 MDNode *Scope = NULL;
119 DL.getScopeAndInlinedAt(Scope, IA, MF->getFunction()->getContext());
120 if (!Scope) return NULL
    [all...]
MachineCSE.cpp 341 ScopeType *Scope = new ScopeType(VNT);
342 ScopeMap[MBB] = Scope;
479 /// ExitScopeIfDone - Destroy scope for the MBB that corresponds to the given
489 // Pop scope.
  /libcore/json/src/main/java/org/json/
JSONStringer.java 71 enum Scope {
114 private final List<Scope> stack = new ArrayList<Scope>();
139 return open(Scope.EMPTY_ARRAY, "[");
148 return close(Scope.EMPTY_ARRAY, Scope.NONEMPTY_ARRAY, "]");
158 return open(Scope.EMPTY_OBJECT, "{");
167 return close(Scope.EMPTY_OBJECT, Scope.NONEMPTY_OBJECT, "}");
171 * Enters a new scope by appending any necessary whitespace and the give
    [all...]
  /external/clang/include/clang/Analysis/
AnalysisContext.h 200 enum ContextKind { StackFrame, Scope, Block };
310 : LocationContext(Scope, ctx, parent), Enter(s) {}
319 ProfileCommon(ID, Scope, ctx, parent, s);
323 return Ctx->getKind() == Scope;
  /external/clang/include/clang/Sema/
Scope.h 1 //===--- Scope.h - Scope interface ------------------------------*- C++ -*-===//
10 // This file defines the Scope interface.
26 /// Scope - A scope is a transient data structure that is used while parsing the
30 class Scope {
33 /// scope, which defines the sorts of things the scope contains.
35 /// FnScope - This indicates that the scope corresponds to a function, which
47 /// DeclScope - This is a scope that can contain a declaration. Some scope
    [all...]
  /external/webkit/Source/WebCore/inspector/front-end/UglifyJS/
process.js 251 /* -----[ Scope and mangling ]----- */
253 function Scope(parent) {
254 this.names = {}; // names defined in this scope
258 this.refs = {}; // names referenced from this scope
261 this.parent = parent; // parent scope
283 Scope.prototype = {
306 // scope, unless we don't reference the original
307 // name from this scope OR from any sub-scopes!
311 // scope, in the event that the name is not mangled
312 // in the parent scope and we reference that nam
    [all...]
  /external/v8/src/arm/
assembler-arm.h 474 // Supported features must be enabled by a Scope before use.
503 // Enable a specified feature within a scope.
504 class Scope BASE_EMBEDDED {
507 explicit Scope(CpuFeature f) {
519 ~Scope() {
530 explicit Scope(CpuFeature f) {}
    [all...]
  /external/v8/src/ia32/
assembler-ia32.h 442 // Supported features must be enabled by a Scope before use.
445 // CpuFeatures::Scope fscope(SSE2);
482 // Enable a specified feature within a scope.
483 class Scope BASE_EMBEDDED {
486 explicit Scope(CpuFeature f) {
498 ~Scope() {
509 explicit Scope(CpuFeature f) {}
    [all...]
  /external/v8/src/mips/
assembler-mips.h 344 // Supported features must be enabled by a Scope before use.
362 // Enable a specified feature within a scope.
363 class Scope BASE_EMBEDDED {
366 explicit Scope(CpuFeature f)
375 ~Scope() {
385 explicit Scope(CpuFeature f) {}
    [all...]
  /external/v8/src/x64/
assembler-x64.h 429 // Supported features must be enabled by a Scope before use.
432 // CpuFeatures::Scope fscope(SSE3);
469 // Enable a specified feature within a scope.
470 class Scope BASE_EMBEDDED {
473 explicit Scope(CpuFeature f) {
485 ~Scope() {
496 explicit Scope(CpuFeature f) {}
    [all...]
  /external/clang/lib/CodeGen/
CGCleanup.cpp 14 // control transfers out of a particular scope. This can be
90 /// Push an entry of the given size onto this protected-scope stack.
156 EHCleanupScope *Scope =
169 return Scope->getCleanupBuffer();
216 EHCatchScope *scope = local
219 return scope;
374 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin());
376 // As long as Old strictly encloses the scope's enclosing normal
380 Old.strictlyEncloses(Scope.getEnclosingNormalCleanup());
387 EHCleanupScope &Scope) {
981 EHScope &scope = *EHStack.find(i); local
    [all...]
  /external/llvm/utils/TableGen/
DAGISelMatcher.h 47 Scope, // Push a checking scope.
191 : Matcher(Scope), Children(children, children+numchildren) {
221 return N->getKind() == Scope;
471 /// then the match fails. This is semantically equivalent to a Scope node where
525 /// then the match fails. This is semantically equivalent to a Scope node where
    [all...]

Completed in 1678 milliseconds

1 2