Lines Matching refs:json_stream

62 static void json_error_s(json_stream *json, int err)  in json_error_s()
70 push(json_stream *json, enum json_type type) in push()
94 pop(json_stream *json, int c, enum json_type expected) in pop()
132 static void init(json_stream *json) in init()
155 is_match(json_stream *json, const char *pattern, enum json_type type) in is_match()
163 static int pushchar(json_stream *json, int c) in pushchar()
180 static int init_string(json_stream *json) in init_string()
195 static int encode_utf8(json_stream *json, unsigned long c) in encode_utf8()
252 read_unicode_cp(json_stream *json) in read_unicode_cp()
277 static int read_unicode(json_stream *json) in read_unicode()
330 int read_escaped(json_stream *json) in read_escaped()
456 read_utf8(json_stream* json, int next_char) in read_utf8()
487 read_string(json_stream *json) in read_string()
527 read_digits(json_stream *json) in read_digits()
545 read_number(json_stream *json, int c) in read_number()
620 static int next(json_stream *json) in next()
630 read_value(json_stream *json, int c) in read_value()
669 enum json_type json_peek(json_stream *json) in json_peek()
676 enum json_type json_next(json_stream *json) in json_next()
767 void json_reset(json_stream *json) in json_reset()
775 const char *json_get_string(json_stream *json, size_t *length) in json_get_string()
785 double json_get_number(json_stream *json) in json_get_number()
791 const char *json_get_error(json_stream *json) in json_get_error()
796 size_t json_get_lineno(json_stream *json) in json_get_lineno()
801 size_t json_get_position(json_stream *json) in json_get_position()
806 size_t json_get_depth(json_stream *json) in json_get_depth()
811 void json_open_buffer(json_stream *json, const void *buffer, size_t size) in json_open_buffer()
820 void json_open_string(json_stream *json, const char *string) in json_open_string()
825 void json_open_stream(json_stream *json, FILE * stream) in json_open_stream()
843 void json_open_user(json_stream *json, json_user_io get, json_user_io peek, void *user) in json_open_user()
853 void json_set_allocator(json_stream *json, json_allocator *a) in json_set_allocator()
858 void json_set_streaming(json_stream *json, bool streaming) in json_set_streaming()
866 void json_close(json_stream *json) in json_close()