Home
last modified time | relevance | path

Searched refs:lys_type (Results 1 – 25 of 47) sorted by relevance

12

/dports/net/libyang/libyang-1.0.240/src/
H A Dparser.h96 struct lys_type *lyp_get_next_union_type(struct lys_type *type, struct lys_type *prev_type, int *fo…
104 struct lys_type *lyp_parse_value(struct lys_type *type, const char **value_, struct lyxml_elem *xml,
108 int lyp_check_length_range(struct ly_ctx *ctx, const char *expr, struct lys_type *type);
113 …(struct lys_module *module, struct lys_node *parent, struct lyxml_elem *yin, struct lys_type *type,
299 void lytype_free(const struct lys_type *type, lyd_val value, const char *value_str);
H A Dtree_internal.h265 int lys_type_is_local(const struct lys_type *type);
358 void lys_type_free(struct ly_ctx *ctx, struct lys_type *type,
427 struct lys_type **type);
506 void lyd_free_value(lyd_val value, LY_DATA_TYPE value_type, uint8_t value_flags, struct lys_type *t…
573 int lys_copy_union_leafrefs(struct lys_module *mod, struct lys_node *parent, struct lys_type *type,
574 struct lys_type *prev_new, struct unres_schema *unres);
H A Dresolve.h134 …struct lys_type *type; /* just to be able to get to optional error-message and/or error-app-ta…
189 int resolve_len_ran_interval(struct ly_ctx *ctx, const char *str_restr, struct lys_type *type, stru…
212 struct lys_ident *resolve_identref(struct lys_type *type, const char *ident_name, struct lyd_node *…
249 int resolve_union(struct lyd_node_leaf_list *leaf, struct lys_type *type, int store, int ignore_fai…
250 struct lys_type **resolved_type);
H A Dparser_yang.h75 struct lys_type *type;
128 …_module *module, struct lys_node *parent, struct yang_type *typ, struct lys_type *type, int tpdfty…
130 int yang_fill_type(struct lys_module *module, struct lys_type *type, struct yang_type *stype,
133 void yang_free_type_union(struct ly_ctx *ctx, struct lys_type *type);
135 void yang_type_free(struct ly_ctx *ctx, struct lys_type *type);
H A Dtree_schema.h948 struct lys_type *types; /**< array of union's subtypes */
973 struct lys_type { struct
1379 struct lys_type type; /**< YANG data type definition of the leaf (mandatory) */
1433 struct lys_type type; /**< YANG data type definition of the leaf (mandatory) */
1933 …struct lys_type *type; /**< Properties: type - pointer to type in target, type cannot be…
2012 …struct lys_type type; /**< base type from which the typedef is derived (mandatory). In …
2299 const struct lys_type *lys_getnext_union_type(const struct lys_type *last, const struct lys_type *t…
H A Dparser.c315 struct lys_type **type; in lyp_add_ietf_netconf_annotations_config()
335 *type = calloc(1, sizeof(struct lys_type)); in lyp_add_ietf_netconf_annotations_config()
367 *type = calloc(1, sizeof(struct lys_type)); in lyp_add_ietf_netconf_annotations_config()
407 *type = calloc(1, sizeof(struct lys_type)); in lyp_add_ietf_netconf_annotations_config()
518 struct lys_type *cur_type; in validate_length_range()
1216 struct lys_type *
1221 struct lys_type *ret = NULL, *t; in lyp_parse_value()
2029 struct lys_type *
2030 lyp_get_next_union_type(struct lys_type *type, struct lys_type *prev_type, int *found) in lyp_get_next_union_type()
2033 struct lys_type *ret = NULL; in lyp_get_next_union_type()
[all …]
H A Dtree_schema.c44 …pe_dup(struct lys_module *mod, struct lys_node *parent, struct lys_type *new, struct lys_type *old,
138 API const struct lys_type *
139 lys_getnext_union_type(const struct lys_type *last, const struct lys_type *type) in lys_getnext_union_type()
149 return lyp_get_next_union_type((struct lys_type *)type, (struct lys_type *)last, &found); in lys_getnext_union_type()
1706 type_dup(struct lys_module *mod, struct lys_node *parent, struct lys_type *new, struct lys_type *ol… in type_dup()
1898 …refs(struct lys_module *mod, struct lys_node *parent, struct lys_type *type, struct lys_type *prev… in lys_copy_union_leafrefs()
1901 struct lys_type new; in lys_copy_union_leafrefs()
2268 lys_type_dup(struct lys_module *mod, struct lys_node *parent, struct lys_type *new, struct lys_type in lys_type_dup()
2302 lys_type_free(struct ly_ctx *ctx, struct lys_type *type, in lys_type_free()
3580 lys_type_is_local(const struct lys_type *type) in lys_type_is_local()
[all …]
H A Dvalidation.c541 static struct lys_type *
542 find_orig_type(struct lys_type *par_type, LY_DATA_TYPE base_type) in find_orig_type()
544 struct lys_type *type, *prev_type, *tmp_type; in find_orig_type()
590 lyv_type_extension(struct lyd_node_leaf_list *leaf, struct lys_type *type, int first_type) in lyv_type_extension()
684 struct lys_type *type = NULL; in lyv_data_content()
H A Dtree_data.h1323 int lyd_value_type(struct lys_node *node, const char *value, struct lys_type **type);
1432 const struct lys_type *lyd_leaf_type(const struct lyd_node_leaf_list *leaf);
H A Dprinter.h97 void (*clb_print_type)(struct lyout*, const struct lys_type*, int*),
H A Dparser_lyb.c356 lyb_parse_val_1(struct lys_type *type, LY_DATA_TYPE value_type, uint8_t value_flags, const char *da… in lyb_parse_val_1()
473 lyb_parse_val_2(struct lys_type *type, struct lyd_node_leaf_list *leaf, struct lyd_attr *attr, stru… in lyb_parse_val_2()
477 struct lys_type *rtype = NULL; in lyb_parse_val_2()
680 lyb_parse_value(struct lys_type *type, struct lyd_node_leaf_list *leaf, struct lyd_attr *attr, cons… in lyb_parse_value()
804 struct lys_type **type; in lyb_parse_attributes()
858 … type = (struct lys_type **)lys_ext_complex_get_substmt(LY_STMT_TYPE, attr->annotation, NULL); in lyb_parse_attributes()
H A Dprinter_info.c257 info_print_type_detail_(struct lyout *out, const struct lys_type *type, int uni) in info_print_type_detail_()
260 struct lys_type *orig; in info_print_type_detail_()
303 for (orig = (struct lys_type *)type; !orig->info.enums.count; orig = &orig->der->type); in info_print_type_detail_()
415 info_print_type_detail(struct lyout *out, const struct lys_type *type, int * UNUSED(first)) in info_print_type_detail()
H A Dresolve.c3270 resolve_superior_type_check(struct lys_type *type) in resolve_superior_type_check()
4040 check_leafref_features(struct lys_type *type) in check_leafref_features()
5778 struct lys_type *type, struct unres_schema *unres) in resolve_base_ident()
6913 check_type_union_leafref(struct lys_type *type) in check_type_union_leafref()
6982 struct lys_type *stype; in resolve_unres_schema_item()
7341 ((struct lys_type *)item)->info.lref.path); in print_unres_schema_item_fail()
7346 xml = (struct lyxml_elem *)((struct lys_type *)item)->der; in print_unres_schema_item_fail()
7683 struct lys_type *stype; in unres_schema_add_node()
7891 ((struct lys_type *)unres->item[i])->base = yang->base; in unres_schema_free_item()
8195 struct lys_type **resolved_type) in resolve_union()
[all …]
H A Dprinter_lyb.c693 lyb_print_value(const struct lys_type *type, const char *value_str, lyd_val value, LY_DATA_TYPE val… in lyb_print_value()
835 struct lys_type **type; in lyb_print_attributes()
872 … type = (struct lys_type **)lys_ext_complex_get_substmt(LY_STMT_TYPE, iter->annotation, NULL); in lyb_print_attributes()
/dports/net/libyang/libyang-1.0.240/src/extensions/
H A Dmetadata.c66 struct lys_type *type; in annotation_final_check()
71 …type = *(struct lys_type**)lys_ext_complex_get_substmt(LY_STMT_TYPE, (struct lys_ext_instance_comp… in annotation_final_check()
H A Dyangdata.c105 void remove_iffeature_type(struct lys_type *type, struct ly_ctx *ctx) { in remove_iffeature_type()
/dports/net/libyang/libyang-1.0.240/swig/cpp/src/
H A DTree_Data.cpp33 Value::Value(lyd_val value, LY_DATA_TYPE* value_type, uint8_t value_flags, struct lys_type *type, S… in Value()
564 struct lys_type *type = (struct lys_type *)lyd_leaf_type(leaf); in value()
578 const struct lys_type *type = lyd_leaf_type((const struct lyd_node_leaf_list *) node); in leaf_type()
583 return std::make_shared<Type>((struct lys_type *) type, deleter); in leaf_type()
608 …struct lys_type *type = *((struct lys_type **)lys_ext_complex_get_substmt(LY_STMT_TYPE, attr->anno… in value()
H A DTree_Data.hpp54 …Value(lyd_val value, LY_DATA_TYPE* value_type, uint8_t value_flags, struct lys_type *type, S_Delet…
95 struct lys_type *type;
/dports/devel/cppcheck/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-19334/
H A Dparser.c309 struct lys_type **type; in lyp_add_ietf_netconf_annotations_config()
329 *type = calloc(1, sizeof(struct lys_type)); in lyp_add_ietf_netconf_annotations_config()
361 *type = calloc(1, sizeof(struct lys_type)); in lyp_add_ietf_netconf_annotations_config()
401 *type = calloc(1, sizeof(struct lys_type)); in lyp_add_ietf_netconf_annotations_config()
512 struct lys_type *cur_type; in validate_length_range()
1207 struct lys_type *
1212 struct lys_type *ret = NULL, *t; in lyp_parse_value()
1997 struct lys_type *
1998 lyp_get_next_union_type(struct lys_type *type, struct lys_type *prev_type, int *found) in lyp_get_next_union_type()
2001 struct lys_type *ret = NULL; in lyp_get_next_union_type()
[all …]
/dports/devel/cppcheck-gui/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-19334/
H A Dparser.c309 struct lys_type **type; in lyp_add_ietf_netconf_annotations_config()
329 *type = calloc(1, sizeof(struct lys_type)); in lyp_add_ietf_netconf_annotations_config()
361 *type = calloc(1, sizeof(struct lys_type)); in lyp_add_ietf_netconf_annotations_config()
401 *type = calloc(1, sizeof(struct lys_type)); in lyp_add_ietf_netconf_annotations_config()
512 struct lys_type *cur_type; in validate_length_range()
1207 struct lys_type *
1212 struct lys_type *ret = NULL, *t; in lyp_parse_value()
1997 struct lys_type *
1998 lyp_get_next_union_type(struct lys_type *type, struct lys_type *prev_type, int *found) in lyp_get_next_union_type()
2001 struct lys_type *ret = NULL; in lyp_get_next_union_type()
[all …]
/dports/net/frr7/frr-frr-7.5.1/lib/
H A Dyang.h303 extern const struct lys_type *yang_snode_get_type(const struct lys_node *snode);
H A Dyang.c363 const struct lys_type *yang_snode_get_type(const struct lys_node *snode) in yang_snode_get_type()
366 struct lys_type *type; in yang_snode_get_type()
/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/
H A Dyang.h303 extern const struct lys_type *yang_snode_get_type(const struct lys_node *snode);
H A Dyang.c363 const struct lys_type *yang_snode_get_type(const struct lys_node *snode) in yang_snode_get_type()
366 struct lys_type *type; in yang_snode_get_type()
/dports/net/libyang/libyang-1.0.240/tests/perf/
H A Dsizes.c26 fprintf(stdout, "%8lu struct lys_type\n", x = sizeof(struct lys_type)); suma += x; in main()

12