Home
last modified time | relevance | path

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

/freebsd/usr.sbin/ctld/
H A Duclparse.c202 if (obj->type != UCL_OBJECT) { in uclparse_target_portal_group()
254 if (obj->type != UCL_OBJECT) { in uclparse_target_lun()
376 if (obj->type == UCL_OBJECT) { in uclparse_toplevel()
390 if (obj->type == UCL_OBJECT) { in uclparse_toplevel()
404 if (obj->type == UCL_OBJECT) { in uclparse_toplevel()
424 if (obj->type == UCL_OBJECT) { in uclparse_toplevel()
463 if (obj->type == UCL_OBJECT) { in uclparse_auth_group()
482 if (obj->type == UCL_OBJECT) { in uclparse_auth_group()
749 if (obj->type != UCL_OBJECT) { in uclparse_portal_group()
840 if (obj->type == UCL_OBJECT) { in uclparse_target()
[all …]
/freebsd/contrib/libucl/tests/fuzzers/
H A Ducl_msgpack_fuzzer.c19 ucl_object_t *obj = ucl_object_new_full (UCL_OBJECT, 2); in LLVMFuzzerTestOneInput()
20 obj->type = UCL_OBJECT; in LLVMFuzzerTestOneInput()
/freebsd/contrib/libucl/src/
H A Ducl_schema.c136 else if (cur->type == UCL_OBJECT) { in ucl_schema_validate_dependencies()
161 if (elt->type == UCL_OBJECT && in ucl_schema_validate_object()
179 else if (elt->type == UCL_OBJECT) { in ucl_schema_validate_object()
236 else if (elt->type == UCL_OBJECT && in ucl_schema_validate_object()
512 else if (elt->type == UCL_OBJECT) { in ucl_schema_validate_array()
533 else if (elt->type == UCL_OBJECT) { in ucl_schema_validate_array()
696 if (cur->type == UCL_OBJECT) { in ucl_schema_resolve_ref_component()
872 if (res == NULL || res->type != UCL_OBJECT) { in ucl_schema_resolve_ref()
939 if (schema->type != UCL_OBJECT) { in ucl_schema_validate()
1016 if (elt != NULL && elt->type == UCL_OBJECT) { in ucl_schema_validate()
[all …]
H A Ducl_util.c279 else if (obj->type == UCL_OBJECT) {
1208 nest_obj = ucl_object_new_full (UCL_OBJECT, params->priority);
1217 nest_obj = ucl_object_new_full (UCL_OBJECT,
1251 nest_obj = ucl_object_new_full (UCL_OBJECT,
1275 nest_obj = ucl_object_new_full (UCL_OBJECT, params->priority);
1297 if (ucl_object_type (old_obj) == UCL_OBJECT) {
1528 if (args != NULL && args->type == UCL_OBJECT) {
1708 if (args != NULL && args->type == UCL_OBJECT) {
1788 if (args != NULL && args->type == UCL_OBJECT) {
1921 if (parent == NULL || ucl_object_type (parent) != 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()
448 case UCL_OBJECT: in ucl_emitter_common_elt()
557 case UCL_OBJECT: in UCL_EMIT_TYPE_IMPL()
H A Ducl_parser.c644 nobj = ucl_object_new_full (is_array ? UCL_ARRAY : UCL_OBJECT, parser->chunks->priority); in ucl_parser_add_container()
649 if (obj->type == (is_array ? UCL_OBJECT : UCL_ARRAY)) { in ucl_parser_add_container()
658 nobj->type = is_array ? UCL_ARRAY : UCL_OBJECT; in ucl_parser_add_container()
1252 if (tobj->type == UCL_OBJECT || tobj->type == UCL_ARRAY) { in ucl_parser_process_object_element()
1955 if ((*p == '}' && parser->stack->obj->type == UCL_OBJECT) || in ucl_parse_after_value()
2443 if (next_key && parser->stack->obj->type == UCL_OBJECT) { in ucl_state_machine()
2481 if (parser->stack->obj->type == UCL_OBJECT) { in ucl_state_machine()
2703 parser->comments = ucl_object_typed_new (UCL_OBJECT); in ucl_parser_new()
2965 parser->top_obj = ucl_object_new_full (UCL_OBJECT, priority); in ucl_parser_add_chunk_full()
3120 if(stack == NULL || stack->obj == NULL || ucl_object_type (stack->obj) != UCL_OBJECT) in ucl_parser_get_current_stack_object()
[all …]
H A Ducl_msgpack.c853 else if (container->obj->type == UCL_OBJECT) { in ucl_msgpack_insert_object()
904 …fprintf(stderr, "-%s -> %d\n", parser->cur_obj->type == UCL_OBJECT ? "object" : "array", (int)pars… in ucl_msgpack_get_next_container()
943 next_state = container->obj->type == UCL_OBJECT ? \
1071 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_emitter_utils.c497 case UCL_OBJECT: in ucl_object_emit_single_json()
H A Ducl_hash.c632 if (ucl_object_type (hashlin->ar.a[i]) == UCL_OBJECT) { in ucl_hash_sort()
/freebsd/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/contrib/libucl/python/src/
H A Duclmodule.c46 if (obj->type == UCL_OBJECT) { in _iterate_valid_ucl()
165 top = ucl_object_typed_new (UCL_OBJECT); in _iterate_python()
/freebsd/contrib/libucl/lua/
H A Dlua_ucl.c280 case UCL_OBJECT: in ucl_object_push_lua_common()
433 top = ucl_object_typed_new (UCL_OBJECT); in ucl_object_lua_fromtable()
1127 if (schema && obj && ucl_object_type (schema) == UCL_OBJECT) { in lua_ucl_object_validate()
1447 if (ucl_object_type (obj) == UCL_OBJECT) { in lua_ucl_to_format()
/freebsd/contrib/libucl/utils/
H A Dobjdump.c56 if (obj->type == UCL_OBJECT) { in ucl_obj_dump()
/freebsd/usr.sbin/pkg/
H A Dconfig.c463 if (cur->type != UCL_OBJECT) in parse_repo_file()
511 if (obj->type != UCL_OBJECT)
H A Dpkg.c419 if (obj->type == UCL_OBJECT) in load_fingerprint()
/freebsd/contrib/libucl/include/
H A Ducl++.h316 obj.reset (ucl_object_typed_new (UCL_OBJECT)); in Ucl()
419 if (type () == UCL_OBJECT) { in lookup()
H A Ducl.h122 UCL_OBJECT = 0, /**< UCL object - key/value pairs */ enumerator
/freebsd/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…