Home
last modified time | relevance | path

Searched refs:scope_type (Results 1 – 11 of 11) sorted by relevance

/external/v8/src/
Dscopes.cc70 Scope::Scope(Scope* outer_scope, ScopeType scope_type, in Scope() argument
81 (scope_type == MODULE_SCOPE || scope_type == GLOBAL_SCOPE) in Scope()
86 SetDefaults(scope_type, outer_scope, Handle<ScopeInfo>::null()); in Scope()
88 DCHECK(scope_type == GLOBAL_SCOPE || outer_scope != NULL); in Scope()
94 ScopeType scope_type, in Scope() argument
110 SetDefaults(scope_type, NULL, scope_info); in Scope()
149 void Scope::SetDefaults(ScopeType scope_type, in SetDefaults() argument
153 scope_type_ = scope_type; in SetDefaults()
773 static const char* Header(ScopeType scope_type) { in Header() argument
774 switch (scope_type) { in Header()
[all …]
Dscopeinfo.cc56 int flags = ScopeTypeField::encode(scope->scope_type()) | in Create()
137 ScopeType ScopeInfo::scope_type() { in scope_type() function in v8::internal::ScopeInfo
175 scope_type() == WITH_SCOPE || in ContextLength()
176 (scope_type() == FUNCTION_SCOPE && CallsEval()) || in ContextLength()
177 scope_type() == MODULE_SCOPE; in ContextLength()
Dscopes.h75 Scope(Scope* outer_scope, ScopeType scope_type,
299 ScopeType scope_type() const { return scope_type_; } in scope_type() function
Dparser.h577 V8_INLINE Scope* NewScope(Scope* parent_scope, ScopeType scope_type);
863 Scope* ParserTraits::NewScope(Scope* parent_scope, ScopeType scope_type) { in NewScope() argument
864 return parser_->NewScope(parent_scope, scope_type); in NewScope()
Dpreparser.h941 explicit PreParserScope(PreParserScope* outer_scope, ScopeType scope_type,
943 : scope_type_(scope_type) { in scope_type_() argument
1252 PreParserScope NewScope(PreParserScope* outer_scope, ScopeType scope_type) { in NewScope() argument
1253 return PreParserScope(outer_scope, scope_type); in NewScope()
Druntime.cc12047 if (scope_info->scope_type() == FUNCTION_SCOPE) { in ScopeIterator()
12057 if (scope_info->scope_type() != FUNCTION_SCOPE) { in ScopeIterator()
12060 if (scope_info->scope_type() == GLOBAL_SCOPE) { in ScopeIterator()
12063 DCHECK(scope_info->scope_type() == EVAL_SCOPE); in ScopeIterator()
12106 ScopeType scope_type = Type(); in Next() local
12107 if (scope_type == ScopeTypeGlobal) { in Next()
12129 switch (scope_info->scope_type()) { in Type()
Dparser.cc269 Scope* Parser::NewScope(Scope* parent, ScopeType scope_type) { in NewScope() argument
272 new (zone()) Scope(parent, scope_type, ast_value_factory(), zone()); in NewScope()
Dobjects.h4104 ScopeType scope_type();
/external/selinux/libsepol/tests/
Dtest-common.h37 extern void test_sym_presence(policydb_t * p, char *id, int sym_type, unsigned int scope_type, unsi…
Dtest-common.c29 void test_sym_presence(policydb_t * p, char *id, int sym_type, unsigned int scope_type, unsigned in… in test_sym_presence() argument
42 CU_ASSERT(scope->scope == scope_type); in test_sym_presence()
/external/v8/test/cctest/
Dtest-parsing.cc933 i::ScopeType scope_type; in TEST() member
1154 CHECK_EQ(inner_scope->scope_type(), source_data[i].scope_type); in TEST()