Home
last modified time | relevance | path

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

/external/v8/src/ast/
Dast.cc415 bool is_simple = true; in InitDepthAndFlags() local
433 is_simple = false; in InitDepthAndFlags()
438 is_simple = false; in InitDepthAndFlags()
455 is_simple = is_simple && is_compile_time_value; in InitDepthAndFlags()
473 set_is_simple(is_simple); in InitDepthAndFlags()
567 bool is_simple = first_spread_index_ < 0; in InitDepthAndFlags() local
579 is_simple = false; in InitDepthAndFlags()
584 set_is_simple(is_simple); in InitDepthAndFlags()
632 if (is_simple() && depth() == 1 && array_index > 0 && in BuildBoilerplateDescription()
658 if (IsArrayLiteral()) return AsArrayLiteral()->is_simple(); in IsSimple()
[all …]
Dast.h1227 bool is_simple() const { return IsSimpleField::decode(bit_field_); } in is_simple() function
1244 void set_is_simple(bool is_simple) { in set_is_simple() argument
1245 bit_field_ = IsSimpleField::update(bit_field_, is_simple); in set_is_simple()
/external/v8/src/parsing/
Dpreparser.cc182 if (!formals.is_simple) { in PreParseFunction()
192 if (!formals.is_simple) { in PreParseFunction()
234 is_sloppy(function_scope->language_mode()) && formals.is_simple && in PreParseFunction()
341 is_sloppy(language_mode) && formals.is_simple && !IsConciseMethod(kind); in ParseFunctionLiteral()
385 DCHECK_EQ(this->scope()->is_function_scope(), formals->is_simple); in ParseStatementListAndLogFunction()
393 DCHECK(!parameters.is_simple); in BuildParameterInitializationBlock()
Dparser.h102 bool is_simple() const { in is_simple() function
897 if (parameters.is_simple) return;
927 bool is_simple, bool* has_duplicate = nullptr) {
928 if (!is_simple) scope->SetHasNonSimpleParameters();
936 is_simple ? parameter->name : ast_value_factory()->empty_string(),
937 is_simple ? VariableMode::kVar : VariableMode::kTemporary,
Dpreparser.h1654 if (!parameters.is_simple) {
1675 bool is_simple) {
1676 if (!is_simple) scope->SetHasNonSimpleParameters();
1680 DCHECK_IMPLIES(is_simple, parameter->variables_ != nullptr);
1681 DCHECK_IMPLIES(is_simple, parameter->variables_->length() == 1);
1698 DCHECK(!is_simple);
Dparser.cc817 formals.is_simple); in DoParseFunction()
2410 DCHECK_IMPLIES(parameters->is_simple, !is_rest); in AddArrowFunctionFormalParameters()
2411 DCHECK_IMPLIES(parameters->is_simple, expr->IsVariableProxy()); in AddArrowFunctionFormalParameters()
2447 parameters->is_simple, &has_duplicate); in DeclareArrowFunctionFormalParameters()
2451 DCHECK_EQ(parameters->is_simple, parameters->scope->has_simple_parameters()); in DeclareArrowFunctionFormalParameters()
2863 DCHECK(!parameters.is_simple); in BuildParameterInitializationBlock()
2899 if (!parameter->is_simple() && in BuildParameterInitializationBlock()
3097 DeclareFormalParameters(formals.scope, formals.params, formals.is_simple); in ParseFunction()
3136 is_sloppy(function_scope->language_mode()) && formals.is_simple && in ParseFunction()
Dparser-base.h85 bool is_simple = true; member
2948 parameters.is_simple = false; in ParseAssignmentExpression()
3788 parameters->is_simple = false; in ParseFormalParameter()
3804 parameters->is_simple = false; in ParseFormalParameter()
3842 parameters->is_simple = false; in ParseFormalParameterList()
3861 parameters->is_simple); in ParseFormalParameterList()
4204 if (!parameters.is_simple) { in ParseFunctionBody()
4242 if (!parameters.is_simple) { in ParseFunctionBody()
/external/apache-commons-bcel/src/examples/Mini/
DASTExpr.java57 protected boolean is_simple; // true, if simple expression like `12 + f(a)' field in ASTExpr
156 is_simple = true; in eval()
189 is_simple = is_simple && exprs[i].isSimple(); in eval()
304 public boolean isSimple() { return is_simple; } in isSimple()
DASTFunAppl.java133 is_simple = true; // Only true if all arguments are simple expressions in eval()
150 is_simple = is_simple && exprs[i].isSimple(); // Check condition in eval()
DASTFunDecl.java57 private boolean is_simple; // true, if simple expression like `12 + f(a)' field in ASTFunDecl
148 is_simple = body.isSimple(); in eval()
371 public boolean isSimple() { return is_simple; } in isSimple()
DASTInteger.java73 is_simple = true; // (Very) simple expression, always true in eval()
DASTIdent.java94 is_simple = true; // (Very) simple expression, always true in eval()
DASTIfExpr.java135 is_simple = if_expr.isSimple() && then_expr.isSimple() && else_expr.isSimple(); in eval()
/external/python/cpython3/Lib/
Dtabnanny.py180 self.is_simple = len(count) <= 1
245 if self.is_simple and other.is_simple:
/external/python/cpython2/Lib/
Dtabnanny.py176 self.is_simple = len(count) <= 1
241 if self.is_simple and other.is_simple:
/external/python/cpython3/Parser/
Dasdl_c.py63 def is_simple(sum): function
111 if is_simple(sum):
151 if not is_simple(sum):
223 if is_simple(sum):
446 if is_simple(sum):
601 if is_simple(sum):
992 simple = is_simple(sum)
1097 if is_simple(sum):
/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/tensorflow/tensorflow/python/autograph/pyct/
Dqual_names.py102 def is_simple(self): member in QN
/external/tensorflow/tensorflow/python/autograph/converters/
Dcontrol_flow.py350 possibly_undefs = {v for v in undefined_lives if v.is_simple()}