Searched defs:scope_type (Results 1 - 16 of 16) sorted by relevance

/external/v8/src/parsing/
H A Dpreparsed-scope-data.cc32 ScopeType scope_type,
36 data->backing_store_.push_back(scope_type);
31 ScopeScope(PreParsedScopeData* data, ScopeType scope_type, int start_position, int end_position) argument
/external/selinux/libsepol/tests/
H A Dtest-common.c29 void test_sym_presence(policydb_t * p, const char *id, int sym_type, unsigned int scope_type, unsigned int *decls, unsigned int len) argument
42 CU_ASSERT(scope->scope == scope_type);
/external/v8/src/debug/
H A Ddebug-evaluate.cc151 ScopeIterator::ScopeType scope_type = it.Type(); local
152 if (scope_type == ScopeIterator::ScopeTypeLocal) {
153 DCHECK_EQ(FUNCTION_SCOPE, it.CurrentScopeInfo()->scope_type());
174 } else if (scope_type == ScopeIterator::ScopeTypeCatch ||
175 scope_type == ScopeIterator::ScopeTypeWith) {
182 } else if (scope_type == ScopeIterator::ScopeTypeBlock ||
183 scope_type == ScopeIterator::ScopeTypeEval) {
H A Ddebug-scopes.cc80 if (scope_info->scope_type() == FUNCTION_SCOPE) {
91 if (scope_info->scope_type() != FUNCTION_SCOPE) {
95 if (scope_info->scope_type() == EVAL_SCOPE) {
103 } else if (scope_info->scope_type() == MODULE_SCOPE) {
106 DCHECK(scope_info->scope_type() == SCRIPT_SCOPE);
214 ScopeType scope_type = Type(); local
215 if (scope_type == ScopeTypeGlobal) {
219 } else if (scope_type == ScopeTypeScript) {
225 DCHECK_EQ(nested_scope_chain_.last().scope_info->scope_type(),
253 switch (scope_info->scope_type()) {
[all...]
/external/v8/src/
H A Dcode-factory.cc358 ScopeType scope_type) {
359 return Callable(isolate->builtins()->NewFunctionContext(scope_type),
357 FastNewFunctionContext(Isolate* isolate, ScopeType scope_type) argument
H A Dfactory.cc926 DCHECK_EQ(scope_info->scope_type(), SCRIPT_SCOPE);
952 DCHECK_EQ(scope_info->scope_type(), MODULE_SCOPE);
967 ScopeType scope_type) {
968 DCHECK(function->shared()->scope_info()->scope_type() == scope_type);
972 switch (scope_type) {
1051 DCHECK_EQ(scope_info->scope_type(), BLOCK_SCOPE);
965 NewFunctionContext(int length, Handle<JSFunction> function, ScopeType scope_type) argument
/external/v8/src/compiler/
H A Djs-operator.h310 CreateFunctionContextParameters(int slot_count, ScopeType scope_type);
313 ScopeType scope_type() const { return scope_type_; } function in class:v8::internal::compiler::final
704 const Operator* CreateFunctionContext(int slot_count, ScopeType scope_type);
H A Djs-create-lowering.cc844 ScopeType scope_type = parameters.scope_type(); local
858 switch (scope_type) {
H A Djs-generic-lowering.cc402 ScopeType scope_type = parameters.scope_type(); local
408 CodeFactory::FastNewFunctionContext(isolate(), scope_type);
412 node->InsertInput(zone(), 1, jsgraph()->SmiConstant(scope_type));
H A Djs-operator.cc247 int slot_count, ScopeType scope_type)
248 : slot_count_(slot_count), scope_type_(scope_type) {}
253 lhs.scope_type() == rhs.scope_type();
263 static_cast<int>(parameters.scope_type()));
268 return os << parameters.slot_count() << ", " << parameters.scope_type();
1038 ScopeType scope_type) {
1039 CreateFunctionContextParameters parameters(slot_count, scope_type);
246 CreateFunctionContextParameters( int slot_count, ScopeType scope_type) argument
1037 CreateFunctionContext(int slot_count, ScopeType scope_type) argument
/external/v8/src/ast/
H A Dscopes.h94 Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type);
346 ScopeType scope_type() const { return scope_type_; } function in class:v8::internal::Scope
616 DeclarationScope(Zone* zone, Scope* outer_scope, ScopeType scope_type,
618 DeclarationScope(Zone* zone, ScopeType scope_type,
H A Dscopes.cc140 Scope::Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type) argument
144 scope_type_(scope_type) {
145 DCHECK_NE(SCRIPT_SCOPE, scope_type);
175 ScopeType scope_type,
177 : Scope(zone, outer_scope, scope_type),
181 DCHECK_NE(scope_type, SCRIPT_SCOPE);
242 Scope::Scope(Zone* zone, ScopeType scope_type, Handle<ScopeInfo> scope_info) argument
247 scope_type_(scope_type) {
259 DeclarationScope::DeclarationScope(Zone* zone, ScopeType scope_type, argument
261 : Scope(zone, scope_type, scope_inf
174 DeclarationScope(Zone* zone, Scope* outer_scope, ScopeType scope_type, FunctionKind function_kind) argument
1512 Header(ScopeType scope_type, FunctionKind function_kind, bool is_declaration_scope) argument
[all...]
/external/v8/src/builtins/
H A Dbuiltins-constructor.cc326 Node* function, Node* slots, Node* context, ScopeType scope_type) {
339 switch (scope_type) {
401 Handle<Code> Builtins::NewFunctionContext(ScopeType scope_type) { argument
402 switch (scope_type) {
325 EmitFastNewFunctionContext( Node* function, Node* slots, Node* context, ScopeType scope_type) argument
/external/v8/src/objects/
H A Dscope-info.cc162 ScopeTypeField::encode(scope->scope_type()) |
403 ScopeType ScopeInfo::scope_type() { function in class:v8::internal::ScopeInfo
437 scope_type() == WITH_SCOPE ||
438 (scope_type() == BLOCK_SCOPE && CallsSloppyEval() &&
440 (scope_type() == FUNCTION_SCOPE && CallsSloppyEval()) ||
441 (scope_type() == FUNCTION_SCOPE && IsAsmModule()) ||
442 scope_type() == MODULE_SCOPE;
497 DCHECK_EQ(scope_type(), WITH_SCOPE);
525 DCHECK(scope_type() == MODULE_SCOPE);
617 DCHECK_EQ(scope_type(), MODULE_SCOP
[all...]
/external/python/cpython2/Python/
H A Dcompile.c357 either scope_type or flag is set, insert it into the new dict. The
363 dictbytype(PyObject *src, int scope_type, int flag, int offset) argument
394 if (scope == scope_type || PyInt_AS_LONG(v) & flag) {
/external/python/cpython3/Python/
H A Dcompile.c422 either scope_type or flag is set, insert it into the new dict. The
428 dictbytype(PyObject *src, int scope_type, int flag, Py_ssize_t offset) argument
461 if (scope == scope_type || vi & flag) {
533 int scope_type, void *key, int lineno)
545 u->u_scope_type = scope_type;
1821 int scope_type; local
1832 scope_type = COMPILER_SCOPE_ASYNC_FUNCTION;
1842 scope_type = COMPILER_SCOPE_FUNCTION;
1861 if (!compiler_enter_scope(c, name, scope_type, (void *)s, s->lineno)) {
532 compiler_enter_scope(struct compiler *c, identifier name, int scope_type, void *key, int lineno) argument

Completed in 393 milliseconds