Home
last modified time | relevance | path

Searched refs:is_simple (Results 1 – 12 of 12) sorted by relevance

/external/v8/src/ast/
Dcompile-time-value.cc19 return lit != NULL && lit->is_simple(); in IsCompileTimeValue()
29 DCHECK(object_literal->is_simple()); in GetValue()
38 DCHECK(array_literal != NULL && array_literal->is_simple()); in GetValue()
Dast.cc545 bool is_simple = true; in InitDepthAndFlags() local
552 is_simple = false; in InitDepthAndFlags()
558 is_simple = false; in InitDepthAndFlags()
583 is_simple = is_simple && is_compile_time_value; in InitDepthAndFlags()
607 set_is_simple(is_simple); in InitDepthAndFlags()
700 bool is_simple = true; in InitDepthAndFlags() local
715 is_simple = false; in InitDepthAndFlags()
719 set_is_simple(is_simple); in InitDepthAndFlags()
765 if (is_simple() && depth() == 1 && array_index > 0 && in BuildConstantElements()
Dast.h1267 bool is_simple() const { return IsSimpleField::decode(bit_field_); } in is_simple() function
1268 void set_is_simple(bool is_simple) { in set_is_simple() argument
1269 bit_field_ = IsSimpleField::update(bit_field_, is_simple); in set_is_simple()
/external/v8/src/parsing/
Dpreparser.cc141 if (!formals.is_simple) { in PreParseFunction()
152 if (!formals.is_simple) { in PreParseFunction()
191 is_sloppy(function_scope->language_mode()) && formals.is_simple && in PreParseFunction()
275 is_sloppy(language_mode) && formals.is_simple && !IsConciseMethod(kind); in ParseFunctionLiteral()
304 DCHECK_EQ(this->scope()->is_function_scope(), formals->is_simple); in ParseStatementListAndLogFunction()
Dparser.h156 bool is_simple() const { in is_simple() function
1050 if (parameters.is_simple) return;
1079 bool is_simple = classifier()->is_simple_parameter_list();
1080 if (!is_simple) scope->SetHasNonSimpleParameters();
1083 bool use_name = is_simple || parameter->is_nondestructuring_rest();
Dpreparser.h1628 bool is_simple = classifier()->is_simple_parameter_list();
1629 if (!is_simple) scope->SetHasNonSimpleParameters();
1633 bool use_name = is_simple || parameter->is_nondestructuring_rest();
Dparser.cc2446 if (parameters->is_simple) { in AddArrowFunctionFormalParameters()
2447 parameters->is_simple = !is_rest && expr->IsVariableProxy(); in AddArrowFunctionFormalParameters()
2478 if (!parameters->is_simple) { in DeclareArrowFunctionFormalParameters()
2487 DCHECK_EQ(parameters->is_simple, parameters->scope->has_simple_parameters()); in DeclareArrowFunctionFormalParameters()
2925 DCHECK(!parameters.is_simple); in BuildParameterInitializationBlock()
2961 if (!parameter->is_simple() && scope()->calls_sloppy_eval()) { in BuildParameterInitializationBlock()
3187 is_sloppy(function_scope->language_mode()) && formals.is_simple && in ParseFunction()
Dparser-base.h80 bool is_simple = true; member
2758 parameters.is_simple = false; in ParseAssignmentExpression()
3558 parameters->is_simple = false; in ParseFormalParameter()
3569 parameters->is_simple = false; in ParseFormalParameter()
3607 parameters->is_simple = false; in ParseFormalParameterList()
3966 if (!parameters.is_simple) { in ParseFunctionBody()
3997 if (!parameters.is_simple) { in ParseFunctionBody()
/external/python/cpython2/Lib/
Dtabnanny.py176 self.is_simple = len(count) <= 1
241 if self.is_simple and other.is_simple:
/external/python/cpython3/Lib/
Dtabnanny.py179 self.is_simple = len(count) <= 1
244 if self.is_simple and other.is_simple:
/external/python/cpython2/Parser/
Dasdl_c.py70 def is_simple(sum): function
109 if is_simple(sum):
149 if not is_simple(sum):
219 if is_simple(sum):
441 if is_simple(sum):
577 if is_simple(sum):
912 simple = is_simple(sum)
1018 if is_simple(sum):
/external/python/cpython3/Parser/
Dasdl_c.py63 def is_simple(sum): function
110 if is_simple(sum):
150 if not is_simple(sum):
222 if is_simple(sum):
445 if is_simple(sum):
600 if is_simple(sum):
1003 simple = is_simple(sum)
1109 if is_simple(sum):