Home
last modified time | relevance | path

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

/src/usr.sbin/ctld/
H A Duclparse.cc206 if (obj.type() != UCL_OBJECT) { in uclparse_target_portal_group()
247 if (obj.type() != UCL_OBJECT) { in uclparse_controller_transport_group()
296 if (obj.type() != UCL_OBJECT) { in uclparse_target_lun()
352 if (obj.type() != UCL_OBJECT) { in uclparse_controller_namespace()
469 if (obj.type() == UCL_OBJECT) { in uclparse_toplevel()
482 if (obj.type() == UCL_OBJECT) { in uclparse_toplevel()
495 if (obj.type() == UCL_OBJECT) { in uclparse_toplevel()
508 if (obj.type() == UCL_OBJECT) { in uclparse_toplevel()
526 if (obj.type() == UCL_OBJECT) { in uclparse_toplevel()
539 if (obj.type() == UCL_OBJECT) { in uclparse_toplevel()
[all …]
/src/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()
/src/contrib/libucl/src/
H A Ducl_schema.c137 else if (cur->type == UCL_OBJECT) { in ucl_schema_validate_dependencies()
162 if (elt->type == UCL_OBJECT && in ucl_schema_validate_object()
180 else if (elt->type == UCL_OBJECT) { in ucl_schema_validate_object()
237 else if (elt->type == UCL_OBJECT && in ucl_schema_validate_object()
513 else if (elt->type == UCL_OBJECT) { in ucl_schema_validate_array()
534 else if (elt->type == UCL_OBJECT) { in ucl_schema_validate_array()
697 if (cur->type == UCL_OBJECT) { in ucl_schema_resolve_ref_component()
873 if (res == NULL || res->type != UCL_OBJECT) { in ucl_schema_resolve_ref()
940 if (schema->type != UCL_OBJECT) { in ucl_schema_validate()
1017 if (elt != NULL && elt->type == UCL_OBJECT) { in ucl_schema_validate()
[all …]
H A Ducl_util.c279 else if (obj->type == UCL_OBJECT) {
1232 nest_obj = ucl_object_new_full (UCL_OBJECT, params->priority);
1241 nest_obj = ucl_object_new_full (UCL_OBJECT,
1275 nest_obj = ucl_object_new_full (UCL_OBJECT,
1301 nest_obj = ucl_object_new_full (UCL_OBJECT, params->priority);
1323 if (ucl_object_type (old_obj) == UCL_OBJECT) {
1554 if (args != NULL && args->type == UCL_OBJECT) {
1729 if (args != NULL && args->type == UCL_OBJECT) {
1808 if (args != NULL && args->type == UCL_OBJECT) {
1945 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()
476 case UCL_OBJECT: in ucl_emitter_common_elt()
585 case UCL_OBJECT: in UCL_EMIT_TYPE_IMPL()
H A Ducl_parser.c667 nobj = ucl_object_new_full (is_array ? UCL_ARRAY : UCL_OBJECT, parser->chunks->priority); in ucl_parser_add_container()
672 if (obj->type == (is_array ? UCL_OBJECT : UCL_ARRAY)) { in ucl_parser_add_container()
681 nobj->type = is_array ? UCL_ARRAY : UCL_OBJECT; in ucl_parser_add_container()
1322 if (tobj->type == UCL_OBJECT || tobj->type == UCL_ARRAY) { in ucl_parser_process_object_element()
2045 if ((*p == '}' && parser->stack->obj->type == UCL_OBJECT) || in ucl_parse_after_value()
2536 if (next_key && parser->stack->obj->type == UCL_OBJECT) { in ucl_state_machine()
2575 if (parser->stack->obj->type == UCL_OBJECT) { in ucl_state_machine()
2800 parser->comments = ucl_object_typed_new (UCL_OBJECT); in ucl_parser_new()
3064 parser->top_obj = ucl_object_new_full (UCL_OBJECT, priority); in ucl_parser_add_chunk_full()
3219 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.c624 if (ucl_object_type (elt->obj) == UCL_OBJECT) { in ucl_hash_sort()
/src/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.c80 obj = ucl_object_typed_new (UCL_OBJECT); in main()
H A Dtest_schema.c101 if (obj->type != UCL_OBJECT) { in perform_tests()
/src/contrib/libucl/lua/
H A Dlua_ucl.c287 case UCL_OBJECT: in ucl_object_push_lua_common()
439 top = ucl_object_typed_new (UCL_OBJECT); in ucl_object_lua_fromtable()
1171 if (schema && obj && ucl_object_type (schema) == UCL_OBJECT) { in lua_ucl_object_validate()
1492 if (ucl_object_type (obj) == UCL_OBJECT) { in lua_ucl_to_format()
/src/usr.sbin/pkg/
H A Dconfig.c464 if (cur->type != UCL_OBJECT) in parse_repo_file()
512 if (obj->type != UCL_OBJECT) in read_conf_file()
H A Dpkg.c425 if (obj->type == UCL_OBJECT) in load_fingerprint()
/src/contrib/libucl/include/
H A Ducl++.h316 obj.reset (ucl_object_typed_new (UCL_OBJECT)); in Ucl()
424 if (type () == UCL_OBJECT) { in lookup()
H A Ducl.h122 UCL_OBJECT = 0, /**< UCL object - key/value pairs */ enumerator
/src/usr.sbin/bhyve/
H A Dsnapshot.c461 if (ucl_object_type(basic_meta_obj) != UCL_OBJECT) { in lookup_basic_metadata_object()