Home
last modified time | relevance | path

Searched refs:new_expr (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsepol/src/
Dconditional.c271 cond_expr_t *cur, *head, *tail, *new_expr; in cond_copy_expr() local
275 new_expr = (cond_expr_t *) malloc(sizeof(cond_expr_t)); in cond_copy_expr()
276 if (!new_expr) in cond_copy_expr()
278 memset(new_expr, 0, sizeof(cond_expr_t)); in cond_copy_expr()
280 new_expr->expr_type = cur->expr_type; in cond_copy_expr()
281 new_expr->bool = cur->bool; in cond_copy_expr()
284 head = new_expr; in cond_copy_expr()
286 tail->next = new_expr; in cond_copy_expr()
287 tail = new_expr; in cond_copy_expr()
Dexpand.c290 constraint_expr_t *new_expr = NULL; in constraint_node_clone() local
302 if ((new_expr = calloc(1, sizeof(*new_expr))) == NULL) { in constraint_node_clone()
305 if (constraint_expr_init(new_expr) == -1) { in constraint_node_clone()
308 new_expr->expr_type = expr->expr_type; in constraint_node_clone()
309 new_expr->attr = expr->attr; in constraint_node_clone()
310 new_expr->op = expr->op; in constraint_node_clone()
311 if (new_expr->expr_type == CEXPR_NAMES) { in constraint_node_clone()
312 if (new_expr->attr & CEXPR_TYPE) { in constraint_node_clone()
319 &new_expr->type_names->types, in constraint_node_clone()
330 &new_expr-> in constraint_node_clone()
[all …]
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_metaclass.py83 new_expr = Node(syms.expr_stmt, [])
84 new_stmt = Node(syms.simple_stmt, [new_expr])
87 new_expr.append_child(move_node.clone())
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_metaclass.py83 new_expr = Node(syms.expr_stmt, [])
84 new_stmt = Node(syms.simple_stmt, [new_expr])
87 new_expr.append_child(move_node.clone())