/dports/net/libyang/libyang-1.0.240/tests/data/ |
H A D | test_metadata.c | 366 st->data = lyd_parse_mem(st->ctx, input, LYD_XML, LYD_OPT_EDIT , NULL); in test_nc_editconfig1_xml() 428 st->data = lyd_parse_mem(st->ctx, input, LYD_XML, LYD_OPT_EDIT, NULL); in test_nc_editconfig2_xml() 462 st->data = lyd_parse_mem(st->ctx, input, LYD_JSON, LYD_OPT_EDIT, NULL); in test_nc_editconfig2_json() 492 st->data = lyd_parse_mem(st->ctx, input, LYD_XML, LYD_OPT_EDIT, NULL); in test_nc_editconfig3_xml() 523 st->data = lyd_parse_mem(st->ctx, input, LYD_JSON, LYD_OPT_EDIT, NULL); in test_nc_editconfig3_json() 554 st->data = lyd_parse_mem(st->ctx, input, LYD_XML, LYD_OPT_EDIT , NULL); in test_nc_editconfig4_xml() 616 st->data = lyd_parse_mem(st->ctx, input, LYD_XML, LYD_OPT_EDIT , NULL); in test_nc_editconfig5_xml() 741 st->data = lyd_parse_mem(st->ctx, input, LYD_XML, LYD_OPT_EDIT, NULL); in test_nc_editconfig7_xml() 805 st->data = lyd_parse_mem(st->ctx, input, LYD_XML, LYD_OPT_EDIT, NULL); in test_nc_editconfig8_xml() 869 st->data = lyd_parse_mem(st->ctx, input, LYD_XML, LYD_OPT_EDIT, NULL); in test_nc_editconfig9_xml() [all …]
|
/dports/net/libyang/libyang-1.0.240/tools/lint/ |
H A D | main_ni.c | 478 options_parser = (options_parser & ~LYD_OPT_TYPEMASK) | LYD_OPT_EDIT; in main_ni() 798 options_parser = (options_parser & ~LYD_OPT_TYPEMASK) | LYD_OPT_EDIT; in main_ni() 799 data_item->type = LYD_OPT_EDIT; in main_ni() 982 case LYD_OPT_EDIT: in main_ni()
|
H A D | commands.c | 571 opts = (opts & ~LYD_OPT_TYPEMASK) | LYD_OPT_EDIT; in parse_data() 783 options = (options & ~LYD_OPT_TYPEMASK) | LYD_OPT_EDIT; in cmd_data() 927 options = (options & ~LYD_OPT_TYPEMASK) | LYD_OPT_EDIT; in cmd_xpath()
|
/dports/net/libyang/libyang-1.0.240/src/ |
H A D | validation.c | 71 if (!(options & (LYD_OPT_NOTIF_FILTER | LYD_OPT_EDIT | LYD_OPT_GET | LYD_OPT_GETCONFIG)) in lyv_data_context() 97 if (!(options & (LYD_OPT_EDIT | LYD_OPT_GET | LYD_OPT_GETCONFIG))) { in lyv_data_context() 111 …if ((options & (LYD_OPT_EDIT | LYD_OPT_GETCONFIG | LYD_OPT_CONFIG)) && (node->schema->flags & LYS_… in lyv_data_context() 881 …if (!(options & (LYD_OPT_TRUSTED | LYD_OPT_NOTIF_FILTER | LYD_OPT_EDIT | LYD_OPT_GET | LYD_OPT_GET… in lyv_data_content()
|
H A D | tree_data.h | 497 #define LYD_OPT_EDIT 0x08 /**< Content of the NETCONF \<edit-config\>'s config element. macro
|
H A D | parser_json.c | 792 if ((options & LYD_OPT_EDIT) && lyp_check_edit_attr(ctx, diter->attr, diter, NULL)) { in store_attrs() 975 if ((options & LYD_OPT_EDIT) && lyp_check_edit_attr(ctx, (*parent)->attr, *parent, NULL)) { in json_parse_data()
|
H A D | parser_xml.c | 381 if (options & LYD_OPT_EDIT) { in xml_parse_data()
|
H A D | tree_data.c | 855 if (options & (LYD_OPT_TRUSTED | LYD_OPT_EDIT | LYD_OPT_GET | LYD_OPT_GETCONFIG)) { in lyd_check_mandatory_tree() 5149 … || (options & (LYD_OPT_CONFIG | LYD_OPT_GET | LYD_OPT_GETCONFIG | LYD_OPT_EDIT))) && !(*node)) { in lyd_validate() 5250 …_OPT_TYPEMASK) && !(options & (LYD_OPT_CONFIG | LYD_OPT_GET | LYD_OPT_GETCONFIG | LYD_OPT_EDIT))) { in lyd_validate_modules() 7683 if (options & (LYD_OPT_NOTIF_FILTER | LYD_OPT_EDIT | LYD_OPT_GET | LYD_OPT_GETCONFIG)) { in lyd_wd_add_subtree() 7976 if (options & (LYD_OPT_EDIT | LYD_OPT_GET | LYD_OPT_GETCONFIG)) { in lyd_wd_add()
|
H A D | parser.c | 228 if ((x == LYD_OPT_EDIT) || (x == LYD_OPT_NOTIF_FILTER)) { in lyp_data_check_options()
|
H A D | libyang.h.in | 862 * - #LYD_OPT_GET, #LYD_OPT_GETCONFIG, #LYD_OPT_EDIT - no default nodes are added
|
H A D | resolve.c | 8582 if (options & (LYD_OPT_NOTIF_FILTER | LYD_OPT_GET | LYD_OPT_GETCONFIG | LYD_OPT_EDIT)) { in resolve_unres_data()
|
/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/ |
H A D | northbound_cli.c | 463 dnode = lyd_parse_path(ly_ctx, path, ly_format, LYD_OPT_EDIT); in nb_cli_candidate_load_file()
|
/dports/net/frr7/frr-frr-7.5.1/lib/ |
H A D | northbound_cli.c | 463 dnode = lyd_parse_path(ly_ctx, path, ly_format, LYD_OPT_EDIT); in nb_cli_candidate_load_file()
|
/dports/devel/cppcheck/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-19334/ |
H A D | parser.c | 227 if ((x == LYD_OPT_EDIT) || (x == LYD_OPT_NOTIF_FILTER)) { in lyp_data_check_options()
|
/dports/devel/cppcheck-gui/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-19334/ |
H A D | parser.c | 227 if ((x == LYD_OPT_EDIT) || (x == LYD_OPT_NOTIF_FILTER)) { in lyp_data_check_options()
|