Home
last modified time | relevance | path

Searched refs:LY_TYPE_ENUM (Results 1 – 25 of 29) sorted by relevance

12

/dports/net/libyang/libyang-1.0.240/src/
H A Dyang_types.c70 .type = {.base = LY_TYPE_ENUM}
197 [LY_TYPE_ENUM] = &ly_type_enum,
H A Dprinter_json.c95 case LY_TYPE_ENUM: in json_print_attrs()
177 case LY_TYPE_ENUM: in json_print_leaf()
H A Dprinter_xml.c262 case LY_TYPE_ENUM: in xml_print_attrs()
366 case LY_TYPE_ENUM: in xml_print_leaf()
H A Dparser_lyb.c376 case LY_TYPE_ENUM: in lyb_parse_val_1()
439 case LY_TYPE_ENUM: in lyb_parse_val_1()
592 case LY_TYPE_ENUM: in lyb_parse_val_2()
H A Dvalidation.c596 case LY_TYPE_ENUM: in lyv_type_extension()
848 case LY_TYPE_ENUM: in lyv_data_content()
H A Dparser.c337 (*type)->base = LY_TYPE_ENUM; in lyp_add_ietf_netconf_annotations_config()
338 (*type)->der = ly_types[LY_TYPE_ENUM]; in lyp_add_ietf_netconf_annotations_config()
369 (*type)->base = LY_TYPE_ENUM; in lyp_add_ietf_netconf_annotations_config()
370 (*type)->der = ly_types[LY_TYPE_ENUM]; in lyp_add_ietf_netconf_annotations_config()
1525 case LY_TYPE_ENUM: in lyp_parse_value()
1552 *val_type = LY_TYPE_ENUM; in lyp_parse_value()
H A Dtree_schema.h791LY_TYPE_ENUM, /**< Enumerated strings ([RFC 6020 sec 9.6](http://tools.ietf.org/html/rfc60… enumerator
H A Dprinter_lyb.c797 case LY_TYPE_ENUM: in lyb_print_value()
H A Dprinter_info.c300 case LY_TYPE_ENUM: in info_print_type_detail_()
H A Dparser_yang.c780 case LY_TYPE_ENUM: in yang_check_type()
781 if (type->base != LY_TYPE_ENUM) { in yang_check_type()
1268 typ->base = LY_TYPE_ENUM; in yang_read_enum()
3553 case LY_TYPE_ENUM: in yang_fill_type()
H A Dprinter_json_schema.c273 case LY_TYPE_ENUM: in jsons_print_type_()
H A Dtree_data.c2567 case LY_TYPE_ENUM: in lyd_merge_node_update()
5370 case LY_TYPE_ENUM: in lyd_dup_attr()
5534 case LY_TYPE_ENUM: in _lyd_dup_node()
H A Dxpath.c3036 case LY_TYPE_ENUM: in warn_is_string_type()
3934 } else if (!warn_is_specific_type(&sleaf->type, LY_TYPE_ENUM)) { in xpath_enum_value()
3951 && (((struct lys_node_leaf *)leaf->schema)->type.base == LY_TYPE_ENUM)) { in xpath_enum_value()
H A Dtree_schema.c1749 case LY_TYPE_ENUM: in type_dup()
2337 case LY_TYPE_ENUM: in lys_type_free()
H A Dprinter_yang.c520 case LY_TYPE_ENUM: in yang_print_type()
/dports/net/libyang/libyang-1.0.240/src/extensions/
H A Dyangdata.c108 if (type->base == LY_TYPE_ENUM) { in remove_iffeature_type()
/dports/net/libyang/libyang-1.0.240/swig/cpp/src/
H A DTree_Data.hpp65 …S_Type_Enum enm() {return LY_TYPE_ENUM == value_type ? std::make_shared<Type_Enum>(value.enm, dele… in enm()
H A DTree_Schema.cpp197 S_Type_Info_Enums Type_Info::enums() {return LY_TYPE_ENUM == type ? std::make_shared<Type_Info_Enum… in enums()
/dports/devel/cppcheck/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-19334/
H A Dparser.c331 (*type)->base = LY_TYPE_ENUM; in lyp_add_ietf_netconf_annotations_config()
332 (*type)->der = ly_types[LY_TYPE_ENUM]; in lyp_add_ietf_netconf_annotations_config()
363 (*type)->base = LY_TYPE_ENUM; in lyp_add_ietf_netconf_annotations_config()
364 (*type)->der = ly_types[LY_TYPE_ENUM]; in lyp_add_ietf_netconf_annotations_config()
1508 case LY_TYPE_ENUM: in lyp_parse_value()
1533 *val_type = LY_TYPE_ENUM; in lyp_parse_value()
/dports/devel/cppcheck-gui/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-19334/
H A Dparser.c331 (*type)->base = LY_TYPE_ENUM; in lyp_add_ietf_netconf_annotations_config()
332 (*type)->der = ly_types[LY_TYPE_ENUM]; in lyp_add_ietf_netconf_annotations_config()
363 (*type)->base = LY_TYPE_ENUM; in lyp_add_ietf_netconf_annotations_config()
364 (*type)->der = ly_types[LY_TYPE_ENUM]; in lyp_add_ietf_netconf_annotations_config()
1508 case LY_TYPE_ENUM: in lyp_parse_value()
1533 *val_type = LY_TYPE_ENUM; in lyp_parse_value()
/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/
H A Dnorthbound_sysrepo.c109 case LY_TYPE_ENUM: in yang_data_frr2sr()
H A Dyang_wrappers.c263 assert(dleaf->value_type == LY_TYPE_ENUM); in yang_dnode_get_enum()
/dports/net/frr7/frr-frr-7.5.1/lib/
H A Dnorthbound_sysrepo.c109 case LY_TYPE_ENUM: in yang_data_frr2sr()
H A Dyang_wrappers.c263 assert(dleaf->value_type == LY_TYPE_ENUM); in yang_dnode_get_enum()
/dports/net/libyang/libyang-1.0.240/tests/api/
H A Dtest_tree_data.c1746 …ssert_int_equal(lyd_leaf_type((struct lyd_node_leaf_list *)data->child->prev)->base, LY_TYPE_ENUM); in test_lyd_leaf_type()

12