Home
last modified time | relevance | path

Searched refs:LYD_FORMAT (Results 1 – 22 of 22) sorted by relevance

/dports/net/libyang/libyang-1.0.240/src/
H A Dtree_data.h45 } LYD_FORMAT; typedef
585 struct lyd_node *lyd_parse_mem(struct ly_ctx *ctx, const char *data, LYD_FORMAT format, int options…
625 struct lyd_node *lyd_parse_fd(struct ly_ctx *ctx, int fd, LYD_FORMAT format, int options, ...);
663 struct lyd_node *lyd_parse_path(struct ly_ctx *ctx, const char *path, LYD_FORMAT format, int option…
1444 int lyd_print_mem(char **strp, const struct lyd_node *root, LYD_FORMAT format, int options);
1456 int lyd_print_fd(int fd, const struct lyd_node *root, LYD_FORMAT format, int options);
1468 int lyd_print_file(FILE *f, const struct lyd_node *root, LYD_FORMAT format, int options);
1480 int lyd_print_path(const char *path, const struct lyd_node *root, LYD_FORMAT format, int options);
1494 const struct lyd_node *root, LYD_FORMAT format, int options);
H A Dprinter.c706 lyd_print_(struct lyout *out, const struct lyd_node *root, LYD_FORMAT format, int options) in lyd_print_()
722 lyd_print_file(FILE *f, const struct lyd_node *root, LYD_FORMAT format, int options) in lyd_print_file()
744 lyd_print_path(const char *path, const struct lyd_node *root, LYD_FORMAT format, int options) in lyd_print_path()
767 lyd_print_fd(int fd, const struct lyd_node *root, LYD_FORMAT format, int options) in lyd_print_fd()
789 lyd_print_mem(char **strp, const struct lyd_node *root, LYD_FORMAT format, int options) in lyd_print_mem()
812 LYD_FORMAT format, int options) in lyd_print_clb()
H A Dcontext.c221 ly_ctx_new_yl_common(const char *search_dir, const char *input, LYD_FORMAT format, int options, in ly_ctx_new_yl_common() argument
222 … struct lyd_node* (*parser_func)(struct ly_ctx*, const char*, LYD_FORMAT, int,...)) in ly_ctx_new_yl_common()
313 ly_ctx_new_ylpath(const char *search_dir, const char *path, LYD_FORMAT format, int options) in ly_ctx_new_ylpath()
321 ly_ctx_new_ylmem(const char *search_dir, const char *data, LYD_FORMAT format, int options) in ly_ctx_new_ylmem()
H A Dtree_data.c931 lyd_parse_(struct ly_ctx *ctx, const struct lyd_node *rpc_act, const char *data, LYD_FORMAT format,… in lyd_parse_()
992 lyd_parse_data_(struct ly_ctx *ctx, const char *data, LYD_FORMAT format, int options, va_list ap) in lyd_parse_data_()
1043 lyd_parse_mem(struct ly_ctx *ctx, const char *data, LYD_FORMAT format, int options, ...) in lyd_parse_mem()
1058 lyd_parse_fd_(struct ly_ctx *ctx, int fd, LYD_FORMAT format, int options, va_list ap) in lyd_parse_fd_()
1082 lyd_parse_fd(struct ly_ctx *ctx, int fd, LYD_FORMAT format, int options, ...) in lyd_parse_fd()
1097 lyd_parse_path(struct ly_ctx *ctx, const char *path, LYD_FORMAT format, int options, ...) in lyd_parse_path()
H A Dlibyang.h.in1197 struct ly_ctx *ly_ctx_new_ylpath(const char *search_dir, const char *path, LYD_FORMAT format, int o…
1225 struct ly_ctx *ly_ctx_new_ylmem(const char *search_dir, const char *data, LYD_FORMAT format, int op…
/dports/net/libyang/libyang-1.0.240/swig/cpp/src/
H A DLibyang.hpp51 Context(const char *search_dir, const char *path, LYD_FORMAT format, int options = 0);
53 Context(const char *search_dir, LYD_FORMAT format, const char *data, int options = 0);
120 S_Data_Node parse_data_mem(const char *data, LYD_FORMAT format, int options = 0);
122 S_Data_Node parse_data_fd(int fd, LYD_FORMAT format, int options = 0);
124 S_Data_Node parse_data_path(const char *path, LYD_FORMAT format, int options = 0);
H A DLibyang.cpp46 Context::Context(const char *search_dir, const char *path, LYD_FORMAT format, int options) { in Context()
53 Context::Context(const char *search_dir, LYD_FORMAT format, const char *data, int options) { in Context()
191 S_Data_Node Context::parse_data_mem(const char *data, LYD_FORMAT format, int options) { in parse_data_mem()
203 S_Data_Node Context::parse_data_fd(int fd, LYD_FORMAT format, int options) { in parse_data_fd()
252 S_Data_Node Context::parse_data_path(const char *path, LYD_FORMAT format, int options) { in parse_data_path()
H A DTree_Data.hpp202 std::string print_mem(LYD_FORMAT format, int options);
H A DTree_Data.cpp510 std::string Data_Node::print_mem(LYD_FORMAT format, int options) { in print_mem()
/dports/net/libyang/libyang-1.0.240/swig/java/examples/
H A DXpath.java6 import static org.cesnet.LYD_FORMAT.LYD_XML;
H A DProcessTree.java8 import static org.cesnet.LYD_FORMAT.LYD_XML;
/dports/net/libyang/libyang-1.0.240/tools/lint/
H A Dcommands.c504 static LYD_FORMAT
524 parse_data(char *filepath, LYD_FORMAT informat, int *options, struct lyd_node *val_tree, const char… in parse_data()
665 LYD_FORMAT outformat = LYD_UNKNOWN, informat = LYD_UNKNOWN; in cmd_data()
853 LYD_FORMAT informat = LYD_UNKNOWN; in cmd_xpath()
1036 print_list(FILE *out, struct ly_ctx *ctx, LYD_FORMAT outformat) in print_list()
1101 LYD_FORMAT outformat = LYD_UNKNOWN; in cmd_list()
1350 LYD_FORMAT format; in cmd_clear()
H A Dmain_ni.c33 int print_list(FILE *out, struct ly_ctx *ctx, LYD_FORMAT outformat);
201 get_fileformat(const char *filename, LYS_INFORMAT *schema, LYD_FORMAT *data) in get_fileformat()
205 LYD_FORMAT informat_d; in get_fileformat()
285 LYD_FORMAT informat_d, outformat_d = 0, ylformat = 0; in main_ni()
298 LYD_FORMAT format; in main_ni()
/dports/net/libyang/libyang-1.0.240/tests/data/
H A Dtest_data_initialization.c39 LYD_FORMAT in_format; in generic_init()
/dports/net/libyang/libyang-1.0.240/swig/java/tests/
H A DTreeDataTest.java4 import static org.cesnet.LYD_FORMAT.LYD_JSON;
5 import static org.cesnet.LYD_FORMAT.LYD_XML;
H A DLibyangTest.java3 import static org.cesnet.LYD_FORMAT.LYD_XML;
/dports/net/libyang/libyang-1.0.240/tests/api/
H A Dtest_tree_data.c176 LYD_FORMAT in_format; in generic_init()
319 LYD_FORMAT in_format = LYD_XML; in test_lyd_parse_mem()
360 LYD_FORMAT in_format = LYD_XML; in test_lyd_parse_fd()
411 LYD_FORMAT in_format = LYD_XML; in test_lyd_parse_path()
/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/
H A Dnorthbound_grpc.cpp1096 static LYD_FORMAT encoding2lyd_format(enum frr::Encoding encoding) in encoding2lyd_format()
1136 LYD_FORMAT lyd_format, in data_tree_from_dnode()
1205 int type, LYD_FORMAT lyd_format, in get_path()
H A Dnorthbound_cli.c631 static int nb_cli_show_config_libyang(struct vty *vty, LYD_FORMAT format, in nb_cli_show_config_libyang()
1446 LYD_FORMAT format;
/dports/net/frr7/frr-frr-7.5.1/lib/
H A Dnorthbound_grpc.cpp1096 static LYD_FORMAT encoding2lyd_format(enum frr::Encoding encoding) in encoding2lyd_format()
1136 LYD_FORMAT lyd_format, in data_tree_from_dnode()
1205 int type, LYD_FORMAT lyd_format, in get_path()
H A Dnorthbound_cli.c631 static int nb_cli_show_config_libyang(struct vty *vty, LYD_FORMAT format, in nb_cli_show_config_libyang()
1446 LYD_FORMAT format;
/dports/net/libyang/libyang-1.0.240/
H A Dlibyang.dump3081 'Name' => 'enum LYD_FORMAT',