Home
last modified time | relevance | path

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

/external/elfutils/src/
Dldscript.y49 static struct expression *new_expr (int tag);
312 $$ = new_expr (exp_align);
319 $$ = new_expr (exp_mult);
325 $$ = new_expr ($2);
331 $$ = new_expr ($2);
337 $$ = new_expr (exp_and);
343 $$ = new_expr (exp_or);
349 $$ = new_expr (exp_num);
354 $$ = new_expr (exp_id);
358 { $$ = new_expr (exp_sizeof_headers); }
[all …]
Dldscript.c188 static struct expression *new_expr (int tag);
1825 (yyval.expr) = new_expr (exp_align);
1838 (yyval.expr) = new_expr (exp_mult);
1847 (yyval.expr) = new_expr ((yyvsp[(2) - (3)].op));
1856 (yyval.expr) = new_expr ((yyvsp[(2) - (3)].op));
1865 (yyval.expr) = new_expr (exp_and);
1874 (yyval.expr) = new_expr (exp_or);
1883 (yyval.expr) = new_expr (exp_num);
1891 (yyval.expr) = new_expr (exp_id);
1898 { (yyval.expr) = new_expr (exp_sizeof_headers); }
[all …]
/external/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.c286 constraint_expr_t *new_expr = NULL; in constraint_node_clone() local
298 if ((new_expr = calloc(1, sizeof(*new_expr))) == NULL) { in constraint_node_clone()
301 if (constraint_expr_init(new_expr) == -1) { in constraint_node_clone()
304 new_expr->expr_type = expr->expr_type; in constraint_node_clone()
305 new_expr->attr = expr->attr; in constraint_node_clone()
306 new_expr->op = expr->op; in constraint_node_clone()
307 if (new_expr->expr_type == CEXPR_NAMES) { in constraint_node_clone()
308 if (new_expr->attr & CEXPR_TYPE) { in constraint_node_clone()
315 &new_expr-> in constraint_node_clone()
319 } else if (new_expr->attr & CEXPR_ROLE) { in constraint_node_clone()
[all …]