Home
last modified time | relevance | path

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

/external/python/cpython2/Parser/
DPython.asdl52 -- BoolOp() can use left & right?
53 expr = BoolOp(boolop op, expr* values)
/external/python/cpython3/Parser/
DPython.asdl58 -- BoolOp() can use left & right?
59 expr = BoolOp(boolop op, expr* values)
/external/python/cpython3/Python/
Dast_unparse.c103 const char *op = (e->v.BoolOp.op == And) ? " and " : " or "; in append_ast_boolop()
104 int pr = (e->v.BoolOp.op == And) ? PR_AND : PR_OR; in append_ast_boolop()
108 values = e->v.BoolOp.values; in append_ast_boolop()
Dast_opt.c521 CALL_SEQ(astfold_expr, expr_ty, node_->v.BoolOp.values); in astfold_expr()
Dast.c226 if (asdl_seq_LEN(exp->v.BoolOp.values) < 2) { in validate_expr()
230 return validate_exprs(exp->v.BoolOp.values, Load, 0); in validate_expr()
2584 return BoolOp(And, seq, LINENO(n), n->n_col_offset, in ast_for_expr()
2587 return BoolOp(Or, seq, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_expr()
Dcompile.c2132 asdl_seq *s = e->v.BoolOp.values; in compiler_jump_if()
2135 int cond2 = e->v.BoolOp.op == Or; in compiler_jump_if()
3293 if (e->v.BoolOp.op == And) in compiler_boolop()
3300 s = e->v.BoolOp.values; in compiler_boolop()
DPython-ast.c1740 BoolOp(boolop_ty op, asdl_seq * values, int lineno, int col_offset, PyArena in BoolOp() function
1753 p->v.BoolOp.op = op; in BoolOp()
1754 p->v.BoolOp.values = values; in BoolOp()
3059 value = ast2obj_boolop(o->v.BoolOp.op); in ast2obj_expr()
3064 value = ast2obj_list(o->v.BoolOp.values, ast2obj_expr); in ast2obj_expr()
5834 *out = BoolOp(op, values, lineno, col_offset, arena); in obj2ast_expr()
Dsymtable.c1383 VISIT_SEQ(st, expr, e->v.BoolOp.values); in symtable_visit_expr()
/external/python/cpython3/Lib/test/
Dtest_ast.py833 b = ast.BoolOp(ast.And(), [])
835 b = ast.BoolOp(ast.And(), [ast.Num(3)])
837 b = ast.BoolOp(ast.And(), [ast.Num(4), None])
839 b = ast.BoolOp(ast.And(), [ast.Num(4), ast.Name("x", ast.Store())])
Dtest_compile.py456 ast.body = [_ast.BoolOp()]
/external/python/cpython2/Include/
DPython-ast.h199 } BoolOp; member
449 #define BoolOp(a0, a1, a2, a3, a4) _Py_BoolOp(a0, a1, a2, a3, a4) macro
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp182 enum BoolOp enum
190 const char* boolOpToString (BoolOp op) in boolOpToString()
212 bool performBoolOp (BoolOp op, bool a, bool b) in performBoolOp()
234 BoolOp boolOpFromIndex (size_t index) in boolOpFromIndex()
236 const BoolOp ops[] = in boolOpFromIndex()
3177 const BoolOp op = boolOpFromIndex(index); in renderReferenceValues()
3203 const BoolOp op = boolOpFromIndex(index); in renderReferenceValues()
3290 const BoolOp op = boolOpFromIndex(index); in renderReferenceValues()
3321 const BoolOp op = boolOpFromIndex(index); in renderReferenceValues()
3869 const BoolOp op = boolOpFromIndex(index); in createTestShaders()
[all …]
/external/python/cpython3/Include/
DPython-ast.h222 } BoolOp; member
524 #define BoolOp(a0, a1, a2, a3, a4) _Py_BoolOp(a0, a1, a2, a3, a4) macro
/external/python/cpython2/Lib/test/
Dtest_compile.py558 ast.body = [_ast.BoolOp()]
/external/python/cpython2/PC/os2emx/
Dpython27.def710 "BoolOp"
/external/python/cpython2/Python/
DPython-ast.c1479 BoolOp(boolop_ty op, asdl_seq * values, int lineno, int col_offset, PyArena in BoolOp() function
1492 p->v.BoolOp.op = op; in BoolOp()
1493 p->v.BoolOp.values = values; in BoolOp()
2579 value = ast2obj_boolop(o->v.BoolOp.op); in ast2obj_expr()
2584 value = ast2obj_list(o->v.BoolOp.values, ast2obj_expr); in ast2obj_expr()
4880 *out = BoolOp(op, values, lineno, col_offset, arena); in obj2ast_expr()
Dsymtable.c1194 VISIT_SEQ(st, expr, e->v.BoolOp.values); in symtable_visit_expr()
Dast.c1878 return BoolOp(And, seq, LINENO(n), n->n_col_offset, in ast_for_expr()
1881 return BoolOp(Or, seq, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_expr()
Dcompile.c2446 if (e->v.BoolOp.op == And) in compiler_boolop()
2453 s = e->v.BoolOp.values; in compiler_boolop()