Home
last modified time | relevance | path

Searched refs:UCL_OBJECT (Results 1 – 19 of 19) sorted by relevance

/freebsd-12.1/contrib/libucl/src/
H A Ducl_schema.c127 else if (cur->type == UCL_OBJECT) { in ucl_schema_validate_dependencies()
152 if (elt->type == UCL_OBJECT && in ucl_schema_validate_object()
170 else if (elt->type == UCL_OBJECT) { in ucl_schema_validate_object()
227 else if (elt->type == UCL_OBJECT && in ucl_schema_validate_object()
499 else if (elt->type == UCL_OBJECT) { in ucl_schema_validate_array()
520 else if (elt->type == UCL_OBJECT) { in ucl_schema_validate_array()
683 if (cur->type == UCL_OBJECT) { in ucl_schema_resolve_ref_component()
859 if (res == NULL || res->type != UCL_OBJECT) { in ucl_schema_resolve_ref()
926 if (schema->type != UCL_OBJECT) { in ucl_schema_validate()
1003 if (elt != NULL && elt->type == UCL_OBJECT) { in ucl_schema_validate()
[all …]
H A Ducl_util.c241 else if (obj->type == UCL_OBJECT) {
2158 if (top->type != UCL_OBJECT) {
2161 top->type = UCL_OBJECT;
2215 if (found->type != UCL_OBJECT && elt->type == UCL_OBJECT) {
2222 else if (found->type == UCL_OBJECT && elt->type != UCL_OBJECT) {
2227 else if (found->type == UCL_OBJECT && elt->type == UCL_OBJECT) {
2329 if (top == NULL || top->type != UCL_OBJECT || elt == NULL || elt->type != UCL_OBJECT) {
2429 case UCL_OBJECT:
3345 case UCL_OBJECT:
3421 *res = UCL_OBJECT;
[all …]
H A Ducl_emitter.c127 if (obj->type != UCL_OBJECT && obj->type != UCL_ARRAY) { in ucl_emitter_print_key()
171 if (obj->type != UCL_OBJECT && obj->type != UCL_ARRAY) { in ucl_emitter_finish_object()
440 case UCL_OBJECT: in ucl_emitter_common_elt()
549 case UCL_OBJECT: in UCL_EMIT_TYPE_IMPL()
H A Ducl_msgpack.c858 else if (container->obj->type == UCL_OBJECT) { in ucl_msgpack_insert_object()
913 …fprintf(stderr, "-%s -> %d\n", parser->cur_obj->type == UCL_OBJECT ? "object" : "array", (int)pars… in ucl_msgpack_get_next_container()
953 next_state = container->obj->type == UCL_OBJECT ? \
1078 parser->cur_obj = ucl_object_new_full (UCL_OBJECT, in ucl_msgpack_consume()
1256 state == start_array ? UCL_ARRAY : UCL_OBJECT, in ucl_msgpack_consume()
H A Ducl_parser.c637 obj = ucl_object_new_full (UCL_OBJECT, parser->chunks->priority); in ucl_parser_add_container()
640 obj->type = UCL_OBJECT; in ucl_parser_add_container()
1149 if (tobj->type == UCL_OBJECT || tobj->type == UCL_ARRAY) { in ucl_parser_process_object_element()
1790 if ((*p == '}' && parser->stack->obj->type == UCL_OBJECT) || in ucl_parse_after_value()
2249 if (next_key && parser->stack->obj->type == UCL_OBJECT) { in ucl_state_machine()
2284 if (parser->stack->obj->type == UCL_OBJECT) { in ucl_state_machine()
2469 parser->comments = ucl_object_typed_new (UCL_OBJECT); in ucl_parser_new()
2672 parser->top_obj = ucl_object_new_full (UCL_OBJECT, priority); in ucl_parser_add_chunk_full()
H A Ducl_emitter_utils.c448 case UCL_OBJECT: in ucl_object_emit_single_json()
/freebsd-12.1/usr.sbin/ctld/
H A Duclparse.c210 if (obj->type == UCL_OBJECT) { in uclparse_target_lun()
330 if (obj->type == UCL_OBJECT) { in uclparse_toplevel()
342 if (obj->type == UCL_OBJECT) { in uclparse_toplevel()
354 if (obj->type == UCL_OBJECT) { in uclparse_toplevel()
372 if (obj->type == UCL_OBJECT) { in uclparse_toplevel()
597 if (obj->type != UCL_OBJECT) { in uclparse_portal_group()
742 if (obj->type == UCL_OBJECT) { in uclparse_target()
865 if (obj->type != UCL_OBJECT) { in uclparse_lun()
/freebsd-12.1/contrib/libucl/tests/
H A Dtest_generate.c71 obj = ucl_object_typed_new (UCL_OBJECT); in main()
182 test_obj = ucl_object_new_full (UCL_OBJECT, 2); in main()
205 comments = ucl_object_typed_new (UCL_OBJECT); in main()
H A Dtest_msgpack.c138 obj = ucl_object_typed_new (UCL_OBJECT); in main()
327 res = ucl_object_typed_new (UCL_OBJECT); in ucl_test_map()
373 res = ucl_object_typed_new (UCL_OBJECT); in ucl_test_large_map()
H A Dtest_streamline.c55 obj = ucl_object_typed_new (UCL_OBJECT); in main()
H A Dtest_schema.c101 if (obj->type != UCL_OBJECT) { in perform_tests()
/freebsd-12.1/contrib/libucl/python/src/
H A Duclmodule.c46 if (obj->type == UCL_OBJECT) { in _iterate_valid_ucl()
164 top = ucl_object_typed_new (UCL_OBJECT); in _iterate_python()
/freebsd-12.1/usr.sbin/pkg/
H A Dconfig.c337 if (cur->type != UCL_OBJECT) in parse_repo_file()
363 if (obj->type != UCL_OBJECT) in read_conf_file()
H A Dpkg.c350 if (obj->type == UCL_OBJECT) in load_fingerprint()
/freebsd-12.1/contrib/libucl/lua/
H A Dlua_ucl.c276 case UCL_OBJECT: in ucl_object_push_lua()
347 top = ucl_object_typed_new (UCL_OBJECT); in ucl_object_lua_fromtable()
877 if (schema && obj && ucl_object_type (schema) == UCL_OBJECT) { in lua_ucl_object_validate()
/freebsd-12.1/contrib/libucl/utils/
H A Dobjdump.c53 if (obj->type == UCL_OBJECT) { in ucl_obj_dump()
/freebsd-12.1/contrib/libucl/include/
H A Ducl++.h304 obj.reset (ucl_object_typed_new (UCL_OBJECT)); in Ucl()
398 if (type () == UCL_OBJECT) { in lookup()
H A Ducl.h121 UCL_OBJECT = 0, /**< UCL object - key/value pairs */ enumerator
/freebsd-12.1/contrib/libucl/doc/
H A Dapi.md336 - `UCL_OBJECT` - UCL object - key/value pairs
390 …f iteration over the objects using libucl API (assuming that `top` is `UCL_OBJECT` in this example…