Home
last modified time | relevance | path

Searched refs:ucl_emitter_context (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/libucl/src/
H A Ducl_emitter.c43 static void ucl_emitter_common_elt(struct ucl_emitter_context *ctx,
47 static void ucl_emit_##type##_elt(struct ucl_emitter_context *ctx, \
49 static void ucl_emit_##type##_start_obj(struct ucl_emitter_context *ctx, \
51 static void ucl_emit_##type##_start_array(struct ucl_emitter_context *ctx, \
53 static void ucl_emit_##type##_end_object(struct ucl_emitter_context *ctx, \
55 static void ucl_emit_##type##_end_array(struct ucl_emitter_context *ctx, \
108 ucl_emitter_print_key(bool print_key, struct ucl_emitter_context *ctx, in ucl_emitter_print_key()
163 ucl_emitter_finish_object(struct ucl_emitter_context *ctx, in ucl_emitter_finish_object()
191 ucl_emitter_common_end_object(struct ucl_emitter_context *ctx, in ucl_emitter_common_end_object()
220 ucl_emitter_common_end_array(struct ucl_emitter_context *ctx, in ucl_emitter_common_end_array()
[all …]
H A Ducl_emitter_streamline.c62 struct ucl_emitter_context *
67 const struct ucl_emitter_context *ctx; in ucl_object_emit_streamline_new()
84 ucl_object_emit_streamline_start_container((struct ucl_emitter_context *) sctx, in ucl_object_emit_streamline_new()
87 return (struct ucl_emitter_context *) sctx; in ucl_object_emit_streamline_new()
90 bool ucl_object_emit_streamline_start_container(struct ucl_emitter_context *ctx, in ucl_object_emit_streamline_start_container()
132 struct ucl_emitter_context *ctx, const ucl_object_t *obj) in ucl_object_emit_streamline_add_object()
150 void ucl_object_emit_streamline_end_container(struct ucl_emitter_context *ctx) in ucl_object_emit_streamline_end_container()
169 void ucl_object_emit_streamline_finish(struct ucl_emitter_context *ctx) in ucl_object_emit_streamline_finish()
H A Ducl_internal.h503 const struct ucl_emitter_context *
512 struct ucl_emitter_context *ctx);
521 struct ucl_emitter_context *ctx);
530 struct ucl_emitter_context *ctx);
552 void ucl_emitter_print_int_msgpack(struct ucl_emitter_context *ctx,
559 void ucl_emitter_print_double_msgpack(struct ucl_emitter_context *ctx,
566 void ucl_emitter_print_bool_msgpack(struct ucl_emitter_context *ctx,
574 void ucl_emitter_print_string_msgpack(struct ucl_emitter_context *ctx,
583 void ucl_emitter_print_binary_string_msgpack(struct ucl_emitter_context *ctx,
591 void ucl_emitter_print_array_msgpack(struct ucl_emitter_context *ctx,
[all …]
H A Ducl_emitter_utils.c41 static const struct ucl_emitter_context ucl_standard_emitters[] = {
64 const struct ucl_emitter_context *
80 struct ucl_emitter_context *ctx) in ucl_elt_string_write_json()
146 struct ucl_emitter_context *ctx) in ucl_elt_string_write_squoted()
179 struct ucl_emitter_context *ctx) in ucl_elt_string_write_multiline()
H A Ducl_msgpack.c105 void ucl_emitter_print_int_msgpack(struct ucl_emitter_context *ctx, int64_t val) in ucl_emitter_print_int_msgpack()
188 void ucl_emitter_print_double_msgpack(struct ucl_emitter_context *ctx, double val) in ucl_emitter_print_double_msgpack()
207 void ucl_emitter_print_bool_msgpack(struct ucl_emitter_context *ctx, bool val) in ucl_emitter_print_bool_msgpack()
215 void ucl_emitter_print_string_msgpack(struct ucl_emitter_context *ctx, in ucl_emitter_print_string_msgpack()
251 void ucl_emitter_print_binary_string_msgpack(struct ucl_emitter_context *ctx, in ucl_emitter_print_binary_string_msgpack()
283 void ucl_emitter_print_null_msgpack(struct ucl_emitter_context *ctx) in ucl_emitter_print_null_msgpack()
291 void ucl_emitter_print_key_msgpack(bool print_key, struct ucl_emitter_context *ctx, in ucl_emitter_print_key_msgpack()
299 void ucl_emitter_print_array_msgpack(struct ucl_emitter_context *ctx, size_t len) in ucl_emitter_print_array_msgpack()
328 void ucl_emitter_print_object_msgpack(struct ucl_emitter_context *ctx, size_t len) in ucl_emitter_print_object_msgpack()
/freebsd/contrib/libucl/include/
H A Ducl.h1402 struct ucl_emitter_context;
1423 void (*ucl_emitter_write_elt)(struct ucl_emitter_context *ctx,
1426 void (*ucl_emitter_start_object)(struct ucl_emitter_context *ctx,
1429 void (*ucl_emitter_end_object)(struct ucl_emitter_context *ctx,
1432 void (*ucl_emitter_start_array)(struct ucl_emitter_context *ctx,
1434 void (*ucl_emitter_end_array)(struct ucl_emitter_context *ctx,
1441 struct ucl_emitter_context { struct
1501 UCL_EXTERN struct ucl_emitter_context *ucl_object_emit_streamline_new(
1511 struct ucl_emitter_context *ctx, const ucl_object_t *obj);
1518 struct ucl_emitter_context *ctx, const ucl_object_t *obj);
[all …]
/freebsd/contrib/libucl/tests/
H A Dtest_streamline.c39 struct ucl_emitter_context *ctx; in main()