Lines Matching full:compact

44 		const ucl_object_t *obj, bool first, bool print_key, bool compact);
97 bool compact) in ucl_add_tabs() argument
99 if (!compact && tabs > 0) { in ucl_add_tabs()
111 const ucl_object_t *obj, bool compact) in ucl_emitter_print_key() argument
155 if (compact) { in ucl_emitter_print_key()
166 const ucl_object_t *obj, bool compact, bool is_array) in ucl_emitter_finish_object() argument
190 * @param compact compact flag
194 const ucl_object_t *obj, bool compact) in ucl_emitter_common_end_object() argument
200 if (compact) { in ucl_emitter_common_end_object()
208 ucl_add_tabs (func, ctx->indent, compact); in ucl_emitter_common_end_object()
213 ucl_emitter_finish_object (ctx, obj, compact, false); in ucl_emitter_common_end_object()
219 * @param compact compact flag
223 const ucl_object_t *obj, bool compact) in ucl_emitter_common_end_array() argument
228 if (compact) { in ucl_emitter_common_end_array()
236 ucl_add_tabs (func, ctx->indent, compact); in ucl_emitter_common_end_array()
240 ucl_emitter_finish_object (ctx, obj, compact, true); in ucl_emitter_common_end_array()
247 * @param compact compact flag
251 const ucl_object_t *obj, bool first, bool print_key, bool compact) in ucl_emitter_common_start_array() argument
259 if (compact) { in ucl_emitter_common_start_array()
269 ucl_add_tabs (func, ctx->indent, compact); in ucl_emitter_common_start_array()
272 ucl_emitter_print_key (print_key, ctx, obj, compact); in ucl_emitter_common_start_array()
274 if (compact) { in ucl_emitter_common_start_array()
286 ucl_emitter_common_elt (ctx, cur, first_key, false, compact); in ucl_emitter_common_start_array()
294 ucl_emitter_common_elt (ctx, cur, first_key, false, compact); in ucl_emitter_common_start_array()
307 * @param compact compact flag
311 const ucl_object_t *obj, bool first, bool print_key, bool compact) in ucl_emitter_common_start_object() argument
319 if (compact) { in ucl_emitter_common_start_object()
329 ucl_add_tabs (func, ctx->indent, compact); in ucl_emitter_common_start_object()
332 ucl_emitter_print_key (print_key, ctx, obj, compact); in ucl_emitter_common_start_object()
338 if (compact) { in ucl_emitter_common_start_object()
351 ucl_emitter_common_elt (ctx, elt, first_key, true, compact); in ucl_emitter_common_start_object()
358 if (compact) { in ucl_emitter_common_start_object()
365 ucl_add_tabs (func, ctx->indent, compact); in ucl_emitter_common_start_object()
366 ucl_emitter_common_start_array (ctx, cur, first_key, true, compact); in ucl_emitter_common_start_object()
367 ucl_emitter_common_end_array (ctx, cur, compact); in ucl_emitter_common_start_object()
370 ucl_emitter_common_elt (ctx, cur, first_key, true, compact); in ucl_emitter_common_start_object()
384 * @param compact compact output
388 const ucl_object_t *obj, bool first, bool print_key, bool compact) in ucl_emitter_common_elt() argument
397 if (compact) { in ucl_emitter_common_elt()
409 ucl_add_tabs (func, ctx->indent, compact); in ucl_emitter_common_elt()
422 ucl_add_tabs (func, ctx->indent, compact); in ucl_emitter_common_elt()
432 ucl_emitter_print_key (print_key, ctx, obj, compact); in ucl_emitter_common_elt()
434 ucl_emitter_finish_object (ctx, obj, compact, !print_key); in ucl_emitter_common_elt()
438 ucl_emitter_print_key (print_key, ctx, obj, compact); in ucl_emitter_common_elt()
440 ucl_emitter_finish_object (ctx, obj, compact, !print_key); in ucl_emitter_common_elt()
443 ucl_emitter_print_key (print_key, ctx, obj, compact); in ucl_emitter_common_elt()
451 ucl_emitter_finish_object (ctx, obj, compact, !print_key); in ucl_emitter_common_elt()
454 ucl_emitter_print_key (print_key, ctx, obj, compact); in ucl_emitter_common_elt()
469 ucl_emitter_finish_object (ctx, obj, compact, !print_key); in ucl_emitter_common_elt()
472 ucl_emitter_print_key (print_key, ctx, obj, compact); in ucl_emitter_common_elt()
474 ucl_emitter_finish_object (ctx, obj, compact, !print_key); in ucl_emitter_common_elt()
477 ucl_emitter_common_start_object (ctx, obj, true, print_key, compact); in ucl_emitter_common_elt()
478 ucl_emitter_common_end_object (ctx, obj, compact); in ucl_emitter_common_elt()
481 ucl_emitter_common_start_array (ctx, obj, true, print_key, compact); in ucl_emitter_common_elt()
482 ucl_emitter_common_end_array (ctx, obj, compact); in ucl_emitter_common_elt()
486 ucl_emitter_print_key (print_key, ctx, obj, compact); in ucl_emitter_common_elt()
494 ucl_emitter_finish_object (ctx, obj, compact, !print_key); in ucl_emitter_common_elt()
506 ucl_add_tabs (func, ctx->indent, compact); in ucl_emitter_common_elt()
515 #define UCL_EMIT_TYPE_IMPL(type, compact) \ argument
518 ucl_emitter_common_elt (ctx, obj, first, print_key, (compact)); \
522 ucl_emitter_common_start_object (ctx, obj, first, print_key, (compact)); \
526 ucl_emitter_common_start_array (ctx, obj, first, print_key, (compact)); \
530 ucl_emitter_common_end_object (ctx, obj, (compact)); \
534 ucl_emitter_common_end_array (ctx, obj, (compact)); \