Home
last modified time | relevance | path

Searched refs:ucl_object_t (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-12.1/contrib/libucl/include/
H A Ducl.h238 } ucl_object_t; typedef
306 UCL_EXTERN ucl_object_t * ucl_object_copy (const ucl_object_t *other)
501 UCL_EXTERN ucl_object_t* ucl_array_delete (ucl_object_t *top,
525 UCL_EXTERN ucl_object_t* ucl_array_pop_last (ucl_object_t *top);
534 UCL_EXTERN ucl_object_t* ucl_array_pop_first (ucl_object_t *top);
563 ucl_object_t *
564 ucl_array_replace_index (ucl_object_t *top, ucl_object_t *elt,
573 UCL_EXTERN ucl_object_t * ucl_elt_append (ucl_object_t *head,
737 UCL_EXTERN ucl_object_t* ucl_object_ref (const ucl_object_t *obj);
783 int (*cmp)(const ucl_object_t **o1, const ucl_object_t **o2));
[all …]
H A Dlua_ucl.h55 UCL_EXTERN ucl_object_t* ucl_object_lua_import (lua_State *L, int idx);
64 const ucl_object_t *obj, bool allow_array);
67 const ucl_object_t *obj);
H A Ducl++.h48 void operator() (ucl_object_t *obj) { in operator()
168 std::unique_ptr<ucl_object_t, ucl_deleter> obj;
251 Ucl(ucl_object_t *other) { in Ucl()
256 Ucl(const ucl_object_t *other) { in Ucl()
/freebsd-12.1/contrib/libucl/src/
H A Ducl_util.c462 ucl_object_t*
2277 ucl_object_t*
2296 ucl_object_t*
2683 ucl_object_t*
2716 ucl_object_t*
2756 ucl_object_t*
2771 ucl_array_append (ucl_object_t *top, ucl_object_t *elt)
2798 ucl_array_prepend (ucl_object_t *top, ucl_object_t *elt)
2859 ucl_array_delete (ucl_object_t *top, ucl_object_t *elt)
2985 ucl_elt_append (ucl_object_t *head, ucl_object_t *elt)
[all …]
H A Ducl_schema.c46 const ucl_object_t *root,
47 ucl_object_t *ext_ref);
71 static const ucl_object_t *
77 const ucl_object_t *elt; in ucl_schema_test_pattern()
104 const ucl_object_t *root, in ucl_schema_validate_dependencies()
105 ucl_object_t *ext_ref) in ucl_schema_validate_dependencies()
143 ucl_object_t *ext_ref) in ucl_schema_validate_object()
474 ucl_object_t *ext_ref) in ucl_schema_validate_array()
592 ucl_schema_type_is_allowed (const ucl_object_t *type, const ucl_object_t *obj, in ucl_schema_type_is_allowed()
648 ucl_schema_validate_enum (const ucl_object_t *en, const ucl_object_t *obj, in ucl_schema_validate_enum()
[all …]
H A Ducl_internal.h160 ucl_object_t *obj;
204 ucl_object_t *top_obj;
205 ucl_object_t *cur_obj;
206 ucl_object_t *trash_objs;
207 ucl_object_t *includepaths;
216 ucl_object_t *comments;
222 ucl_object_t obj;
297 const ucl_object_t *args, const ucl_object_t *ctx, void* ud);
405 const ucl_object_t *obj,
410 const ucl_object_t *obj, in ucl_hash_insert_object()
[all …]
H A Ducl_hash.c34 const ucl_object_t *obj;
40 kvec_t(const ucl_object_t *) ar;
109 ucl_hash_equal (const ucl_object_t *k1, const ucl_object_t *k2) in ucl_hash_equal()
177 ucl_hash_caseless_equal (const ucl_object_t *k1, const ucl_object_t *k2) in ucl_hash_caseless_equal()
213 const ucl_object_t *cur, *tmp; in ucl_hash_destroy()
289 const ucl_object_t *new) in ucl_hash_replace()
330 const ucl_object_t **cur;
331 const ucl_object_t **end;
338 const ucl_object_t *ret = NULL; in ucl_hash_iterate()
378 const ucl_object_t*
[all …]
H A Ducl_emitter.c54 const ucl_object_t *obj); \
56 const ucl_object_t *obj)
111 const ucl_object_t *obj, bool compact) in ucl_emitter_print_key()
253 const ucl_object_t *cur; in ucl_emitter_common_start_array()
300 const ucl_object_t *cur, *elt; in ucl_emitter_common_start_object()
493 const ucl_object_t *obj) { \
497 const ucl_object_t *obj) { \
513 const ucl_object_t *cur, *celt; in UCL_EMIT_TYPE_IMPL()
610 const ucl_object_t *obj) in ucl_emit_msgpack_end_object()
617 const ucl_object_t *obj) in ucl_emit_msgpack_end_array()
[all …]
H A Ducl_hash.h59 void ucl_hash_insert (ucl_hash_t* hashlin, const ucl_object_t *obj, const char *key,
65 void ucl_hash_replace (ucl_hash_t* hashlin, const ucl_object_t *old,
66 const ucl_object_t *new);
71 void ucl_hash_delete (ucl_hash_t* hashlin, const ucl_object_t *obj);
76 const ucl_object_t* ucl_hash_search (ucl_hash_t* hashlin, const char *key,
H A Ducl_emitter_streamline.c35 const ucl_object_t *obj;
52 const ucl_object_t *top;
54 const ucl_object_t *comments;
63 ucl_object_emit_streamline_new (const ucl_object_t *obj, in ucl_object_emit_streamline_new()
92 const ucl_object_t *obj) in ucl_object_emit_streamline_start_container()
125 struct ucl_emitter_context *ctx, const ucl_object_t *obj) in ucl_object_emit_streamline_add_object()
H A Ducl_parser.c95 ucl_object_t *nobj; in ucl_save_comment()
629 static inline ucl_object_t *
1045 ucl_object_t *top, in ucl_parser_append_elt()
1046 ucl_object_t *elt) in ucl_parser_append_elt()
1048 ucl_object_t *nobj; in ucl_parser_append_elt()
1078 ucl_object_t *tobj; in ucl_parser_process_object_element()
1196 ucl_object_t *nobj; in ucl_parse_key()
1527 static inline ucl_object_t*
1567 ucl_object_t *obj = NULL; in ucl_parse_value()
2039 static ucl_object_t *
[all …]
H A Ducl_msgpack.c294 const ucl_object_t *obj) in ucl_emitter_print_key_msgpack()
844 size_t keylen, ucl_object_t *obj) in ucl_msgpack_insert_object()
1323 ucl_object_t *container = NULL; in ucl_parse_msgpack()
1384 ucl_object_t *obj; in ucl_msgpack_parse_string()
1421 ucl_object_t *obj; in ucl_msgpack_parse_int()
1506 ucl_object_t *obj; in ucl_msgpack_parse_float()
1548 ucl_object_t *obj; in ucl_msgpack_parse_bool()
1578 ucl_object_t *obj; in ucl_msgpack_parse_null()
/freebsd-12.1/contrib/libucl/tests/
H A Dtest_msgpack.c203 static ucl_object_t*
206 ucl_object_t *res; in ucl_test_integer()
249 static ucl_object_t*
302 static ucl_object_t*
305 ucl_object_t *res; in ucl_test_boolean()
318 static ucl_object_t*
364 static ucl_object_t*
390 static ucl_object_t*
425 static ucl_object_t*
447 static ucl_object_t*
[all …]
H A Dtest_schema.c65 perform_test (const ucl_object_t *schema, const ucl_object_t *obj, in perform_test()
68 const ucl_object_t *valid, *data, *description; in perform_test()
95 perform_tests (const ucl_object_t *obj) in perform_tests()
99 const ucl_object_t *schema, *tests, *description, *test; in perform_tests()
133 ucl_object_t *obj = NULL; in main()
134 const ucl_object_t *elt; in main()
H A Dtest_streamline.c32 ucl_object_t *obj, *cur, *ar; in main()
H A Dtest_generate.c44 ucl_object_t *obj, *cur, *ar, *ar1, *ref, *test_obj, *comments; in main()
46 const ucl_object_t *found, *it_obj, *test; in main()
H A Dtest_speed.c64 ucl_object_t *obj; in main()
/freebsd-12.1/contrib/libucl/lua/
H A Dlua_ucl.c291 static ucl_object_t *
445 ucl_object_t *
448 ucl_object_t *obj; in ucl_object_lua_import()
642 ucl_object_t *obj; in lua_ucl_parser_get_object()
670 ucl_object_t *obj; in lua_ucl_parser_get_object_wrapped()
778 ucl_object_t *obj; in lua_ucl_object_unwrap()
830 ucl_object_t *obj; in lua_ucl_object_tostring()
954 ucl_object_t *obj; in lua_ucl_object_gc()
1027 ucl_object_t *obj; in lua_ucl_to_json()
1051 ucl_object_t *obj; in lua_ucl_to_config()
[all …]
/freebsd-12.1/usr.sbin/ctld/
H A Duclparse.c47 static int uclparse_toplevel(const ucl_object_t *);
61 const ucl_object_t *user, *secret; in uclparse_chap()
90 const ucl_object_t *user, *secret, *mutual_user; in uclparse_chap_mutual()
91 const ucl_object_t *mutual_secret; in uclparse_chap_mutual()
139 const ucl_object_t *portal_group, *auth_group; in uclparse_target_portal_group()
243 uclparse_toplevel(const ucl_object_t *top) in uclparse_toplevel()
246 const ucl_object_t *obj = NULL, *child = NULL; in uclparse_toplevel()
396 const ucl_object_t *obj = NULL, *tmp = NULL; in uclparse_auth_group()
497 const ucl_object_t *obj = NULL, *tmp = NULL; in uclparse_portal_group()
620 const ucl_object_t *obj = NULL, *tmp = NULL; in uclparse_target()
[all …]
/freebsd-12.1/usr.sbin/iovctl/
H A Dparse.c61 add_bool_config(const char *key, const ucl_object_t *obj, nvlist_t *config) in add_bool_config()
91 add_uint_config(const char *key, const ucl_object_t *obj, nvlist_t *config, in add_uint_config()
171 add_config(const char *key, const ucl_object_t *obj, nvlist_t *config, in add_config()
202 parse_device_config(const ucl_object_t *top, nvlist_t *config, in parse_device_config()
206 const ucl_object_t *obj; in parse_device_config()
260 ucl_object_t *top; in parse_config_file()
261 const ucl_object_t *obj; in parse_config_file()
337 find_pf_device(const ucl_object_t *pf) in find_pf_device()
340 const ucl_object_t *obj; in find_pf_device()
375 ucl_object_t *top; in find_device()
[all …]
/freebsd-12.1/contrib/libucl/python/src/
H A Duclmodule.c8 _basic_ucl_type (ucl_object_t const *obj) in _basic_ucl_type()
28 _iterate_valid_ucl (ucl_object_t const *obj) in _iterate_valid_ucl()
30 const ucl_object_t *tmp; in _iterate_valid_ucl()
47 const ucl_object_t *cur; in _iterate_valid_ucl()
57 const ucl_object_t *cur; in _iterate_valid_ucl()
126 static ucl_object_t *
147 ucl_object_t *ucl_str; in _iterate_python()
161 ucl_object_t *top, *elm; in _iterate_python()
192 ucl_object_t *top, *elm; in _iterate_python()
218 ucl_object_t *root = NULL; in ucl_dump()
[all …]
/freebsd-12.1/contrib/libucl/utils/
H A Dobjdump.c31 ucl_obj_dump (const ucl_object_t *obj, unsigned int shift) in ucl_obj_dump()
35 const ucl_object_t *cur, *tmp; in ucl_obj_dump()
106 ucl_object_t *obj = NULL; in main()
107 const ucl_object_t *par; in main()
H A Ducl-tool.c58 ucl_object_t *obj = NULL; in main()
137 ucl_object_t *schema_obj = NULL; in main()
/freebsd-12.1/usr.sbin/pkg/
H A Dconfig.c205 config_parse(const ucl_object_t *obj, pkg_conf_file_t conftype) in config_parse()
208 const ucl_object_t *cur, *seq; in config_parse()
325 parse_repo_file(ucl_object_t *obj) in parse_repo_file()
328 const ucl_object_t *cur; in parse_repo_file()
349 ucl_object_t *obj = NULL; in read_conf_file()
/freebsd-12.1/contrib/libucl/doc/
H A Dapi.md156 ucl_object_t* ucl_parser_get_object (struct ucl_parser *parser);
216 ucl_object_t *obj = NULL;
325 ucl_object_t * ucl_object_new (void)
332 ucl_object_t * ucl_object_typed_new (unsigned int type)
360 ucl_object_t * ucl_object_fromstring_common (const char *str,
386 const ucl_object_t* ucl_iterate_object (const ucl_object_t *obj,
394 const ucl_object_t *cur, *tmp;
443 const ucl_object_t *cur;
467 bool ucl_object_validate (const ucl_object_t *schema,
468 const ucl_object_t *obj, struct ucl_schema_error *err);
[all …]

12