/dports/net/libyang/libyang-1.0.240/tests/internal/ |
H A D | test_lyb.c | 305 …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 D | list_manipulation.c | 30 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 D | validate.c | 40 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 D | test_sec9_10.c | 98 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 D | test_sec6_1_1.c | 84 … st->node = lyd_parse_path(st->ctx, TESTS_DIR "/conformance/" TEST_DATA, LYD_XML, LYD_OPT_CONFIG); in TEST_NAME()
|
H A D | test_sec5_1.c | 98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_IMPORT_INCLUDE()
|
H A D | test_sec6_2.c | 98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_NAME()
|
H A D | test_sec7_3.c | 98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_MODULE()
|
H A D | test_sec6_2_1.c | 98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_NAME()
|
H A D | test_sec7_1.c | 98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_MODULE()
|
H A D | test_sec7_2.c | 98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_MODULE()
|
H A D | test_sec7_3_1.c | 98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_MODULE()
|
H A D | test_sec7_5_2.c | 98 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_MODULE()
|
H A D | test_sec5_5.c | 100 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_TYPEDEF_GROUPING()
|
H A D | test_sec7_15_1.c | 99 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_ACTION()
|
H A D | test_sec7_11.c | 99 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_GROUPING()
|
H A D | test_sec7_15.c | 99 st->node = lyd_parse_path(st->ctx, buf, LYD_XML, LYD_OPT_CONFIG); in TEST_AUGMENT()
|
H A D | test_sec7_19_2.c | 99 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 D | test_parse_print.c | 1009 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 D | test_instid_remove.c | 56 st->data = lyd_parse_path(st->ctx, datafile, LYD_XML, LYD_OPT_CONFIG); in setup_f()
|
H A D | test_yangtypes_xpath.c | 83 …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 D | test_leafref_remove.c | 56 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 D | validation.c | 44 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 D | commands.c | 583 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 D | main_ni.c | 750 … 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()
|