/external/v8/src/debug/ |
D | debug-scopes.cc | 80 if (scope_info->scope_type() == FUNCTION_SCOPE) { in ScopeIterator() 91 if (scope_info->scope_type() != FUNCTION_SCOPE) { in ScopeIterator() 95 if (scope_info->scope_type() == EVAL_SCOPE) { in ScopeIterator() 103 } else if (scope_info->scope_type() == MODULE_SCOPE) { in ScopeIterator() 106 DCHECK(scope_info->scope_type() == SCRIPT_SCOPE); in ScopeIterator() 214 ScopeType scope_type = Type(); in Next() local 215 if (scope_type == ScopeTypeGlobal) { in Next() 219 } else if (scope_type == ScopeTypeScript) { in Next() 225 DCHECK_EQ(nested_scope_chain_.last().scope_info->scope_type(), in Next() 253 switch (scope_info->scope_type()) { in Type() [all …]
|
D | debug-evaluate.cc | 151 ScopeIterator::ScopeType scope_type = it.Type(); in ContextBuilder() local 152 if (scope_type == ScopeIterator::ScopeTypeLocal) { in ContextBuilder() 153 DCHECK_EQ(FUNCTION_SCOPE, it.CurrentScopeInfo()->scope_type()); in ContextBuilder() 174 } else if (scope_type == ScopeIterator::ScopeTypeCatch || in ContextBuilder() 175 scope_type == ScopeIterator::ScopeTypeWith) { in ContextBuilder() 182 } else if (scope_type == ScopeIterator::ScopeTypeBlock || in ContextBuilder() 183 scope_type == ScopeIterator::ScopeTypeEval) { in ContextBuilder()
|
/external/v8/src/ast/ |
D | scopes.cc | 140 Scope::Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type) in Scope() argument 144 scope_type_(scope_type) { in Scope() 145 DCHECK_NE(SCRIPT_SCOPE, scope_type); in Scope() 175 ScopeType scope_type, in DeclarationScope() argument 177 : Scope(zone, outer_scope, scope_type), in DeclarationScope() 181 DCHECK_NE(scope_type, SCRIPT_SCOPE); in DeclarationScope() 242 Scope::Scope(Zone* zone, ScopeType scope_type, Handle<ScopeInfo> scope_info) in Scope() argument 247 scope_type_(scope_type) { in Scope() 259 DeclarationScope::DeclarationScope(Zone* zone, ScopeType scope_type, in DeclarationScope() argument 261 : Scope(zone, scope_type, scope_info), in DeclarationScope() [all …]
|
D | scopes.h | 94 Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type); in NON_EXPORTED_BASE() 346 ScopeType scope_type() const { return scope_type_; } in NON_EXPORTED_BASE() 616 DeclarationScope(Zone* zone, Scope* outer_scope, ScopeType scope_type, 618 DeclarationScope(Zone* zone, ScopeType scope_type,
|
/external/v8/src/parsing/ |
D | preparsed-scope-data.cc | 32 ScopeType scope_type, in ScopeScope() argument 36 data->backing_store_.push_back(scope_type); in ScopeScope()
|
D | preparsed-scope-data.h | 26 ScopeScope(PreParsedScopeData* data, ScopeType scope_type,
|
D | preparser.cc | 91 DCHECK_EQ(FUNCTION_SCOPE, function_scope->scope_type()); in PreParseFunction()
|
D | parser-base.h | 666 Scope* NewScope(ScopeType scope_type) const { in NewScope() argument 667 return NewScopeWithParent(scope(), scope_type); in NewScope() 673 Scope* NewScopeWithParent(Scope* parent, ScopeType scope_type) const { in NewScopeWithParent() argument 676 DCHECK_NE(FUNCTION_SCOPE, scope_type); in NewScopeWithParent() 677 DCHECK_NE(SCRIPT_SCOPE, scope_type); in NewScopeWithParent() 678 DCHECK_NE(MODULE_SCOPE, scope_type); in NewScopeWithParent() 680 return new (zone()) Scope(zone(), parent, scope_type); in NewScopeWithParent() 5113 switch (GetDeclarationScope()->scope_type()) { in ParseReturnStatement()
|
/external/v8/src/objects/ |
D | scope-info.cc | 162 ScopeTypeField::encode(scope->scope_type()) | in Create() 403 ScopeType ScopeInfo::scope_type() { in scope_type() function in v8::internal::ScopeInfo 437 scope_type() == WITH_SCOPE || in ContextLength() 438 (scope_type() == BLOCK_SCOPE && CallsSloppyEval() && in ContextLength() 440 (scope_type() == FUNCTION_SCOPE && CallsSloppyEval()) || in ContextLength() 441 (scope_type() == FUNCTION_SCOPE && IsAsmModule()) || in ContextLength() 442 scope_type() == MODULE_SCOPE; in ContextLength() 497 DCHECK_EQ(scope_type(), WITH_SCOPE); in SetIsDebugEvaluateScope() 525 DCHECK(scope_type() == MODULE_SCOPE); in ModuleDescriptorInfo() 617 DCHECK_EQ(scope_type(), MODULE_SCOPE); in ModuleIndex()
|
D | scope-info.h | 38 ScopeType scope_type();
|
/external/selinux/libsepol/tests/ |
D | test-common.h | 37 extern void test_sym_presence(policydb_t * p, const char *id, int sym_type, unsigned int scope_type…
|
D | test-common.c | 29 void test_sym_presence(policydb_t * p, const char *id, int sym_type, unsigned int scope_type, unsig… in test_sym_presence() argument 42 CU_ASSERT(scope->scope == scope_type); in test_sym_presence()
|
/external/v8/src/compiler/ |
D | js-operator.cc | 247 int slot_count, ScopeType scope_type) in CreateFunctionContextParameters() argument 248 : slot_count_(slot_count), scope_type_(scope_type) {} in CreateFunctionContextParameters() 253 lhs.scope_type() == rhs.scope_type(); in operator ==() 263 static_cast<int>(parameters.scope_type())); in hash_value() 268 return os << parameters.slot_count() << ", " << parameters.scope_type(); in operator <<() 1038 ScopeType scope_type) { in CreateFunctionContext() argument 1039 CreateFunctionContextParameters parameters(slot_count, scope_type); in CreateFunctionContext()
|
D | js-operator.h | 310 CreateFunctionContextParameters(int slot_count, ScopeType scope_type); 313 ScopeType scope_type() const { return scope_type_; } in scope_type() function 704 const Operator* CreateFunctionContext(int slot_count, ScopeType scope_type); in NON_EXPORTED_BASE()
|
D | js-generic-lowering.cc | 402 ScopeType scope_type = parameters.scope_type(); in LowerJSCreateFunctionContext() local 408 CodeFactory::FastNewFunctionContext(isolate(), scope_type); in LowerJSCreateFunctionContext() 412 node->InsertInput(zone(), 1, jsgraph()->SmiConstant(scope_type)); in LowerJSCreateFunctionContext()
|
D | js-create-lowering.cc | 844 ScopeType scope_type = parameters.scope_type(); in ReduceJSCreateFunctionContext() local 858 switch (scope_type) { in ReduceJSCreateFunctionContext()
|
/external/v8/src/builtins/ |
D | builtins-constructor.h | 22 ScopeType scope_type);
|
D | builtins-constructor.cc | 326 Node* function, Node* slots, Node* context, ScopeType scope_type) { in EmitFastNewFunctionContext() argument 339 switch (scope_type) { in EmitFastNewFunctionContext() 401 Handle<Code> Builtins::NewFunctionContext(ScopeType scope_type) { in NewFunctionContext() argument 402 switch (scope_type) { in NewFunctionContext()
|
D | builtins.h | 915 Handle<Code> NewFunctionContext(ScopeType scope_type);
|
/external/v8/src/ |
D | code-factory.cc | 358 ScopeType scope_type) { in FastNewFunctionContext() argument 359 return Callable(isolate->builtins()->NewFunctionContext(scope_type), in FastNewFunctionContext()
|
D | code-factory.h | 150 ScopeType scope_type);
|
D | factory.cc | 926 DCHECK_EQ(scope_info->scope_type(), SCRIPT_SCOPE); in NewScriptContext() 952 DCHECK_EQ(scope_info->scope_type(), MODULE_SCOPE); in NewModuleContext() 967 ScopeType scope_type) { in NewFunctionContext() argument 968 DCHECK(function->shared()->scope_info()->scope_type() == scope_type); in NewFunctionContext() 972 switch (scope_type) { in NewFunctionContext() 1051 DCHECK_EQ(scope_info->scope_type(), BLOCK_SCOPE); in NewBlockContext()
|
D | factory.h | 305 ScopeType scope_type);
|
D | objects-debug.cc | 644 CHECK_EQ(kind() == kModule, scope_info()->scope_type() == MODULE_SCOPE); in SharedFunctionInfoVerify()
|
/external/v8/src/runtime/ |
D | runtime-scopes.cc | 744 CONVERT_SMI_ARG_CHECKED(scope_type, 1); in RUNTIME_FUNCTION() 749 length, function, static_cast<ScopeType>(scope_type)); in RUNTIME_FUNCTION()
|