/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...] |
/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...] |
ScopeInfo.h | 29 class Scope; 50 /// \brief Whether this scope information structure defined information for 77 /// current function scope. These diagnostics are vetted for reachability 107 /// \brief Clear out the information in this function scope, making it 119 /// TheScope - This is the scope for the block itself, which contains 121 Scope *TheScope; 140 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block)
|
Sema.h | 469 /// Translation Unit Scope - useful to Objective-C actions that need 470 /// to lookup file scope declarations in the "ordinary" C decl namespace. 472 Scope *TUScope; 752 Scope *getScopeForContext(DeclContext *Ctx); 755 void PushBlockScope(Scope *BlockScope, BlockDecl *Block); 802 TypeSourceInfo *GetTypeForDeclarator(Declarator &D, Scope *S); 833 TypeResult ActOnTypeName(Scope *S, Declarator &D); [all...] |
/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...] |
symbols.c | 58 Scope *ScopeList = NULL; 59 Scope *CurrentScope = NULL; 60 Scope *GlobalScope = NULL; 63 Scope *scope = _scope; local 65 if (scope->next) 66 scope->next->prev = scope->prev; 67 if (scope->prev) 68 scope->prev->next = scope->next [all...] |
/external/clang/lib/Sema/ |
TargetAttributesSema.h | 14 class Scope; 22 virtual bool ProcessDeclAttribute(Scope *scope, Decl *D,
|
Scope.cpp | 1 //===- Scope.cpp - Lexical scope information --------------------*- C++ -*-===// 10 // This file implements the Scope class, which is used for recording 11 // information about a lexical scope. 15 #include "clang/Sema/Scope.h" 19 void Scope::Init(Scope *parent, unsigned flags) { 42 // If this scope is a function or contains breaks/continues, remember it. 50 // If this is a prototype scope, record that.
|
/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...] |
/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...] |
/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/v8/src/ |
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/VMCore/ |
DebugLoc.cpp | 47 /// Return both the Scope and the InlinedAt values. 48 void DebugLoc::getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA, 51 Scope = IA = 0; 60 Scope = Ctx.pImpl->ScopeRecords[ScopeIdx-1].get(); 68 Scope = Ctx.pImpl->ScopeInlinedAtRecords[-ScopeIdx-1].first.get(); 74 MDNode *Scope, MDNode *InlinedAt) { 77 // If no scope is available, this is an unknown location. 78 if (Scope == 0) return Result; 85 LLVMContext &Ctx = Scope->getContext(); 89 Result.ScopeIdx = Ctx.pImpl->getOrAddScopeRecordIdxEntry(Scope, 0) [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...] |
CGTemporaries.cpp | 42 RunCleanupsScope Scope(*this); 47 RunCleanupsScope Scope(*this);
|
/external/webkit/Source/WebCore/bindings/v8/ |
ScriptControllerQt.cpp | 40 v8::Context::Scope scope(v8Context);
|
ScriptScope.h | 49 v8::Context::Scope m_scope;
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
AccessibilityDetector.java | 22 import com.android.tools.lint.detector.api.Scope; 64 public Scope getScope() { 65 return Scope.SINGLE_FILE;
|
HardcodedValuesDetector.java | 22 import com.android.tools.lint.detector.api.Scope; 67 public Scope getScope() { 68 return Scope.SINGLE_FILE;
|
MergeRootFrameLayoutDetector.java | 22 import com.android.tools.lint.detector.api.Scope; 58 public Scope getScope() { 59 return Scope.SINGLE_FILE;
|
ProguardDetector.java | 22 import com.android.tools.lint.detector.api.Scope; 78 public Scope getScope() { 79 return Scope.SINGLE_FILE;
|
PxUsageDetector.java | 22 import com.android.tools.lint.detector.api.Scope; 67 public Scope getScope() { 68 return Scope.SINGLE_FILE;
|
TextFieldDetector.java | 22 import com.android.tools.lint.detector.api.Scope; 65 public Scope getScope() { 66 return Scope.SINGLE_FILE;
|
/external/llvm/include/llvm/Analysis/ |
DIBuilder.h | 155 /// @param Scope Member scope. 164 DIType createMemberType(DIDescriptor Scope, StringRef Name, DIFile File, 194 /// @param Scope Scope in which this class is defined. 208 DIType createClassType(DIDescriptor Scope, StringRef Name, DIFile File, 216 /// @param Scope Scope in which this struct is defined. 225 DIType createStructType(DIDescriptor Scope, StringRef Name, DIFile File, 231 /// @param Scope Scope in which this union is defined [all...] |