Home
last modified time | relevance | path

Searched refs:LY_VALUE_UNRES (Results 1 – 11 of 11) sorted by relevance

/dports/net/libyang/libyang-1.0.240/src/
H A Dtree_data.h253 #define LY_VALUE_UNRES 0x01 /**< flag for unresolved leafref or instance-identifier, macro
H A Dvalidation.c83 leaf->value_flags &= ~LY_VALUE_UNRES; in lyv_data_context()
553 } else if ((type->base == LY_TYPE_LEAFREF) && !(type->value_flags & LY_VALUE_UNRES)) { in find_orig_type()
H A Dprinter_lyb.c714 if (value_flags & LY_VALUE_UNRES) { in lyb_print_value()
729 assert(!(value_flags & LY_VALUE_UNRES)); in lyb_print_value()
H A Dresolve.c8206 …= LY_TYPE_UNION) || ((leaf->value_type == LY_TYPE_INST) && (leaf->value_flags & LY_VALUE_UNRES))) { in resolve_union()
8282 leaf->value_flags |= LY_VALUE_UNRES; in resolve_union()
8380 leaf->value_flags &= ~LY_VALUE_UNRES; in resolve_unres_data_item()
8383 if (!(leaf->value_flags & LY_VALUE_UNRES)) { in resolve_unres_data_item()
8418 leaf->value_flags &= ~LY_VALUE_UNRES; in resolve_unres_data_item()
8423 leaf->value_flags |= LY_VALUE_UNRES; in resolve_unres_data_item()
H A Dparser.c1269 *val_flags &= ~LY_VALUE_UNRES; in lyp_parse_value()
1701 *val_flags |= LY_VALUE_UNRES; in lyp_parse_value()
1737 *val_flags |= LY_VALUE_UNRES; in lyp_parse_value()
H A Dparser_lyb.c719 *value_flags |= LY_VALUE_UNRES; in lyb_parse_value()
H A Dtree_data.c6150 if (!(value_flags & LY_VALUE_UNRES)) { in lyd_free_value()
H A Dxpath.c3669 if (leaf->value_flags & LY_VALUE_UNRES) { in xpath_deref()
/dports/net/libyang/libyang-1.0.240/tests/schema/
H A Dtest_typedef.c944 assert_int_equal(((struct lyd_node_leaf_list *)root)->value_flags, LY_VALUE_UNRES); in test_typedef_11_union_leafref_yin()
1025 assert_int_equal(((struct lyd_node_leaf_list *)root)->value_flags, LY_VALUE_UNRES); in test_typedef_11_union_leafref_yang()
/dports/devel/cppcheck/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-19334/
H A Dparser.c1256 *val_flags &= ~LY_VALUE_UNRES; in lyp_parse_value()
1682 *val_flags |= LY_VALUE_UNRES; in lyp_parse_value()
1718 *val_flags |= LY_VALUE_UNRES; in lyp_parse_value()
/dports/devel/cppcheck-gui/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-19334/
H A Dparser.c1256 *val_flags &= ~LY_VALUE_UNRES; in lyp_parse_value()
1682 *val_flags |= LY_VALUE_UNRES; in lyp_parse_value()
1718 *val_flags |= LY_VALUE_UNRES; in lyp_parse_value()