Home
last modified time | relevance | path

Searched refs:lyd_parse_path (Results 1 – 25 of 85) sorted by relevance

1234

/dports/net/libyang/libyang-1.0.240/tests/internal/
H A Dtest_lyb.c305 …st->dt1 = lyd_parse_path(st->ctx, TESTS_DIR"/data/files/ietf-interfaces.json", LYD_JSON, LYD_OPT_C… in test_ietf_interfaces()
346 …st->dt1 = lyd_parse_path(st->ctx, TESTS_DIR"/data/files/test-origin.json", LYD_JSON, LYD_OPT_CONFI… in test_origin()
367 … st->dt1 = lyd_parse_path(st->ctx, TESTS_DIR"/data/files/statements.xml", LYD_XML, LYD_OPT_CONFIG); in test_statements()
388 st->dt1 = lyd_parse_path(st->ctx, TESTS_DIR"/data/files/types.xml", LYD_XML, LYD_OPT_CONFIG); in test_types()
409 …st->dt1 = lyd_parse_path(st->ctx, TESTS_DIR"/data/files/annotations.xml", LYD_XML, LYD_OPT_CONFIG); in test_annotations()
430 …st->dt1 = lyd_parse_path(st->ctx, TESTS_DIR"/data/files/similar-annot-names.xml", LYD_XML, LYD_OPT… in test_similar_annot_names()
451 …st->dt1 = lyd_parse_path(st->ctx, TESTS_DIR"/data/files/many-childs-annot.xml", LYD_XML, LYD_OPT_C… in test_many_child_annot()
472 st->dt1 = lyd_parse_path(st->ctx, TESTS_DIR"/data/files/union.xml", LYD_XML, LYD_OPT_CONFIG); in test_union()
493 st->dt1 = lyd_parse_path(st->ctx, TESTS_DIR"/data/files/union2.xml", LYD_XML, LYD_OPT_CONFIG); in test_union2()
514 … st->dt1 = lyd_parse_path(st->ctx, TESTS_DIR"/data/files/collisions.xml", LYD_XML, LYD_OPT_CONFIG); in test_collisions()
[all …]
/dports/net/libyang/libyang-1.0.240/tests/callgrind/
H A Dlist_manipulation.c30 data1 = lyd_parse_path(ctx, DATA1, LYD_XML, LYD_OPT_STRICT | LYD_OPT_DATA_NO_YANGLIB); in main()
36 data2 = lyd_parse_path(ctx, DATA2, LYD_XML, LYD_OPT_STRICT | LYD_OPT_DATA_NO_YANGLIB); in main()
H A Dvalidate.c40 data = lyd_parse_path(ctx, path, LYD_XML, LYD_OPT_STRICT | LYD_OPT_DATA_NO_YANGLIB); in main()
/dports/net/libyang/libyang-1.0.240/tests/conformance/
H A Dtest_sec9_10.c98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_IDENTITYREF()
159 …st->node = lyd_parse_path(st->ctx, TESTS_DIR "/conformance/" TEST_DIR "/data6.xml", LYD_XML, LYD_O… in TEST_IDENTITYREF2()
173 …st->node = lyd_parse_path(st->ctx, TESTS_DIR "/conformance/" TEST_DIR "/data6.xml", LYD_XML, LYD_O… in TEST_IDENTITYREF2()
H A Dtest_sec6_1_1.c84 … st->node = lyd_parse_path(st->ctx, TESTS_DIR "/conformance/" TEST_DATA, LYD_XML, LYD_OPT_CONFIG); in TEST_NAME()
H A Dtest_sec5_1.c98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_IMPORT_INCLUDE()
H A Dtest_sec6_2.c98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_NAME()
H A Dtest_sec7_3.c98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_MODULE()
H A Dtest_sec6_2_1.c98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_NAME()
H A Dtest_sec7_1.c98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_MODULE()
H A Dtest_sec7_2.c98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_MODULE()
H A Dtest_sec7_3_1.c98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_MODULE()
H A Dtest_sec7_5_2.c98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_MODULE()
H A Dtest_sec5_5.c100 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_TYPEDEF_GROUPING()
H A Dtest_sec7_15_1.c99 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_ACTION()
H A Dtest_sec7_11.c99 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_GROUPING()
H A Dtest_sec7_15.c99 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_AUGMENT()
H A Dtest_sec7_19_2.c99 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG | LYD_OPT_OBSOLETE); in TEST_STATUS()
/dports/net/libyang/libyang-1.0.240/tests/data/
H A Dtest_parse_print.c1009 st->rpc_act = lyd_parse_path(st->ctx, rpc, LYD_XML, LYD_OPT_RPC, NULL); in test_parse_print_xml()
1062 st->rpc_act = lyd_parse_path(st->ctx, act, LYD_XML, LYD_OPT_RPC, NULL); in test_parse_print_xml()
1113 st->dt = lyd_parse_path(st->ctx, notif, LYD_XML, LYD_OPT_NOTIF, NULL); in test_parse_print_xml()
1136 st->dt = lyd_parse_path(st->ctx, innotif, LYD_XML, LYD_OPT_NOTIF, NULL); in test_parse_print_xml()
1167 st->dt = lyd_parse_path(st->ctx, data, LYD_JSON, LYD_OPT_CONFIG); in test_parse_print_json()
1190 st->rpc_act = lyd_parse_path(st->ctx, rpc, LYD_JSON, LYD_OPT_RPC, NULL); in test_parse_print_json()
1243 st->rpc_act = lyd_parse_path(st->ctx, act, LYD_JSON, LYD_OPT_RPC, NULL); in test_parse_print_json()
1294 st->dt = lyd_parse_path(st->ctx, notif, LYD_JSON, LYD_OPT_NOTIF, NULL); in test_parse_print_json()
1403 st->dt = lyd_parse_path(st->ctx, data, LYD_JSON, LYD_OPT_CONFIG); in test_parse_print_lyb()
1432 st->rpc_act = lyd_parse_path(st->ctx, rpc, LYD_JSON, LYD_OPT_RPC, NULL); in test_parse_print_lyb()
[all …]
H A Dtest_instid_remove.c56 st->data = lyd_parse_path(st->ctx, datafile, LYD_XML, LYD_OPT_CONFIG); in setup_f()
H A Dtest_yangtypes_xpath.c83 …st->dt = lyd_parse_path(st->ctx, TESTS_DIR"/data/files/nacm.xml", LYD_XML, LYD_OPT_CONFIG /*DATA_N… in test_acm_yangtypes_xpath()
H A Dtest_leafref_remove.c56 st->data = lyd_parse_path(st->ctx, datafile, LYD_XML, LYD_OPT_CONFIG); in setup_f()
/dports/net/libyang/libyang-1.0.240/tests/perf/
H A Dvalidation.c44 data = lyd_parse_path(ctx, argv[2], LYD_XML, LYD_OPT_DESTRUCT | LYD_OPT_CONFIG); in main()
/dports/net/libyang/libyang-1.0.240/tools/lint/
H A Dcommands.c583 rpc_act = lyd_parse_path(ctx, rpc_act_file, informat, LYD_OPT_RPC, val_tree); in parse_data()
622 rpc_act = lyd_parse_path(ctx, rpc_act_file, informat, LYD_OPT_RPC, val_tree); in parse_data()
627 data = lyd_parse_path(ctx, filepath, informat, opts, rpc_act, val_tree); in parse_data()
629 data = lyd_parse_path(ctx, filepath, informat, opts, val_tree); in parse_data()
635 data = lyd_parse_path(ctx, filepath, informat, opts, rpc_act_file); in parse_data()
641 data = lyd_parse_path(ctx, filepath, informat, opts); in parse_data()
760 val_tree = lyd_parse_path(ctx, optarg, LYD_XML, LYD_OPT_DATA_NO_YANGLIB); in cmd_data()
943 val_tree = lyd_parse_path(ctx, optarg, LYD_XML, LYD_OPT_CONFIG); in cmd_xpath()
H A Dmain_ni.c750 … oper = lyd_parse_path(ctx, oper_file, informat_d, LYD_OPT_DATA_NO_YANGLIB | LYD_OPT_TRUSTED); in main_ni()
882 … data_prev->tree = lyd_parse_path(ctx, data_prev->filename, data_item->format, in main_ni()
889 data_item->tree = lyd_parse_path(ctx, data_item->filename, data_item->format, in main_ni()
916 …data_item->tree = lyd_parse_path(ctx, data_item->filename, data_item->format, options_parser, oper… in main_ni()

1234