/dports/net/libyang/libyang-1.0.240/tests/schema/ |
H A D | test_typedef.c | 194 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 D | test_status.c | 161 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 D | test_extensions.c | 3101 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 D | test_feature.c | 165 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 D | test_conformance.c | 493 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 D | test_include.c | 101 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 D | test_import.c | 103 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 D | test_mandatory.c | 115 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 D | test_metadata.c | 116 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 D | test_when.c | 145 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 D | test_unknown_element.c | 93 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 D | test_when_1.1.c | 165 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 D | test_parse_print.c | 1621 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 D | test_emptycont.c | 105 assert_int_equal(ly_vecode(st->ctx), LYVE_NOWHEN); in test_parse_noautodel()
|
H A D | test_unique.c | 122 assert_int_equal(ly_vecode(st->ctx), LYVE_NOUNIQ); in test_un_defaults()
|
H A D | test_values.c | 103 assert_int_equal(ly_vecode(st->ctx), LYVE_INVAL); in test_default_int()
|
/dports/net/libyang/libyang-1.0.240/src/ |
H A D | log.c | 175 vecode = ly_vecode(ctx); in log_vprintf()
|
H A D | libyang.h.in | 1069 …* 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 D | common.c | 46 ly_vecode(const struct ly_ctx *ctx) in ly_vecode() function
|
H A D | parser_yang.c | 2695 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 D | parser_yin.c | 7415 if (ly_vecode(ctx) != LYVE_SUBMODULE) { in yin_read_module_()
|
/dports/net/libyang/libyang-1.0.240/tests/api/ |
H A D | test_libyang.c | 1579 if (LYVE_PATH_INMOD == ly_vecode(ctx)) { in test_ly_vecode()
|
/dports/net/libyang/libyang-1.0.240/ |
H A D | libyang.dump | 148 'ShortName' => 'ly_vecode', 1104 'ly_vecode' => 1,
|