Home
last modified time | relevance | path

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

/dports/net/libyang/libyang-1.0.240/src/
H A Dtree_data.c2368 const struct lys_module *mod, *trg_mod = NULL; in lys_get_schema_inctx() local
2406 trg_mod = lys_node_module(parent); in lys_get_schema_inctx()
2408 if (strcmp(mod->name, trg_mod->name)) { in lys_get_schema_inctx()
2413 if ((!mod->rev_size && !trg_mod->rev_size) || in lys_get_schema_inctx()
2414 … (mod->rev_size && trg_mod->rev_size && !strcmp(mod->rev[0].date, trg_mod->rev[0].date))) { in lys_get_schema_inctx()
2420 if (!mod && trg_mod && ctx->data_clb) { in lys_get_schema_inctx()
2421 … LOGDBG(LY_LDGYANG, "Attempting to load '%s' into context using callback ...", trg_mod->name); in lys_get_schema_inctx()
2422 mod = ctx->data_clb(ctx, trg_mod->name, NULL, 0, ctx->data_clb_data); in lys_get_schema_inctx()
2434 lys_get_sibling(first_sibling, trg_mod->name, 0, parent->name, 0, parent->nodetype, in lys_get_schema_inctx()
5686 const struct lys_module *trg_mod; in lyd_dup_to_ctx() local
[all …]
H A Dresolve.c3922 const struct lys_module *trg_mod; in resolve_schema_leafref_predicate() local
3941 trg_mod = lyp_get_module(lys_node_module(parent), NULL, 0, sour_pref, sour_pref_len, 0); in resolve_schema_leafref_predicate()
3943 trg_mod = lys_node_module(parent); in resolve_schema_leafref_predicate()
3945 …rc = lys_getnext_data(trg_mod, context_node, source, sour_len, LYS_LEAF | LYS_LEAFLIST, LYS_GETNEX… in resolve_schema_leafref_predicate()
3987trg_mod = lyp_get_module(lys_node_module(parent), NULL, 0, dest_pref, dest_pref_len, 0); in resolve_schema_leafref_predicate()
3989 trg_mod = lys_node_module(parent); in resolve_schema_leafref_predicate()
3992 if (!trg_mod->implemented && dst_node) { in resolve_schema_leafref_predicate()
3994 last_aug = lys_getnext_target_aug(last_aug, trg_mod, dst_node); in resolve_schema_leafref_predicate()
3998 … rc = lys_getnext_data(trg_mod, tmp_parent, dest, dest_len, LYS_CONTAINER | LYS_LIST | LYS_LEAF, in resolve_schema_leafref_predicate()