Home
last modified time | relevance | path

Searched refs:reply_top (Results 1 – 2 of 2) sorted by relevance

/dports/net/libyang/libyang-1.0.240/src/
H A Dparser_xml.c574 …struct lyd_node *result = NULL, *iter, *last, *reply_parent = NULL, *reply_top = NULL, *act_notif … in lyd_parse_xml() local
613 reply_top = reply_parent = _lyd_new(NULL, rpc_act->schema, 0); in lyd_parse_xml()
616 reply_top = lyd_dup(rpc_act, 1); in lyd_parse_xml()
617 LY_TREE_DFS_BEGIN(reply_top, iter, reply_parent) { in lyd_parse_xml()
621 LY_TREE_DFS_END(reply_top, iter, reply_parent); in lyd_parse_xml()
625 lyd_free_withsiblings(reply_top); in lyd_parse_xml()
691 if (reply_top) { in lyd_parse_xml()
692 result = reply_top; in lyd_parse_xml()
716 if (reply_top) { in lyd_parse_xml()
717 result = reply_top; in lyd_parse_xml()
H A Dparser_json.c1434 …struct lyd_node *result = NULL, *next, *iter, *reply_parent = NULL, *reply_top = NULL, *act_notif … in lyd_parse_json() local
1473 reply_top = reply_parent = _lyd_new(NULL, rpc_act->schema, 0); in lyd_parse_json()
1476 reply_top = lyd_dup(rpc_act, 1); in lyd_parse_json()
1477 LY_TREE_DFS_BEGIN(reply_top, iter, reply_parent) { in lyd_parse_json()
1481 LY_TREE_DFS_END(reply_top, iter, reply_parent); in lyd_parse_json()
1569 if (reply_top) { in lyd_parse_json()
1570 result = reply_top; in lyd_parse_json()
1637 if (reply_top && result != reply_top) { in lyd_parse_json()
1638 lyd_free_withsiblings(reply_top); in lyd_parse_json()