Searched refs:yltree (Results 1 – 1 of 1) sorted by relevance
158 ly_ctx_new_yl_legacy(struct ly_ctx *ctx, struct lyd_node *yltree) in ly_ctx_new_yl_legacy() argument167 set = lyd_find_path(yltree, "/ietf-yang-library:yang-library/modules-state/module"); in ly_ctx_new_yl_legacy()229 struct lyd_node *yltree = NULL; in ly_ctx_new_yl_common() local241 yltree = parser_func(ctx, input, format, LYD_OPT_DATA, NULL); in ly_ctx_new_yl_common()242 if (!yltree) { in ly_ctx_new_yl_common()246 set = lyd_find_path(yltree, "/ietf-yang-library:yang-library/module-set[1]/module"); in ly_ctx_new_yl_common()253 if (ly_ctx_new_yl_legacy(ctx, yltree)) { in ly_ctx_new_yl_common()297 if (yltree) { in ly_ctx_new_yl_common()299 lyd_free_withsiblings(yltree); in ly_ctx_new_yl_common()