/dports/net/libyang/libyang-1.0.240/src/ |
H A D | xml.h | 61 struct lyxml_elem *parent; /**< parent node of the attribute */ 92 struct lyxml_elem { struct 97 struct lyxml_elem *parent; /**< parent node */ argument 99 struct lyxml_elem *child; /**< first children element */ argument 100 struct lyxml_elem *next; /**< next sibling node */ argument 101 struct lyxml_elem *prev; /**< previous sibling node */ argument 219 int lyxml_print_fd(int fd, const struct lyxml_elem *elem, int options); 259 struct lyxml_elem *lyxml_dup(struct ly_ctx *ctx, struct lyxml_elem *root); 268 void lyxml_free(struct ly_ctx *ctx, struct lyxml_elem *elem); 278 void lyxml_free_withsiblings(struct ly_ctx *ctx, struct lyxml_elem *elem); [all …]
|
H A D | xml_internal.h | 61 int lyxml_add_child(struct ly_ctx *ctx, struct lyxml_elem *parent, struct lyxml_elem *child); 64 void lyxml_correct_elem_ns(struct ly_ctx *ctx, struct lyxml_elem *elem, struct lyxml_elem *orig, in… 67 struct lyxml_elem *lyxml_dup_elem(struct ly_ctx *ctx, struct lyxml_elem *elem, 68 struct lyxml_elem *parent, int recursive, int with_siblings); 78 void lyxml_free_attr(struct ly_ctx *ctx, struct lyxml_elem *parent, struct lyxml_attr *attr); 86 void lyxml_free_attrs(struct ly_ctx *ctx, struct lyxml_elem *elem); 110 void lyxml_unlink_elem(struct ly_ctx *ctx, struct lyxml_elem *elem, int copy_ns);
|
H A D | xml.c | 158 lyxml_correct_content_ns(struct ly_ctx *ctx, struct lyxml_elem *elem, struct lyxml_elem *orig) in lyxml_correct_content_ns() 255 struct lyxml_elem * 310 API struct lyxml_elem * 450 struct lyxml_elem *e, *next; in lyxml_free_elem() 483 struct lyxml_elem *iter, *aux; in lyxml_free_withsiblings() 527 lyxml_add_child(struct ly_ctx *ctx, struct lyxml_elem *parent, struct lyxml_elem *elem) in lyxml_add_child() 529 struct lyxml_elem *e; in lyxml_add_child() 945 struct lyxml_elem * 1246 API struct lyxml_elem * 1337 API struct lyxml_elem * [all …]
|
H A D | parser.h | 88 … struct lys_module *module, struct lyxml_elem *yin, struct lys_ext_instance ***ext, 92 struct lyxml_elem *yin, struct unres_schema *unres); 94 … struct lyxml_elem *yin, LYEXT_SUBSTMT type, uint8_t i, struct unres_schema *unres); 100 … const char *attr_name, const char *attr_value, struct lyxml_elem *xml, struct lyd_attr **ret); 104 struct lys_type *lyp_parse_value(struct lys_type *type, const char **value_, struct lyxml_elem *xml, 113 int fill_yin_type(struct lys_module *module, struct lys_node *parent, struct lyxml_elem *yin, struc…
|
H A D | parser_yin.c | 145 struct lyxml_elem *next, *child; in lyp_yin_parse_subnode_ext() 204 struct lyxml_elem *node, *next; in fill_yin_iffeature() 260 struct lyxml_elem *node, *next; in fill_yin_identity() 364 struct lyxml_elem *child, *next; in read_restr_substmt() 1564 struct lyxml_elem *node, *next; in fill_yin_typedef() 3134 struct lyxml_elem *sub, *next; in fill_yin_augment() 3281 struct lyxml_elem *sub, *next; in fill_yin_refine() 3871 struct lyxml_elem *sub, *next; in read_yin_common() 4462 struct lyxml_elem *sub, *next; in read_yin_anydata() 7230 struct lyxml_elem *yin; in yin_read_submodule() [all …]
|
H A D | parser_xml.c | 33 xml_data_search_schemanode(struct lyxml_elem *xml, struct lys_node *start, int options) in xml_data_search_schemanode() 78 xml_get_value(struct lyd_node *node, struct lyxml_elem *xml, int editbits) in xml_get_value() 104 xml_parse_data(struct ly_ctx *ctx, struct lyxml_elem *xml, struct lyd_node *parent, struct lyd_node… in xml_parse_data() 115 struct lyxml_elem *child, *next; in xml_parse_data() 566 lyd_parse_xml(struct ly_ctx *ctx, struct lyxml_elem **root, int options, ...) in lyd_parse_xml() 575 struct lyxml_elem *xmlstart, *xmlelem, *xmlaux, *xmlfree = NULL; in lyd_parse_xml()
|
H A D | tree_data.h | 265 struct lyxml_elem *xml; /**< xml tree */ 711 struct lyd_node *lyd_parse_xml(struct ly_ctx *ctx, struct lyxml_elem **root, int options,...);
|
H A D | log.c | 608 name = ((struct lyxml_elem *)elem)->name; in ly_vlog_build_path() 609 … prefix = ((struct lyxml_elem *)elem)->ns ? ((struct lyxml_elem *)elem)->ns->prefix : NULL; in ly_vlog_build_path() 610 elem = ((struct lyxml_elem *)elem)->parent; in ly_vlog_build_path()
|
H A D | resolve.h | 66 struct lyxml_elem *yin; /**< YIN content of the extension instance */
|
H A D | common.c | 459 struct lyxml_elem *xml, int inst_id, int use_ctx_data_clb) in transform_xml2json_subexp() 578 transform_xml2json(struct ly_ctx *ctx, const char *expr, struct lyxml_elem *xml, int inst_id, int u… in transform_xml2json() 603 ly_path_xml2json(struct ly_ctx *ctx, const char *xml_path, struct lyxml_elem *xml) in ly_path_xml2json()
|
H A D | common.h.in | 215 LY_VLOG_XML, /* struct lyxml_elem* */ 354 const char *transform_xml2json(struct ly_ctx *ctx, const char *expr, struct lyxml_elem *xml, int in…
|
H A D | resolve.c | 4888 struct lyxml_elem *next_yin, *yin; in resolve_extension() 6984 struct lyxml_elem *yin; in resolve_unres_schema_item() 7025 yin = (struct lyxml_elem *)stype->der; in resolve_unres_schema_item() 7326 struct lyxml_elem *xml; in print_unres_schema_item_fail() 7346 xml = (struct lyxml_elem *)((struct lys_type *)item)->der; in print_unres_schema_item_fail() 7682 struct lyxml_elem *yin; in unres_schema_add_node() 7755 yin = (struct lyxml_elem *)((struct lys_type *)item)->der; in unres_schema_add_node() 7881 struct lyxml_elem *yin; in unres_schema_free_item() 7888 yin = (struct lyxml_elem *)((struct lys_type *)unres->item[i])->der; in unres_schema_free_item()
|
H A D | parser.c | 1168 ident_val_add_module_prefix(const char *value, const struct lyxml_elem *xml, struct ly_ctx *ctx) in ident_val_add_module_prefix() 1217 lyp_parse_value(struct lys_type *type, const char **value_, struct lyxml_elem *xml, in lyp_parse_value() 2065 … const char *attr_name, const char *attr_value, struct lyxml_elem *xml, struct lyd_attr **ret) in lyp_fill_attr()
|
/dports/net/libyang/libyang-1.0.240/tests/api/ |
H A D | test_xml.c | 180 struct lyxml_elem *xml = NULL; in test_lyxml_parse_mem() 193 struct lyxml_elem *xml = NULL; in test_lyxml_free() 206 struct lyxml_elem *xml = NULL; in test_lyxml_parse_path() 223 struct lyxml_elem *xml = NULL; in test_lyxml_print_fd() 280 struct lyxml_elem *xml = NULL; in test_lyxml_print_file() 347 struct lyxml_elem *xml = NULL; in test_lyxml_print_mem() 398 struct lyxml_elem *xml = NULL; in test_lyxml_print_clb() 434 struct lyxml_elem *xml = NULL; in test_lyxml_unlink() 453 struct lyxml_elem *xml = NULL; in test_lyxml_get_attr() 473 struct lyxml_elem *xml = NULL; in test_lyxml_get_ns() [all …]
|
H A D | test_tree_data.c | 452 struct lyxml_elem *root_xml = NULL; in test_lyd_parse_xml() 570 struct lyxml_elem *xml; in test_lyd_new_path()
|
H A D | test_libyang.c | 1442 struct lyxml_elem *xml = NULL; in test_ly_path_xml2json()
|
/dports/net/libyang/libyang-1.0.240/swig/cpp/src/ |
H A D | Xml.cpp | 45 Xml_Elem::Xml_Elem(S_Context context, struct lyxml_elem *elem, S_Deleter deleter): in Xml_Elem() 67 lyxml_print_mem(&data, (const struct lyxml_elem *) elem, options); in print_mem() 80 struct lyxml_elem *elem = nullptr; in tree_for() 90 struct lyxml_elem *elem = nullptr, *next = nullptr; in tree_dfs()
|
H A D | Xml.hpp | 90 Xml_Elem(S_Context context, struct lyxml_elem *elem, S_Deleter deleter); 138 struct lyxml_elem *elem;
|
H A D | Internal.hpp | 244 struct lyxml_elem *elem; 257 Deleter(S_Context context, struct lyxml_elem *elem, S_Deleter parent = nullptr);
|
H A D | Internal.cpp | 77 Deleter::Deleter(S_Context context, struct lyxml_elem *elem, S_Deleter parent): in Deleter()
|
/dports/net/libyang/libyang-1.0.240/tools/lint/ |
H A D | main_ni.c | 295 struct lyxml_elem *xml; in main_ni() 305 struct lyxml_elem *iter, *elem; in main_ni()
|
H A D | commands.c | 527 struct lyxml_elem *xml = NULL; in parse_data()
|
/dports/devel/cppcheck/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-19334/ |
H A D | parser.c | 1158 ident_val_add_module_prefix(const char *value, const struct lyxml_elem *xml, struct ly_ctx *ctx) in ident_val_add_module_prefix() 1208 lyp_parse_value(struct lys_type *type, const char **value_, struct lyxml_elem *xml, in lyp_parse_value() 2033 …const char *attr_name, const char *attr_value, struct lyxml_elem *xml, int options, struct lyd_att… in lyp_fill_attr()
|
/dports/devel/cppcheck-gui/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-19334/ |
H A D | parser.c | 1158 ident_val_add_module_prefix(const char *value, const struct lyxml_elem *xml, struct ly_ctx *ctx) in ident_val_add_module_prefix() 1208 lyp_parse_value(struct lys_type *type, const char **value_, struct lyxml_elem *xml, in lyp_parse_value() 2033 …const char *attr_name, const char *attr_value, struct lyxml_elem *xml, int options, struct lyd_att… in lyp_fill_attr()
|
/dports/net/libyang/libyang-1.0.240/ |
H A D | libyang.dump | 5260 'Name' => 'struct lyxml_elem', 5267 'Name' => 'struct lyxml_elem*',
|