/dports/net/libyang/libyang-1.0.240/tests/data/ |
H A D | test_autodel.c | 58 st->dt = lyd_new(NULL, mod, "c"); in setup_f() 104 node = lyd_new(st->dt, NULL, "b1"); in test_atob() 119 node = lyd_new(st->dt, NULL, "b1"); in test_btoa() 147 st->aux = lyd_new(NULL, st->dt->schema->module, "c"); in test_insert_fail() 149 node = lyd_new(st->aux, NULL, "b1"); in test_insert_fail() 169 st->aux = lyd_new(NULL, st->dt->schema->module, "c"); in test_insert_correct() 171 node = lyd_new(st->aux, NULL, "b1"); in test_insert_correct()
|
H A D | test_when.c | 179 st->dt = lyd_new(NULL, st->mod, "top"); in test_insert() 183 node = lyd_new(st->dt, NULL, "b"); in test_insert() 199 st->dt = lyd_new(NULL, st->mod, "top"); in test_insert_noautodel() 203 node = lyd_new(st->dt, NULL, "b"); in test_insert_noautodel() 214 st->dt = lyd_new(NULL, st->mod, "top"); in test_insert_noautodel() 222 node = lyd_new(st->dt, NULL, "b"); in test_insert_noautodel()
|
H A D | test_yang_data_ns.c | 108 node1 = lyd_new(NULL, st->mod1, "con1"); in test_anydata_ns() 115 node2 = lyd_new(NULL, st->mod2, "con2"); in test_anydata_ns()
|
H A D | test_keys.c | 87 st->dt = lyd_new(NULL, ly_ctx_get_module(st->ctx, "keys", NULL, 1), "l"); in test_keys_correct2() 124 st->dt = lyd_new(NULL, ly_ctx_get_module(st->ctx, "keys", NULL, 1), "l"); in test_keys_missing2() 183 st->dt = lyd_new(NULL, ly_ctx_get_module(st->ctx, "keys", NULL, 1), "l"); in test_keys_inorder2()
|
H A D | test_defaults.c | 235 st->dt = lyd_new(NULL, st->mod, "df"); in test_df1() 238 assert_ptr_not_equal((node = lyd_new(st->dt, NULL, "bar")), NULL); in test_df1() 265 st->dt = lyd_new(NULL, st->mod, "df"); in test_df2() 302 st->dt = lyd_new(NULL, st->mod, "df"); in test_df3() 306 assert_ptr_not_equal((node = lyd_new(st->dt, NULL, "c")), NULL); in test_df3() 353 st->dt = lyd_new(NULL, st->mod, "df"); in test_df4()
|
/dports/net/libyang/libyang-1.0.240/tests/perf/ |
H A D | addloop.c | 50 next = lyd_new(NULL, mod, "ptest1"); in main()
|
/dports/net/libyang/libyang-1.0.240/tests/api/ |
H A D | test_tree_data.c | 498 new = lyd_new(root, root->child->schema->module, "bar-y"); in test_lyd_new() 884 new = lyd_new(NULL, lyd_node_module(root), "l"); in test_lyd_insert_after() 895 new = lyd_new(NULL, lyd_node_module(root), "l"); in test_lyd_insert_after() 921 root = lyd_new(NULL, module, "l"); in test_lyd_schema_sort() 928 node = lyd_new(NULL, module, "x"); in test_lyd_schema_sort() 1764 new = lyd_new(NULL, old->schema->module, "z"); in test_lyd_validation_dflt_empty_containers() 1785 second = lyd_new(NULL, root->schema->module, "z"); in test_lyd_diff() 1938 st->dt1 = lyd_new(NULL, mod, "cont"); in test_lyd_new_anydata() 1969 st->dt1 = lyd_new(NULL, mod, "cont"); in test_lyd_new_output_anydata()
|
/dports/net/libyang/libyang-1.0.240/src/ |
H A D | context.c | 1708 cont = lyd_new(parent, NULL, "deviation"); in ylib_deviation() 1737 item = lyd_new(parent, NULL, "submodule"); in ylib_submodules() 1803 root = lyd_new(NULL, mod, "modules-state"); in ly_ctx_info() 1809 if (!(root_bis = lyd_new(NULL, mod, "yang-library"))) { in ly_ctx_info() 1813 if (!(set_bis = lyd_new(root_bis, NULL, "module-set"))) { in ly_ctx_info() 1831 cont = lyd_new(root, NULL, "module"); in ly_ctx_info() 1881 if (!(cont = lyd_new(set_bis, NULL, "module"))) { in ly_ctx_info() 1885 if (!(cont = lyd_new(set_bis, NULL, "import-only-module"))) { in ly_ctx_info() 1938 if (!(cont = lyd_new(root_bis, NULL, "schema"))) { in ly_ctx_info()
|
H A D | tree_data.h | 724 struct lyd_node *lyd_new(struct lyd_node *parent, const struct lys_module *module, const char *name…
|
H A D | libyang.h.in | 725 …* the node name and/or its parent (lyd_new(), \b lyd_new_anydata_*(), lyd_new_leaf(), and their ou… 751 * - lyd_new() 776 … is done on the data tree (via a combination of \b lyd_change_*(), \b lyd_insert*(), \b lyd_new*(), 1053 * - data manipulation (lyd_new(), lyd_insert(), lyd_unlink(), lyd_free() and many other
|
H A D | tree_data.c | 1178 lyd_new(struct lyd_node *parent, const struct lys_module *module, const char *name) in lyd_new() function
|
/dports/net/libyang/libyang-1.0.240/tests/conformance/ |
H A D | test_sec7_5_4.c | 114 rpc = lyd_new(NULL, mod, "rpc_test"); in TEST_MODULE()
|
H A D | test_sec7_13_3.c | 109 rpc = lyd_new(NULL, mod, data_rpc_name[j]); in TEST_RPC_OUTPUT()
|
/dports/net/libyang/libyang-1.0.240/tests/internal/ |
H A D | test_lyb.c | 558 st->dt1 = lyd_new(NULL, mod, "cont"); in test_anydata()
|
/dports/net/libyang/libyang-1.0.240/swig/cpp/src/ |
H A D | Tree_Data.cpp | 84 new_node = lyd_new(parent ? parent->node : NULL, module ? module->module : NULL, name); in Data_Node()
|
/dports/net/libyang/libyang-1.0.240/ |
H A D | libyang.dump | 1134 'lyd_new' => 1,
|