Searched refs:Scope (Results 1 - 25 of 427) sorted by relevance

1234567891011>>

/external/chromium_org/gin/
H A Drunner.cc15 Runner::Scope::Scope(Runner* runner) function in class:gin::Runner::Scope
21 Runner::Scope::~Scope() {
H A Drunner.h24 // context by creating an instance of Runner::Scope on the stack.
43 class GIN_EXPORT Scope { class in class:gin::Runner
45 explicit Scope(Runner* runner);
46 ~Scope();
49 v8::Isolate::Scope isolate_scope_;
51 v8::Context::Scope scope_;
53 DISALLOW_COPY_AND_ASSIGN(Scope);
57 friend class Scope;
/external/chromium_org/tools/gn/
H A Dargs.h32 void AddArgOverrides(const Scope::KeyValueMap& overrides);
39 Scope::KeyValueMap GetAllOverrides() const;
44 void SetupRootScope(Scope* dest,
45 const Scope::KeyValueMap& toolchain_overrides) const;
56 bool DeclareArgs(const Scope::KeyValueMap& args,
57 Scope* scope_to_set,
67 const Scope::KeyValueMap& overrides,
68 const Scope::KeyValueMap& declared_arguments,
74 void MergeDeclaredArguments(Scope::KeyValueMap* dest) const;
78 void SetSystemVarsLocked(Scope* scop
[all...]
H A Dconfig_values_generator.h16 class Scope;
26 Scope* scope,
36 Scope* scope_;
H A Dimport_manager.h14 class Scope;
28 Scope* scope,
35 typedef std::map<SourceFile, const Scope*> ImportMap;
H A Dscope.h29 // Scope for the script execution.
40 class Scope { class
52 ProgrammaticProvider(Scope* scope) : scope_(scope) {
65 Scope* scope_;
100 Scope(const Settings* settings);
103 Scope(Scope* parent);
104 Scope(const Scope* parent);
106 ~Scope();
[all...]
H A Dtemplate.h18 class Scope;
31 Template(const Scope* scope, const FunctionCallNode* def);
34 Template(scoped_ptr<Scope> closure, const FunctionCallNode* def);
38 Value Invoke(Scope* scope,
53 scoped_ptr<Scope> closure_;
H A Dscope.cc28 Scope::Scope(const Settings* settings) function in class:Scope
36 Scope::Scope(Scope* parent) function in class:Scope
44 Scope::Scope(const Scope* parent) function in class:Scope
52 Scope::~Scope() {
[all...]
H A Doperators.h11 class Scope;
25 Value ExecuteUnaryOperator(Scope* scope,
29 Value ExecuteBinaryOperator(Scope* scope,
H A Dscope_unittest.cc14 bool HasStringValueEqualTo(const Scope* scope,
27 TEST(Scope, NonRecursiveMergeTo) {
54 Scope new_scope(setup.settings());
60 &new_scope, Scope::MergeOptions(),
67 Scope new_scope(setup.settings());
75 &new_scope, Scope::MergeOptions(), &assignment, "error", &err));
81 Scope new_scope(setup.settings());
86 Scope::MergeOptions options;
99 Scope new_scope(setup.settings());
104 Scope
[all...]
H A Dfunction_set_defaults.cc43 Value RunSetDefaults(Scope* scope,
79 Scope block_scope(scope);
86 Scope* dest = scope->MakeTargetDefaults(target_type);
87 block_scope.NonRecursiveMergeTo(dest, Scope::MergeOptions(), function,
H A Dfunctions.h20 class Scope;
31 typedef Value (*SelfEvaluatingArgsFunction)(Scope* scope,
37 typedef Value (*GenericBlockFunction)(Scope* scope,
48 Scope* block_scope,
52 typedef Value (*NoBlockFunction)(Scope* scope,
60 Value RunAction(Scope* scope,
69 Value RunActionForEach(Scope* scope,
78 Value RunAssert(Scope* scope,
88 Scope* block_scope,
96 Scope* block_scop
[all...]
H A Dargs.cc89 void Args::AddArgOverrides(const Scope::KeyValueMap& overrides) {
92 for (Scope::KeyValueMap::const_iterator i = overrides.begin();
102 Scope::KeyValueMap::const_iterator found =
109 Scope::KeyValueMap Args::GetAllOverrides() const {
114 void Args::SetupRootScope(Scope* dest,
115 const Scope::KeyValueMap& toolchain_overrides) const {
124 bool Args::DeclareArgs(const Scope::KeyValueMap& args,
125 Scope* scope_to_set,
129 for (Scope::KeyValueMap::const_iterator i = args.begin();
137 Scope
[all...]
H A Dtemplate.cc14 Template::Template(const Scope* scope, const FunctionCallNode* def)
19 Template::Template(scoped_ptr<Scope> scope, const FunctionCallNode* def)
27 Value Template::Invoke(Scope* scope,
39 scoped_ptr<Scope> invocation_scope(new Scope(scope));
54 Scope template_scope(closure_.get());
66 // Scope.SetValue will copy the value which will in turn copy the scope, but
70 template_scope.SetValue(kInvoker, Value(NULL, scoped_ptr<Scope>()),
96 // to overwrite the value of "invoker" and free the Scope owned by the
H A Dvalue_unittest.cc30 Scope* scope = new Scope(setup.scope());
31 Value scopeval(NULL, scoped_ptr<Scope>(scope));
H A Dimport_manager.cc16 Scope* UncachedImport(const Settings* settings,
27 scoped_ptr<Scope> scope(new Scope(settings->base_config()));
55 Scope* scope,
59 const Scope* imported_scope = NULL;
89 Scope::MergeOptions options;
/external/clang/include/clang/Sema/
H A DScope.h1 //===--- Scope.h - Scope interface ------------------------------*- C++ -*-===//
10 // This file defines the Scope interface.
34 /// Scope - A scope is a transient data structure that is used while parsing the
38 class Scope { class in namespace:clang
124 Scope *AnyParent;
148 Scope *FnParent;
149 Scope *MSLocalManglingParent;
155 Scope *BreakParent, *ContinueParent;
159 Scope *BlockParen
192 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) function in class:clang::Scope
[all...]
/external/llvm/lib/CodeGen/
H A DLexicalScopes.cpp108 MDNode *Scope = nullptr; local
110 DL.getScopeAndInlinedAt(Scope, IA, MF->getFunction()->getContext());
111 auto I = InlinedLexicalScopeMap.find(std::make_pair(Scope, IA));
118 MDNode *Scope = nullptr; local
120 DL.getScopeAndInlinedAt(Scope, IA, MF->getFunction()->getContext());
121 if (!Scope)
126 DIDescriptor D = DIDescriptor(Scope);
128 Scope = DILexicalBlockFile(Scope).getScope();
131 auto I = InlinedLexicalScopeMap.find(std::make_pair(Scope, I
140 MDNode *Scope = nullptr; local
155 getOrCreateRegularScope(MDNode *Scope) argument
233 constructScopeNest(LexicalScope *Scope) argument
290 LexicalScope *Scope = getOrCreateLexicalScope(DL); local
312 LexicalScope *Scope = getOrCreateLexicalScope(DL); local
[all...]
/external/llvm/lib/ExecutionEngine/
H A DEventListenerCommon.h28 // Holds the filename of each Scope, so that we can pass a null-terminated
35 const char *getFilename(MDNode *Scope) { argument
36 std::string &Filename = Filenames[Scope];
38 DIScope DIScope(Scope);
44 const char *getFullPath(MDNode *Scope) { argument
45 std::string &P = Paths[Scope];
47 DIScope DIScope(Scope);
/external/chromium_org/tools/usb_gadget/
H A Dhid_descriptors.py89 return _PackItem(tag, hid_constants.Scope.MAIN, value, force_length=1)
131 UsagePage = _DefineItem('UsagePage', 0, hid_constants.Scope.GLOBAL)
132 LogicalMinimum = _DefineItem('LogicalMinimum', 1, hid_constants.Scope.GLOBAL)
133 LogicalMaximum = _DefineItem('LogicalMaximum', 2, hid_constants.Scope.GLOBAL)
134 PhysicalMinimum = _DefineItem('PhysicalMinimum', 3, hid_constants.Scope.GLOBAL)
135 PhysicalMaximum = _DefineItem('PhysicalMaximum', 4, hid_constants.Scope.GLOBAL)
136 UnitExponent = _DefineItem('UnitExponent', 5, hid_constants.Scope.GLOBAL)
137 Unit = _DefineItem('Unit', 6, hid_constants.Scope.GLOBAL)
138 ReportSize = _DefineItem('ReportSize', 7, hid_constants.Scope.GLOBAL)
139 ReportID = _DefineItem('ReportID', 8, hid_constants.Scope
[all...]
/external/chromium_org/content/public/browser/
H A Dservice_worker_context.h21 typedef GURL Scope; typedef in class:content::ServiceWorkerContext
39 virtual void RegisterServiceWorker(const Scope& pattern,
51 virtual void UnregisterServiceWorker(const Scope& pattern,
54 // TODO(jyasskin): Provide a way to SendMessage to a Scope.
/external/llvm/lib/IR/
H A DDebugLoc.cpp48 /// Return both the Scope and the InlinedAt values.
49 void DebugLoc::getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA, argument
52 Scope = IA = nullptr;
61 Scope = Ctx.pImpl->ScopeRecords[ScopeIdx-1].get();
69 Scope = Ctx.pImpl->ScopeInlinedAtRecords[-ScopeIdx-1].first.get();
80 const MDNode *Scope = getScopeNode(Ctx); local
81 DISubprogram SP = getDISubprogram(Scope);
95 MDNode *Scope, MDNode *InlinedAt) {
99 if (!Scope) return Result;
106 LLVMContext &Ctx = Scope
94 get(unsigned Line, unsigned Col, MDNode *Scope, MDNode *InlinedAt) argument
139 MDNode *Scope = Loc.getScope(); local
148 MDNode *Scope = LexBlock.getContext(); local
204 getOrAddScopeRecordIdxEntry(MDNode *Scope, int ExistingIdx) argument
227 getOrAddScopeInlinedAtIdxEntry(MDNode *Scope, MDNode *IA, int ExistingIdx) argument
[all...]
/external/chromium_org/v8/src/
H A Dscopes.cc33 Variable* VariableMap::Declare(Scope* scope, const AstRawString* name,
68 // Implementation of Scope
70 Scope::Scope(Scope* outer_scope, ScopeType scope_type, function in class:v8::internal::Scope
93 Scope::Scope(Scope* inner_scope, function in class:v8::internal::Scope
121 Scope::Scope(Scop function in class:v8::internal::Scope
[all...]
H A Dscopes.h24 Variable* Declare(Scope* scope, const AstRawString* name, VariableMode mode,
41 // are allocated on-demand from Scope::NonLocal to avoid wasting memory
70 class Scope: public ZoneObject { class in namespace:v8::internal
75 Scope(Scope* outer_scope, ScopeType scope_type,
83 static Scope* DeserializeScopeChain(Context* context, Scope* global_scope,
96 Scope* FinalizeBlockScope();
206 // Scope-specific info.
330 ZoneList<Scope*>* inner_scope
[all...]
/external/clang/lib/CodeGen/
H A DCGCleanup.cpp161 EHCleanupScope *Scope = local
174 return Scope->getCleanupBuffer();
378 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); local
384 Old.strictlyEncloses(Scope.getEnclosingNormalCleanup());
418 EHCleanupScope &Scope) {
419 assert(Scope.isNormalCleanup());
420 llvm::BasicBlock *Entry = Scope.getNormalBlock();
423 Scope.setNormalBlock(Entry);
565 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); local
566 assert(Scope
417 CreateNormalEntry(CodeGenFunction &CGF, EHCleanupScope &Scope) argument
960 EHCleanupScope &Scope = local
970 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(I)); local
1046 EHCleanupScope &Scope = cast<EHCleanupScope>(*CGF.EHStack.find(C)); local
1102 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(C)); local
1114 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(C)); local
[all...]

Completed in 1617 milliseconds

1234567891011>>