Lines Matching defs:json

20 #define json_error(json, format, ...)                             \  argument
31 #define json_error(json, format, ...) \ argument
52 push(json_stream *json, enum json_type type) in push()
83 pop(json_stream *json, int c, enum json_type expected) in pop()
121 static void init(json_stream *json) in init()
144 is_match(json_stream *json, const char *pattern, enum json_type type) in is_match()
156 static int pushchar(json_stream *json, int c) in pushchar()
173 static int init_string(json_stream *json) in init_string()
188 static int encode_utf8(json_stream *json, unsigned long c) in encode_utf8()
245 read_unicode_cp(json_stream *json) in read_unicode_cp()
270 static int read_unicode(json_stream *json) in read_unicode()
324 read_escaped(json_stream *json) in read_escaped()
454 read_utf8(json_stream* json, int next_char) in read_utf8()
486 read_string(json_stream *json) in read_string()
526 read_digits(json_stream *json) in read_digits()
546 read_number(json_stream *json, int c) in read_number()
622 static int next(json_stream *json) in next()
632 read_value(json_stream *json, int c) in read_value()
671 enum json_type json_peek(json_stream *json) in json_peek()
681 enum json_type json_next(json_stream *json) in json_next()
787 void json_reset(json_stream *json) in json_reset()
795 enum json_type json_skip(json_stream *json) in json_skip()
822 enum json_type json_skip_until(json_stream *json, enum json_type type) in json_skip_until()
837 const char *json_get_string(json_stream *json, size_t *length) in json_get_string()
847 double json_get_number(json_stream *json) in json_get_number()
853 const char *json_get_error(json_stream *json) in json_get_error()
858 size_t json_get_lineno(json_stream *json) in json_get_lineno()
863 size_t json_get_position(json_stream *json) in json_get_position()
868 size_t json_get_depth(json_stream *json) in json_get_depth()
882 enum json_type json_get_context(json_stream *json, size_t *count) in json_get_context()
893 int json_source_get(json_stream *json) in json_source_get()
901 int json_source_peek(json_stream *json) in json_source_peek()
906 void json_open_buffer(json_stream *json, const void *buffer, size_t size) in json_open_buffer()
915 void json_open_string(json_stream *json, const char *string) in json_open_string()
920 void json_open_stream(json_stream *json, FILE * stream) in json_open_stream()
928 static int user_get(struct json_source *json) in user_get()
933 static int user_peek(struct json_source *json) in user_peek()
938 void json_open_user(json_stream *json, json_user_io get, json_user_io peek, void *user) in json_open_user()
948 void json_set_allocator(json_stream *json, json_allocator *a) in json_set_allocator()
953 void json_set_streaming(json_stream *json, bool streaming) in json_set_streaming()
961 void json_close(json_stream *json) in json_close()