Home
last modified time | relevance | path

Searched refs:ly_vecode (Results 1 – 23 of 23) sorted by relevance

/dports/net/libyang/libyang-1.0.240/tests/schema/
H A Dtest_typedef.c194 assert_int_equal(ly_vecode(st->ctx), LYVE_INSTMT); in test_typedef_11in10()
198 assert_int_equal(ly_vecode(st->ctx), LYVE_INSTMT); in test_typedef_11in10()
202 assert_int_equal(ly_vecode(st->ctx), LYVE_INARG); in test_typedef_11in10()
206 assert_int_equal(ly_vecode(st->ctx), LYVE_INARG); in test_typedef_11in10()
210 assert_int_equal(ly_vecode(st->ctx), LYVE_INSTMT); in test_typedef_11in10()
214 assert_int_equal(ly_vecode(st->ctx), LYVE_INSTMT); in test_typedef_11in10()
218 assert_int_equal(ly_vecode(st->ctx), LYVE_INARG); in test_typedef_11in10()
222 assert_int_equal(ly_vecode(st->ctx), LYVE_INARG); in test_typedef_11in10()
341 assert_int_equal(ly_vecode(st->ctx), LYVE_INVAL); in test_typedef_11_enums_yang()
406 assert_int_equal(ly_vecode(st->ctx), LYVE_INVAL); in test_typedef_11_enums_yin()
[all …]
H A Dtest_status.c161 assert_int_equal(ly_vecode(st->ctx), LYVE_INSTATUS); in test_status_yin()
166 assert_int_equal(ly_vecode(st->ctx), LYVE_INSTATUS); in test_status_yin()
171 assert_int_equal(ly_vecode(st->ctx), LYVE_INSTATUS); in test_status_yin()
182 assert_int_equal(ly_vecode(st->ctx), LYVE_OBSDATA); in test_status_yin()
190 assert_int_equal(ly_vecode(st->ctx), LYVE_OBSDATA); in test_status_yin()
279 assert_int_equal(ly_vecode(st->ctx), LYVE_INSTATUS); in test_status_yang()
284 assert_int_equal(ly_vecode(st->ctx), LYVE_INSTATUS); in test_status_yang()
289 assert_int_equal(ly_vecode(st->ctx), LYVE_INSTATUS); in test_status_yang()
300 assert_int_equal(ly_vecode(st->ctx), LYVE_OBSDATA); in test_status_yang()
308 assert_int_equal(ly_vecode(st->ctx), LYVE_OBSDATA); in test_status_yang()
H A Dtest_extensions.c3101 assert_int_equal(ly_vecode(st->ctx), LYVE_TOOMANY); in test_complex_many_instace_yin()
3104 assert_int_equal(ly_vecode(st->ctx), LYVE_TOOMANY); in test_complex_many_instace_yin()
3107 assert_int_equal(ly_vecode(st->ctx), LYVE_TOOMANY); in test_complex_many_instace_yin()
3110 assert_int_equal(ly_vecode(st->ctx), LYVE_TOOMANY); in test_complex_many_instace_yin()
3113 assert_int_equal(ly_vecode(st->ctx), LYVE_TOOMANY); in test_complex_many_instace_yin()
3116 assert_int_equal(ly_vecode(st->ctx), LYVE_TOOMANY); in test_complex_many_instace_yin()
3119 assert_int_equal(ly_vecode(st->ctx), LYVE_TOOMANY); in test_complex_many_instace_yin()
3122 assert_int_equal(ly_vecode(st->ctx), LYVE_TOOMANY); in test_complex_many_instace_yin()
3125 assert_int_equal(ly_vecode(st->ctx), LYVE_TOOMANY); in test_complex_many_instace_yin()
3128 assert_int_equal(ly_vecode(st->ctx), LYVE_TOOMANY); in test_complex_many_instace_yin()
[all …]
H A Dtest_feature.c165 assert_int_equal(ly_vecode(ctx), LYVE_CIRC_FEATURES); in test_circle1()
178 assert_int_equal(ly_vecode(ctx), LYVE_CIRC_FEATURES); in test_circle2()
194 assert_int_equal(ly_vecode(ctx), LYVE_INARG); in test_inval_expr1()
210 assert_int_equal(ly_vecode(ctx), LYVE_INARG); in test_inval_expr2()
226 assert_int_equal(ly_vecode(ctx), LYVE_INRESOLV); in test_inval_expr3()
242 assert_int_equal(ly_vecode(ctx), LYVE_INARG); in test_inval_expr4()
257 assert_int_equal(ly_vecode(ctx), LYVE_INARG); in test_inval_expr5()
H A Dtest_conformance.c493 assert_int_equal(ly_vecode(ctx), LYVE_INDATE); in test_revision_date_yin()
496 assert_int_equal(ly_vecode(ctx), LYVE_INDATE); in test_revision_date_yin()
499 assert_int_equal(ly_vecode(ctx), LYVE_INDATE); in test_revision_date_yin()
538 assert_int_equal(ly_vecode(ctx), LYVE_INDATE); in test_revision_date_yang()
541 assert_int_equal(ly_vecode(ctx), LYVE_INDATE); in test_revision_date_yang()
544 assert_int_equal(ly_vecode(ctx), LYVE_INDATE); in test_revision_date_yang()
H A Dtest_include.c101 assert_int_equal(ly_vecode(ctx), LYVE_CIRC_INCLUDES); in test_circular_include()
106 assert_int_equal(ly_vecode(ctx), LYVE_CIRC_INCLUDES); in test_circular_include()
H A Dtest_import.c103 assert_int_equal(ly_vecode(ctx), LYVE_CIRC_IMPORTS); in test_circular_import()
108 assert_int_equal(ly_vecode(ctx), LYVE_CIRC_IMPORTS); in test_circular_import()
/dports/net/libyang/libyang-1.0.240/tests/data/
H A Dtest_mandatory.c115 assert_int_equal(ly_vecode(st->ctx), LYVE_MISSELEM); in test_mandatory()
121 assert_int_equal(ly_vecode(st->ctx), LYVE_NOMIN); in test_mandatory()
127 assert_int_equal(ly_vecode(st->ctx), LYVE_NOMAX); in test_mandatory()
133 assert_int_equal(ly_vecode(st->ctx), LYVE_MISSELEM); in test_mandatory()
139 assert_int_equal(ly_vecode(st->ctx), LYVE_NOMANDCHOICE); in test_mandatory()
145 assert_int_equal(ly_vecode(st->ctx), LYVE_MISSELEM); in test_mandatory()
151 assert_int_equal(ly_vecode(st->ctx), LYVE_MISSELEM); in test_mandatory()
157 assert_int_equal(ly_vecode(st->ctx), LYVE_MISSELEM); in test_mandatory()
H A Dtest_metadata.c116 assert_int_equal(ly_vecode(st->ctx), LYVE_INATTR); in test_unknown_metadata_xml()
149 assert_int_equal(ly_vecode(st->ctx), LYVE_INMETA); in test_unknown_metadata_json()
224 assert_int_equal(ly_vecode(st->ctx), LYVE_INATTR); in test_nc_filter3_xml()
255 assert_int_equal(ly_vecode(st->ctx), LYVE_INMETA); in test_nc_filter4_xml()
282 assert_int_equal(ly_vecode(st->ctx), LYVE_INMETA); in test_nc_filter5_xml()
310 assert_int_equal(ly_vecode(st->ctx), LYVE_TOOMANY); in test_nc_filter6_xml()
369 assert_int_equal(ly_vecode(st->ctx), LYVE_INMETA); in test_nc_editconfig1_xml()
400 assert_int_equal(ly_vecode(st->ctx), LYVE_INMETA); in test_nc_editconfig1_json()
557 assert_int_equal(ly_vecode(st->ctx), LYVE_INATTR); in test_nc_editconfig4_xml()
588 assert_int_equal(ly_vecode(st->ctx), LYVE_INATTR); in test_nc_editconfig4_json()
[all …]
H A Dtest_when.c145 assert_int_equal(ly_vecode(st->ctx), LYVE_NOWHEN); in test_netconf_autodel()
159 assert_int_equal(ly_vecode(st->ctx), LYVE_NOWHEN); in test_parse_noautodel()
169 assert_int_equal(ly_vecode(st->ctx), LYVE_NOWHEN); in test_parse_noautodel()
209 assert_int_equal(ly_vecode(st->ctx), LYVE_NOWHEN); in test_insert_noautodel()
228 assert_int_equal(ly_vecode(st->ctx), LYVE_NOWHEN); in test_insert_noautodel()
H A Dtest_unknown_element.c93 assert_int_equal(ly_vecode(st->ctx), LYVE_INELEM); in test_unknown_namespace_xml_strict()
120 assert_int_equal(ly_vecode(st->ctx), LYVE_INELEM); in test_unknown_nested_element_xml_strict()
H A Dtest_when_1.1.c165 assert_int_equal(ly_vecode(st->ctx), LYVE_XPATH_DUMMY); in test_dummy()
191 assert_int_equal(ly_vecode(st->ctx), LYVE_NOWHEN); in test_dependency_noautodel()
217 assert_int_equal(ly_vecode(st->ctx), LYVE_INWHEN); in test_dependency_circular()
H A Dtest_parse_print.c1621 assert_int_equal(ly_vecode(st->ctx), LYVE_INORDER); in test_parse_print_oookeys_xml()
1667 assert_int_equal(ly_vecode(st->ctx), LYVE_XML_INCHAR); in test_parse_noncharacters_xml()
1676 assert_int_equal(ly_vecode(st->ctx), LYVE_XML_INCHAR); in test_parse_noncharacters_xml()
1685 assert_int_equal(ly_vecode(st->ctx), LYVE_XML_INCHAR); in test_parse_noncharacters_xml()
1695 assert_int_equal(ly_vecode(st->ctx), LYVE_XML_INCHAR); in test_parse_noncharacters_xml()
1705 assert_int_equal(ly_vecode(st->ctx), LYVE_XML_INCHAR); in test_parse_noncharacters_xml()
1716 assert_int_equal(ly_vecode(st->ctx), LYVE_XML_INVAL); in test_parse_noncharacters_xml()
1730 assert_int_equal(ly_vecode(st->ctx), LYVE_XML_INVAL); in test_parse_noncharacters_xml()
1744 assert_int_equal(ly_vecode(st->ctx), LYVE_XML_INVAL); in test_parse_noncharacters_xml()
1758 assert_int_equal(ly_vecode(st->ctx), LYVE_XML_INVAL); in test_parse_noncharacters_xml()
[all …]
H A Dtest_emptycont.c105 assert_int_equal(ly_vecode(st->ctx), LYVE_NOWHEN); in test_parse_noautodel()
H A Dtest_unique.c122 assert_int_equal(ly_vecode(st->ctx), LYVE_NOUNIQ); in test_un_defaults()
H A Dtest_values.c103 assert_int_equal(ly_vecode(st->ctx), LYVE_INVAL); in test_default_int()
/dports/net/libyang/libyang-1.0.240/src/
H A Dlog.c175 vecode = ly_vecode(ctx); in log_vprintf()
H A Dlibyang.h.in1069 …* also validation error code (via ly_vecode()) and path to the error node (via ly_errpath()) are a…
1096 * - ly_vecode()
1972 …* @brief libyang's codes of validation error. Whenever ly_errno is set to LY_EVALID, the ly_vecode
2092 LY_VECODE ly_vecode(const struct ly_ctx *ctx);
2114 * ly_vecode (value 1-3) is set.
H A Dcommon.c46 ly_vecode(const struct ly_ctx *ctx) in ly_vecode() function
H A Dparser_yang.c2695 if (ly_vecode(ctx) == LYVE_SUBMODULE && !module->name) { in yang_read_module()
2772 if (ly_vecode(ctx) != LYVE_SUBMODULE) { in yang_read_module()
H A Dparser_yin.c7415 if (ly_vecode(ctx) != LYVE_SUBMODULE) { in yin_read_module_()
/dports/net/libyang/libyang-1.0.240/tests/api/
H A Dtest_libyang.c1579 if (LYVE_PATH_INMOD == ly_vecode(ctx)) { in test_ly_vecode()
/dports/net/libyang/libyang-1.0.240/
H A Dlibyang.dump148 'ShortName' => 'ly_vecode',
1104 'ly_vecode' => 1,