/dports/net/libyang/libyang-1.0.240/tests/data/ |
H A D | test_parse_print.c | 61 st->mod = lys_parse_path(st->ctx, schema, LYS_IN_YIN); in setup_f() 69 st->mod = lys_parse_path(st->ctx, schemaimp, LYS_IN_YIN); in setup_f() 75 st->mod = lys_parse_path(st->ctx, schemadev, LYS_IN_YIN); in setup_f() 124 …st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/error-format/error-dup-prefix.yin", LYS_IN… in test_parse_print_yin_error_prefix() 127 …st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/error-format/error-order-prefix.yin", LYS_… in test_parse_print_yin_error_prefix() 145 …st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/error-format/error-dup-contact.yin", LYS_I… in test_parse_print_yin_error_contact() 871 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/all.yin", LYS_IN_YIN); in test_parse_print_yin() 874 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/all-dev.yin", LYS_IN_YIN); in test_parse_print_yin() 923 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/all.yang", LYS_IN_YANG); in test_parse_print_yang() 926 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/all-dev.yang", LYS_IN_YANG); in test_parse_print_yang() [all …]
|
H A D | test_metadata.c | 170 …assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/schema/yang/ietf/ietf-netconf.yang", LYS_I… in test_nc_filter1_xml() 219 …assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/schema/yang/ietf/ietf-netconf.yang", LYS_I… in test_nc_filter3_xml() 250 …assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/schema/yang/ietf/ietf-netconf.yang", LYS_I… in test_nc_filter4_xml() 277 …assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/schema/yang/ietf/ietf-netconf.yang", LYS_I… in test_nc_filter5_xml() 359 …assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/schema/yang/ietf/ietf-netconf.yang", LYS_I… in test_nc_editconfig1_xml() 390 …assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/schema/yang/ietf/ietf-netconf.yang", LYS_I… in test_nc_editconfig1_json() 422 …assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/schema/yang/ietf/ietf-netconf.yang", LYS_I… in test_nc_editconfig2_xml() 456 …assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/schema/yang/ietf/ietf-netconf.yang", LYS_I… in test_nc_editconfig2_json() 486 …assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/schema/yang/ietf/ietf-netconf.yang", LYS_I… in test_nc_editconfig3_xml() 517 …assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/schema/yang/ietf/ietf-netconf.yang", LYS_I… in test_nc_editconfig3_json() [all …]
|
H A D | test_when_1.1.c | 79 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/when-unlink.yin", LYS_IN_YIN); in test_unlink_uses() 97 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/when-unlink.yin", LYS_IN_YIN); in test_unlink_choice() 116 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/when-unlink.yin", LYS_IN_YIN); in test_unlink_case() 137 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/when-unlink.yin", LYS_IN_YIN); in test_unlink_augment() 157 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/when-dummy.yin", LYS_IN_YIN); in test_dummy() 175 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/when-depend.yin", LYS_IN_YIN); in test_dependency_noautodel() 201 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/when-circdepend.yin", LYS_IN_YIN); in test_dependency_circular() 226 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/when-unlinkall.yin", LYS_IN_YIN); in test_unlink_all()
|
H A D | test_when.c | 54 st->mod = lys_parse_path(st->ctx, schemafile, LYS_IN_YIN); in setup_f() 108 mod = lys_parse_path(st->ctx, schema, LYS_YANG); in test_netconf_autodel() 238 st->mod2 = lys_parse_path(st->ctx, TESTS_DIR"/data/files/when-value-prefix.yang", LYS_IN_YANG); in test_value_prefix() 240 …st->mod3 = lys_parse_path(st->ctx, TESTS_DIR"/data/files/when-value-prefix-aug.yang", LYS_IN_YANG); in test_value_prefix() 265 st->mod2 = lys_parse_path(st->ctx, schemafile, LYS_IN_YANG); in test_augment_choice() 295 st->mod2 = lys_parse_path(st->ctx, TESTS_DIR"/data/files/act1.yang", LYS_IN_YANG); in test_action() 298 st->mod3 = lys_parse_path(st->ctx, TESTS_DIR"/data/files/act2.yang", LYS_IN_YANG); in test_action()
|
H A D | test_yangtypes_xpath.c | 78 …assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/schema/yang/ietf/ietf-netconf-acm.yang", L… in test_acm_yangtypes_xpath() 79 …assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/data/files/all-imp.yang", LYS_IN_YANG), NU… in test_acm_yangtypes_xpath() 80 … assert_ptr_not_equal(lys_parse_path(st->ctx, TESTS_DIR"/data/files/all.yang", LYS_IN_YANG), NULL); in test_acm_yangtypes_xpath()
|
H A D | test_must_1.1.c | 81 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/must-dependrpc.yin", LYS_IN_YIN); in test_dependency_rpc() 108 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/must-dependact.yin", LYS_IN_YIN); in test_dependency_action() 136 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/must-inout.yin", LYS_IN_YIN); in test_inout() 169 st->mod = lys_parse_path(st->ctx, TESTS_DIR"/data/files/must-notif.yin", LYS_IN_YIN); in test_notif()
|
H A D | test_instid_remove.c | 50 if (!lys_parse_path(st->ctx, schemafile, LYS_IN_YIN)) { in setup_f()
|
H A D | test_defaults.c | 55 if (!lys_parse_path(st->ctx, ncwdfile, LYS_IN_YIN)) { in setup_f() 60 st->mod = lys_parse_path(st->ctx, schemafile, LYS_IN_YIN); in setup_f() 66 st->mod2 = lys_parse_path(st->ctx, schema2file, LYS_IN_YANG); in setup_f() 103 if (!lys_parse_path(st->ctx, ncwdfile, LYS_IN_YIN)) { in setup_clean_f()
|
/dports/net/libyang/libyang-1.0.240/tests/schema/ |
H A D | test_augment.c | 94 if (!(module = lys_parse_path(ctx, path, LYS_IN_YIN))) { in test_target_include_submodule() 101 if (!(module = lys_parse_path(ctx, path, LYS_IN_YANG))) { in test_target_include_submodule() 120 if (!(module = lys_parse_path(ctx, path, LYS_IN_YIN))) { in test_leafref() 127 if (!(module = lys_parse_path(ctx, path, LYS_IN_YIN))) { in test_leafref() 134 if (!(module = lys_parse_path(ctx, path, LYS_IN_YANG))) { in test_leafref() 141 if (!(module = lys_parse_path(ctx, path, LYS_IN_YANG))) { in test_leafref() 163 if (!(module = lys_parse_path(ctx, path, LYS_IN_YIN))) { in test_leafref_w_feature1() 168 if (!(module = lys_parse_path(ctx, path, LYS_IN_YANG))) { in test_leafref_w_feature1() 194 if (!(module = lys_parse_path(ctx, path, LYS_IN_YIN))) { in test_leafref_w_feature2() 226 if (!(module = lys_parse_path(ctx, path, LYS_IN_YIN))) { in test_leafref_w_feature3() [all …]
|
H A D | test_conformance.c | 61 a = lys_parse_path(ctx, SCHEMA_FOLDER_YIN"/a.yin", LYS_IN_YIN); in test_implemented1_yin() 74 b2 = lys_parse_path(ctx, SCHEMA_FOLDER_YIN"/b@2015-04-04.yin", LYS_IN_YIN); in test_implemented1_yin() 80 c2 = lys_parse_path(ctx, SCHEMA_FOLDER_YIN"/c@2015-01-01.yin", LYS_IN_YIN); in test_implemented1_yin() 95 a = lys_parse_path(ctx, SCHEMA_FOLDER_YANG"/a.yang", LYS_IN_YANG); in test_implemented1_yang() 108 b2 = lys_parse_path(ctx, SCHEMA_FOLDER_YANG"/b@2015-04-04.yang", LYS_IN_YANG); in test_implemented1_yang() 114 c2 = lys_parse_path(ctx, SCHEMA_FOLDER_YANG"/c@2015-01-01.yang", LYS_IN_YANG); in test_implemented1_yang() 134 a = lys_parse_path(ctx, SCHEMA_FOLDER_YIN"/a.yin", LYS_IN_YIN); in test_implemented2_yin() 152 a = lys_parse_path(ctx, SCHEMA_FOLDER_YANG"/a.yang", LYS_IN_YANG); in test_implemented2_yang() 287 assert_ptr_not_equal((a = lys_parse_path(ctx, SCHEMA_FOLDER_YIN"/a.yin", LYS_IN_YIN)), NULL); in test_implemented_info_yin() 562 ly_module = lys_parse_path(ctx, filepath, LYS_IN_YANG); in _my_data_clb() [all …]
|
H A D | test_refine.c | 74 if (!(module = lys_parse_path(ctx, path, LYS_IN_YANG))) { in test_refine()
|
H A D | test_invalid.c | 81 mod = lys_parse_path(st->ctx, schema, LYS_IN_YANG); in test_case_act_notif()
|
/dports/net/libyang/libyang-1.0.240/tests/callgrind/ |
H A D | create_data.c | 24 if (!lys_parse_path(ctx, SCHEMA, LYS_YANG)) { in main() 29 if (!lys_parse_path(ctx, SCHEMA2, LYS_YANG)) { in main() 34 if (!lys_parse_path(ctx, SCHEMA3, LYS_YANG)) { in main()
|
H A D | validate.c | 29 if (!lys_parse_path(ctx, path, LYS_YANG)) { in main()
|
H A D | list_manipulation.c | 25 if (!lys_parse_path(ctx, SCHEMA, LYS_YANG)) { in main()
|
/dports/net/libyang/libyang-1.0.240/tests/conformance/ |
H A D | test_sec6_1_3.c | 82 mod = lys_parse_path(st->ctx, buf, TEST_SCHEMA_FORMAT); in TEST_QUOTING() 102 mod = lys_parse_path(st->ctx, buf, TEST_SCHEMA_FORMAT); in TEST_ESCAPE_CHARACTER_IN_DOUBLE_QUOTING() 119 mod = lys_parse_path(st->ctx, buf, TEST_SCHEMA_FORMAT); in TEST_DOUBLE_QUOTING() 137 mod = lys_parse_path(st->ctx, buf, TEST_SCHEMA_FORMAT); in TEST_ILLEGAL_STRING()
|
H A D | test_sec9_10.c | 88 mod = lys_parse_path(st->ctx, buf, schema_format); in TEST_IDENTITYREF() 155 mod = lys_parse_path(st->ctx, TESTS_DIR "/conformance/" TEST_DIR "/mod3.yang", LYS_IN_YANG); in TEST_IDENTITYREF2() 162 …mod = lys_parse_path(st->ctx, TESTS_DIR "/conformance/" TEST_DIR "/mod-dflt-invalid.yang", LYS_IN_… in TEST_IDENTITYREF2() 165 mod = lys_parse_path(st->ctx, TESTS_DIR "/conformance/" TEST_DIR "/mod-dflt.yang", LYS_IN_YANG); in TEST_IDENTITYREF2()
|
H A D | test_sec6_1_1.c | 76 mod = lys_parse_path(st->ctx, TESTS_DIR "/conformance/" TEST_SCHEMA, TEST_SCHEMA_FORMAT); in TEST_NAME()
|
H A D | test_sec5_1.c | 88 mod = lys_parse_path(st->ctx, buf, schema_format); in TEST_IMPORT_INCLUDE()
|
H A D | test_sec6_2.c | 88 mod = lys_parse_path(st->ctx, buf, schema_format); in TEST_NAME()
|
H A D | test_sec7_3.c | 88 mod = lys_parse_path(st->ctx, buf, schema_format); in TEST_MODULE()
|
H A D | test_sec6_2_1.c | 88 mod = lys_parse_path(st->ctx, buf, schema_format); in TEST_NAME()
|
/dports/net/libyang/libyang-1.0.240/tests/fuzz/ |
H A D | yangfuzz.c | 21 lys_parse_path(ctx, argv[1], LYS_IN_YANG); in main()
|
/dports/net/libyang/libyang-1.0.240/tests/perf/ |
H A D | validation.c | 38 if (!lys_parse_path(ctx, argv[1], LYS_IN_YIN)) { in main()
|
H A D | addloop.c | 40 if (!(mod = lys_parse_path(ctx, argv[1], LYS_IN_YIN))) { in main()
|