Lines Matching full:container

403 		struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt,
407 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt,
410 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt,
413 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt,
416 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt,
419 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt,
422 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt,
425 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt,
428 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt,
771 * Insert new container to the stack in ucl_msgpack_get_container()
825 ucl_msgpack_is_container_finished (struct ucl_stack *container) in ucl_msgpack_is_container_finished() argument
827 assert (container != NULL); in ucl_msgpack_is_container_finished()
830 if (container->e.len == 0) { in ucl_msgpack_is_container_finished()
842 struct ucl_stack *container; in ucl_msgpack_insert_object() local
844 container = parser->stack; in ucl_msgpack_insert_object()
845 assert (container != NULL); in ucl_msgpack_insert_object()
846 assert (container->e.len > 0); in ucl_msgpack_insert_object()
848 assert (container->obj != NULL); in ucl_msgpack_insert_object()
850 if (container->obj->type == UCL_ARRAY) { in ucl_msgpack_insert_object()
851 ucl_array_append (container->obj, obj); in ucl_msgpack_insert_object()
853 else if (container->obj->type == UCL_OBJECT) { in ucl_msgpack_insert_object()
869 ucl_create_err (&parser->err, "bad container type"); in ucl_msgpack_insert_object()
873 container->e.len--; in ucl_msgpack_insert_object()
893 /* We need to switch to the previous container */ in ucl_msgpack_get_next_container()
912 * message pack blob into the top level container in ucl_msgpack_get_next_container()
937 container = ucl_msgpack_get_next_container (parser); \
938 if (container == NULL) { \
940 "empty container"); \
943 next_state = container->obj->type == UCL_OBJECT ? \
951 struct ucl_stack *container; in ucl_msgpack_consume() local
1073 /* Insert to the previous level container */ in ucl_msgpack_consume()
1078 /* Get new container */ in ucl_msgpack_consume()
1079 container = ucl_msgpack_get_container (parser, obj_parser, len); in ucl_msgpack_consume()
1081 if (container == NULL) { in ucl_msgpack_consume()
1085 ret = obj_parser->func (parser, container, len, obj_parser->fmt, in ucl_msgpack_consume()
1104 /* Insert to the previous level container */ in ucl_msgpack_consume()
1109 /* Get new container */ in ucl_msgpack_consume()
1110 container = ucl_msgpack_get_container (parser, obj_parser, len); in ucl_msgpack_consume()
1112 if (container == NULL) { in ucl_msgpack_consume()
1116 ret = obj_parser->func (parser, container, len, obj_parser->fmt, in ucl_msgpack_consume()
1135 container = parser->stack; in ucl_msgpack_consume()
1139 "read assoc value when no container represented"); in ucl_msgpack_consume()
1143 ret = obj_parser->func (parser, container, len, obj_parser->fmt, in ucl_msgpack_consume()
1148 /* Insert value to the container and check if we have finished array */ in ucl_msgpack_consume()
1154 if (ucl_msgpack_is_container_finished (container)) { in ucl_msgpack_consume()
1196 container = parser->stack; in ucl_msgpack_consume()
1198 if (container == NULL) { in ucl_msgpack_consume()
1200 "read assoc value when no container represented"); in ucl_msgpack_consume()
1204 ret = obj_parser->func (parser, container, len, obj_parser->fmt, in ucl_msgpack_consume()
1219 if (ucl_msgpack_is_container_finished (container)) { in ucl_msgpack_consume()
1246 /* Empty container at the end */ in ucl_msgpack_consume()
1249 "invalid non-empty container at the end; len=%zu", in ucl_msgpack_consume()
1261 "read assoc value when no container represented"); in ucl_msgpack_consume()
1264 /* Insert to the previous level container */ in ucl_msgpack_consume()
1269 /* Get new container */ in ucl_msgpack_consume()
1270 container = ucl_msgpack_get_container (parser, obj_parser, len); in ucl_msgpack_consume()
1272 if (container == NULL) { in ucl_msgpack_consume()
1276 ret = obj_parser->func (parser, container, len, obj_parser->fmt, in ucl_msgpack_consume()
1288 container = parser->stack; in ucl_msgpack_consume()
1292 "read assoc value when no container represented"); in ucl_msgpack_consume()
1296 ret = obj_parser->func (parser, container, len, obj_parser->fmt, in ucl_msgpack_consume()
1301 /* Insert value to the container and check if we have finished array */ in ucl_msgpack_consume()
1320 /* Rewind to the top level container */ in ucl_msgpack_consume()
1324 ucl_create_err (&parser->err, "incomplete container"); in ucl_msgpack_consume()
1335 ucl_object_t *container = NULL; in ucl_parse_msgpack() local
1347 container = parser->stack->obj; in ucl_parse_msgpack()
1352 * have either a valid container or the top object inside message pack is in ucl_parse_msgpack()
1353 * of container type in ucl_parse_msgpack()
1355 if (container == NULL) { in ucl_parse_msgpack()
1373 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt, in ucl_msgpack_parse_map() argument
1376 container->obj = parser->cur_obj; in ucl_msgpack_parse_map()
1383 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt, in ucl_msgpack_parse_array() argument
1386 container->obj = parser->cur_obj; in ucl_msgpack_parse_array()
1393 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt, in ucl_msgpack_parse_string() argument
1430 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt, in ucl_msgpack_parse_int() argument
1515 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt, in ucl_msgpack_parse_float() argument
1557 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt, in ucl_msgpack_parse_bool() argument
1587 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt, in ucl_msgpack_parse_null() argument
1604 struct ucl_stack *container, size_t len, enum ucl_msgpack_format fmt, in ucl_msgpack_parse_ignore() argument