Lines Matching defs:json
116 static int json_ensure_stack_size(OSSL_JSON_ENC *json, size_t num_bytes) in json_ensure_stack_size()
140 static int json_push(OSSL_JSON_ENC *json, unsigned int v) in json_push()
173 static int json_pop(OSSL_JSON_ENC *json) in json_pop()
191 static int json_peek(OSSL_JSON_ENC *json) in json_peek()
221 static ossl_inline int in_ijson(const OSSL_JSON_ENC *json) in in_ijson()
226 static ossl_inline int in_seq(const OSSL_JSON_ENC *json) in in_seq()
231 static ossl_inline int in_pretty(const OSSL_JSON_ENC *json) in in_pretty()
236 int ossl_json_init(OSSL_JSON_ENC *json, BIO *bio, uint32_t flags) in ossl_json_init()
248 void ossl_json_cleanup(OSSL_JSON_ENC *json) in ossl_json_cleanup()
258 int ossl_json_flush_cleanup(OSSL_JSON_ENC *json) in ossl_json_flush_cleanup()
266 int ossl_json_reset(OSSL_JSON_ENC *json) in ossl_json_reset()
275 int ossl_json_flush(OSSL_JSON_ENC *json) in ossl_json_flush()
280 int ossl_json_set0_sink(OSSL_JSON_ENC *json, BIO *bio) in ossl_json_set0_sink()
286 int ossl_json_in_error(OSSL_JSON_ENC *json) in ossl_json_in_error()
299 static void json_raise_error(OSSL_JSON_ENC *json) in json_raise_error()
304 static void json_undefer(OSSL_JSON_ENC *json) in json_undefer()
312 static void json_write_char(OSSL_JSON_ENC *json, char ch) in json_write_char()
322 static void json_write_str(OSSL_JSON_ENC *json, const char *s) in json_write_str()
332 static void json_indent(OSSL_JSON_ENC *json) in json_indent()
348 static int json_pre_item(OSSL_JSON_ENC *json) in json_pre_item()
390 static void json_post_item(OSSL_JSON_ENC *json) in json_post_item()
405 static void composite_begin(OSSL_JSON_ENC *json, int type, char ch) in composite_begin()
420 static void composite_end(OSSL_JSON_ENC *json, int type, char ch) in composite_end()
452 void ossl_json_object_begin(OSSL_JSON_ENC *json) in ossl_json_object_begin()
459 void ossl_json_object_end(OSSL_JSON_ENC *json) in ossl_json_object_end()
465 void ossl_json_array_begin(OSSL_JSON_ENC *json) in ossl_json_array_begin()
472 void ossl_json_array_end(OSSL_JSON_ENC *json) in ossl_json_array_end()
481 void ossl_json_key(OSSL_JSON_ENC *json, const char *key) in ossl_json_key()
515 void ossl_json_null(OSSL_JSON_ENC *json) in ossl_json_null()
524 void ossl_json_bool(OSSL_JSON_ENC *json, int v) in ossl_json_bool()
536 static void json_u64(OSSL_JSON_ENC *json, uint64_t v, int noquote) in json_u64()
561 void ossl_json_u64(OSSL_JSON_ENC *json, uint64_t v) in ossl_json_u64()
567 void ossl_json_i64(OSSL_JSON_ENC *json, int64_t value) in ossl_json_i64()
607 json_write_qstring_inner(OSSL_JSON_ENC *json, const char *str, size_t str_len, in json_write_qstring_inner()
687 json_write_qstring(OSSL_JSON_ENC *json, const char *str) in json_write_qstring()
693 json_write_qstring_len(OSSL_JSON_ENC *json, const char *str, size_t str_len) in json_write_qstring_len()
698 void ossl_json_str(OSSL_JSON_ENC *json, const char *str) in ossl_json_str()
707 void ossl_json_str_len(OSSL_JSON_ENC *json, const char *str, size_t str_len) in ossl_json_str_len()
720 void ossl_json_str_hex(OSSL_JSON_ENC *json, const void *data, size_t data_len) in ossl_json_str_hex()