Home
last modified time | relevance | path

Searched refs:lys_parse_path (Results 1 – 25 of 99) sorted by relevance

1234

/dports/net/libyang/libyang-1.0.240/tests/data/
H A Dtest_parse_print.c61 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 Dtest_metadata.c170 …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 Dtest_when_1.1.c79 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 Dtest_when.c54 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 Dtest_yangtypes_xpath.c78 …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 Dtest_must_1.1.c81 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 Dtest_instid_remove.c50 if (!lys_parse_path(st->ctx, schemafile, LYS_IN_YIN)) { in setup_f()
H A Dtest_defaults.c55 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 Dtest_augment.c94 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 Dtest_conformance.c61 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 Dtest_refine.c74 if (!(module = lys_parse_path(ctx, path, LYS_IN_YANG))) { in test_refine()
H A Dtest_invalid.c81 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 Dcreate_data.c24 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 Dvalidate.c29 if (!lys_parse_path(ctx, path, LYS_YANG)) { in main()
H A Dlist_manipulation.c25 if (!lys_parse_path(ctx, SCHEMA, LYS_YANG)) { in main()
/dports/net/libyang/libyang-1.0.240/tests/conformance/
H A Dtest_sec6_1_3.c82 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 Dtest_sec9_10.c88 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 Dtest_sec6_1_1.c76 mod = lys_parse_path(st->ctx, TESTS_DIR "/conformance/" TEST_SCHEMA, TEST_SCHEMA_FORMAT); in TEST_NAME()
H A Dtest_sec5_1.c88 mod = lys_parse_path(st->ctx, buf, schema_format); in TEST_IMPORT_INCLUDE()
H A Dtest_sec6_2.c88 mod = lys_parse_path(st->ctx, buf, schema_format); in TEST_NAME()
H A Dtest_sec7_3.c88 mod = lys_parse_path(st->ctx, buf, schema_format); in TEST_MODULE()
H A Dtest_sec6_2_1.c88 mod = lys_parse_path(st->ctx, buf, schema_format); in TEST_NAME()
/dports/net/libyang/libyang-1.0.240/tests/fuzz/
H A Dyangfuzz.c21 lys_parse_path(ctx, argv[1], LYS_IN_YANG); in main()
/dports/net/libyang/libyang-1.0.240/tests/perf/
H A Dvalidation.c38 if (!lys_parse_path(ctx, argv[1], LYS_IN_YIN)) { in main()
H A Daddloop.c40 if (!(mod = lys_parse_path(ctx, argv[1], LYS_IN_YIN))) { in main()

1234