Lines Matching defs:json
117 static int json_ensure_stack_size(OSSL_JSON_ENC *json, size_t num_bytes) in json_ensure_stack_size()
141 static int json_push(OSSL_JSON_ENC *json, unsigned int v) in json_push()
174 static int json_pop(OSSL_JSON_ENC *json) in json_pop()
192 static int json_peek(OSSL_JSON_ENC *json) in json_peek()
222 static ossl_inline int in_ijson(const OSSL_JSON_ENC *json) in in_ijson()
227 static ossl_inline int in_seq(const OSSL_JSON_ENC *json) in in_seq()
232 static ossl_inline int in_pretty(const OSSL_JSON_ENC *json) in in_pretty()
237 int ossl_json_init(OSSL_JSON_ENC *json, BIO *bio, uint32_t flags) in ossl_json_init()
249 void ossl_json_cleanup(OSSL_JSON_ENC *json) in ossl_json_cleanup()
259 int ossl_json_flush_cleanup(OSSL_JSON_ENC *json) in ossl_json_flush_cleanup()
267 int ossl_json_reset(OSSL_JSON_ENC *json) in ossl_json_reset()
276 int ossl_json_flush(OSSL_JSON_ENC *json) in ossl_json_flush()
281 int ossl_json_set0_sink(OSSL_JSON_ENC *json, BIO *bio) in ossl_json_set0_sink()
287 int ossl_json_in_error(OSSL_JSON_ENC *json) in ossl_json_in_error()
300 static void json_raise_error(OSSL_JSON_ENC *json) in json_raise_error()
305 static void json_undefer(OSSL_JSON_ENC *json) in json_undefer()
313 static void json_write_char(OSSL_JSON_ENC *json, char ch) in json_write_char()
323 static void json_write_str(OSSL_JSON_ENC *json, const char *s) in json_write_str()
333 static void json_indent(OSSL_JSON_ENC *json) in json_indent()
349 static int json_pre_item(OSSL_JSON_ENC *json) in json_pre_item()
391 static void json_post_item(OSSL_JSON_ENC *json) in json_post_item()
406 static void composite_begin(OSSL_JSON_ENC *json, int type, char ch) in composite_begin()
421 static void composite_end(OSSL_JSON_ENC *json, int type, char ch) in composite_end()
453 void ossl_json_object_begin(OSSL_JSON_ENC *json) in ossl_json_object_begin()
460 void ossl_json_object_end(OSSL_JSON_ENC *json) in ossl_json_object_end()
466 void ossl_json_array_begin(OSSL_JSON_ENC *json) in ossl_json_array_begin()
473 void ossl_json_array_end(OSSL_JSON_ENC *json) in ossl_json_array_end()
482 void ossl_json_key(OSSL_JSON_ENC *json, const char *key) in ossl_json_key()
516 void ossl_json_null(OSSL_JSON_ENC *json) in ossl_json_null()
525 void ossl_json_bool(OSSL_JSON_ENC *json, int v) in ossl_json_bool()
537 static void json_u64(OSSL_JSON_ENC *json, uint64_t v, int noquote) in json_u64()
562 void ossl_json_u64(OSSL_JSON_ENC *json, uint64_t v) in ossl_json_u64()
568 void ossl_json_i64(OSSL_JSON_ENC *json, int64_t value) in ossl_json_i64()
599 void ossl_json_f64(OSSL_JSON_ENC *json, double value) in ossl_json_f64()
635 json_write_qstring_inner(OSSL_JSON_ENC *json, const char *str, size_t str_len, in json_write_qstring_inner()
715 json_write_qstring(OSSL_JSON_ENC *json, const char *str) in json_write_qstring()
721 json_write_qstring_len(OSSL_JSON_ENC *json, const char *str, size_t str_len) in json_write_qstring_len()
726 void ossl_json_str(OSSL_JSON_ENC *json, const char *str) in ossl_json_str()
735 void ossl_json_str_len(OSSL_JSON_ENC *json, const char *str, size_t str_len) in ossl_json_str_len()
748 void ossl_json_str_hex(OSSL_JSON_ENC *json, const void *data, size_t data_len) in ossl_json_str_hex()