Home
last modified time | relevance | path

Searched refs:ptr_choice (Results 1 – 3 of 3) sorted by relevance

/dports/net/libyang/libyang-1.0.240/src/
H A Dparser_yang_bis.c5559 …if (((yyvsp[-1].nodes).node.ptr_choice->flags & LYS_MAND_TRUE) && (yyvsp[-1].nodes).node.ptr_choic… in yyparse()
5565 if ((yyvsp[-1].nodes).node.ptr_choice->iffeature_size) { in yyparse()
5566 …tmp = realloc((yyvsp[-1].nodes).node.ptr_choice->iffeature, (yyvsp[-1].nodes).node.ptr_choice->iff… in yyparse()
5571 (yyvsp[-1].nodes).node.ptr_choice->iffeature = tmp; in yyparse()
5577 { (yyval.nodes).node.ptr_choice = actual; in yyparse()
5588 (yyvsp[-1].nodes).node.ptr_choice->dflt = (struct lys_node *) s; in yyparse()
5596 { if ((yyvsp[-1].nodes).node.ptr_choice->flags & LYS_CONFIG_MASK) { in yyparse()
5600 (yyvsp[-1].nodes).node.ptr_choice->flags |= (yyvsp[0].i); in yyparse()
5606 { if ((yyvsp[-1].nodes).node.ptr_choice->flags & LYS_MAND_MASK) { in yyparse()
5610 (yyvsp[-1].nodes).node.ptr_choice->flags |= (yyvsp[0].i); in yyparse()
[all …]
H A Dyang.y.in2434 if (($3.node.ptr_choice->flags & LYS_MAND_TRUE) && $3.node.ptr_choice->dflt) {
2440 if ($3.node.ptr_choice->iffeature_size) {
2441 … tmp = realloc($3.node.ptr_choice->iffeature, $3.node.ptr_choice->iffeature_size * sizeof *tmp);
2446 $3.node.ptr_choice->iffeature = tmp;
2450 choice_opt_stmt: @EMPTYDIR@ { $$.node.ptr_choice = actual;
2460 $1.node.ptr_choice->dflt = (struct lys_node *) s;
2465 | choice_opt_stmt config_stmt { if ($1.node.ptr_choice->flags & LYS_CONFIG_MASK) {
2469 $1.node.ptr_choice->flags |= $2;
2472 | choice_opt_stmt mandatory_stmt { if ($1.node.ptr_choice->flags & LYS_MAND_MASK) {
2476 $1.node.ptr_choice->flags |= $2;
[all …]
H A Dparser_yang.h50 struct lys_node_choice *ptr_choice; member