Lines Matching refs:compact

44 		const ucl_object_t *obj, bool first, bool print_key, bool compact);
97 bool compact)
99 if (!compact && tabs > 0) {
111 const ucl_object_t *obj, bool compact)
155 if (compact) {
166 const ucl_object_t *obj, bool compact, bool is_array)
190 * @param compact compact flag
194 const ucl_object_t *obj, bool compact)
200 if (compact) {
208 ucl_add_tabs (func, ctx->indent, compact);
213 ucl_emitter_finish_object (ctx, obj, compact, false);
219 * @param compact compact flag
223 const ucl_object_t *obj, bool compact)
228 if (compact) {
236 ucl_add_tabs (func, ctx->indent, compact);
240 ucl_emitter_finish_object (ctx, obj, compact, true);
247 * @param compact compact flag
251 const ucl_object_t *obj, bool print_key, bool compact)
258 ucl_emitter_print_key (print_key, ctx, obj, compact);
260 if (compact) {
272 ucl_emitter_common_elt (ctx, cur, first, false, compact);
280 ucl_emitter_common_elt (ctx, cur, first, false, compact);
293 * @param compact compact flag
297 const ucl_object_t *obj, bool print_key, bool compact)
304 ucl_emitter_print_key (print_key, ctx, obj, compact);
310 if (compact) {
323 ucl_emitter_common_elt (ctx, elt, first, true, compact);
330 if (compact) {
337 ucl_add_tabs (func, ctx->indent, compact);
338 ucl_emitter_common_start_array (ctx, cur, true, compact);
339 ucl_emitter_common_end_array (ctx, cur, compact);
342 ucl_emitter_common_elt (ctx, cur, first, true, compact);
356 * @param compact compact output
360 const ucl_object_t *obj, bool first, bool print_key, bool compact)
369 if (compact) {
381 ucl_add_tabs (func, ctx->indent, compact);
394 ucl_add_tabs (func, ctx->indent, compact);
404 ucl_emitter_print_key (print_key, ctx, obj, compact);
406 ucl_emitter_finish_object (ctx, obj, compact, !print_key);
410 ucl_emitter_print_key (print_key, ctx, obj, compact);
412 ucl_emitter_finish_object (ctx, obj, compact, !print_key);
415 ucl_emitter_print_key (print_key, ctx, obj, compact);
423 ucl_emitter_finish_object (ctx, obj, compact, !print_key);
426 ucl_emitter_print_key (print_key, ctx, obj, compact);
441 ucl_emitter_finish_object (ctx, obj, compact, !print_key);
444 ucl_emitter_print_key (print_key, ctx, obj, compact);
446 ucl_emitter_finish_object (ctx, obj, compact, !print_key);
449 ucl_emitter_common_start_object (ctx, obj, print_key, compact);
450 ucl_emitter_common_end_object (ctx, obj, compact);
453 ucl_emitter_common_start_array (ctx, obj, print_key, compact);
454 ucl_emitter_common_end_array (ctx, obj, compact);
458 ucl_emitter_print_key (print_key, ctx, obj, compact);
466 ucl_emitter_finish_object (ctx, obj, compact, !print_key);
478 ucl_add_tabs (func, ctx->indent, compact);
487 #define UCL_EMIT_TYPE_IMPL(type, compact) \
490 ucl_emitter_common_elt (ctx, obj, first, print_key, (compact)); \
494 ucl_emitter_common_start_object (ctx, obj, print_key, (compact)); \
498 ucl_emitter_common_start_array (ctx, obj, print_key, (compact)); \
502 ucl_emitter_common_end_object (ctx, obj, (compact)); \
506 ucl_emitter_common_end_array (ctx, obj, (compact)); \