Home
last modified time | relevance | path

Searched refs:Scope (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/external/clang/include/clang/Sema/
DScope.h38 class Scope {
130 Scope *AnyParent;
156 Scope *FnParent;
157 Scope *MSLastManglingParent;
163 Scope *BreakParent, *ContinueParent;
167 Scope *BlockParent;
173 Scope *TemplateParamParent;
200 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) in Scope() function
215 const Scope *getParent() const { return AnyParent; } in getParent()
216 Scope *getParent() { return AnyParent; } in getParent()
[all …]
DSema.h356 SmallVector<Scope*, 2> CurrentSEHFinally;
680 Scope *TUScope;
1148 Scope *getScopeForContext(DeclContext *Ctx);
1151 void PushBlockScope(Scope *BlockScope, BlockDecl *Block);
1159 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD,
1273 TypeSourceInfo *GetTypeForDeclarator(Declarator &D, Scope *S);
1311 TypeResult ActOnTypeName(Scope *S, Declarator &D);
1485 Scope *S, CXXScopeSpec *SS = nullptr,
1492 TypeSpecifierType isTagName(IdentifierInfo &II, Scope *S);
1493 bool isMicrosoftMissingTypename(const CXXScopeSpec *SS, Scope *S);
[all …]
/external/llvm/lib/CodeGen/
DLexicalScopes.cpp110 DILocalScope *Scope = DL->getScope(); in findLexicalScope() local
111 if (!Scope) in findLexicalScope()
116 if (auto *File = dyn_cast<DILexicalBlockFile>(Scope)) in findLexicalScope()
117 Scope = File->getScope(); in findLexicalScope()
120 auto I = InlinedLexicalScopeMap.find(std::make_pair(Scope, IA)); in findLexicalScope()
123 return findLexicalScope(Scope); in findLexicalScope()
128 LexicalScope *LexicalScopes::getOrCreateLexicalScope(const DILocalScope *Scope, in getOrCreateLexicalScope() argument
132 getOrCreateAbstractScope(Scope); in getOrCreateLexicalScope()
134 return getOrCreateInlinedScope(Scope, IA); in getOrCreateLexicalScope()
137 return getOrCreateRegularScope(Scope); in getOrCreateLexicalScope()
[all …]
/external/tcpdump/tests/
Dospf3_mp-vv.out43 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
45 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
47 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
49 Network LSA (2), Area Local Scope, LSA-ID 0.0.0.6
51 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.5
53 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.4
55 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.0
57 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1
59 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2
61 Link LSA (8), Link Local Scope, LSA-ID 0.0.0.6
[all …]
Dospf3_nbma-vv.out30 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
32 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
34 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
36 Network LSA (2), Area Local Scope, LSA-ID 0.0.0.6
38 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.4
40 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3
42 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2
44 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3
46 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.4
48 Link LSA (8), Link Local Scope, LSA-ID 0.0.0.6
[all …]
Dospf3_bc-vv.out43 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
45 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.0
47 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1
49 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2
51 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3
53 Link LSA (8), Link Local Scope, LSA-ID 0.0.0.5
55 Intra-Area Prefix LSA (9), Area Local Scope, LSA-ID 0.0.0.0
60 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
62 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.0
64 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1
[all …]
Dospf3_ah-vv.out71 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
73 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
75 Network LSA (2), Area Local Scope, LSA-ID 0.0.0.5
77 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.5
79 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.6
81 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.7
83 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.8
85 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1
87 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2
89 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3
[all …]
/external/v8/src/ast/
Dscopes.cc31 Variable* VariableMap::Declare(Scope* scope, const AstRawString* name, in Declare()
93 Scope::Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type, in Scope() function in v8::internal::Scope
116 Scope::Scope(Zone* zone, Scope* inner_scope, ScopeType scope_type, in Scope() function in v8::internal::Scope
141 Scope::Scope(Zone* zone, Scope* inner_scope, in Scope() function in v8::internal::Scope
169 void Scope::SetDefaults(ScopeType scope_type, Scope* outer_scope, in SetDefaults()
221 Scope* Scope::DeserializeScopeChain(Isolate* isolate, Zone* zone, in DeserializeScopeChain()
222 Context* context, Scope* script_scope) { in DeserializeScopeChain()
224 Scope* current_scope = NULL; in DeserializeScopeChain()
225 Scope* innermost_scope = NULL; in DeserializeScopeChain()
229 Scope* with_scope = new (zone) in DeserializeScopeChain()
[all …]
Dscopes.h25 Variable* Declare(Scope* scope, const AstRawString* name, VariableMode mode,
87 class Scope: public ZoneObject {
92 Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type,
101 static Scope* DeserializeScopeChain(Isolate* isolate, Zone* zone,
102 Context* context, Scope* script_scope);
114 Scope* FinalizeBlockScope();
119 void ReplaceOuterScope(Scope* outer_scope);
123 void PropagateUsageFlagsToScope(Scope* other);
380 const Scope* NearestOuterEvalScope() const { in NearestOuterEvalScope()
458 Scope* scope = ClosureScope(); in HasSimpleParameters()
[all …]
/external/v8/src/heap/
Dgc-tracer.cc24 GCTracer::Scope::Scope(GCTracer* tracer, ScopeId scope) in Scope() function in v8::internal::GCTracer::Scope
30 GCTracer::Scope::~Scope() { in ~Scope()
77 for (int i = 0; i < Scope::NUMBER_OF_SCOPES; i++) { in Event()
176 for (int i = 0; i < Scope::NUMBER_OF_SCOPES; i++) { in Start()
267 current_.scopes[Scope::MC_MARK]); in Stop()
397 int external_time = static_cast<int>(current_.scopes[Scope::EXTERNAL]); in Print()
482 current_.scopes[Scope::SCAVENGER_SCAVENGE], in PrintNVP()
483 current_.scopes[Scope::SCAVENGER_OLD_TO_NEW_POINTERS], in PrintNVP()
484 current_.scopes[Scope::SCAVENGER_WEAK], in PrintNVP()
485 current_.scopes[Scope::SCAVENGER_ROOTS], in PrintNVP()
[all …]
/external/llvm/lib/IR/
DLLVMContextImpl.h235 Metadata *Scope;
238 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope,
240 : Line(Line), Column(Column), Scope(Scope), InlinedAt(InlinedAt) {}
243 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()),
248 Scope == RHS->getRawScope() && InlinedAt == RHS->getRawInlinedAt();
251 return hash_combine(Line, Column, Scope, InlinedAt);
336 Metadata *Scope;
345 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
348 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
353 Line(N->getLine()), Scope(N->getRawScope()),
[all …]
DDebugInfoMetadata.cpp42 unsigned Column, Metadata *Scope, in getImpl() argument
48 assert(Scope && "Expected scope"); in getImpl()
52 DILocationInfo::KeyTy(Line, Column, Scope, InlinedAt))) in getImpl()
61 Ops.push_back(Scope); in getImpl()
260 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl() argument
264 DEFINE_GETIMPL_LOOKUP(DIDerivedType, (Tag, getString(Name), File, Line, Scope, in getImpl()
267 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData}; in getImpl()
275 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl() argument
282 (Tag, getString(Name), File, Line, Scope, BaseType, in getImpl()
286 Metadata *Ops[] = {File, Scope, Name, BaseType, in getImpl()
[all …]
DDebugLoc.cpp52 const MDNode *Scope = getInlinedAtScope(); in getFnDebugLoc() local
53 if (auto *SP = getDISubprogram(Scope)) in getFnDebugLoc()
59 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, const MDNode *Scope, in get() argument
62 if (!Scope) in get()
65 return DILocation::get(Scope->getContext(), Line, Col, in get()
66 const_cast<MDNode *>(Scope), in get()
91 auto *Scope = cast<DIScope>(getScope()); in print() local
92 OS << Scope->getFilename(); in print()
DDebugInfo.cpp36 DISubprogram *llvm::getDISubprogram(const MDNode *Scope) { in getDISubprogram() argument
37 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram()
51 const MDNode *Scope = DLoc.getInlinedAtScope(); in getDISubprogram() local
52 auto *Subprogram = getDISubprogram(Scope); in getDISubprogram()
172 void DebugInfoFinder::processScope(DIScope *Scope) { in processScope() argument
173 if (!Scope) in processScope()
175 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope()
179 if (auto *CU = dyn_cast<DICompileUnit>(Scope)) { in processScope()
183 if (auto *SP = dyn_cast<DISubprogram>(Scope)) { in processScope()
187 if (!addScope(Scope)) in processScope()
[all …]
/external/clang/lib/CodeGen/
DCGCleanup.cpp177 EHCleanupScope *Scope = in pushCleanup() local
190 return Scope->getCleanupBuffer(); in pushCleanup()
408 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); in PopCleanupBlocks() local
414 Old.strictlyEncloses(Scope.getEnclosingNormalCleanup()); in PopCleanupBlocks()
448 EHCleanupScope &Scope) { in CreateNormalEntry() argument
449 assert(Scope.isNormalCleanup()); in CreateNormalEntry()
450 llvm::BasicBlock *Entry = Scope.getNormalBlock(); in CreateNormalEntry()
453 Scope.setNormalBlock(Entry); in CreateNormalEntry()
589 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); in PopCleanupBlock() local
590 assert(Scope.getFixupDepth() <= EHStack.getNumBranchFixups()); in PopCleanupBlock()
[all …]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DScope.java36 final class Scope { class
41 private static final Scope UNSCOPED = new Scope();
49 private Scope(@Nullable AnnotationMirror annotationMirror) { in Scope() method in Scope
53 private Scope() { in Scope() method in Scope
60 static Scope unscoped() { in unscoped()
68 static Scope scopeOf(Element element) { in scopeOf()
70 return scopeAnnotation.isPresent() ? new Scope(scopeAnnotation.get()) : UNSCOPED; in scopeOf()
124 } else if (obj instanceof Scope) { in equals()
125 Scope that = (Scope) obj; in equals()
/external/llvm/include/llvm/IR/
DDIBuilder.h197 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name,
212 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name,
264 DICompositeType *createClassType(DIScope *Scope, StringRef Name,
285 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
301 DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
314 createTemplateTypeParameter(DIScope *Scope, StringRef Name, DIType *Ty);
322 DITemplateValueParameter *createTemplateValueParameter(DIScope *Scope,
332 DITemplateValueParameter *createTemplateTemplateParameter(DIScope *Scope,
342 DITemplateValueParameter *createTemplateParameterPack(DIScope *Scope,
375 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
[all …]
DDebugInfoMetadata.h672 DIScopeRef Scope, DITypeRef BaseType,
678 Line, Scope, BaseType, SizeInBits, AlignInBits, OffsetInBits,
683 Metadata *Scope, Metadata *BaseType,
699 unsigned Line, Metadata *Scope, Metadata *BaseType,
703 (Tag, Name, File, Line, Scope, BaseType, SizeInBits,
707 DIScopeRef Scope, DITypeRef BaseType, uint64_t SizeInBits,
710 (Tag, Name, File, Line, Scope, BaseType, SizeInBits,
772 unsigned Line, DIScopeRef Scope, DITypeRef BaseType,
778 Context, Tag, getCanonicalMDString(Context, Name), File, Line, Scope,
785 unsigned Line, Metadata *Scope, Metadata *BaseType,
[all …]
/external/v8/test/cctest/
Dtest-lockers.cc68 v8::Isolate::Scope isolate_scope(isolate_); in Run()
73 v8::Context::Scope context_scope(context); in Run()
80 v8::Isolate::Scope isolate_scope(isolate_); in Run()
84 v8::Context::Scope context_scope(context); in Run()
106 v8::Isolate::Scope isolate_scope(isolate); in TEST()
109 v8::Context::Scope context_scope(context); in TEST()
185 v8::Isolate::Scope isolate_scope(isolate_); in Run()
236 v8::Isolate::Scope isolate_scope(isolate_); in Run()
283 v8::Isolate::Scope isolate_scope(isolate1_); in Run()
330 v8::Isolate::Scope isolate_scope(isolate_); in Run()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp309 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) { in constructScopeDIE() argument
310 if (!Scope || !Scope->getScopeNode()) in constructScopeDIE()
313 auto *DS = Scope->getScopeNode(); in constructScopeDIE()
315 assert((Scope->getInlinedAt() || !isa<DISubprogram>(DS)) && in constructScopeDIE()
326 if (Scope->getParent() && isa<DISubprogram>(DS)) { in constructScopeDIE()
327 ScopeDIE = constructInlinedScopeDIE(Scope); in constructScopeDIE()
331 createScopeChildrenDIE(Scope, Children); in constructScopeDIE()
334 if (DD->isLexicalScopeDIENull(Scope)) in constructScopeDIE()
341 createScopeChildrenDIE(Scope, Children, &ChildScopeCount); in constructScopeDIE()
359 ScopeDIE = constructLexicalScopeDIE(Scope); in constructScopeDIE()
[all …]
/external/llvm/bindings/go/llvm/
DDIBuilderBindings.cpp54 LLVMMetadataRef Scope, in LLVMDIBuilderCreateLexicalBlock() argument
59 auto *LB = D->createLexicalBlock(unwrap<DILocalScope>(Scope), in LLVMDIBuilderCreateLexicalBlock()
65 LLVMMetadataRef Scope, in LLVMDIBuilderCreateLexicalBlockFile() argument
69 return wrap(D->createLexicalBlockFile(unwrap<DILocalScope>(Scope), in LLVMDIBuilderCreateLexicalBlockFile()
74 LLVMDIBuilderRef Dref, LLVMMetadataRef Scope, const char *Name, in LLVMDIBuilderCreateFunction() argument
79 return wrap(D->createFunction(unwrap<DIScope>(Scope), Name, LinkageName, in LLVMDIBuilderCreateFunction()
87 LLVMDIBuilderCreateAutoVariable(LLVMDIBuilderRef Dref, LLVMMetadataRef Scope, in LLVMDIBuilderCreateAutoVariable() argument
92 return wrap(D->createAutoVariable(unwrap<DIScope>(Scope), Name, in LLVMDIBuilderCreateAutoVariable()
98 LLVMDIBuilderRef Dref, LLVMMetadataRef Scope, const char *Name, in LLVMDIBuilderCreateParameterVariable() argument
103 unwrap<DIScope>(Scope), Name, ArgNo, unwrap<DIFile>(File), Line, in LLVMDIBuilderCreateParameterVariable()
[all …]
DDIBuilderBindings.h45 LLVMMetadataRef Scope,
50 LLVMMetadataRef Scope,
55 LLVMDIBuilderRef D, LLVMMetadataRef Scope, const char *Name,
61 LLVMDIBuilderCreateAutoVariable(LLVMDIBuilderRef D, LLVMMetadataRef Scope,
67 LLVMDIBuilderRef D, LLVMMetadataRef Scope, const char *Name, unsigned ArgNo,
88 LLVMDIBuilderRef D, LLVMMetadataRef Scope, const char *Name,
94 LLVMDIBuilderRef D, unsigned Tag, const char *Name, LLVMMetadataRef Scope,
99 LLVMDIBuilderCreateMemberType(LLVMDIBuilderRef D, LLVMMetadataRef Scope,
/external/llvm/unittests/IR/
DMetadataTest.cpp989 DIScopeRef Scope = getSubprogramRef(); in TEST_F() local
994 File, 1, Scope, BaseType, 2, 3, 4, 5, ExtraData); in TEST_F()
999 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
1007 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
1011 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
1014 File, 1, Scope, BaseType, 2, 3, 4, 5, in TEST_F()
1017 "something", getFile(), 1, Scope, BaseType, 2, in TEST_F()
1020 "something", File, 2, Scope, BaseType, 2, 3, in TEST_F()
1027 Scope, getBasicType("basic2"), 2, 3, 4, 5, ExtraData)); in TEST_F()
1029 "something", File, 1, Scope, BaseType, 3, 3, in TEST_F()
[all …]
/external/v8/src/parsing/
Dparameter-initializer-rewriter.cc19 Rewriter(uintptr_t stack_limit, Expression* initializer, Scope* old_scope, in Rewriter()
20 Scope* new_scope) in Rewriter()
32 Scope* old_scope_;
33 Scope* new_scope_;
80 Expression* initializer, Scope* old_scope, in RewriteParameterInitializerScope()
81 Scope* new_scope) { in RewriteParameterInitializerScope()
/external/clang/lib/Sema/
DScope.cpp21 void Scope::Init(Scope *parent, unsigned flags) { in Init()
94 bool Scope::containedInPrototypeScope() const { in containedInPrototypeScope()
95 const Scope *S = this; in containedInPrototypeScope()
104 void Scope::AddFlags(unsigned FlagsToSet) { in AddFlags()
118 void Scope::mergeNRVOIntoParent() { in mergeNRVOIntoParent()
133 void Scope::dump() const { dumpImpl(llvm::errs()); } in dump()
135 void Scope::dumpImpl(raw_ostream &OS) const { in dumpImpl()
211 if (const Scope *Parent = getParent()) in dumpImpl()

12345678910>>...15